mirror of
https://github.com/nacabaro/nacapet.git
synced 2026-06-05 14:02:53 +00:00
Update env to support multiple ESP32 types
This commit is contained in:
parent
56ce03f34e
commit
9e23682068
@ -8,23 +8,38 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
;[env:alt]
|
[env:s3-full]
|
||||||
;platform = espressif32
|
platform = espressif32
|
||||||
;board = 4d_systems_esp32s3_gen4_r8n16
|
board = 4d_systems_esp32s3_gen4_r8n16
|
||||||
;framework = arduino
|
framework = arduino
|
||||||
;lib_deps = TFT_eSPI, fbiego/ESP32Time@^2.0.6, electroniccats/MPU6050@^1.4.3
|
monitor_filters = esp32_exception_decoder
|
||||||
;monitor_filters = esp32_exception_decoder
|
monitor_speed = 115200
|
||||||
;monitor_speed = 115200
|
|
||||||
;
|
|
||||||
;build_flags =
|
|
||||||
; -DBOARD_HAS_PSRAM
|
|
||||||
; -mfix-esp32-psram-cache-issue
|
|
||||||
; ; These ensure the N16R8 uses the fast Octal (OPI) mode
|
|
||||||
; -DARDUINO_USB_CDC_ON_BOOT=1
|
|
||||||
; -DDEV_UNIT
|
|
||||||
; -DDEBUG
|
|
||||||
|
|
||||||
[env:alt]
|
lib_deps =
|
||||||
|
TFT_eSPI
|
||||||
|
fbiego/ESP32Time@^2.0.6
|
||||||
|
electroniccats/MPU6050@^1.4.3
|
||||||
|
|
||||||
|
; --- Hardware & Memory Topology ---
|
||||||
|
board_build.arduino.psram = enabled
|
||||||
|
board_upload.flash_size = 16MB
|
||||||
|
board_build.partitions = default_16MB.csv
|
||||||
|
|
||||||
|
; FIX 2: Explicitly matches the 'mode:DIO' your ROM is reporting
|
||||||
|
board_build.flash_mode = dio
|
||||||
|
board_build.arduino.memory_type = dio_opi
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
-DBOARD_HAS_PSRAM
|
||||||
|
; FIX 1: Forces all Serial.print logs to stay on the hardware UART port
|
||||||
|
-DARDUINO_USB_CDC_ON_BOOT=0
|
||||||
|
-DDEV_UNIT
|
||||||
|
-DDEBUG
|
||||||
|
|
||||||
|
upload_port = COM8
|
||||||
|
monitor_port = COM8
|
||||||
|
|
||||||
|
[env:s3-supermini]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32-s3-devkitc-1
|
board = esp32-s3-devkitc-1
|
||||||
framework = arduino
|
framework = arduino
|
||||||
@ -45,3 +60,5 @@ build_flags =
|
|||||||
; Ensure partition table fits 4MB
|
; Ensure partition table fits 4MB
|
||||||
board_build.partitions = default.csv
|
board_build.partitions = default.csv
|
||||||
lib_deps = TFT_eSPI, fbiego/ESP32Time@^2.0.6, electroniccats/MPU6050@^1.4.3
|
lib_deps = TFT_eSPI, fbiego/ESP32Time@^2.0.6, electroniccats/MPU6050@^1.4.3
|
||||||
|
upload_port = COM5
|
||||||
|
monitor_port = COM5
|
||||||
Loading…
x
Reference in New Issue
Block a user