-
Notifications
You must be signed in to change notification settings - Fork 12
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
Compile fails on RP2040 #16
Comments
Hello, I tried to reproduce the issue, I installed the 2.6.2 package with RP2040 boards: I opened the basic_usage.ino example and selected Adafruit RP2040: I tried to compile it and it finished successfully (I tried both: with and without CSV_PARSER_DONT_IMPORT_SD definition). My Arduino version is 1.8.19 (not sure if it makes much difference). Are you using the same RP2040 boards package as I tried? |
Hi, I'm using the same board package with a standard Pi Pico. I am however
using IDE 2.0.0.
…On Thu, 27 Oct 2022, 16:51 Michal Borowski, ***@***.***> wrote:
Hello, I tried to reproduce the issue, I installed the 2.6.2 package with
RP2040 boards:
[image: image]
<https://user-images.githubusercontent.com/16074078/198336500-da6923e9-1c38-4543-88ed-e8bd1f4d83f0.png>
I opened the basic_usage.ino example and selected Adafruit RP2040:
[image: image]
<https://user-images.githubusercontent.com/16074078/198337241-a4552606-de94-41b6-9618-c530fab4ca0e.png>
I tried to compile it and it finished successfully (I tried both: with and
without CSV_PARSER_DONT_IMPORT_SD definition). My Arduino version is 1.8.19
(not sure if it makes much difference).
Are you using the same RP2040 boards package as I tried?
Which board are you using?
—
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFI72UNSZ2BFAGB5OAKKQLWFKQJDANCNFSM6AAAAAARQDG754>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I just tried Arduino 2.0.1, using Pi Pico and it still compiled well, it shows some warnings too but completes in the end. Could you check the version of CSV parser you have? (I have 1.0.0) Btw I think this part of output may be indicating the issue here:
|
I deleted the SDfat library and it now compiles correctly. Also, if I add #define CSV_PARSER_DONT_IMPORT_SD to the library's .cpp file it compiles correctly, even with the SDfat library installed. Doing some reading it turns out that Arduino IDE doesn't support this behaviour of passing defines to libraries on compilation. Maybe the best thing to do here is to split the SD functionality into a separate header file, which can be included if required? |
Hi there! Using the basic_usage example, compilation fails with an RP2040 chip as the target (even with CSV_PARSER_DONT_IMPORT_SD defined).
Is this an issue with the library, or an incomplete/incompatible implementation of SD on the RP2040?
Thanks!
The text was updated successfully, but these errors were encountered: