Open aseanwatson opened 1 year ago
Wireless-Tag (the manufacturer) has as page for the WT-SC01 PLUS which has a link to the datasheet for the board. That, references a WT32-S3-WROVER-N16R2
.
The manufacturer has a page for WT32-S3-WROVER, Its datasheet lists 12 variants, but not N16R2. The pattern is WT32-S3-WROVER{,-I}-N{4,8,16}{,-R8}
where -I
means an IPEX antenna vs without -I
means PCB. The 4/8/16 is flash size in MB, and the R8
has 8Mb PSRAM.
Espressif's esp32-s3_datasheet-en.pdf has ESP32-S3R2
having 2 MB (Quad SPI) rather than 8Mb for the R8.
Hi @aseanwatson, it's highly desirable that this board is added to the official Arduino core for ESP32 https://github.com/espressif/arduino-esp32 with a proper variant file.
@valeros , thank you for responding.
I see that other users have been successful at building on the board, so I know it's feasible for Platformio to support the hardware. But if I had have skills or expertise to make it happen myself, I would be submitting pull requests rather than raising issues. ;-)
I am happy to do the legwork, but I do not know how to go about it.
Should I raise an issue in the https://github.com/espressif/arduino-esp32 repo?
Wireless tag also makes the wt32-eth01
which is supported by Platform IO and has variants/wt32-eth01/pins_arduino.h.
I see that other users have been successful at building on the board, so I know it's feasible for Platformio to support the hardware.
It's indeed possible to use this board with some workarounds, but if you want hassle-free experience then this board has to be added to https://github.com/espressif/arduino-esp32 with a proper pins_arduino.h
file. As an example you can take a look at this PR.
I was able to build my first project using platformio based on um_tinys3 board for wt32-sc01 plus. Serial2 pins are 12 for TX and 13 for RX. I sent commands over the uart and operate the display(change arc and label text) using this method. I cannot believe pins_arduino.h is not yet added. I am not sure how to add it, otherwise I would. I see the example submission in the PR referenced above. I will look at submitting PR for variants/WT32-SC01-PLUS/pins_arduino.h.
I don't know where to get the extra boards.txt information, I can just copy the um_tinys3 text out of boards.txt
@valeros , thank you for responding.
I see that other users have been successful at building on the board, so I know it's feasible for Platformio to support the hardware. But if I had have skills or expertise to make it happen myself, I would be submitting pull requests rather than raising issues. ;-)
I am happy to do the legwork, but I do not know how to go about it.
Should I raise an issue in the https://github.com/espressif/arduino-esp32 repo?
Wireless tag also makes the
wt32-eth01
which is supported by Platform IO and has variants/wt32-eth01/pins_arduino.h.
You download Github Desktop, fork the main repo, commit your changes, then create a pull request. The GUI makes it easier. I am not a pro at formatting, so some bot is yelling at me right now for an incomplete "summary"
https://github.com/espressif/arduino-esp32/pull/9284
I am running that boards.txt and variant folder on my local install of Arduino 1.8.10, I just overwrote the files to test it out. It compiles fine and uploaded some LVGL display code fine.
I have moved on to VS code as it compiles 100x faster using platformio.
They merged it 😁😁😁
@c4801725870 where ? Can't see it ...
@DrNeuroSurg here's a recap:
Presumably, after PlatformIO picks up whatever build of the espressif repo contains the change, it'll be possible to add support for the board to PlatformIO.
@c4801725870 where ? Can't see it ...
yeah right now it says "pending merge" tagged, they have an external build that's public, and internal code base. So right now they are merging the public code with their private code. At least that's how I understand it. There are other PRs to include besides this one.
Right now you could download the public code to the location C:\Users{USER}.platformio\packages\framework-arduinoespressif32\boards.txt and also include the new variants folder. The actual latest release is still https://github.com/espressif/arduino-esp32/releases/tag/2.0.14
I don't know how VS Code would react to having the files overwritten, I only tested this in Arduino IDE. For now (on Platform IO) I am using um_tinys3 for development and defining the pins manually.
@valeros Sorry for resurrecting old issue. Can this board be added now? The board definition has been merged to espressif/arduino-esp32:master [https://github.com/espressif/arduino-esp32/pull/9284] a while ago and board is available in latest releases
The variant files for this board is only available in the Arduino core v3 which is currently not supported, see #1225 for more detailed info.
Please add support for wt32-sc01 plus. There are a few other projects (see below) which use platformio to build solutions for this board, but it's hard to tell what's really necessary.
Additional info
See https://github.com/fritsjan/WT32-SC01-PLUS-PLATFORMIO which has:
README.md:
...
and platformio.ini
Also see https://github.com/HASwitchPlate/openHASP:
Which has this in platformio.ini:
And this in user_setups/esp32s3/_esp32s3.ini
And this in user_setups/esp32s3/wt32-sc01-plus.ini
And this in boards/esp32s3_qio_qspi.json: