-
Notifications
You must be signed in to change notification settings - Fork 74
raise error in get_time if zero returned #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It is still not clear to me why this happens. Is it an issue in the nina firmware? |
Hey @jerryneedell! You bring up a good point. The NINA firmware simply makes calls to the Espressif IDF, so I doubt the bug or issue is in the NINA firmware, but it entirely could be something updated in the IDF. I just took a quick break from what I'm working on today to look through the IDF releases since I last poked at the Adafruit fork of NINA. I had compiled and provided a binary against v3.2 of the IDF and they've since released v3.2.2 and v3.2.3. They've also started a LTS verision in v3.3 that's supported until March 2022 that is compatible with 3.x code. If you don't beat me to it, I'll try compiling the Adafruit NINA firmware against v3.3 and see how that goes. Maybe later tonight, but probably tomorrow (Sunday). BTW I'm not always in the Adafruit Discord, but if you mention me, I'll get the notification and jump in ASAP. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very minor nitpick!
@ladyada done -- brain cramp ;-) |
@docmollo I'll be happy to help with testing/incorporating the updates to the NINA firmware. Unfortunately, i will not be able to do anything until late next week. I'll be offline for most if not all of the next several days. I'll check on the state of things when I get back online. |
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 1.9.3 from 1.9.2: > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#73 from jerryneedell/jerryn_get_time Updating https://github.com/adafruit/Adafruit_CircuitPython_Seesaw to 1.5.3 from 1.5.2: > Merge pull request adafruit/Adafruit_CircuitPython_seesaw#41 from makermelissa/master
fixes #72
on startup, sometimes it takes awhile (up to 15 seconds) for get_time() to return a non-zero result.
Raising the ValueError lets the user retry if desired
tested on PyPortal and Metro_m4_express with with Nina v 1.3.0
test code: