ArduinoBLE for Nicla Sense ME

Hi! I have been trying to troubleshoot my Nicla board + sketch but I cannot get over this hurdle and it's been almost a month (I'm still new and learning). This is the error when trying to upload, I think relating to something with ArduinoBLE, OpenOCD, and/or nrf52 but would be so grateful for ANY guidance!

/usr/local/bin/arduino-cli compile --fqbn arduino:mbed_nicla:nicla_sense --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/195926306/build --build-path /tmp/arduino-build-1EA3969377BE21294FB471A7E44F88E8 --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/ArduinoStreaming --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/Arduino_BHY2 --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/Arduino_BHY2_HOST --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/Arduino_LSM9DS1 --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/BNO055 --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/EEPROM --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/Encoder_NEW --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/HID --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/I2Cdev --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/SPI --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/SensorFusion --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/SoftwareSerial --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/Uduino --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/Wire --library /mnt/create-efs/webide/c6/cc/c6ccea5204f12d3333d38b05a13c6026:willyconcarne12/libraries_v2/pfodParser /tmp/195926306/Nicla_Quaternions_BLE

WARNING: library arduinoble_1_2_1 claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta architecture(s) and may be incompatible with your current board which runs on mbed_nicla architecture(s).

Sketch uses 286768 bytes (54%) of program storage space. Maximum is 527616 bytes.

Global variables use 40632 bytes (63%) of dynamic memory, leaving 23656 bytes for local variables. Maximum is 64288 bytes.

Upload started

Programming with: Serial

Flashing with command:/Users/chris/.arduino-create/arduino/openocd/0.11.0-arduino2/bin/openocd -d2 -s /Users/chris/.arduino-create/arduino/openocd/0.11.0-arduino2/share/openocd/scripts/ -f interface/cmsis-dap.cfg -c transport select swd; adapter speed 1000 -f target/nrf52.cfg -c telnet_port disabled; init; reset init; halt; adapter speed 10000; program {/var/folders/_f/jddvg7192l9_96d9my9xjkx00000gn/T/arduino-create-agent675762433/Nicla_Quaternions_BLE.elf}; reset run; shutdown

Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:57)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

debug_level: 2

adapter speed: 1000 kHz

Info : CMSIS-DAP: SWD Supported

Info : CMSIS-DAP: FW Version = v1.0

Info : CMSIS-DAP: Serial# = 841136AC

Info : CMSIS-DAP: Interface Initialised (SWD)

Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1

Info : CMSIS-DAP: Interface ready

Info : clock speed 1000 kHz

Info : SWD DPIDR 0x2ba01477

Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : starting gdb server for nrf52.cpu on 3333

Info : Listening on port 3333 for gdb connections

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x00006e0c msp: 0x20010000

target halted due to debug-request, current mode: Thread

xPSR: 0x01000000 pc: 0x00006e0c msp: 0x20010000

** Programming Started **

Info : nRF52832-CIAA(build code: E0) 512kB Flash, 64kB RAM

Warn : Adding extra erase range, 0x00056038 .. 0x00056fff

** Programming Finished **

shutdown command invoked