Upload working great in Arduino, "No device found on COM5" error in PlatformIO

I’ve been using both with the sense and the BLE versions, It’s all about the platfrom.ini file config.
As someone has pointed out, they work no -issues.
Debugging also works very well also in PlatIO .
HTH
GL :slight_smile:

Here’s one I use;

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:xiaoblesense]
platform = https://github.com/maxgerhardt/platform-nordicnrf52
board = xiaoblesense
framework = arduino
debug_tool = jlink

lib_extra_dirs = ~/Documents/Arduino/libraries
lib_deps = seeed-studio/Seeed Arduino LSM6DS3@^2.0.3
   arduino-libraries/ArduinoBLE@^1.3.2
   ;adafruit/Adafruit GFX Library
   adafruit/Adafruit BusIO
   Wire
   olikraus/U8g2@^2.34.4
   ;SPI
2 Likes