MM environment for ESP32-C3 "mini" and "super mini" ( #101)
This commit is contained in:
@@ -77,6 +77,7 @@ default_envs =
|
||||
;; esp32s2_tinyUF2_PSRAM_S ;; experimental - only for adafruit -S2 boards with tinyUF2 bootloader !!!
|
||||
esp32s2_PSRAM_M ;; experimental
|
||||
esp32c3dev_4MB_M ;; experimental
|
||||
esp32c3mini_dio_4MB_M ;; for boards that need "dio" flash mode (instead of qio)
|
||||
seeed_esp32c3_4MB_S ;; experimental
|
||||
esp32_4MB_V4_S ;; experimental
|
||||
esp32_16MB_V4_S ;; experimental, optimized for speed
|
||||
@@ -1966,6 +1967,23 @@ lib_ignore =
|
||||
; RAM: [== ] 23.7% (used 77780 bytes from 327680 bytes)
|
||||
; Flash: [========= ] 93.9% (used 1477456 bytes from 1572864 bytes)
|
||||
|
||||
;; MM environment for ESP32-C3 "mini" and "super mini" -> flash mode "dio" instead of "qio" (see #101)
|
||||
[env:esp32c3mini_dio_4MB_M]
|
||||
extends = env:esp32c3dev_4MB_M
|
||||
board = lolin_c3_mini
|
||||
board_build.flash_mode = dio ;; some super-mini boards are unstable with "qio" mode
|
||||
;; board_build.partitions = tools/WLED_ESP32_4MB_256KB_FS.csv ;; optional: 1.8MB firmware, 256KB filesystem (esptool erase_flash needed when changing from "standard WLED" partitions)
|
||||
;;; replace WLED_RELEASE_NAME, disable CDC_ON_BOOT
|
||||
build_unflags = ${env:esp32c3dev_4MB_M.build_unflags}
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1
|
||||
-D WLED_RELEASE_NAME=esp32c3dev_4MB_M
|
||||
build_flags = ${env:esp32c3dev_4MB_M.build_flags}
|
||||
-DARDUINO_USB_CDC_ON_BOOT=0
|
||||
-D WLED_RELEASE_NAME=esp32c3mini_dio_4MB_M
|
||||
-D WLED_DISABLE_BROWNOUT_DET ;; the board only has a 500mA LDO, better to disable brownout detection
|
||||
-D WLED_DISABLE_ADALIGHT ;; to disable serial protocols for boards with CDC USB (Serial RX will receive junk commands, unless its pulled down by resistor)
|
||||
-D HW_PIN_SDA=0 -D HW_PIN_SCL=1 ;; avoid pin conflicts
|
||||
|
||||
;; MM environment for "seeed xiao -C3" boards
|
||||
[env:seeed_esp32c3_4MB_S]
|
||||
extends = env:esp32c3dev_4MB_M
|
||||
|
||||
Reference in New Issue
Block a user