STM32 persistent MVP, cross-compiled & binaries

This commit is contained in:
Климов Андрей Николаевич
2023-05-06 02:53:01 +03:00
parent 30f7b36a9c
commit eb68556012
41 changed files with 59170 additions and 47121 deletions

View File

@@ -0,0 +1,18 @@
/*
* Linker script for Generic STM32F103RC boards, using the generic bootloader (which takes the lower 8k of memory)
*/
MEMORY
{
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
rom (rx) : ORIGIN = 0x08002000, LENGTH = 248K
}
/* Provide memory region aliases for common.inc */
REGION_ALIAS("REGION_TEXT", rom);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
REGION_ALIAS("REGION_RODATA", rom);
/* Let common.inc handle the real work. */
INCLUDE ldscripts/common.inc