Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeuz committed May 10, 2017
1 parent 1b8130b commit fe0c8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/arm/linker/linker_stm32f2xx_bootloader.ld
Expand Up @@ -15,7 +15,7 @@ INCLUDE module_user_memory.ld
bootloader_ram_length = 16K;
bootloader_ram_offset = 8K;
bootloader_ram_origin = user_module_sram_origin + bootloader_ram_offset;
ASSERT(bootloader_ram_offset + bootloader_ram_length + bootloader_ram_offset <= user_module_sram_length,
ASSERT(bootloader_ram_offset + bootloader_ram_length <= user_module_sram_length,
"Insufficient space for RAM region");

MEMORY
Expand Down

0 comments on commit fe0c8fa

Please sign in to comment.