git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11408 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
edolomb 2018-01-29 16:54:41 +00:00
parent a6c370b858
commit dbcfa6151f
2 changed files with 22 additions and 4 deletions

View File

@ -669,7 +669,7 @@
* LWIP_DHCP==1: Enable DHCP module. * LWIP_DHCP==1: Enable DHCP module.
*/ */
#ifndef LWIP_DHCP #ifndef LWIP_DHCP
#define LWIP_DHCP 0 #define LWIP_DHCP 1
#endif #endif
/** /**
@ -862,7 +862,7 @@
* LWIP_UDP==1: Turn on UDP. * LWIP_UDP==1: Turn on UDP.
*/ */
#ifndef LWIP_UDP #ifndef LWIP_UDP
#define LWIP_UDP 0 #define LWIP_UDP 1
#endif #endif
/** /**
@ -1790,7 +1790,7 @@
* CHECKSUM_GEN_ICMP==1: Generate checksums in software for outgoing ICMP packets. * CHECKSUM_GEN_ICMP==1: Generate checksums in software for outgoing ICMP packets.
*/ */
#ifndef CHECKSUM_GEN_ICMP #ifndef CHECKSUM_GEN_ICMP
#define CHECKSUM_GEN_ICMP 1 #define CHECKSUM_GEN_ICMP 0
#endif #endif
/** /**

View File

@ -1,5 +1,5 @@
/* /*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -53,6 +53,17 @@
#define SAMA_SPI_FLEXCOM3_DMA_IRQ_PRIORITY 4 #define SAMA_SPI_FLEXCOM3_DMA_IRQ_PRIORITY 4
#define SAMA_SPI_FLEXCOM4_DMA_IRQ_PRIORITY 4 #define SAMA_SPI_FLEXCOM4_DMA_IRQ_PRIORITY 4
#define SAMA_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure") #define SAMA_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
#define SPI_SELECT_MODE SPI_SELECT_MODE_NONE
/*
* SECUMOD driver system settings.
*/
#define HAL_USE_SECUMOD FALSE
/*
* SDMMC driver system settings.
*/
#define HAL_USE_SDMMC FALSE
/* /*
* SERIAL driver system settings. * SERIAL driver system settings.
@ -79,6 +90,13 @@
#define SAMA_SERIAL_FLEXCOM3_IRQ_PRIORITY 4 #define SAMA_SERIAL_FLEXCOM3_IRQ_PRIORITY 4
#define SAMA_SERIAL_FLEXCOM4_IRQ_PRIORITY 4 #define SAMA_SERIAL_FLEXCOM4_IRQ_PRIORITY 4
/*
* ST driver settings.
*/
#define SAMA_ST_USE_PIT FALSE
#define SAMA_ST_USE_TC0 FALSE
#define SAMA_ST_USE_TC1 TRUE
/* /*
* TC driver system settings. * TC driver system settings.
*/ */