RTC. Code reorganization.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3597 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
barthess 2011-12-11 20:14:45 +00:00
parent 9a52743e90
commit 91fd67be1f
8 changed files with 7 additions and 1 deletions

View File

@ -182,6 +182,7 @@
#define STM32_SPI3_TX_DMA_CHN 0x00000000
#define STM32_HAS_RTC TRUE
#define RTC_HAS_SUBSECONDS TRUE
/* SDIO attributes.*/
#define STM32_HAS_SDIO FALSE

View File

@ -193,6 +193,7 @@
/* RTC attributes.*/
#define STM32_HAS_RTC TRUE
#define RTC_HAS_SUBSECONDS TRUE
/* SDIO attributes.*/
#define STM32_HAS_SDIO FALSE

View File

@ -185,6 +185,7 @@
/* RTC attributes.*/
#define STM32_HAS_RTC TRUE
#define RTC_HAS_SUBSECONDS TRUE
/* SDIO attributes.*/
#define STM32_HAS_SDIO FALSE

View File

@ -180,6 +180,7 @@
#define STM32_I2C3_TX_DMA_CHN 0x00030000
#define STM32_HAS_RTC TRUE
#define RTC_HAS_SUBSECONDS FALSE
#define STM32_HAS_SDIO TRUE

View File

@ -2,7 +2,6 @@
PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/STM32F4xx/stm32_dma.c \
${CHIBIOS}/os/hal/platforms/STM32F4xx/hal_lld.c \
${CHIBIOS}/os/hal/platforms/STM32F4xx/adc_lld.c \
${CHIBIOS}/os/hal/platforms/STM32F4xx/rtc_lld.c \
${CHIBIOS}/os/hal/platforms/STM32/ext_lld.c \
${CHIBIOS}/os/hal/platforms/STM32/gpt_lld.c \
${CHIBIOS}/os/hal/platforms/STM32/icu_lld.c \
@ -12,10 +11,12 @@ PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/STM32F4xx/stm32_dma.c \
${CHIBIOS}/os/hal/platforms/STM32/uart_lld.c \
${CHIBIOS}/os/hal/platforms/STM32/i2c_lld.c \
${CHIBIOS}/os/hal/platforms/STM32/GPIOv2/pal_lld.c \
${CHIBIOS}/os/hal/platforms/STM32/RTCv2/rtc_lld.c \
# Required include directories
PLATFORMINC = ${CHIBIOS}/os/hal/platforms/STM32F4xx \
${CHIBIOS}/os/hal/platforms/STM32 \
${CHIBIOS}/os/hal/platforms/STM32/GPIOv2 \
${CHIBIOS}/os/hal/platforms/STM32/RTCv2 \

View File

@ -217,6 +217,7 @@
/* RTC attributes.*/
#define STM32_HAS_RTC TRUE
#define RTC_HAS_SUBSECONDS FALSE
/* SDIO attributes.*/
#define STM32_HAS_SDIO FALSE