ESP32-PICO-V3-02 + GC9A01 (ESP32_GENERIC,SPIRAM) #102
Replies: 5 comments
-
All of those config settings are able to be passed from the command line.
you don't have to edit any files to add them. |
Beta Was this translation helpful? Give feedback.
-
also when dealing with the SPI Bus I recommend using a buffer size that is 1/10th of the total display size. |
Beta Was this translation helpful? Give feedback.
-
the other thing is that setting the task handler to update every 5 milliseconds is a but much and it will consume a lot of your processor time doing that. I recommend leaving it at it's default of 33 milliseconds. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the review!, and that is awesome! |
Beta Was this translation helpful? Give feedback.
-
no worries m8, just thought you should know those couple of things. |
Beta Was this translation helpful? Give feedback.
-
Note
ESP32 with SPIRAM throws IRAM overflow error when compile.
Solutions are,
if you are using ESP32 revision ECO3,
add
CONFIG_ESP32_REV_MIN_3=y
intoports/esp32/boards/sdkconfig.spiram
This will save 10Kb of IRAM and it is enough for compiling with
lcd_bus
Disable some IRAM functions (insert to 'sdkconfig.spiram') ,
CONFIG_ESP_PANIC_HANDLER_IRAM=n
CONFIG_LWIP_IRAM_OPTIMIZATION=n
CONFIG_SPI_MASTER_ISR_IN_IRAM=n .. etc
There will be trade off for this, please see the Optimizing IRAM Usage.
Build script
python3 make.py esp32 submodules clean mpy_cross BOARD=ESP32_GENERIC BOARD_VARIANT=SPIRAM DISPLAY=gc9a01
Beta Was this translation helpful? Give feedback.
All reactions