RP2040 feather crashing/hanging when using SD, GPS and RTC libraries #2804
Unanswered
NicholasCL1994
asked this question in
Q&A
Replies: 1 comment
-
An easy thing would be to hook up a DebugProbe(nee PicoProbe) and run it under GDB. Assuming it really is a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am programming a data logger which combines the rp2040 feather and adalogger together with a GPS module. I use one core to retrieve the data from the sensor and the other core saves it to a csv file in the SD card. However, once I include the RTC and GPS libraries to the main file, the code hangs a few moments after running loop( ). I don't even declare any object, just the act of including the libraries makes the code to crash when running it. Anyone has any idea why that happen? I would expect something like that if I was using the same bus for the 3 of them, but I am not even instantiating RTC and GPS objects.
These are the libraries I am using:
lib_deps =
adafruit/Adafruit NeoPixel@^1.12.3
SPI
SD
cstring
stdlib
Wire
adafruit/Adafruit GPS Library@^1.7.5
adafruit/RTClib@^2.1.4
Beta Was this translation helpful? Give feedback.
All reactions