1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Add NUCLEOF303RE target (#8938)

Add NUCLEOF303RE target
This commit is contained in:
Michael Keller 2019-10-20 22:50:18 +13:00 committed by GitHub
commit 564f3031b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 305 additions and 0 deletions

View 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"