Skip to content

Commit

Permalink
First experimental support for Olimex ESP32 POE board
Browse files Browse the repository at this point in the history
Ethernet is NOT implemented for now
  • Loading branch information
tbnobody committed Jul 12, 2022
1 parent 4259df9 commit f917f5d
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -31,12 +28,26 @@ 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
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

0 comments on commit f917f5d

Please sign in to comment.