Skip to content

Commit

Permalink
hw/bsp/frdm-k64f: Fix bootloader build
Browse files Browse the repository at this point in the history
bin/targets/test-boot-frdm-k64f/app/@apache-mynewt-core/libc/
    baselibc/@apache-mynewt-core_libc_baselibc.a(start.o):
     in function `_start':
| repos/apache-mynewt-core/build/repos/apache-mynewt-core/
    libc/baselibc/src/start.c:43: undefined reference to `mynewt_main'
| collect2: error: ld returned 1 exit status
  • Loading branch information
sjanc committed Oct 9, 2023
1 parent c695aa3 commit 94c8c38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/bsp/frdm-k64f/boot-MK64FN1M0xxx12_flash.ld
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ SECTIONS
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
PROVIDE(mynewt_main = main);
} > FLASH

.ARM.extab :
Expand Down

0 comments on commit 94c8c38

Please sign in to comment.