correct flash size to 256 kB of STM32F103xC

This commit is contained in:
King Kévin 2018-02-06 11:52:23 +01:00
parent af7d13dfef
commit 50bea30599
2 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
/* linker script for application running on STM32F103x8 micro-controller
* the STM32F103x8 has 64kB of flash starting at 0x0800 0000, and 20kB of RAM starting at 0x2000 0000
* the STM32F103xC has 256kB of flash starting at 0x0800 0000, and 20kB of RAM starting at 0x2000 0000
* the USB DFU bootloader will take the first 8 kB of flash, followed by the application
*/
/* Define memory regions. */
MEMORY
{
rom (rx) : ORIGIN = 0x08000000 + 8K, LENGTH = 56K
rom (rx) : ORIGIN = 0x08000000 + 8K, LENGTH = 248K
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
}
PROVIDE(__application_beginning = ORIGIN(rom));

View File

@ -1,5 +1,5 @@
/* linker script for application running on STM32F103x8 micro-controller
* the STM32F103x8 has 64kB of flash starting at 0x0800 0000, and 20kB of RAM starting at 0x2000 0000
* the STM32F103xC has 256kB of flash starting at 0x0800 0000, and 20kB of RAM starting at 0x2000 0000
* the USB DFU bootloader will take the first 8 kB of flash, followed by the application
*/