-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: matches multiple boards #4
Comments
Nothing missing really, it is just that the current resolution algorithm assumes that the board name is unique across platforms. Let me try to fix it. Once/if fixed, your command |
OK, so I've published a new version of
The following command line now works:
... however, I cannot test the build of the resulting crate, because of this issue in PlatformIO. Hope that helps. |
By the way... this board looks like a pretty simple thing - no WiFi, BLE or anything like that. And only 32KB RAM / 128KB flash. So if you really want to code in Rust for it, I don't see the need to go the Cargo->PIO route. Why not just using this crate, and forget about PlatformIO? |
Great! Thank you. |
The
That's great and I'll put Just turn your demo crate from "static lib" to a binary crate one, say
Yes. That's the |
When I run this command:
$ cargo pio new -b sipeed-longan-nano my_blink2
I got this error:
Error: Configured board 'sipeed-longan-nano' matches multiple boards in PIO: [sipeed-longan-nano, sipeed-longan-nano]
How can I correct this?
I asked PlatformIO community if it is normal to have multiple boards with the same ID and they answer that is normal: "A board is only unique per platform." https://community.platformio.org/t/multiple-board-id-sipeed-longan-nano/22827
So I added the platform:
$ cargo pio new -b sipeed-longan-nano -p GD32V my_blink2
But I got the same error.
I there something I missed and need to add?
I use the PlatformIO extension for VSCode in WSL2 Debian. Also, the cargo pio command is executed in WSL2 Debian.
The text was updated successfully, but these errors were encountered: