Добавлена прошивка Beacon Sensor для Heltec T114
Some checks failed
Build and deploy Docs site to GitHub Pages / github-pages (push) Has been cancelled
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (Heltec_v3_repeater) (push) Has been cancelled
PR Build Check / build (Heltec_v3_room_server) (push) Has been cancelled
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Has been cancelled
PR Build Check / build (PicoW_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (RAK_4631_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_room_server) (push) Has been cancelled
PR Build Check / build (wio-e5-mini_repeater) (push) Has been cancelled
Some checks failed
Build and deploy Docs site to GitHub Pages / github-pages (push) Has been cancelled
PR Build Check / build (Heltec_v3_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (Heltec_v3_repeater) (push) Has been cancelled
PR Build Check / build (Heltec_v3_room_server) (push) Has been cancelled
PR Build Check / build (LilyGo_Tlora_C6_repeater_) (push) Has been cancelled
PR Build Check / build (PicoW_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_companion_radio_ble) (push) Has been cancelled
PR Build Check / build (RAK_4631_repeater) (push) Has been cancelled
PR Build Check / build (RAK_4631_room_server) (push) Has been cancelled
PR Build Check / build (wio-e5-mini_repeater) (push) Has been cancelled
- Новый пример examples/beacon_sensor/ на основе companion_radio - Автоматическая отправка flood-объявления каждые 15 минут - ADV_TYPE_CHAT, ретрансляция через mesh-сеть - Поддержка BMP280 по I2C (Wire1, SDA=7, SCL=8) - Новые build-варианты в variants/heltec_t114/platformio.ini: - Heltec_t114_without_display_beacon_sensor_ble - Heltec_t114_without_display_beacon_sensor_usb - Heltec_t114_beacon_sensor_ble (с дисплеем) - Heltec_t114_beacon_sensor_usb (с дисплеем) - Радиопараметры: 868.731 MHz, SF7, BW62.5, CR7, path hash 1 байт Инструкция по прошивке: 1. pio run -e Heltec_t114_without_display_beacon_sensor_ble -t create_uf2 2. Зажми BOOT на T114, подключи USB, появится диск T114 3. Перетащи firmware.uf2 на диск
This commit is contained in:
@@ -117,6 +117,33 @@ lib_deps =
|
||||
${Heltec_t114.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:Heltec_t114_without_display_beacon_sensor_ble]
|
||||
extends = Heltec_t114
|
||||
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
|
||||
board_upload.maximum_size = 712704
|
||||
build_flags =
|
||||
${Heltec_t114.build_flags}
|
||||
-I examples/beacon_sensor/ui-new
|
||||
-D DISPLAY_CLASS=NullDisplayDriver
|
||||
-D MAX_CONTACTS=50
|
||||
-D MAX_GROUP_CHANNELS=10
|
||||
-D BLE_PIN_CODE=123456
|
||||
-D ADVERT_NAME='"Beacon-T114"'
|
||||
-D LORA_FREQ=868.731
|
||||
-D LORA_BW=62.5
|
||||
-D LORA_SF=7
|
||||
-D LORA_CR=7
|
||||
-D OFFLINE_QUEUE_SIZE=16
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${Heltec_t114.build_src_filter}
|
||||
+<helpers/nrf52/SerialBLEInterface.cpp>
|
||||
+<../examples/beacon_sensor/*.cpp>
|
||||
+<../examples/beacon_sensor/ui-new/*.cpp>
|
||||
lib_deps =
|
||||
${Heltec_t114.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:Heltec_t114_without_display_companion_radio_usb]
|
||||
extends = Heltec_t114
|
||||
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
|
||||
@@ -139,6 +166,28 @@ lib_deps =
|
||||
${Heltec_t114.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:Heltec_t114_without_display_beacon_sensor_usb]
|
||||
extends = Heltec_t114
|
||||
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
|
||||
board_upload.maximum_size = 712704
|
||||
build_flags =
|
||||
${Heltec_t114.build_flags}
|
||||
-I examples/beacon_sensor/ui-new
|
||||
-D DISPLAY_CLASS=NullDisplayDriver
|
||||
-D MAX_CONTACTS=50
|
||||
-D MAX_GROUP_CHANNELS=10
|
||||
-D ADVERT_NAME='"BMP280-Beacon"'
|
||||
-D OFFLINE_QUEUE_SIZE=16
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${Heltec_t114.build_src_filter}
|
||||
+<helpers/nrf52/*.cpp>
|
||||
+<../examples/beacon_sensor/*.cpp>
|
||||
+<../examples/beacon_sensor/ui-new/*.cpp>
|
||||
lib_deps =
|
||||
${Heltec_t114.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
;
|
||||
; Heltec T114 with ST7789 display
|
||||
;
|
||||
@@ -232,6 +281,32 @@ lib_deps =
|
||||
${Heltec_t114_with_display.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:Heltec_t114_beacon_sensor_ble]
|
||||
extends = Heltec_t114_with_display
|
||||
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
|
||||
board_upload.maximum_size = 712704
|
||||
build_flags =
|
||||
${Heltec_t114_with_display.build_flags}
|
||||
-I examples/beacon_sensor/ui-new
|
||||
-D MAX_CONTACTS=50
|
||||
-D MAX_GROUP_CHANNELS=10
|
||||
-D BLE_PIN_CODE=123456
|
||||
-D ADVERT_NAME='"Beacon-T114"'
|
||||
-D LORA_FREQ=868.731
|
||||
-D LORA_BW=62.5
|
||||
-D LORA_SF=7
|
||||
-D LORA_CR=7
|
||||
-D OFFLINE_QUEUE_SIZE=16
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${Heltec_t114_with_display.build_src_filter}
|
||||
+<helpers/nrf52/SerialBLEInterface.cpp>
|
||||
+<../examples/beacon_sensor/*.cpp>
|
||||
+<../examples/beacon_sensor/ui-new/*.cpp>
|
||||
lib_deps =
|
||||
${Heltec_t114_with_display.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:Heltec_t114_companion_radio_usb]
|
||||
extends = Heltec_t114_with_display
|
||||
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
|
||||
@@ -249,6 +324,27 @@ build_src_filter = ${Heltec_t114_with_display.build_src_filter}
|
||||
+<helpers/nrf52/*.cpp>
|
||||
+<../examples/companion_radio/*.cpp>
|
||||
+<../examples/companion_radio/ui-new/*.cpp>
|
||||
lib_deps =
|
||||
${Heltec_t114_with_display.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
|
||||
[env:Heltec_t114_beacon_sensor_usb]
|
||||
extends = Heltec_t114_with_display
|
||||
board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
|
||||
board_upload.maximum_size = 712704
|
||||
build_flags =
|
||||
${Heltec_t114_with_display.build_flags}
|
||||
-I examples/beacon_sensor/ui-new
|
||||
-D MAX_CONTACTS=50
|
||||
-D MAX_GROUP_CHANNELS=10
|
||||
-D ADVERT_NAME='"BMP280-Beacon"'
|
||||
-D OFFLINE_QUEUE_SIZE=16
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
build_src_filter = ${Heltec_t114_with_display.build_src_filter}
|
||||
+<helpers/nrf52/*.cpp>
|
||||
+<../examples/beacon_sensor/*.cpp>
|
||||
+<../examples/beacon_sensor/ui-new/*.cpp>
|
||||
lib_deps =
|
||||
${Heltec_t114_with_display.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
Reference in New Issue
Block a user