ArduinoCore-mbed icon indicating copy to clipboard operation
ArduinoCore-mbed copied to clipboard

Complication error/potential bad configuration?

Open jono-chandler opened this issue 2 years ago • 0 comments

Context:

  • OS: Windows 11
  • Using Arduino IDE
  • Board being used: RP Pico (RP2040)
  • Library required to complete project: SX126x-Arduino
  • Cloned arduinocore-mbed repo to "C:/users/xxxxxx/Arduino/hardware"
  • Cloned arduinocore-api repo to "C:/RP240/"
  • Created a symlink from /arduino-git/mbed/core/adruino to c:/rp240/arduinocore-api/api using Link Shell Extension (mklink was causing me all types of challenges) (Link shell extension "Link Source" was api dir, dropped symbolic link in mbed/core/arduino dir)
  • Installed the Arduino Mbed OS Nano Boards board manager for Arduino IDE (does this install all required ARM compiler toolchain elements?)

When compiling the LoRaWAN example from the SX126x-Arduino library , compilation failed with the error #include <mbed.h> no such file exists etc, within one of the source files for the SX126X library. Started doing some manual absolute file path changes to the library, but that lead me down a rabbit hole of absolute paths on absolute paths etc etc. Which leads me to think I have made some errors elsewhere?

Anyone else has similar issues/any suggestions?

jono-chandler avatar May 24 '23 02:05 jono-chandler