First experimental support for Olimex ESP32 POE board
Ethernet is NOT implemented for now
This commit is contained in:
parent
4259df9ee6
commit
f917f5dc0d
@ -9,16 +9,13 @@
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
default_envs = esp32
|
||||
default_envs = generic
|
||||
|
||||
[env]
|
||||
framework = arduino
|
||||
|
||||
[env:esp32]
|
||||
platform = espressif32@>4
|
||||
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
-D=${PIOENV}
|
||||
-DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz
|
||||
|
||||
@ -31,7 +28,6 @@ lib_deps =
|
||||
extra_scripts =
|
||||
pre:auto_firmware_version.py
|
||||
|
||||
board = esp32dev
|
||||
board_build.partitions = partitions_custom.csv
|
||||
board_build.filesystem = littlefs
|
||||
monitor_filters = time, colorize, log2file, esp32_exception_decoder
|
||||
@ -39,4 +35,19 @@ monitor_port = COM4
|
||||
monitor_speed = 115200
|
||||
|
||||
upload_protocol = esptool
|
||||
upload_port = COM4
|
||||
upload_port = COM4
|
||||
|
||||
[env:generic]
|
||||
board = esp32dev
|
||||
|
||||
[env:olimex_esp32_poe]
|
||||
; https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware
|
||||
|
||||
board = esp32-poe
|
||||
build_flags = ${env.build_flags}
|
||||
-DHOYMILES_PIN_MISO=15
|
||||
-DHOYMILES_PIN_MOSI=2
|
||||
-DHOYMILES_PIN_SCLK=14
|
||||
-DHOYMILES_PIN_IRQ=13
|
||||
-DHOYMILES_PIN_CE=16
|
||||
-DHOYMILES_PIN_CS=5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user