I am trying to dig into MDEK1001 given on-board-package examples.
In examples like dwm-simple.c the code structure is different, for example, it does not have main() function but it has app-entry function and similarly there are many things which I am unable to understand.
Also, the code section that I have sent below in dwm_user_start function, I am unable to find the definition of functions like : dwm_shell_compile(), dwm_le_compile(), dwm_serial_spi_compile(), dwm_thread_create(). I can see there declaration in dwm.h but cannot find its definition anywhere.
dwm_shell_compile(); //Disabling ble by default as softdevice prevents debugging with breakpoints (due to priority) //dwm_ble_compile(); dwm_le_compile(); dwm_serial_spi_compile(); /* Create thread */ rv = dwm_thread_create(THREAD_APP_PRIO, app_thread_entry, (void*)NULL, "app", THREAD_APP_STACK_SIZE, &hndl); APP_ERR_CHECK(rv); /* Start the thread */ dwm_thread_resume(hndl);
It would be of great help if someone could explain it.
Thanks & Regards