Re: #nrf52480 Calling a function not compiled as part of Zephyr from within Zephyr #nrf52480
Marti Bolivar <marti@...>
Hi Jamie,
toggle quoted messageShow quoted text
You might want to take a look at how MCUboot invokes the reset vector in an NVIC table after having found the image: https://github.com/runtimeco/mcuboot/blob/master/boot/zephyr/main.c#L53 As you can see, you can cast the address to a function of the appropriate type and it does work on nRF52840. If it's an MPU issue in your environment, the kernel developers who work on userspace would probably benefit from seeing any relevant Kconfig options in your build/zephyr/.config file. HTH, Marti
On Mon, Nov 12, 2018 at 6:24 AM <jamie.mccrae@lairdtech.com> wrote:
|
|