diff options
Diffstat (limited to 'demos/ATSAMA5D2')
-rw-r--r-- | demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/lwipopts.h | 6 | ||||
-rwxr-xr-x | demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h | 20 |
2 files changed, 22 insertions, 4 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/lwipopts.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/lwipopts.h index 409f1db93..aac121b98 100644 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/lwipopts.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/lwipopts.h @@ -669,7 +669,7 @@ * LWIP_DHCP==1: Enable DHCP module.
*/
#ifndef LWIP_DHCP
-#define LWIP_DHCP 0
+#define LWIP_DHCP 1
#endif
/**
@@ -862,7 +862,7 @@ * LWIP_UDP==1: Turn on UDP.
*/
#ifndef LWIP_UDP
-#define LWIP_UDP 0
+#define LWIP_UDP 1
#endif
/**
@@ -1790,7 +1790,7 @@ * CHECKSUM_GEN_ICMP==1: Generate checksums in software for outgoing ICMP packets.
*/
#ifndef CHECKSUM_GEN_ICMP
-#define CHECKSUM_GEN_ICMP 1
+#define CHECKSUM_GEN_ICMP 0
#endif
/**
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h index fcdb66611..83e7a7b6b 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-LWIP/cfg/mcuconf.h @@ -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");
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_FLEXCOM4_DMA_IRQ_PRIORITY 4
#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.
@@ -80,6 +91,13 @@ #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.
*/
#define HAL_USE_TC FALSE
|