From 66c12d6e6b7bde6521d3e8dbc5b652c1786bf752 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:02:59 -0600 Subject: [PATCH] Add esp32-olimex-poe (#1157) Add esp32-olimex-poe-iso --- docs/prerequisites/board.md | 2 ++ docs/upload/web-install.md | 4 +++- platformio.ini | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/docs/prerequisites/board.md b/docs/prerequisites/board.md index f62bdde..9e645c5 100644 --- a/docs/prerequisites/board.md +++ b/docs/prerequisites/board.md @@ -16,6 +16,8 @@ The boards below doesn't need hardware modification (or a lite one). |Sonoff RF Bridge (*) |![](../img/OpenMQTTGateway_boards_sonoff_rfbridge.png)|X|[mod](https://1technophile.blogspot.com/2018/02/adding-infrared-emitter-to-sonoff-rf.html)|-|-|-|-|-| |All bare ESP32|-|-|-|X|-|X|-|X| |OLIMEX ESP32 Ethernet|-|-|-|X|-|X|-|X| +|OLIMEX ESP32 Ethernet POE|-|-|-|X|-|X|-|X| +|OLIMEX ESP32 Ethernet POE ISO|-|-|-|X|-|X|-|X| |ESP32-WT32-ETH01 Ethernet|-|-|-|X|-|X|-|X| |[M5Stack Basic](M5)|![](../img/OpenMQTTgateway_M5_Stack_Board_Display_Text.png)|-|-|X|-|X|X|X| |[M5Tough](M5)|-|-|-|X|-|X|X|X| diff --git a/docs/upload/web-install.md b/docs/upload/web-install.md index e711c7f..a19e9ce 100644 --- a/docs/upload/web-install.md +++ b/docs/upload/web-install.md @@ -19,7 +19,9 @@ The table below describes the libraries and the modules of each board configurat |esp32-m5stick-c-ble|M5Stick C Orange|Expandable mobule with BLE gateway, display, and little IR emitter|-|(Emit)|X|-| |esp32-m5stick-cp-ble|M5Stick C Plus Orange|Expandable mobule with BLE gateway, display, and little IR emitter|-|(Emit)|X|-| |esp32-m5tough-ble|M5Tough rugged|Expandable mobule with BLE gateway and display, suitable for outdoor|-|-|X|-| -|esp32-olimex-gtw-ble-eth|Olimex Ethernet Gateway (non POE) using ethernet|BLE gateway with external antenna as an option|-|-|X|-| +|esp32-olimex-gtw-ble-eth|Olimex Ethernet Gateway (non POE)|BLE gateway with external antenna as an option|-|-|X|-| +|esp32-olimex-gtw-ble-poe|Olimex Ethernet Gateway (POE)|BLE gateway with external antenna as an option|-|-|X|-| +|esp32-olimex-gtw-ble-poe-iso|Olimex Ethernet Gateway (POE + ISO)|BLE gateway with external antenna as an option|-|-|X|-| |esp32-olimex-gtw-ble-wifi|Olimex Ethernet Gateway (non POE) using wifi| BLE gateway|-|-|X|-| |esp32dev-ble-cont|ESP32 dev board|BLE gateway with continuous scanning, suitable in particular for door and window BLE sensors (and all the others)|-|-|X|-| |esp32dev-ble|ESP32 dev board|BLE gateway with one scan every 55s per default|-|-|X|-| diff --git a/platformio.ini b/platformio.ini index e39eeb3..372437f 100644 --- a/platformio.ini +++ b/platformio.ini @@ -46,6 +46,8 @@ extra_configs = ;default_envs = esp32feather-ble ;default_envs = esp32-lolin32lite-ble ;default_envs = esp32-olimex-gtw-ble-eth +;default_envs = esp32-olimex-gtw-ble-poe +;default_envs = esp32-olimex-gtw-ble-poe-iso ;default_envs = esp32-olimex-gtw-ble-wifi ;default_envs = esp32-wt32-eth01-ble-eth ;default_envs = esp32-m5stick-ble @@ -509,6 +511,36 @@ build_flags = '-DESP32_ETHERNET=true' '-DGateway_Name="OpenMQTTGateway_ESP32_OLM_GTWE"' +[env:esp32-olimex-gtw-ble-poe] +platform = ${com.esp32_platform} +board = esp32-poe +board_build.partitions = min_spiffs.csv +lib_deps = + ${com-esp.lib_deps} + ${libraries.wifimanager32} + ${libraries.ble} + ${libraries.decoder} +build_flags = + ${com-esp.build_flags} + '-DZgatewayBT="BT"' + '-DESP32_ETHERNET=true' + '-DGateway_Name="OpenMQTTGateway_ESP32_OLM_POE"' + +[env:esp32-olimex-gtw-ble-poe-iso] +platform = ${com.esp32_platform} +board = esp32-poe-iso +board_build.partitions = min_spiffs.csv +lib_deps = + ${com-esp.lib_deps} + ${libraries.wifimanager32} + ${libraries.ble} + ${libraries.decoder} +build_flags = + ${com-esp.build_flags} + '-DZgatewayBT="BT"' + '-DESP32_ETHERNET=true' + '-DGateway_Name="OpenMQTTGateway_ESP32_OLM_POE"' + [env:esp32-wt32-eth01-ble-eth] platform = ${com.esp32_platform} board = esp32-gateway