Support to cunfigure LUATOS ESP32-S3

Hello group.

After adquire some esp32 boards, notice the new ones are LUATOS.
image

And this is the link of description>

https://wiki.luatos.org/chips/esp32s3/board.html

Notice the platformIO has not embebed the table.

There Any way to configure this board in order to use the 8 mb pls the deluxe 16 MB using platform IO or i need chage to the chineese dev toolking in order to aproach all he funcionality.
At simple eye looks like and amazing board even smaller that the normal dev board.

Thank you in advace.
Best Regards

I wouldn’t see a reason why you couldn’t take a standard ESP32S3 board definition and use it with Arduino. The board is just a ESP32-S3FN8 after all. You could try it with the board “WEMOS LOLIN S3 PRO” (board = lolin_s3_pro). Check Serial output and available PSRAM with https://thingpulse.com/esp32-how-to-use-psram/.

Hello @maxgerhardt,

Thank you, for your soon response.

I was lookin on platformion however the lolin_s3_pro board does not exist on my platformion and is upgrade from yesterday.

I missin something or i need ugrade platformion again.

will append screenshot for reference.

I am tunning the lolin_s3 board but the test will be later or tomorrow.

Best Regards

Give this one a try?

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino

board_upload.flash_size = 16MB
board_build.f_cpu = 240000000L
; board_build.flash_mode = dio

monitor_speed = 115200
upload_speed = 256000

Hello @k2lin-daniel Thank you for your update. Was able to program the board with your result. at this poitn was able to blink the build in leds.

But testin the memory stuff im not able to see the Psram.

This is my config ini file:

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_upload.flash_size = 16MB
board_build.f_cpu = 240000000L
; board_build.flash_mode = dio
monitor_speed = 115200
upload_speed = 256000

But this is my output.

Total Heap: 397700
Free Heap: 372820
Total PSRAM: 0
Free PSRAM: 0

There is any additioanl code to add the psram to the board using the the devkitc-1

Best Regards.

Try adding simply

build_flags = -DBOARD_HAS_PSRAM

to the platformio.ini to activate the PSRAM autodetection.

Hello @maxgerhardt,

Thank you for your update.
Sadly the previous update has not working.

This is the actual platformio.ini file.

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_upload.flash_size = 16MB
board_build.f_cpu = 240000000L
monitor_speed = 115200
upload_speed = 256000
build_flags = -DBOARD_HAS_PSRAM
lib_deps =
wnatth3/WiFiManager@^2.0.16-rc.2
esphome/ESPAsyncWebServer-esphome@^3.1.0

And this is the error at the time of compilation:

E (176) psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode

Kind regards.
Jesus

Ah, the type of PSRAM must also be set, since there are multiple. The default PSRAM type is “QSPI”, but it could also be “OPI” .

Can you add too:

board_build.arduino.memory_type = qio_opi

to the platformio.ini and retry.

Hey @maxgerhardt

Thanks for the update.
That was the missing flag on my project.

Right now is running fine on the memory check.

Total Heap: 355884
Free Heap: 330396
Total PSRAM: 8386279
Free PSRAM: 8386019

only have and additional doubt my provider sais the board has 512K ram however on hte total heay i can only see something related to 350K there another change to set the previous update to the right Memory and with this can be close the topic.

Thank in advance.
And amazing comunity support!

1 Like

That ones very likely correct, on even ESP32 the RAM was actually instruction ram (IRAM) and data ram (DRAM), and only the DRAM portion could be used. Plus, all the RAM that the ESP-IDF and Arduino framework needs is substracted from the available heap memory memory too. It only gets “the rest”.

Then I can summarize

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_upload.flash_size = 16MB
board_build.f_cpu = 240000000L
monitor_speed = 115200
upload_speed = 256000
build_flags = -DBOARD_HAS_PSRAM
board_build.arduino.memory_type = qio_opi

is a basic setup for the Luatos ESP32-S3.

Hello @maxgerhardt and @k2lin-daniel.

Yes those are the values in order to work with the ESP32-S3-Core from LuatOS.

Thank you very much for the the time and dedication in order to solve this thread.

Kind Regards.