Skip to content

Commit 1a12557

Browse files
committed
make qio env inherit from c3dev env correctly
1 parent f9a9a13 commit 1a12557

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

platformio.ini

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -547,21 +547,10 @@ lib_deps = ${esp32c3.lib_deps}
547547
board_build.flash_mode = dio ; safe default, required for OTA updates to 0.16 from older version which used dio (must match the bootloader!)
548548

549549
[env:esp32c3dev_qio]
550-
extends = esp32c3
551-
platform = ${esp32c3.platform}
552-
platform_packages = ${esp32c3.platform_packages}
553-
framework = arduino
554-
board = esp32-c3-devkitm-1
555-
board_build.partitions = ${esp32.default_partitions}
556-
build_flags = ${common.build_flags} ${esp32c3.build_flags} -D WLED_RELEASE_NAME=\"ESP32-C3-QIO\"
557-
-D WLED_WATCHDOG_TIMEOUT=0
558-
-DLOLIN_WIFI_FIX ; lower TX power, seems to work much better with this
559-
-DARDUINO_USB_CDC_ON_BOOT=1 ;; for virtual CDC USB
560-
;-DARDUINO_USB_CDC_ON_BOOT=0 ;; for serial-to-USB chip
561-
upload_speed = 460800
562-
build_unflags = ${common.build_unflags}
563-
lib_deps = ${esp32c3.lib_deps}
564-
board_build.flash_mode = qio ; qio is faster and works on almost all boards (some may use dio to get 2 extra pins)
550+
extends = env:esp32c3dev
551+
build_unflags = -D WLED_RELEASE_NAME
552+
build_flags = ${env:esp32c3dev.build_flags} -D WLED_RELEASE_NAME=\"ESP32-C3-QIO\"
553+
board_build.flash_mode = qio ; qio is faster and works on almost all boards (some boards may use dio to get 2 extra pins)
565554

566555
[env:esp32s3dev_16MB_opi]
567556
;; ESP32-S3 development board, with 16MB FLASH and >= 8MB PSRAM (memory_type: qio_opi)

0 commit comments

Comments
 (0)