You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed this by removing the NORETURN from NORETURN mp_obj_t MP_WEAK rtc_get_time_source_time(void) in shared-bindings/time/__init__.c. Since this is an MP_WEAK function, sometimes it's NORETURN, and sometimes it's not, and declaring it NORETURN here appears to be messing up the other cases.
There is another example of NORETURN on an MP_WEAK function, which I'll remove. Also #10260 doesn't consistently declare/define functions as NORETURN in both the .h and .c files, and that should be made consistent. EDIT: not necessarily needed.
55b0f15, part of #10260, is causing crashes, as evidenced by #10271 (comment). I am only testing with @anecdata's test program in #10271 on a Pico W.
The text was updated successfully, but these errors were encountered: