PlatformIO Blues Board Support?

Platform IO issue. Existing Swan projects open fine in PlatformIO (previously built with BluesWireless Swan R5). However when using the Project Wizard to create a new project, PlatformIO fails to initialize with either board Blues Swan R5, or Blues Cygnet. Message indicates “unknown board ID” Error message:

Could not initialize project

PIO Core Call Error: “The following files/directories have been created in C:\\Users\\jmeck\\OneDrive\\Documents\\PlatformIO\\Projects\\test Swan R5\r\ninclude - Put project header files here\r\nlib - Put project specific (private) libraries here\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving blues_swan_r5 dependencies…\r\n\n\nUnknownBoard: Unknown board ID ‘blues_swan_r5’”

I’ve tried uninstalling and reinstalling PlatformIO extension in VS Code.

Hi Jim, I ran into a very similar problem a few weeks ago, and I solved it by removing certain cache files in Platform I/O as suggested here: How to solve the Unknown board ID problem in PlatformIO could you try this and let me know if it resolves your issue?

3 Likes

Hey Jim!

Long time no see!

Out of curiosity, have you tried using the Arduino IDE 2.0 lately? I’m not sure which project you’re working on these days, but they have finally fixed all the debugging issues, and it works great for our boards (a.k.a. ST).

If you can, give it a whirl.

Great to hear from you again,

Zak

1 Like

@dholigan Darrell, SOLVED! Your response and suggested fix are much appreciated. Deleteing the specific Platform IO folder to force a rebuild worked for me as well! Thank-you for helping me avoid some frustration!

@zfields Hi Zach! Great to “hear” from you again! Yes, I find Arduino IDE 2.3.6 to be pretty descent, especially for breadboard level quick testing. I have not tried its debug features, but you provide a nice nudge.

However, As I get more comfortable with PlatformIO in VS Code, I have started exploring use of CoPilot directly modifying functionality in my program in VS Code (and I like supporting a Ukraine PlatformIO project :wink: ). The jury is still out on how helpful CoPilot actually is for my limited developer skills with modern languages.

We are still in pilot stage but making progress and continuing to support engineering student team projects, currently focusing on ML in embedded, connected devices. Cygnet and the LTE Cat-1bus Notecard are likely next up for us to evaluate.

Keep up the great work.

Jim M

1 Like