mirror of
https://github.com/wled/WLED.git
synced 2026-04-25 16:42:44 +00:00
P4 buildenv update
This commit is contained in:
@@ -29,7 +29,7 @@ default_envs =
|
||||
esp32c3dev
|
||||
esp32c6dev_4MB
|
||||
esp32c5dev
|
||||
; esp32P4 ;; P4 360 Mhz - not usable yet
|
||||
esp32p4_16MB ;; P4 360 Mhz 16MB flash - experimental
|
||||
; esp32P4_400 ;; P4 rev3 400 Mhz - not usable yet
|
||||
; esp32s3dev_16MB_opi ;; TODO: disabled NeoEsp32RmtMethodIsr
|
||||
; esp32s3dev_8MB_opi ;; TODO: disabled NeoEsp32RmtMethodIsr
|
||||
@@ -448,9 +448,12 @@ lib_deps = ${esp32_idf_V5.lib_deps}
|
||||
lib_ignore = ${esp32_idf_V5.lib_ignore}
|
||||
|
||||
[esp32p4]
|
||||
;; !! Important: if your board shows errors when trying to start WiFi, the C6 coprocessor might need a firmware update.
|
||||
;; !! go here ==> https://esp32-c6-firmware-update.github.io/
|
||||
;;
|
||||
;; generic definitions for all ESP32-P4 boards. TODO: make wifi work by using esp-hosted networking
|
||||
;; Using latest tasmota framework - older frameworks only have minimal support for P4
|
||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.36/platform-espressif32.zip
|
||||
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip
|
||||
platform_packages =
|
||||
build_unflags = ${esp32_idf_V5.build_unflags}
|
||||
-D WLED_ENABLE_DMX_INPUT ;; library not compatible with -P4
|
||||
@@ -465,10 +468,10 @@ build_flags = -g
|
||||
-DFASTLED_NO_FASTLED ;; toDO: temporary hack for softhack007 patched fastled
|
||||
-D WLED_DISABLE_INFRARED ;; library not compatible with -P4
|
||||
-D WLED_DISABLE_ESPNOW ;; not yet tested
|
||||
|
||||
;; please make sure that the following flags are properly set (to 0 or 1) by your board.json, or included in your custom platformio_override.ini entry:
|
||||
;; ARDUINO_USB_CDC_ON_BOOT
|
||||
${esp32_idf_V5.build_flags}
|
||||
|
||||
lib_deps = ${esp32_idf_V5.lib_deps}
|
||||
https://github.com/softhack007/FastLED.git#ESP32-C6 ;; patched version - only math, no hardware drivers
|
||||
lib_ignore = ${esp32_idf_V5.lib_ignore}
|
||||
@@ -574,20 +577,25 @@ monitor_filters = esp32_exception_decoder
|
||||
|
||||
|
||||
[env:esp32p4_16MB]
|
||||
;; (future) ESP32-P4 with 16 MB Flash, 32MB PSRAM
|
||||
;; (experimental) ESP32-P4 with 16 MB Flash, 32MB PSRAM
|
||||
;; https://www.waveshare.com/esp32-p4-nano.htm
|
||||
extends = esp32p4
|
||||
platform = ${esp32p4.platform}
|
||||
platform_packages = ${esp32p4.platform_packages}
|
||||
board = esp32-p4 ;; 360Mhz
|
||||
board = esp32-p4-evboard ;; P4 eval board
|
||||
;; board = esp32-p4 ;; 360Mhz
|
||||
;; board = esp32-p4_r3 ;; 400Mhz
|
||||
|
||||
board_build.flash_mode = qio
|
||||
;;board_build.arduino.memory_type = qio_qspi ;; should actually be opi_hpi
|
||||
board_build.partitions = ${esp32.extreme_partitions} ;; for 16MB Flash
|
||||
build_unflags = ${esp32p4.build_unflags}
|
||||
build_flags = ${esp32p4.build_flags} -D WLED_RELEASE_NAME=\"ESP32-P4_16MB\"
|
||||
;; -DCORE_DEBUG_LEVEL=0
|
||||
build_flags = ${esp32p4.build_flags} -D WLED_RELEASE_NAME=\"ESP32-P4_16MB\" -DBOARD_HAS_PSRAM
|
||||
;; -D WLED_DEBUG
|
||||
;; -DCORE_DEBUG_LEVEL=5
|
||||
lib_ignore = ${esp32p4.lib_ignore}
|
||||
upload_speed = 460800
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user