mcu_base/inc/stm32l1xx_hw.h
Solomon Peachy 74f10ec5d7 linker: Make stack size configurable.
Need to work on the EFM32 linker scripts still.
2013-08-04 16:45:38 -04:00

16 lines
489 B
C

#ifndef __STM32L1XX_HW_H
#define __STM32L1XX_HW_H
/* Configuration */
#define MCU_SRAM_SIZE (48*1024)
#define MCU_SRAM_BASE (0x20000000)
#define MCU_EXTSRAM_SIZE (0)
#define MCU_EXTSRAM_BASE (0x68000000)
#define MCU_FLASH_BASE (0x08000000)
#define MCU_FLASH_SIZE (384*1024)
#define MCU_FLASH_PAGE_SIZE 2048
#define MCU_FLASH_IMAGE_SIZE (382*1024)
#define MCU_STACK_SIZE 0x200
#endif