01Space / ESP32-S3-0.42OLED

17 stars 6 forks source link

PlatformIO configuration #3

Closed mars3142 closed 1 year ago

mars3142 commented 1 year ago

What are the settings for PlatformIO? I can compile and install the GraphicsTest via the Arduino IDE and it runs perfect. If I compile with PlatformIO and upload the binary it won't run.

[env:esp32-s3-0.42oled]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
upload_speed = 921600
lib_ldf_mode = deep
lib_deps = 
   kitesurfer1404/WS2812FX@^1.4.1
   olikraus/U8g2@^2.34.15

This isn't working. Does someone has a platformio.ini example for me?

mars3142 commented 1 year ago

One solution is to change the board to

board = adafruit_feather_esp32s3

Because it has only 4MB Flash and not 8MB like the esp32-s3-devkitc-1.

Another solution is to rewrite the partition table, but this will be more complicated.

01Space commented 1 year ago

I updated the schematic diagram and used the ESP32-S3FN4R2 chip,

01Space commented 1 year ago

https://www.lilygo.cc/products/t-qt-pro You can try to use this setting. They use the same chip

mars3142 commented 1 year ago

Ah, I see. They use a custom board.json... Maybe I'll create a PR for your project, if I got it working.

01Space commented 1 year ago

thank you!