Arduino Nano33 BLE Sense with ArduinoBLE Library


I’m trying to upload a simple BLE Scan example using ArduinoBLE library
on Arduino Nano33 BLE Sense board.
… and I get the following error:

Processing nano33ble (platform: nordicnrf52; board: nano33ble; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via '-v, --verbose' option
PLATFORM: Nordic nRF52 (9.4.0) > Arduino Nano 33 BLE
HARDWARE: NRF52840 64MHz, 256KB RAM, 960KB Flash
DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink)
 - framework-arduino-mbed @ 3.1.1
 - tool-sreccat @ 1.164.0 (1.64)
 - toolchain-gccarmnoneeabi @ 1.80201.181220 (8.2.1)
LDF: Library Dependency Finder ->
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoBLE @ 1.3.2
Building in release mode
Linking .pio\build\nano33ble\firmware.elf


collect2.exe: error: ld returned 1 exit status
*** [.pio\build\nano33ble\firmware.elf] Error 1
================================================================================================= [FAILED] Took 2.27 seconds =================================================================================================

and Here is full build log and project file

I’ve been trying to fix the problem but haven’t been able to figure out what could be causing the problem.

I am new to PlatformIO… any help would be appreciated.