I’ve been using Platformio and CLion for Arduino projects on an intel based Mac for years, with good results.
I just switched to an M2 based Mac and can’t get projects to upload. I’m using a simple Blink project to get things working.
Before attempting an upload I can see the serial port in /dev. It’s cu.usbmodem13401, or tty.usbmodem13401.
When I upload the project, the Nano33BLE led pulses, and stops. However the sketch never runs. Also, after the upload attempt, the serial port is no longer visible.
ls /dev/usb shows no matches. usbmodem13401 is no longer present.
If I double press the Nano33BLE reset button, the serial device returns, and I can repeat the process with the same results.
I can use the Arduino IDE v2.1 to upload the same project with success.
So I suspect a Platformio configuration or CLion Platformio integration problem.
% pio system info
PlatformIO Core 6.1.6
System Type darwin_arm64
File System Encoding utf-8
Locale Encoding UTF-8
PlatformIO Core Directory /Users/rbb/.platformio
PlatformIO Core Executable /Users/rbb/.platformio/penv/bin/platformio
Python Executable /Users/rbb/.platformio/penv/bin/python
Global Libraries 0
Development Platforms 2
Tools & Toolchains 14
I’m looking for any advice on how to proceed.