RTC. Code reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3597 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
9a52743e90
commit
91fd67be1f
|
@ -182,6 +182,7 @@
|
||||||
#define STM32_SPI3_TX_DMA_CHN 0x00000000
|
#define STM32_SPI3_TX_DMA_CHN 0x00000000
|
||||||
|
|
||||||
#define STM32_HAS_RTC TRUE
|
#define STM32_HAS_RTC TRUE
|
||||||
|
#define RTC_HAS_SUBSECONDS TRUE
|
||||||
|
|
||||||
/* SDIO attributes.*/
|
/* SDIO attributes.*/
|
||||||
#define STM32_HAS_SDIO FALSE
|
#define STM32_HAS_SDIO FALSE
|
||||||
|
|
|
@ -193,6 +193,7 @@
|
||||||
|
|
||||||
/* RTC attributes.*/
|
/* RTC attributes.*/
|
||||||
#define STM32_HAS_RTC TRUE
|
#define STM32_HAS_RTC TRUE
|
||||||
|
#define RTC_HAS_SUBSECONDS TRUE
|
||||||
|
|
||||||
/* SDIO attributes.*/
|
/* SDIO attributes.*/
|
||||||
#define STM32_HAS_SDIO FALSE
|
#define STM32_HAS_SDIO FALSE
|
||||||
|
|
|
@ -185,6 +185,7 @@
|
||||||
|
|
||||||
/* RTC attributes.*/
|
/* RTC attributes.*/
|
||||||
#define STM32_HAS_RTC TRUE
|
#define STM32_HAS_RTC TRUE
|
||||||
|
#define RTC_HAS_SUBSECONDS TRUE
|
||||||
|
|
||||||
/* SDIO attributes.*/
|
/* SDIO attributes.*/
|
||||||
#define STM32_HAS_SDIO FALSE
|
#define STM32_HAS_SDIO FALSE
|
||||||
|
|
|
@ -180,6 +180,7 @@
|
||||||
#define STM32_I2C3_TX_DMA_CHN 0x00030000
|
#define STM32_I2C3_TX_DMA_CHN 0x00030000
|
||||||
|
|
||||||
#define STM32_HAS_RTC TRUE
|
#define STM32_HAS_RTC TRUE
|
||||||
|
#define RTC_HAS_SUBSECONDS FALSE
|
||||||
|
|
||||||
#define STM32_HAS_SDIO TRUE
|
#define STM32_HAS_SDIO TRUE
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/STM32F4xx/stm32_dma.c \
|
PLATFORMSRC = ${CHIBIOS}/os/hal/platforms/STM32F4xx/stm32_dma.c \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32F4xx/hal_lld.c \
|
${CHIBIOS}/os/hal/platforms/STM32F4xx/hal_lld.c \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32F4xx/adc_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/ext_lld.c \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32/gpt_lld.c \
|
${CHIBIOS}/os/hal/platforms/STM32/gpt_lld.c \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32/icu_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/uart_lld.c \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32/i2c_lld.c \
|
${CHIBIOS}/os/hal/platforms/STM32/i2c_lld.c \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32/GPIOv2/pal_lld.c \
|
${CHIBIOS}/os/hal/platforms/STM32/GPIOv2/pal_lld.c \
|
||||||
|
${CHIBIOS}/os/hal/platforms/STM32/RTCv2/rtc_lld.c \
|
||||||
|
|
||||||
# Required include directories
|
# Required include directories
|
||||||
PLATFORMINC = ${CHIBIOS}/os/hal/platforms/STM32F4xx \
|
PLATFORMINC = ${CHIBIOS}/os/hal/platforms/STM32F4xx \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32 \
|
${CHIBIOS}/os/hal/platforms/STM32 \
|
||||||
${CHIBIOS}/os/hal/platforms/STM32/GPIOv2 \
|
${CHIBIOS}/os/hal/platforms/STM32/GPIOv2 \
|
||||||
|
${CHIBIOS}/os/hal/platforms/STM32/RTCv2 \
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -217,6 +217,7 @@
|
||||||
|
|
||||||
/* RTC attributes.*/
|
/* RTC attributes.*/
|
||||||
#define STM32_HAS_RTC TRUE
|
#define STM32_HAS_RTC TRUE
|
||||||
|
#define RTC_HAS_SUBSECONDS FALSE
|
||||||
|
|
||||||
/* SDIO attributes.*/
|
/* SDIO attributes.*/
|
||||||
#define STM32_HAS_SDIO FALSE
|
#define STM32_HAS_SDIO FALSE
|
||||||
|
|
Loading…
Reference in New Issue