Hi,
I’m unsure if this is a PIO or embed Arduino Core problem but I can not use the Watchdog functions from the Pico-SDK.
if I follow the Watchdog Example I get the error that watchdog_caused_reboot(), watchdog_enable, and watchdog_update are not defined.
I’m trying to understand for a while now to understand the source code structure of the mbed Arduino core but it’s quite confusing. most of the Arduino code is not in the mbed arduino core and I can not find most of the c files in the .platformio\packages\framework-arduino-mbed directory.
Could somebody help me understand how the include/source code structure is?
I can use many of the Pico-SDK functions like multicore_launch_core1 but not all. is this intended?
EDIT:
I found a solution to the watchdog include here
extern "C" {
#include <hardware/watchdog.h>
};
I still am interested in the source code structure. would like to look into some source code files