mcknly / breadboard-os

A firmware platform aimed at quick prototyping, built around FreeRTOS and a feature-packed CLI
MIT License
535 stars 22 forks source link

Implement reset reason for RP2350 #25

Open mcknly opened 1 month ago

mcknly commented 1 month ago

The get_reset_reason() function in rp2xxx/hw_reset.c currently returns reset reason = UNKNOWN if using RP2350. This simply needs to be implemented in a similar way to RP2040, assuming the relevant register definitions still exist in the SDK.

mcknly commented 1 month ago

Note that RP2350 support currently only resides on the 24-rp2350-support branch, but plan to merge it into 0.3 version of BBOS at some point