mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
commit
564f3031b2
7 changed files with 305 additions and 0 deletions
28
src/link/stm32_flash_f303_512k.ld
Normal file
28
src/link/stm32_flash_f303_512k.ld
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
*****************************************************************************
|
||||
**
|
||||
** File : stm32_flash.ld
|
||||
**
|
||||
** Abstract : Linker script for STM32F303xD/E Device
|
||||
** FLASH 512KByte
|
||||
** SRAM 64KByte
|
||||
** CCM 16KByte
|
||||
**
|
||||
*****************************************************************************
|
||||
*/
|
||||
|
||||
/* Specify the memory areas. */
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 508K
|
||||
FLASH_CONFIG (r) : ORIGIN = 0x0807F000, LENGTH = 4K
|
||||
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 16K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
}
|
||||
|
||||
REGION_ALIAS("STACKRAM", CCM)
|
||||
REGION_ALIAS("FASTRAM", CCM)
|
||||
|
||||
INCLUDE "stm32_flash.ld"
|
Loading…
Add table
Add a link
Reference in a new issue