diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-24 09:11:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-24 09:11:46 +0000 |
commit | 7e6968ec42e7370d5ae7cbe876a1358dc1ff6a79 (patch) | |
tree | 422a368093091511c6fd86e67a3a03805bd97d5a /os/hal/templates | |
parent | 5a6b1e42b07402faf42498282cb0bcf931d3b0d1 (diff) | |
download | ChibiOS-7e6968ec42e7370d5ae7cbe876a1358dc1ff6a79.tar.gz ChibiOS-7e6968ec42e7370d5ae7cbe876a1358dc1ff6a79.tar.bz2 ChibiOS-7e6968ec42e7370d5ae7cbe876a1358dc1ff6a79.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5307 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r-- | os/hal/templates/halconf.h | 16 | ||||
-rw-r--r-- | os/hal/templates/platform.mk | 20 |
2 files changed, 28 insertions, 8 deletions
diff --git a/os/hal/templates/halconf.h b/os/hal/templates/halconf.h index f05719132..d98142128 100644 --- a/os/hal/templates/halconf.h +++ b/os/hal/templates/halconf.h @@ -69,28 +69,28 @@ * @brief Enables the EXT subsystem.
*/
#if !defined(HAL_USE_EXT) || defined(__DOXYGEN__)
-#define HAL_USE_EXT FALSE
+#define HAL_USE_EXT TRUE
#endif
/**
* @brief Enables the GPT subsystem.
*/
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
-#define HAL_USE_GPT FALSE
+#define HAL_USE_GPT TRUE
#endif
/**
* @brief Enables the I2C subsystem.
*/
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
-#define HAL_USE_I2C FALSE
+#define HAL_USE_I2C TRUE
#endif
/**
* @brief Enables the ICU subsystem.
*/
#if !defined(HAL_USE_ICU) || defined(__DOXYGEN__)
-#define HAL_USE_ICU FALSE
+#define HAL_USE_ICU TRUE
#endif
/**
@@ -118,14 +118,14 @@ * @brief Enables the RTC subsystem.
*/
#if !defined(HAL_USE_RTC) || defined(__DOXYGEN__)
-#define HAL_USE_RTC FALSE
+#define HAL_USE_RTC TRUE
#endif
/**
* @brief Enables the SDC subsystem.
*/
#if !defined(HAL_USE_SDC) || defined(__DOXYGEN__)
-#define HAL_USE_SDC FALSE
+#define HAL_USE_SDC TRUE
#endif
/**
@@ -229,7 +229,7 @@ * @brief Enables an event sources for incoming packets.
*/
#if !defined(MAC_USE_ZERO_COPY) || defined(__DOXYGEN__)
-#define MAC_USE_ZERO_COPY FALSE
+#define MAC_USE_ZERO_COPY TRUE
#endif
/**
@@ -281,7 +281,7 @@ * at @p FALSE.
*/
#if !defined(SDC_MMC_SUPPORT) || defined(__DOXYGEN__)
-#define SDC_MMC_SUPPORT FALSE
+#define SDC_MMC_SUPPORT TRUE
#endif
/**
diff --git a/os/hal/templates/platform.mk b/os/hal/templates/platform.mk new file mode 100644 index 000000000..6c81166bb --- /dev/null +++ b/os/hal/templates/platform.mk @@ -0,0 +1,20 @@ +# List of all the template platform files.
+PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/templates/hal_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/adc_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/can_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/ext_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/gpt_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/i2c_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/icu_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/mac_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/pal_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/pwm_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/rtc_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/sdc_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/serial_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/spi_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/uart_lld.c \
+ ${CHIBIOS}/os/hal/platforms/templates/usb_lld.c
+
+# Required include directories
+PLATFORMINC = ${CHIBIOS}/os/hal/platforms/templates
|