Skip to content

Commit abfbcf1

Browse files
committed
stm32/boards/OPENMV_N6: Add .ram_function_data attr to _boot_mem.
1 parent 8575b49 commit abfbcf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/stm32/boards/OPENMV_N6

ports/stm32/boards/OPENMV_N6/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void board_enter_bootloader(unsigned int n_args, const void *args) {
9797
NVIC_SystemReset();
9898
}
9999

100-
static char _boot_mem[128] __attribute__((aligned(1024)));
100+
static char _boot_mem[128] __attribute__((aligned(1024), section(".ram_function_data")));
101101

102102
__attribute__((naked, noreturn, section(".ram_function"))) void ram_reset(void) {
103103
// NVIC_SystemReset doesn't get inlined here.

0 commit comments

Comments
 (0)