-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Description
I'm trying to build a simple sketch for a new board I just received, a Seeed XIAO nRF52840.
Unfortunately, when compiling with the appropriate arduino profile, the compilation fails as apparently one file is missing for the linking phase.
This error happens using both arduino-cli and arduino-ide.
$ arduino-cli compile --profile seeed .
The library FindHub has been automatically added from sketch project.
The library NimBLE-Arduino has been automatically added from sketch project.
/home/fusetim/.arduino15/packages/h2zero/tools/gcc-arm-none-eabi/9.3.1-1/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file nrf52840_s140_v7.ld: No such file or directory
collect2: error: ld returned 1 exit status
Used library Version Path
FindHub 0.0.1 /home/fusetim/dev/bigproject/lib/FindHub
NimBLE-Arduino 2.3.6 /home/fusetim/.arduino15/internal/NimBLE-Arduino_2.3.6_0eaa1031c74dd31f/NimBLE-Arduino
Used platform Version Path
h2zero:arm-ble 0.3.0 /home/fusetim/.arduino15/packages/h2zero/hardware/arm-ble/0.3.0
Error during build: exit status 1Steps to reproduce
For Arduino-IDE:
- Create a new Arduino sketch (for instance, using the Blink example)
- Install the additional boards (platform_index_url: https://h2zero.github.io/n-able-Arduino/package_n-able_boards_index.json)
- Select the Seeed XIAO nRF52840 board
- Compile the sketch
- Stare at the error logs...
/home/fusetim/.arduino15/packages/h2zero/tools/gcc-arm-none-eabi/9.3.1-1/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file nrf52840_s140_v7.ld: No such file or directory
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
For Arduino-CLI:
- Create a new sketch directory and a .ino file (for instance Blink)
- Create the following sketch.yaml project configuration
profiles:
seeed:
fqbn: h2zero:arm-ble:seed52840sense
platforms:
- platform: h2zero:arm-ble
platform_index_url: https://h2zero.github.io/n-able-Arduino/package_n-able_boards_index.json
libraries: []
port: /dev/ttyACM0
port_config:
baudrate: 115200- Build using
arduino-cli compile --profile seeed . - Stare at the exact same error.
Expected result
The project should hopefully compile correctly.
Additional information
- arduino-cli version:
arduino-cli Version: 1.3.1 Commit: 08ff7e2b76b7cd6394c4d09420b10cf0592b4405 Date: - OS, Arch: Arch Linux, x64
Metadata
Metadata
Assignees
Labels
No labels