arduino / ArduinoCore-mbed

330 stars 195 forks source link

linker_script.ld: No such file or directory #951

Closed SoothingMist closed 3 days ago

SoothingMist commented 6 days ago

What I will describe seems to be very similar to https://github.com/arduino/ArduinoCore-mbed/issues/46 but I am not familiar beyond the IDE user level and so cannot understand most of it.

Is there an interim local fix I can apply? If so, exactly how?

Many thanks for your insights and hard work concerning this IDE.

facchinm commented 3 days ago

Hi @SoothingMist , can you add the full compilation output and the core version which you are using? The issue you are reporting was fixed more than 3 years ago (https://github.com/arduino/ArduinoCore-mbed/blame/main/platform.txt#L85).

SoothingMist commented 3 days ago

Hello @facchinm. Thank you for your response.

Added to my ticket with RAKwireless to inquire about the mbed version they are using. (Do not know how to find out from the user level.)

Modified IDE preferences so that all compilation output is delivered.

The code is attached, as is the full compilation output.

Right near the bottom of the compilation messages is: "arm-none-eabi-g++: error: Raeth\AppData\Local\Temp\arduino\sketches\A5AE74E96AAD4B4B4FFB573F55CA783D/linker_script.ld: No such file or directory"

CompileErrors.txt

RAK11300_Battery_Level_Detect.ino.txt

SoothingMist commented 3 days ago

Just received a response from RAKwireless. They say, "Last update was in 2022."

facchinm commented 3 days ago

Got it, they probably never updated their core to match mainline. Closing this one since it doesn't affect our core. To temporarily fix on your side, you can open C:\\Users\Peter Raeth\AppData\Local\Arduino15\packages\rakwireless\hardware\mbed_rp2040\0.0.6\platform.txt and add the quotes like in this commit

SoothingMist commented 1 day ago

OH Man Martino.... Thanks much. Works just fine now. Will pass this result on to RAKwireless. Going to add acknowledgement to my project's documentation.