You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2023/10/09 06:59:43 UTC
[mynewt-core] 05/07: hw/bsp/frdm-k82f: Fix bootloader build
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 11bc3eeb04335a8695f7f875d9ce9006230af6bf
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Fri Oct 6 16:23:28 2023 +0200
hw/bsp/frdm-k82f: Fix bootloader build
bin/targets/test-boot-frdm-k82f/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'
---
hw/bsp/frdm-k82f/boot-MK82FN256xxx15_flash.ld | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/bsp/frdm-k82f/boot-MK82FN256xxx15_flash.ld b/hw/bsp/frdm-k82f/boot-MK82FN256xxx15_flash.ld
index 083f99ff9..7abac84d7 100644
--- a/hw/bsp/frdm-k82f/boot-MK82FN256xxx15_flash.ld
+++ b/hw/bsp/frdm-k82f/boot-MK82FN256xxx15_flash.ld
@@ -84,6 +84,7 @@ SECTIONS
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
+ PROVIDE(mynewt_main = main);
} > FLASH
.ARM.extab :