mirror of
https://github.com/gosticks/RIOT.git
synced 2025-10-16 12:05:37 +00:00
cpu/stm32l151cb_a: include _A suffix in CPU_MODEL defines
This commit is contained in:
parent
1d03634407
commit
38ffe80a96
@ -46,7 +46,8 @@
|
||||
* * STM32L1XX_XL: Ultra Low Power XL-density devices: STM32L151xExx,
|
||||
* STM32L152xExx and STM32L162xExx
|
||||
*/
|
||||
#if defined(CPU_MODEL_STM32L151RBA) || defined(CPU_MODEL_STM32L151CB)
|
||||
#if defined(CPU_MODEL_STM32L151RB_A) || defined(CPU_MODEL_STM32L151CB) || \
|
||||
defined(CPU_MODEL_STM32L151CB_A)
|
||||
#define STM32L1XX_MD (1U)
|
||||
#elif defined(CPU_MODEL_STM32L151RC)
|
||||
#define STM32L1XX_MDP (1U)
|
||||
@ -64,7 +65,8 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
||||
#if defined(CPU_MODEL_STM32L151RBA) || defined(CPU_MODEL_STM32L151CB)
|
||||
#if defined(CPU_MODEL_STM32L151RB_A) || defined(CPU_MODEL_STM32L151CB) || \
|
||||
defined(CPU_MODEL_STM32L151CB_A)
|
||||
#define CPU_IRQ_NUMOF (45U)
|
||||
#else
|
||||
#define CPU_IRQ_NUMOF (57U)
|
||||
|
||||
@ -30,7 +30,8 @@ extern "C" {
|
||||
/**
|
||||
* @name Starting address of the CPU ID
|
||||
*/
|
||||
#if defined(CPU_MODEL_STM32L151RBA) || defined(CPU_MODEL_STM32L151CB)
|
||||
#if defined(CPU_MODEL_STM32L151RB_A) || defined(CPU_MODEL_STM32L151CB) || \
|
||||
defined(CPU_MODEL_STM32L151CB_A)
|
||||
#define CPUID_ADDR (0x1ff80050)
|
||||
#else
|
||||
#define CPUID_ADDR (0x1ff800d0)
|
||||
@ -82,7 +83,7 @@ typedef enum {
|
||||
#define EEPROM_SIZE (16384UL) /* 16kB */
|
||||
#elif defined(CPU_MODEL_STM32L151RC)
|
||||
#define EEPROM_SIZE (8192U) /* 8kB */
|
||||
#elif defined(CPU_MODEL_STM32L151CB)
|
||||
#elif defined(CPU_MODEL_STM32L151CB) || defined(CPU_MODEL_STM32L151CB_A)
|
||||
#define EEPROM_SIZE (4096U) /* 4kB */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user