forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
CircuitPython version and board name
Adafruit CircuitPython 10.0.3 on 2025-10-17; FeatherS3 with ESP32S3Code/REPL
import rtc
import time
from adafruit_featherwing import tft_featherwing_35
r = rtc.RTC()
r.datetime = time.struct_time((2019, 5, 29, 15, 14, 15, 0, -1, -1))
print("set RTC")
print("pre-init")
fw = tft_featherwing_35.TFTFeatherWing35V2()
print("post-init")Behavior
Auto-reload is off.
Running in safe mode! Not running saved code.
You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.
Press reset to exit safe mode.
Description
I've been working on bumping my Skyportal lib from CP 9.2.2 to 10.0.3 and have run into this hard fault during initialization of the device. I believe I have narrowed it down to the initialization step where the RTC is set from a timestamp provided by AIO, but seems to be reproduced with the simpler example above.
Other hopefully relevant information:
- FeatherS3 + FeatherWing V2 w/TSC2007
- Board updated to 10.0.3 using the web installer
- Libraries sourced from the version 10.x bundles
Additional information
No response