forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
espressifapplies to multiple Espressif chipsapplies to multiple Espressif chips
Milestone
Description
It does not look like you can manage or use any system time without RTC.
Note: This is the lowest level dependency as I work up the stack to using the Azure IoT Library.
Board: FeatherS2
Build: 08-23-2020 Code built locally
>>> from adafruit_ntp import NTP
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "adafruit_ntp.py", line 40, in <module>
ImportError: no module named 'rtc'
>>> import time
>>> time.time()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: RTC is not supported on this board
>>> help("modules")
__main__ displayio microcontroller storage
_os errno micropython struct
_pixelbuf espidf neopixel_write supervisor
_time fontio os sys
array framebufferio pulseio terminalio
bitbangio gamepad random time
board gc re touchio
builtins io sdcardio ulab
busio ipaddress sharpdisplay usb_hid
collections json socketpool vectorio
digitalio math ssl wifi
Plus any modules on the filesystem
Espressif IDF on RTC and System Time
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/system/system_time.html
Metadata
Metadata
Assignees
Labels
espressifapplies to multiple Espressif chipsapplies to multiple Espressif chips