pioarduino/platform-espressif32

please add new boards definitions added in arduino-esp32 v3

Closed this issue · 7 comments

hi, and thanks for this awesome work

It seems that the pioarduino platform has the same board coverage as the offically supported pio ones based on v2.x.x

should it be possible to add the boards added with the realease of v3.x

as an example wt32-sc01-plus exist in the espressif github,
https://github.com/espressif/arduino-esp32/tree/master/variants/wt32-sc01-plus
this board is available in arduino ide but seems not present in pioarduino

the wt32-sc01-plus.json seems to be missing
regards

See README. Needs to provided from the community

I replaced platformio with pioarduino in hopes it will automatically upgrade everything, seems we have to manually include the URL of platform-espressif32 as per the README file

[env:stable]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
board = ...
...

Or go to pioarduino > Platforms > Advanced Installation, and put the above entry:

https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip

Make sure to delete the old Espressif 32 platform, at the time of writing this comment it is 6.9.0, and upon completing the advanced installation it will add 51.03.07

Edit: Came here as a result of this issue

@Mis1eader-dev your post is off topic

hi,

I'm not very confortable with the underlying architecture and internal configuration of pio
here are my findings

in ~/.platformio/packages/framework-arduinoespressif32/

  • WT32-SC01-plus board is present in boards.txt from line 27361 to 27509

  • the variant folder is present and populated in the /variants subdir

in my understanding this above come from the arduino-esp32 core 3.x.x so that the board is available in arduino ide and the like

beside that the wt32-sc01-plus.json file is missing from ~/.platformio/platforms/espressif32/boards/
I opened this issue thinking that the board.json files were autogenerated from boards.txt and files in the /variants dir and that you just need to trigger it.

Seems I'm wrong on this last statement

By digging is some equivalent boards .json files and some reading in pio docs I've managed to assemble the wt32-sc01-plus.json attached below.
there is mabe some mistakes in it, but it work
I don't think I'm able to do a PR for that, I'm not confortable enough with github

wt32-sc01-plus.json

there some parameter where I'm not really sure like the first extra_flags "-DARDUINO_WT32_SC01_PLUS"
Do this flag wording as to be the same as a parameter somewhere ? or it is free wording and just here to do some define check

regards

No boards manifest is auto generated in Platformio / pioarduino. As already mentioned if you want to add / change a boards manifest provide a PR.
boards.txt and platform.txt are not used in Platformio / pioarduino. You can delete them.
If you don't like Platformio / pioarduino don't use it.

why be that rude ?
where did I say I don't like pio ?
I just asked some questions, and provided the missing file for this board
I just say I'm a beginner and I'd like someone review this file to confirm there no mistake in it before trying to go further (I don't know how to do a PR)

Not being rude, just clear in communication. If you want that your suggestions is reviewed please learn how to submit a PR. That's the way to suggest changes. I don't have the time to do it different.
You are not polite, clearly not following the readme how board issues are handled.