Fix #399: Move pin assignment to generic environment to prevent compilation errors
This commit is contained in:
parent
40203f7316
commit
ae023674fc
@ -20,14 +20,6 @@ build_flags =
|
|||||||
-DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz
|
-DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz
|
||||||
-Wall -Wextra -Werror
|
-Wall -Wextra -Werror
|
||||||
|
|
||||||
; Default pin assignment for all boards if not specified otherwise
|
|
||||||
-DHOYMILES_PIN_MISO=19
|
|
||||||
-DHOYMILES_PIN_MOSI=23
|
|
||||||
-DHOYMILES_PIN_SCLK=18
|
|
||||||
-DHOYMILES_PIN_IRQ=16
|
|
||||||
-DHOYMILES_PIN_CE=4
|
|
||||||
-DHOYMILES_PIN_CS=5
|
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
https://github.com/yubox-node-org/ESPAsyncWebServer
|
https://github.com/yubox-node-org/ESPAsyncWebServer
|
||||||
bblanchon/ArduinoJson @ ^6.19.4
|
bblanchon/ArduinoJson @ ^6.19.4
|
||||||
@ -50,6 +42,13 @@ upload_port = COM4
|
|||||||
|
|
||||||
[env:generic]
|
[env:generic]
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
|
build_flags = ${env.build_flags}
|
||||||
|
-DHOYMILES_PIN_MISO=19
|
||||||
|
-DHOYMILES_PIN_MOSI=23
|
||||||
|
-DHOYMILES_PIN_SCLK=18
|
||||||
|
-DHOYMILES_PIN_IRQ=16
|
||||||
|
-DHOYMILES_PIN_CE=4
|
||||||
|
-DHOYMILES_PIN_CS=5
|
||||||
|
|
||||||
|
|
||||||
[env:olimex_esp32_poe]
|
[env:olimex_esp32_poe]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user