From 732268a2148db0771034af243ffbeac658fc4942 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 2 Dec 2018 17:20:59 +0000 Subject: Added F303 mcuconf.h generator. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12458 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- testhal/STM32/STM32F3xx/ADC/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/CAN/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/DAC/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h | 9 +++++++++ testhal/STM32/STM32F3xx/WDG/mcuconf.h | 9 +++++++++ testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h | 9 +++++++++ testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h | 1 + testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h | 9 +++++++++ testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h | 9 +++++++++ testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h | 9 +++++++++ 13 files changed, 109 insertions(+) (limited to 'testhal') diff --git a/testhal/STM32/STM32F3xx/ADC/mcuconf.h b/testhal/STM32/STM32F3xx/ADC/mcuconf.h index 1433903d0..863f45050 100644 --- a/testhal/STM32/STM32F3xx/ADC/mcuconf.h +++ b/testhal/STM32/STM32F3xx/ADC/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h index bda7a1079..27da0ebd4 100644 --- a/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h +++ b/testhal/STM32/STM32F3xx/ADC_DUAL/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/CAN/mcuconf.h b/testhal/STM32/STM32F3xx/CAN/mcuconf.h index be97f7647..73a259e62 100644 --- a/testhal/STM32/STM32F3xx/CAN/mcuconf.h +++ b/testhal/STM32/STM32F3xx/CAN/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/DAC/mcuconf.h b/testhal/STM32/STM32F3xx/DAC/mcuconf.h index fb742bb6d..5480fff09 100644 --- a/testhal/STM32/STM32F3xx/DAC/mcuconf.h +++ b/testhal/STM32/STM32F3xx/DAC/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h index e23610619..3cbe61acc 100644 --- a/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32F3xx/IRQ_STORM/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h index 2cc18118d..73cbe4700 100644 --- a/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F3xx/PWM-ICU/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h index ed9c3d1f3..974ded7e4 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/STM32F3xx/WDG/mcuconf.h b/testhal/STM32/STM32F3xx/WDG/mcuconf.h index 88171081c..c8f390cbe 100644 --- a/testhal/STM32/STM32F3xx/WDG/mcuconf.h +++ b/testhal/STM32/STM32F3xx/WDG/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h index 99b241889..5ceada6b2 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h index 5381f990b..1665ade9c 100644 --- a/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/RTC/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. diff --git a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h index 952c4e4af..7f83d03d2 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h index 21a681a9c..76b4d9a45 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h index ed9c3d1f3..974ded7e4 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/mcuconf.h @@ -32,6 +32,7 @@ */ #define STM32F3xx_MCUCONF +#define STM32F303_MCUCONF /* * HAL driver system settings. @@ -189,6 +190,14 @@ #define STM32_PWM_TIM4_IRQ_PRIORITY 7 #define STM32_PWM_TIM8_IRQ_PRIORITY 7 +/* + * RTC driver system settings. + */ +#define STM32_RTC_PRESA_VALUE 32 +#define STM32_RTC_PRESS_VALUE 1024 +#define STM32_RTC_CR_INIT 0 +#define STM32_RTC_TAMPCR_INIT 0 + /* * SERIAL driver system settings. */ -- cgit v1.2.3