mcu_base/inc/stm32f4xx_hw.h
Solomon Peachy 50cdb0043a stm32f4xx: Significant rework of STM32F4 startup code.
Now it's pure C-based and unified.

Need to bring the other STM32 families up to the same level of smarts.
2013-12-19 15:50:51 -05:00

18 lines
639 B
C

#ifndef __STM32F4XX_HW_H
#define __STM32F4XX_HW_H
/* Configuration */
#define MCU_SRAM_SIZE (128*1024)
#define MCU_SRAM_BASE (0x20000000)
#define MCU_CCRAM_SIZE (64*1024) // Core Coupled RAM, 0ws but only accessible to CPU!
#define MCU_CCMRAM_BASE (0x10000000)
#define MCU_EXTSRAM_SIZE (0)
#define MCU_EXTSRAM_BASE (0x68000000)
#define MCU_FLASH_BASE (0x08000000)
#define MCU_FLASH_SIZE (1024*1024)
#define MCU_FLASH_PAGE_SIZE 2048
#define MCU_FLASH_IMAGE_SIZE (1022*1024)
#define MCU_STACK_SIZE 512
#endif