Hi,
I'm preparing to run some openthread code on an nRF5340DK using the latest SDK and toolchain v3.1.1. A simple program works fine until I set the CONFIG_OPENTHREAD. Then the app cpu just stalls and the LEDs remain off. Same for a Thingy53 device.
Program:-
#include <zephyr/kernel.h>
#include <dk_buttons_and_leds.h>
#define ALL_LEDS_ON dk_set_leds(DK_ALL_BTNS_MSK)
#define ALL_LEDS_OFF dk_set_leds(0)
int main(void)
{
if(dk_leds_init() != 0)
return -1;
while(1)
{
ALL_LEDS_ON;
k_msleep(250);
ALL_LEDS_OFF;
k_msleep(250);
}
}
Prj.conf:-
CONFIG_DK_LIBRARY=y
CONFIG_OPENTHREAD=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y
Could someone confirm I should definately set the CONFIG_OPENTHREAD directive for openthread use, in addition to CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER? And if so, what's the solution to this problem.
Thanks in advance,
Anthony.