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

This commit is contained in:
gdisirio 2013-02-24 09:11:46 +00:00
parent 5a6b1e42b0
commit 7e6968ec42
2 changed files with 28 additions and 8 deletions

View File

@ -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
/**

View File

@ -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