Skip to content

Commit 8594dd4

Browse files
authored
S3 on steriods
1 parent 224ea38 commit 8594dd4

File tree

1 file changed

+40
-19
lines changed

1 file changed

+40
-19
lines changed

examples/arduino-blink/platformio.ini

Lines changed: 40 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,50 @@ custom_component_remove =
2626
espressif/esp_rainmaker
2727
espressif/rmaker_common
2828

29-
[env:esp32-c2-devkitm-1]
30-
platform = espressif32
31-
framework = arduino
32-
board = esp32-c2-devkitm-1
33-
monitor_speed = 115200
34-
custom_sdkconfig = '# CONFIG_BT_ENABLED is not set'
35-
'# CONFIG_LWIP_PPP_SUPPORT is not set'
36-
custom_component_remove = espressif/esp_hosted
37-
espressif/esp_wifi_remote
38-
espressif/esp-dsp
39-
espressif/esp_modem
40-
espressif/esp32-camera
29+
; TODO C2 Hybrid Compile
30+
;[env:esp32-c2-devkitm-1]
31+
;platform = espressif32
32+
;framework = arduino
33+
;board = esp32-c2-devkitm-1
34+
;monitor_speed = 115200
35+
;custom_sdkconfig = '# CONFIG_BT_ENABLED is not set'
36+
; '# CONFIG_LWIP_PPP_SUPPORT is not set'
37+
;custom_component_remove = espressif/esp_hosted
38+
; espressif/esp_wifi_remote
39+
; espressif/esp-dsp
40+
; espressif/esp_modem
41+
; espressif/esp32-camera
4142

42-
[env:esp32-s3-120]
43+
[env:esp32s3-qio_opi_per]
44+
; OPI Performance settings -> Display use
4345
platform = espressif32
4446
framework = arduino
4547
board = esp32s3_120_16_8-qio_opi
46-
monitor_speed = 115200
47-
custom_component_remove = espressif/esp_hosted
48-
espressif/esp_wifi_remote
49-
espressif/mdns
50-
espressif/esp-dsp
51-
espressif/esp32-camera
48+
build_unflags = -Os
49+
-ffunction-sections
50+
build_flags = -Ofast
51+
-mtext-section-literals
52+
custom_sdkconfig = '# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set'
53+
CONFIG_COMPILER_OPTIMIZATION_PERF=y
54+
'# CONFIG_ESP_DEBUG_INCLUDE_OCD_STUB_BINS is not set'
55+
'# CONFIG_LWIP_PPP_SUPPORT is not set'
56+
'# SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE is not set'
57+
CONFIG_SPIRAM_MODE_OCT=y
58+
CONFIG_SPIRAM_SPEED_120M=y
59+
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
60+
'# CONFIG_SPIRAM_MEMTEST is not set'
61+
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
62+
CONFIG_GDMA_CTRL_FUNC_IN_IRAM=y
63+
CONFIG_I2S_ISR_IRAM_SAFE=y
64+
CONFIG_GDMA_ISR_IRAM_SAFE=y
65+
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
66+
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
67+
CONFIG_SPIRAM_RODATA=y
68+
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
69+
CONFIG_ESP32S3_DATA_CACHE_64KB=y
70+
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
71+
custom_component_remove = espressif/esp_hosted
72+
espressif/esp_wifi_remote
5273

5374
[env:esp32-c6-devkitc-1]
5475
platform = espressif32

0 commit comments

Comments
 (0)