I found here some information about the board and the Arduino IDE settings to use.
Iām not an expert on mapping these settings to Platformio, but:
Since you updated your espressif32 platform and the esp32-devkitm-1 became available, the same should have happened with the bpi_leaf_s3 which is mentioned as a ācompatible settingā.
After uploading and resetting, the COM port may change. Therefore, you may need to select the correct COM port before opening the serial monitor. You can select the port via a button in the bottom status bar:
Yes, I tried Arduino IDE with their instructions with same bad resultsā¦ on two boardsā¦
I sent them all info on both my platformio experience and the arduino ide experience, no response yet.
I need to put my hands on a bare bone ESP32-S3 and test it to see what platformio config will work. If you have such a board and can check this, it will really help. Thanks a lot!
From the link you sent it is shwon that the freeenove board has two USB connectors so it will probably not function the same as the BPI-Centi-S3 that has only one USB connector.
This is really strange. I am stuck and the manufacturer does not get back to me. The company is a well known company and it is really strangeā¦
Any additional ideas on what to check/test will be highly appreciated!
It is great that you ordered the same board. I will wait for you to get it and get it working. Please let me know the results of your research with the board and how to configure the ini file to get this working. Thanks a lot!!!
Using -DARDUINO_USB_CDC_ON_BOOT=1, all Serial.print statements are routed to the native USB port on the ESP32 and Serial0 is routed to the UART pins (means the other USB-Port which is connected via USB to UART chip). So you can use both ports at the same time using Serial and Serial0.
Hi, Sorry that I did not get back to you earlier. I was on a business trip. So I need to do the following?
Create the āboardsā directory on the same level as āsrcā
Save the json as a file in that new directory using the name ābpi_centi_s3.jsonā
Not sure how the whole platformio.ini file should look like. Can you send me the whole file content?
Then I should take the graphics sample code and modify this one line?
Assitional questions:
I see in the json file that you kept the Leaf definition/name. Is that OK?
I see in the json file that you defined a default partition: āpartitionsā: ādefault_8MB.csvā. I defined my own custom partitions definition using a separate file (board_build.partitions = custom_partitions.csv
). Is there a way to still use it?
Thanks a LOT for your help!
Hi Boris, Got the board to finally function with the demo app. It took a few tries as initially, the reset button after code upload did nothing. Uploaded again and it worked. Thanks a lot for your amazing help!!!
Now to next:
What do I need to do in order to get the bodmer/TFT_eSPI library to function on this board?
Can you recommend a good library to use for utilizing its rotary encoder and button? I would like to utilize a library that will work as much as possible in an async way.
Is there a library to control its on-board RGB Led?
What a coincidence, thatās exactly what I was working on this morning
Here is the ājulia-exampleā running on the centi:
To avoid manual editing of User_Setup.h, I use the build_flags and build_unflags settings in platformio.ini. The following lines makes the display work:
Thanks a lot Boris!
esp_tfti settings for known boards is fairly simple. For example, to use it with the LilyGo T-Display-S3 I only had to modify the user_setup_select.h file to comment the include line and enable the second lineā¦
//#include <User_Setup.h> #include <User_Setups/Setup206_LilyGo_T_Display_S3.h>
Nothing similar for the centi board?
Waiting for your next steps with the additional components