Specify RP2350, compile cmmand routine and get error
Closed this issue · 6 comments
Hello,
RP2350 does not have RTC. I specified RP2350 and compiled the cmmand routine, but got an error:
C:\Users\xxx\Desktop\code\Pico-Eval-Board-Code\c\08_SD_CARD\example\src\command.cpp:26:10: fatal error: hardware/rtc.h: No such file or directory
Other errors still appear after commenting. There are many RTC-related codes in the program. Will this example support RP2350 in the future?
For context, it looks like the code is from https://www.waveshare.com/wiki/Pico-Eval-Board#Download_Demo and is based on https://github.com/carlk3/no-OS-FatFS-SD-SDIO-SPI-RPi-Pico/blob/e9df9e4734572183d197fcfe3eaecbf97152f2b3/examples/command_line/src/command.cpp
Yes, I am using this product and have pulled the latest code for testing. The example runs successfully on RP2040! I also want to try to connect to RP2350 to run this example.
In the dev branch, I have fixed it so that it builds OK with PICO_BOARD pico2. I haven't yet received a pico2, so you'll have to let me know whether it works.
My guess is that you need to run a lower baud rate. There are some other suggestions at Appendix E: Troubleshooting.
I lowered the baud rate and solved the problem, thanks!