From 6dce04d65aeed6ef18f34ffe0dddc12c666229cd Mon Sep 17 00:00:00 2001 From: Amy Nagle Date: Fri, 4 Feb 2022 15:46:00 -0500 Subject: [PATCH] Add TinyPICO board (#1154) --- docs/upload/web-install.md | 3 ++- platformio.ini | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/upload/web-install.md b/docs/upload/web-install.md index 2260151..e711c7f 100644 --- a/docs/upload/web-install.md +++ b/docs/upload/web-install.md @@ -36,6 +36,7 @@ The table below describes the libraries and the modules of each board configurat |esp32feather-ble|ESP32 Feather Adafruit|BLE for the Adafruit Feather board|-|-|X|-| |heltec-wifi-lora32-868|ESP32 HELTEC LORA V2|LORA communication 868Mhz using [arduino-LoRA](https://github.com/sandeepmistry/arduino-LoRa) |-|-|-|X| |heltec-wifi-lora32-915|ESP32 HELTEC LORA V2|LORA communication 915Mhz using [arduino-LoRA](https://github.com/sandeepmistry/arduino-LoRa)|-|-|-|X| +|tinypico-ble|ESP32 TinyPICO|BLE Gateway|-|-|X|-| |ttgo-lora32-v1-868|ESP32 TTGO LORA V1|LORA communication 868Mhz using [arduino-LoRA](https://github.com/sandeepmistry/arduino-LoRa)|-|-|-|X| |ttgo-lora32-v1-915|ESP32 TTGO LORA V1|LORA communication 915Mhz using [arduino-LoRA](https://github.com/sandeepmistry/arduino-LoRa)|-|-|-|X| |ttgo-tbeam|ESP32 TTGO T BEAM|BLE gateway with battery holder|-|-|X|-| @@ -57,4 +58,4 @@ The table below describes the libraries and the modules of each board configurat |sonoff-basic|ESP8255 board|Wifi relay|-|-|-|-| |sonoff-basic-rfr3|ESP8255 board|Wifi relay and RF receiver using [RCSwitch](https://github.com/1technophile/rc-switch) library, [tutorial](https://1technophile.blogspot.com/2019/08/new-sonoff-rfr3-as-433tomqtt-gateway.html)|Rec|-|-|-| -[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fdocs.openmqttgateway.com%2Fupload%2Fweb-install.html&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com) \ No newline at end of file +[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fdocs.openmqttgateway.com%2Fupload%2Fweb-install.html&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com) diff --git a/platformio.ini b/platformio.ini index 0f447d7..e39eeb3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -54,6 +54,7 @@ extra_configs = ;default_envs = esp32-m5stick-c-ble ;default_envs = esp32-m5stick-cp-ble ;default_envs = esp32-m5atom +;default_envs = tinypico-ble ;default_envs = ttgo-lora32-v1-868 ;default_envs = ttgo-lora32-v1-915 ;default_envs = ttgo-t-beam @@ -719,6 +720,21 @@ build_flags = '-DvalueAsASubject=true' ; mqtt topic includes model and device (rtl_433) or protocol and id ( RF and PiLight ) ; '-DDEFAULT_RECEIVER=1' ; Default receiver to enable on startup +[env:tinypico-ble] +platform = ${com.esp32_platform} +board = tinypico +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"' + '-DGateway_Name="OpenMQTTGateway_ESP32_TINYPICO_BLE"' +board_build.flash_mode = dio + [env:ttgo-lora32-v1-868] platform = ${com.esp32_platform} board = ttgo-lora32-v1