diff --git a/application.ld b/application.ld index 7098812..221c6fe 100644 --- a/application.ld +++ b/application.ld @@ -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 diff --git a/bootloader.ld b/bootloader.ld index dd92811..385e94c 100644 --- a/bootloader.ld +++ b/bootloader.ld @@ -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