stm32: Add support for STM32L452 MCUs.
This commit is contained in:
committed by
Damien George
parent
eea61a09c4
commit
64181b5f76
@@ -103,9 +103,11 @@ STATIC byte flash_cache_mem[0x4000] __attribute__((aligned(4))); // 16k
|
||||
#define FLASH_MEM_SEG1_START_ADDR (0x08020000) // sector 1
|
||||
#define FLASH_MEM_SEG1_NUM_BLOCKS (256) // Sector 1: 128k / 512b = 256 blocks
|
||||
|
||||
#elif defined(STM32L432xx) || defined(STM32L475xx) || defined(STM32L476xx) || defined(STM32L496xx)
|
||||
#elif defined(STM32L432xx) || \
|
||||
defined(STM32L451xx) || defined(STM32L452xx) || defined(STM32L462xx) || \
|
||||
defined(STM32L475xx) || defined(STM32L476xx) || defined(STM32L496xx)
|
||||
|
||||
// The STM32L475/6 doesn't have CCRAM, so we use the 32K SRAM2 for this, although
|
||||
// The STM32L4xx doesn't have CCRAM, so we use SRAM2 for this, although
|
||||
// actual location and size is defined by the linker script.
|
||||
extern uint8_t _flash_fs_start;
|
||||
extern uint8_t _flash_fs_end;
|
||||
|
||||
Reference in New Issue
Block a user