.ld: minor, fix typo

This commit is contained in:
King Kévin 2021-05-14 14:28:48 +02:00
parent 8c01cbd918
commit 0a18d73197
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* the STM32F401xC has 256 KB of flash starting at 0x0800 0000, and 64 KB of RAM starting at 0x2000 0000
* the USB DFU bootloader will use the first sector, which is 16 KB large.
* this is followed by the application.
* the first 4 bytes of the RAM is reserved for the DFU magic word (DFU! to start DFU bootloader)
* the first 4 bytes of the RAM are reserved for the DFU magic word (DFU! to start DFU bootloader)
*/
/* define memory regions. */
@ -14,5 +14,5 @@ MEMORY
/* RAM location reserved so application can talk to bootloader and tell to start DFU */
PROVIDE(__dfu_magic = ORIGIN(ram) - 4);
/* include rest of the definitions for the ARM Cortex-M, including STM32F1 family */
/* include rest of the definitions for the ARM Cortex-M, including STM32F4 family */
INCLUDE cortex-m-generic.ld

View File

@ -2,7 +2,7 @@
* the STM32F401xC has 256 KB of flash starting at 0x0800 0000, and 64 KB of RAM starting at 0x2000 0000
* the USB DFU bootloader will use the first sector, which is 16 KB large.
* this is followed by the application.
* the first 4 bytes of the RAM is reserved for the DFU magic word (DFU! to start DFU bootloader)
* the first 4 bytes of the RAM are reserved for the DFU magic word (DFU! to start DFU bootloader)
*/
/* define memory regions. */
@ -16,5 +16,5 @@ PROVIDE(__application_beginning = ORIGIN(rom) + LENGTH(rom));
/* RAM location reserved so application can talk to bootloader and tell to start DFU */
PROVIDE(__dfu_magic = ORIGIN(ram) - 4);
/* include rest of the definitions for the ARM Cortex-M, including STM32F1 family */
/* include rest of the definitions for the ARM Cortex-M, including STM32F4 family */
INCLUDE cortex-m-generic.ld