Replies: 1 comment 1 reply
-
Hey did you ever find a fix for this ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting errors when trying to compile "hello world" app with MCUBOOT enabled for pinetime_devkit0 board. I am able to build with nrf52dk_nrf52832. The errors are:
z_impl_k_sem_give'](kernel.h:1089: undefined reference to
z_impl_k_sem_give')](kernel.h:1089: undefined reference to `z_impl_k_sem_give')I read this on MCUboot which outlines this:
You will need to define the flash partitions required by MCUboot; see Flash map for details.
You will have to specify your flash partition as the chosen code partition
/ { chosen { zephyr,code-partition = &slot0_partition; };};
Your application’s .conf file needs to enable the CONFIG_BOOTLOADER_MCUBOOT Kconfig option in order for Zephyr to be built in an MCUboot-compatible manner
You need to build and flash MCUboot itself on your device
You might need to take precautions to avoid mass erasing the flash and also to flash the Zephyr application image at the correct offset (right after the bootloader)
I believe the pinetime_devkit0 board definition meets the requirements and that my prj.conf is configured properly (it's working with nrf52dk_nrf52832):
I'm new to this and don't fully understand the errors. I'm assuming this is a configuration issue and may need an overlay file or something, but I'm not sure what to put in it if everything already in the pinetime_devkit0 definition.
Beta Was this translation helpful? Give feedback.
All reactions