diff options
-rw-r--r-- | demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/mcuconf.h | 1 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32L4xx/hal_lld.h | 8 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32L4xx/stm32_registry.h | 4 | ||||
-rw-r--r-- | readme.txt | 1 | ||||
-rw-r--r-- | tools/ftl/processors/conf/mcuconf_stm32l432xx/mcuconf.h.ftl | 1 |
5 files changed, 11 insertions, 4 deletions
diff --git a/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/mcuconf.h b/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/mcuconf.h index 7ea0dd503..e05db4f70 100644 --- a/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/mcuconf.h +++ b/demos/STM32/RT-STM32L432KC-NUCLEO32/cfg/mcuconf.h @@ -33,6 +33,7 @@ #define STM32L4xx_MCUCONF
#define STM32L432_MCUCONF
+#define STM32L433_MCUCONF
/*
* HAL driver system settings.
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h index 75dcfb68f..8c6e63b40 100644 --- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h @@ -26,7 +26,7 @@ * - STM32_HSE_BYPASS (optionally).
* .
* One of the following macros must also be defined:
- * - STM32L432xx, STM32L443xx.
+ * - STM32L432xx, STM32L433xx, STM32L443xx.
* - STM32L471xx, STM32L475xx, STM32L476xx, STM32L496xx.
* - STM32L485xx, STM32L486xx, STM32L4A6xx.
* .
@@ -48,7 +48,7 @@ * @name Platform identification
* @{
*/
-#if defined(STM32L432xx) || defined(STM32L443xx) || \
+#if defined(STM32L432xx) || defined(STM32L433xx) || defined(STM32L443xx) || \
defined(STM32L471xx) || defined(STM32L475xx) || \
defined(STM32L476xx) || defined(STM32L496xx) || defined(__DOXYGEN__)
#define PLATFORM_NAME "STM32L4xx Ultra Low Power"
@@ -764,6 +764,10 @@ #error "Using a wrong mcuconf.h file, STM32L432_MCUCONF not defined"
#endif
+#if defined(STM32L433xx) && !defined(STM32L433_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32L433_MCUCONF not defined"
+#endif
+
#if defined(STM32L476xx) && !defined(STM32L476_MCUCONF)
#error "Using a wrong mcuconf.h file, STM32L476_MCUCONF not defined"
#endif
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h index a707bab48..3d4cf5f39 100644 --- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h @@ -72,10 +72,10 @@ #endif
/*===========================================================================*/
-/* STM32L432xx. */
+/* STM32L432xx, STM32L433xx. */
/*===========================================================================*/
-#if defined(STM32L432xx) || defined(__DOXYGEN__)
+#if defined(STM32L432xx) || defined(STM32L433xx) || defined(__DOXYGEN__)
/* Clock attributes.*/
#define STM32_CLOCK_HAS_HSI48 TRUE
diff --git a/readme.txt b/readme.txt index 8673b5db9..8d61897c9 100644 --- a/readme.txt +++ b/readme.txt @@ -75,6 +75,7 @@ *****************************************************************************
*** Next ***
+- NEW: STM32L433 added to STM32L4xx HAL.
- CHG: chFifoObjectInit() renamed to chFifoObjectInitAligned(). Added a new
chFifoObjectInit() without the alignment parameter.
- NEW: Stricter alignment checks in memory pools.
diff --git a/tools/ftl/processors/conf/mcuconf_stm32l432xx/mcuconf.h.ftl b/tools/ftl/processors/conf/mcuconf_stm32l432xx/mcuconf.h.ftl index b1ff6bb8e..30c4e9bae 100644 --- a/tools/ftl/processors/conf/mcuconf_stm32l432xx/mcuconf.h.ftl +++ b/tools/ftl/processors/conf/mcuconf_stm32l432xx/mcuconf.h.ftl @@ -44,6 +44,7 @@ #define STM32L4xx_MCUCONF
#define STM32L432_MCUCONF
+#define STM32L433_MCUCONF
/*
* HAL driver system settings.
|