Nrf52840dk-geeksville PlatformIO Compilation Errors

HI
I am trying to compile using the nrf52840dk-geeksville platform, but an error occurs, what should I do, I would appreciate any help.

Compiling .pio\build\nrf52840dk-geeksville\FrameworkArduino\wiring_analog_nRF52.c.o
Compiling .pio\build\nrf52840dk-geeksville\FrameworkArduino\wiring_digital.c.o
Compiling .pio\build\nrf52840dk-geeksville\FrameworkArduino\wiring_private.c.o
Compiling .pio\build\nrf52840dk-geeksville\FrameworkArduino\wiring_shift.c.o
Archiving .pio\build\nrf52840dk-geeksville\libFrameworkArduino.a
Linking .pio\build\nrf52840dk-geeksville\firmware.elf
c:/users/cici/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file nrf52840_s113_v7.ld: No such file or directory
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\nrf52840dk-geeksville\firmware.elf] Error 1
============================================================ [FAILED] Took 296.66 seconds ============================================================
Environment            Status    Duration
---------------------  --------  ------------
nrf52840dk-geeksville  FAILED    00:04:56.664
1 Like

hi all,
1.lose s113_v7.ld:
to modify file:
*nrf52840_dk_modified.json
" “build”: {
“arduino”: {
“ldscript”: “nrf52840_s140_v6.ld”
},
"

  1. the ble bonding success ,but it auto disconnect?
    Any suggestions to troubleshoot the error
    see follow message *1.
    variant.h (no gps/no qspi flash module and SX1276)

INFO | ??:??:?? 77 BLE Connected to stevenphone
INFO | ??:??:?? 79 BLE pairing process started with passkey 625 512
INFO | ??:??:?? 79 BLE passkey pairing: match_request=0
INFO | ??:??:?? 92 BLE connection secured


rttview:
//\ E S H T /\ S T / C

DEBUG | ??:??:?? 5 Filesystem files:
DEBUG | ??:??:?? 5 channels.proto (57 Bytes)
INFO | ??:??:?? 5 Scanning for i2c devices…
DEBUG | ??:??:?? 5 Scanning for i2c devices on port 1
INFO | ??:??:?? 5 No I2C devices found
DEBUG | ??:??:?? 5 acc_info = 0
INFO | ??:??:?? 5 Meshtastic hwvendor=33, swver=2.3.2.711b85cf
DEBUG | ??:??:?? 5 Reset reason: 0x0
DEBUG | ??:??:?? 5 Setting random seed 911031720
INFO | ??:??:?? 5 Initializing NodeDB
INFO | ??:??:?? 5 No /prefs/db.proto preferences found
INFO | ??:??:?? 5 Installing default DeviceState
DEBUG | ??:??:?? 5 Initial packet id 2092866244, numPacketId 4294967295
WARN | ??:??:?? 5 Using nodenum 0x1b404d69
INFO | ??:??:?? 5 No /prefs/config.proto preferences found
INFO | ??:??:?? 5 Installing default LocalConfig
INFO | ??:??:?? 5 Setting default channel and radio preferences!
DEBUG | ??:??:?? 5 Expanding short PSK #1
INFO | ??:??:?? 5 Wanted region 0, using UNSET
INFO | ??:??:?? 5 NoINFO | ??:??:?? 35 [NodeInfoModule] Sending our nodeinfo to mesh (wantReplies=1)
INFO | ??:??:?? 35 [NodeInfoModule] sending owner !1b404d69/Meshtastic 4d69/4d69
DEBUG | ??:??:?? 35 [NodeInfoModule] Update DB node 0x1b404d69, rx_time=0
ERROR | ??:??:?? 35 [NodeInfoModule] Error=4, returning NAK and dropping packet.
ERROR | ??:??:?? 35 [NodeInfoModule] Alloc an err=4,to=0x1b404d69,idFrom=0x7cbe9ac7,id=0x7cbe9ac8
DEBUG | ??:??:?? 35 [NodeInfoModule] Enqueued local (id=0x7cbe9ac8 fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac7 priority=120)
DEBUG | ??:??:?? 35 [Router] Rx someone rebroadcasting for us (id=0x7cbe9ac8 fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac7 priority=120)
DEBUG | ??:??:?? 35 [Router] didn’t find pending packet
DEBUG | ??:??:?? 35 [Router] Add packet record (id=0x7cbe9ac8 fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac7 priority=120)
DEBUG | ??:??:?? 35 [Router] handleReceived(REMOTE) (id=0x7cbe9ac8 fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac7 priority=120)
DEBUG | ??:??:?? 35 [Router] Module ‘routing’ wantsPacket=1
INFO | ??:??:?? 35 [Rou priority=120)
DEBUG | ??:??:?? 35 [Router] Module ‘routing’ considered
INFO | ??:??:?? 41 BLE pairing failed
INFO | ??:??:?? 42 BLE Disconnected, reason = 0x13
INFO | ??:??:?? 42 BLE Connected to stevenphone
INFO | ??:??:?? 45 BLE pairing process started with passkey 169 076
INFO | ??:??:?? 45 BLE passkey pairing: match_request=0
INFO | ??:??:?? 50 [DeviceTelemetryModule] (Sending): air_util_tx=0.000000, channel_utilization=0.000000, battery_level=0, voltage=0.000000
DEBUG | ??:??:?? 50 [DeviceTelemetryModule] updateTelemetry LOCAL
DEBUG | ??:??:?? 50 [DeviceTelemetryModule] Node status update: 1 online, 1 total
INFO | ??:??:?? 50 [DeviceTelemetryModule] Sending packet to mesh
DEBUG | ??:??:?? 50 [DeviceTelemetryModule] Update DB node 0x1b404d69, rx_time=0
ERROR | ??:??:?? 50 [DeviceTelemetryModule] Error=4, returning NAK and dropping packet.
ERROR | ??:??:?? 50 [DeviceTelemetryModule] Alloc an err=4,to=0x1b404d69,idFrom=0x7cbe9ac9,id=0x7cbe9aca
DEBUG | ??:??:?? 50 [DeviceTelemetryModule] Enqueued local (id=0x7cbe9aca fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac9 priority=120)
DEBUG | ??:??:?? 50 [Router] Rx someone rebroadcasting for us (id=0x7cbe9aca fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac9 priority=120)
DEBUG | ??:??:?? 50 [Router] didn’t find pending packet
DEBUG | ??:??:?? 50 [Router] Add packet record (id=0x7cbe9aca fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac9 priority=120)
DEBUG | ??:??:?? 5ode 0x1b404d69, rx_time=0
DEBUG | ??:??:?? 50 [Router] Forwarding to phone (id=0x7cbe9aca fr=0x69 to=0x69, WantAck=0, HopLim=3 Ch=0x0 Portnum=5 requestId=7cbe9ac9 priority=120)
DEBUG | ??:??:?? 50 [Router] Module ‘routing’ considered
INFO | ??:??:?? 75 BLE pairing failed
INFO | ??:??:?? 76 BLE Disconnected, reason = 0x13
INFO | ??:??:?? 77 BLE Connected to stevenphone
INFO | ??:??:?? 79 BLE pairing process started with passkey 625 512
INFO | ??:??:?? 79 BLE passkey pairing: match_request=0
INFO | ??:??:?? 92 BLE connection secured