forked from ewowi/StarBase
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate physical and virtual driver builds
package.json updates pio.ini - separate physical and virtual driver builds
- Loading branch information
Showing
3 changed files
with
75 additions
and
37 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,33 +203,14 @@ board = esp32dev ;https://github.com/platformio/platform-espressif32/blob/develo | |
; recommended to pin to a platform version, see https://github.com/platformio/platform-espressif32/releases | ||
platform = [email protected] ;using platformio/framework-arduinoespressif32 @ ~3.20014.0 / framework-arduinoespressif32 @ 3.20014.231204 (2.0.14) | ||
upload_speed = 1500000 | ||
build_flags = | ||
${env.build_flags} | ||
-D CONFIG_IDF_TARGET_ESP32=1 | ||
-D ARDUINO_USB_CDC_ON_BOOT=0 ; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (needed on "classic ESP32") | ||
-D STARBASE_BOOT_BUTTON_PIN=0 ; boot pin on the esp32 board | ||
${STARLIGHT_CLOCKLESS_LED_DRIVER.build_flags} | ||
lib_deps = | ||
${env.lib_deps} | ||
${STARLIGHT_CLOCKLESS_LED_DRIVER.lib_deps} | ||
|
||
; ;LEDs specific builds | ||
[env:esp32devICVLD] | ||
board = esp32dev ;https://github.com/platformio/platform-espressif32/blob/develop/boards/esp32dev.json | ||
; recommended to pin to a platform version, see https://github.com/platformio/platform-espressif32/releases | ||
platform = [email protected] ;using platformio/framework-arduinoespressif32 @ ~3.20014.0 / framework-arduinoespressif32 @ 3.20014.231204 (2.0.14) | ||
upload_speed = 1500000 | ||
build_flags = | ||
${env.build_flags} | ||
-D CONFIG_IDF_TARGET_ESP32=1 | ||
-D ARDUINO_USB_CDC_ON_BOOT=0 ; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (needed on "classic ESP32") | ||
-D STARBASE_BOOT_BUTTON_PIN=0 ; boot pin on the esp32 board | ||
-D STARLIGHT_MAXLEDS=12288 ;LEDs specific | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} | ||
-D STARLIGHT_LIVE_MAPPING | ||
lib_deps = | ||
${env.lib_deps} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} | ||
|
||
; https://github.com/platformio/platform-espressif32/issues/1360 | ||
; https://community.platformio.org/t/support-esp32-wrover-module/17717 | ||
|
@@ -247,16 +228,10 @@ build_flags = | |
-DBOARD_HAS_PSRAM | ||
-mfix-esp32-psram-cache-issue | ||
-D STARBASE_BOOT_BUTTON_PIN=0 ; boot pin on the esp32 board, works! | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.build_flags} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} | ||
-D STARLIGHT_MAXLEDS=12288 ;LEDs specific | ||
; -D STARLIGHT_LIVE_MAPPING | ||
lib_deps = | ||
${env.lib_deps} | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.lib_deps} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} | ||
|
||
;End LEDs specific builds | ||
|
||
[env:pico32] | ||
board = pico32 ;https://github.com/platformio/platform-espressif32/blob/develop/boards/pico32.json | ||
|
@@ -373,17 +348,80 @@ build_flags = | |
-D STARBASE_LOLIN_WIFI_FIX ; shouldn't be necessary, but otherwise WiFi issues on my board | ||
-D STARBASE_BOOT_BUTTON_PIN=0 ; boot pin on the esp32 board | ||
-D STARLIGHT_MAXLEDS=16384 ;LEDs specific | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} | ||
lib_deps = | ||
${env.lib_deps} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} | ||
|
||
; RAM: [== ] 18.7% (used 61404 bytes from 327680 bytes) | ||
; Flash: [===== ] 48.7% (used 1530457 bytes from 3145728 bytes) | ||
|
||
|
||
|
||
|
||
; LEDs specific builds (Physical and virtual driver) | ||
|
||
[env:esp32devPD] | ||
extends = env:esp32dev | ||
build_flags = | ||
${env:esp32dev.build_flags} | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.build_flags} | ||
lib_deps = | ||
${env:esp32dev.lib_deps} | ||
; ${STARLIGHT_CLOCKLESS_LED_DRIVER.lib_deps} | ||
|
||
[env:esp32devVD] | ||
extends = env:esp32dev | ||
build_flags = | ||
${env:esp32dev.build_flags} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} | ||
-D STARLIGHT_LIVE_MAPPING | ||
lib_deps = | ||
${env:esp32dev.lib_deps} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} | ||
|
||
[env:esp-wrover-kitPD] | ||
extends = env:esp-wrover-kit | ||
build_flags = | ||
${env:esp-wrover-kit.build_flags} | ||
${STARLIGHT_CLOCKLESS_LED_DRIVER.build_flags} | ||
lib_deps = | ||
${env:esp-wrover-kit.lib_deps} | ||
${STARLIGHT_CLOCKLESS_LED_DRIVER.lib_deps} | ||
|
||
[env:esp-wrover-kitVD] | ||
extends = env:esp-wrover-kit | ||
build_flags = | ||
${env:esp-wrover-kit.build_flags} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} | ||
-D STARLIGHT_LIVE_MAPPING | ||
lib_deps = | ||
${env:esp-wrover-kit.lib_deps} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} | ||
|
||
|
||
[env:esp32-s3-devkitc-1-n16r8vVD] | ||
extends = env:esp32-s3-devkitc-1-n16r8v | ||
build_flags = | ||
${env:esp32-s3-devkitc-1-n16r8v.build_flags} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.build_flags} | ||
; -D STARLIGHT_LIVE_MAPPING | ||
lib_deps = | ||
${env:esp32-s3-devkitc-1-n16r8v.lib_deps} | ||
${STARLIGHT_CLOCKLESS_VIRTUAL_LED_DRIVER.lib_deps} | ||
|
||
;End LEDs specific builds | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
; [env:lolin_c3_mini] | ||
|