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
|
.pio
|
||||||
.piolibdeps
|
|
||||||
.vscode
|
.vscode
|
||||||
data/config.json
|
data/config.json
|
||||||
12
.vscode/extensions.json
vendored
12
.vscode/extensions.json
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
||||||
// for the documentation about the extensions.json format
|
// for the documentation about the extensions.json format
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"platformio.platformio-ide"
|
"platformio.platformio-ide"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"stationMode": 1,
|
"stationMode": 1,
|
||||||
"hostname": "illucat",
|
"hostname": "bar-light",
|
||||||
"apSSID": "illucat",
|
"apSSID": "bar-light",
|
||||||
"apPassword": "illumination",
|
"apPassword": "th3r31sn0sp00n",
|
||||||
"connectTimeout": 5000,
|
"connectTimeout": 5000,
|
||||||
"stationSSID": "wirelos",
|
"stationSSID": "UPC7823296",
|
||||||
"stationPassword": "th3r31sn0sp00n"
|
"stationPassword": "rthYx4Vnfeza"
|
||||||
}
|
}u
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"pin": 4,
|
"pin": 4,
|
||||||
"length": 8,
|
"length": 8,
|
||||||
"brightness": 127,
|
"brightness": 50,
|
||||||
"updateInterval": 100,
|
"updateInterval": 100,
|
||||||
"defaultColor": 100
|
"defaultColor": 100
|
||||||
}
|
}
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; http://docs.platformio.org/page/projectconf.html
|
; http://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
;[platformio]
|
[platformio]
|
||||||
;env_default = build
|
env_default = build
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
@@ -30,6 +30,19 @@ lib_deps =
|
|||||||
https://gitlab.com/wirelos/sprocket-plugin-neopixel.git
|
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]
|
[env:build]
|
||||||
src_filter = +<*> -<var/> +<var/wifi/>
|
src_filter = +<*> -<var/> +<var/wifi/>
|
||||||
platform = ${common.platform}
|
platform = ${common.platform}
|
||||||
|
|||||||
Reference in New Issue
Block a user