mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-14 17:35:22 +01:00
feat: add ESP32 build
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
.pioenvs
|
||||
.piolibdeps
|
||||
.pio
|
||||
.vscode
|
||||
data/config.json
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"stationMode": 1,
|
||||
"hostname": "illucat",
|
||||
"apSSID": "illucat",
|
||||
"apPassword": "illumination",
|
||||
"hostname": "bar-light",
|
||||
"apSSID": "bar-light",
|
||||
"apPassword": "th3r31sn0sp00n",
|
||||
"connectTimeout": 5000,
|
||||
"stationSSID": "wirelos",
|
||||
"stationPassword": "th3r31sn0sp00n"
|
||||
}
|
||||
"stationSSID": "UPC7823296",
|
||||
"stationPassword": "rthYx4Vnfeza"
|
||||
}u
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"pin": 4,
|
||||
"length": 8,
|
||||
"brightness": 127,
|
||||
"brightness": 50,
|
||||
"updateInterval": 100,
|
||||
"defaultColor": 100
|
||||
}
|
||||
@@ -8,8 +8,8 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; http://docs.platformio.org/page/projectconf.html
|
||||
|
||||
;[platformio]
|
||||
;env_default = build
|
||||
[platformio]
|
||||
env_default = build
|
||||
|
||||
[common]
|
||||
framework = arduino
|
||||
@@ -30,6 +30,19 @@ lib_deps =
|
||||
https://gitlab.com/wirelos/sprocket-plugin-neopixel.git
|
||||
|
||||
|
||||
[env:build-esp32]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
src_filter = +<*> -<var/> +<var/wifi/>
|
||||
upload_speed = ${common.upload_speed}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
framework = ${common.framework}
|
||||
build_flags = -DSPROCKET_PRINT=1
|
||||
lib_deps = ${common.lib_deps}
|
||||
https://gitlab.com/wirelos/sprocket-network-wifi.git#next
|
||||
https://gitlab.com/wirelos/sprocket-plugin-web.git#next
|
||||
|
||||
|
||||
[env:build]
|
||||
src_filter = +<*> -<var/> +<var/wifi/>
|
||||
platform = ${common.platform}
|
||||
|
||||
Reference in New Issue
Block a user