| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- [Meshadventurer]
- extends = esp32_base
- board = esp32doit-devkit-v1
- board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
- build_flags =
- ${esp32_base.build_flags}
- -I variants/meshadventurer
- -D MESHADVENTURER
- -D P_LORA_TX_LED=2
- -D PIN_VBAT_READ=35
- -D PIN_USER_BTN_ANA=39
- -D P_LORA_DIO_1=33
- -D P_LORA_NSS=18
- -D P_LORA_RESET=23
- -D P_LORA_BUSY=32
- -D P_LORA_SCLK=5
- -D P_LORA_MOSI=27
- -D P_LORA_MISO=19
- -D SX126X_TXEN=13
- -D SX126X_RXEN=14
- -D PIN_BOARD_SDA=21
- -D PIN_BOARD_SCL=22
- -D SX126X_DIO2_AS_RF_SWITCH=false
- -D SX126X_DIO3_TCXO_VOLTAGE=1.8
- -D SX126X_RX_BOOSTED_GAIN=1
- -D PIN_GPS_RX=12
- -D PIN_GPS_TX=15
- -D DISPLAY_CLASS=SSD1306Display
- build_src_filter = ${esp32_base.build_src_filter}
- +<../variants/meshadventurer>
- lib_deps =
- ${esp32_base.lib_deps}
- stevemarple/MicroNMEA @ ^2.0.6
- adafruit/Adafruit SSD1306 @ ^2.5.13
- [env:Meshadventurer_sx1262_repeater]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/simple_repeater>
- +<helpers/ui/SSD1306Display.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D ADVERT_NAME='"Meshadventurer Repeater"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=8
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- ${esp32_ota.lib_deps}
- ; [env:Meshadventurer_sx1262_repeater_bridge_rs232]
- ; extends = Meshadventurer
- ; build_src_filter = ${Meshadventurer.build_src_filter}
- ; +<helpers/bridges/RS232Bridge.cpp>
- ; +<../examples/simple_repeater>
- ; +<helpers/ui/SSD1306Display.cpp>
- ; build_flags =
- ; ${Meshadventurer.build_flags}
- ; -D RADIO_CLASS=CustomSX1262
- ; -D WRAPPER_CLASS=CustomSX1262Wrapper
- ; -D LORA_TX_POWER=22
- ; -D ADVERT_NAME='"RS232 Bridge"'
- ; -D ADVERT_LAT=0.0
- ; -D ADVERT_LON=0.0
- ; -D ADMIN_PASSWORD='"password"'
- ; -D MAX_NEIGHBOURS=8
- ; -D WITH_RS232_BRIDGE=Serial2
- ; -D WITH_RS232_BRIDGE_RX=5
- ; -D WITH_RS232_BRIDGE_TX=6
- ; ; -D MESH_PACKET_LOGGING=1
- ; ; -D MESH_DEBUG=1
- ; lib_deps =
- ; ${Meshadventurer.lib_deps}
- ; ${esp32_ota.lib_deps}
- [env:Meshadventurer_sx1262_repeater_bridge_espnow]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<helpers/bridges/ESPNowBridge.cpp>
- +<../examples/simple_repeater>
- +<helpers/ui/SSD1306Display.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D ADVERT_NAME='"ESPNow Bridge"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=8
- -D WITH_ESPNOW_BRIDGE=1
- -D WITH_ESPNOW_BRIDGE_SECRET='"shared-secret"'
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- ${esp32_ota.lib_deps}
- [env:Meshadventurer_sx1268_repeater]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/simple_repeater>
- +<helpers/ui/SSD1306Display.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1268
- -D WRAPPER_CLASS=CustomSX1268Wrapper
- -D LORA_TX_POWER=22
- -D ADVERT_NAME='"Meshadventurer Repeater"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=8
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- ${esp32_ota.lib_deps}
- ; [env:Meshadventurer_sx1268_repeater_bridge_rs232]
- ; extends = Meshadventurer
- ; build_src_filter = ${Meshadventurer.build_src_filter}
- ; +<helpers/bridges/RS232Bridge.cpp>
- ; +<../examples/simple_repeater>
- ; +<helpers/ui/SSD1306Display.cpp>
- ; build_flags =
- ; ${Meshadventurer.build_flags}
- ; -D RADIO_CLASS=CustomSX1268
- ; -D WRAPPER_CLASS=CustomSX1268Wrapper
- ; -D LORA_TX_POWER=22
- ; -D ADVERT_NAME='"RS232 Bridge"'
- ; -D ADVERT_LAT=0.0
- ; -D ADVERT_LON=0.0
- ; -D ADMIN_PASSWORD='"password"'
- ; -D MAX_NEIGHBOURS=8
- ; -D WITH_RS232_BRIDGE=Serial2
- ; -D WITH_RS232_BRIDGE_RX=5
- ; -D WITH_RS232_BRIDGE_TX=6
- ; ; -D MESH_PACKET_LOGGING=1
- ; ; -D MESH_DEBUG=1
- ; lib_deps =
- ; ${Meshadventurer.lib_deps}
- ; ${esp32_ota.lib_deps}
- [env:Meshadventurer_sx1268_repeater_bridge_espnow]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<helpers/bridges/ESPNowBridge.cpp>
- +<../examples/simple_repeater>
- +<helpers/ui/SSD1306Display.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1268
- -D WRAPPER_CLASS=CustomSX1268Wrapper
- -D LORA_TX_POWER=22
- -D ADVERT_NAME='"ESPNow Bridge"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=8
- -D WITH_ESPNOW_BRIDGE=1
- -D WITH_ESPNOW_BRIDGE_SECRET='"shared-secret"'
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- ${esp32_ota.lib_deps}
- [env:Meshadventurer_sx1262_companion_radio_usb]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/companion_radio/*.cpp>
- +<helpers/ui/SSD1306Display.cpp>
- +<../examples/companion_radio/*.cpp>
- +<../examples/companion_radio/ui-new/*.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -I examples/companion_radio/ui-new
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D MAX_CONTACTS=100
- -D MAX_GROUP_CHANNELS=8
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- densaugeo/base64 @ ~1.4.0
- [env:Meshadventurer_sx1262_companion_radio_ble]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/companion_radio/*.cpp>
- +<helpers/esp32/*.cpp>
- +<helpers/ui/SSD1306Display.cpp>
- +<../examples/companion_radio/*.cpp>
- +<../examples/companion_radio/ui-new/*.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -I examples/companion_radio/ui-new
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D MAX_CONTACTS=100
- -D MAX_GROUP_CHANNELS=8
- -D BLE_PIN_CODE=123456
- -D BLE_DEBUG_LOGGING=1
- -D OFFLINE_QUEUE_SIZE=256
- -D MESH_PACKET_LOGGING=1
- -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- densaugeo/base64 @ ~1.4.0
- [env:Meshadventurer_sx1262_terminal_chat]
- extends = Meshadventurer
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D MAX_CONTACTS=100
- -D MAX_GROUP_CHANNELS=1
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/simple_secure_chat/main.cpp>
- +<helpers/ui/SSD1306Display.cpp>
- lib_deps =
- ${Meshadventurer.lib_deps}
- densaugeo/base64 @ ~1.4.0
- [env:Meshadventurer_sx1262_room_server]
- extends = Meshadventurer
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D ADVERT_NAME='"Meshadventurer Room"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D ROOM_PASSWORD='"hello"'
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/simple_room_server>
- +<helpers/ui/SSD1306Display.cpp>
- lib_deps =
- ${Meshadventurer.lib_deps}
- ${esp32_ota.lib_deps}
- [env:Meshadventurer_sx1268_companion_radio_usb]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/companion_radio/*.cpp>
- +<helpers/ui/SSD1306Display.cpp>
- +<../examples/companion_radio/*.cpp>
- +<../examples/companion_radio/ui-new/*.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -I examples/companion_radio/ui-new
- -D RADIO_CLASS=CustomSX1268
- -D WRAPPER_CLASS=CustomSX1268Wrapper
- -D LORA_TX_POWER=22
- -D MAX_CONTACTS=100
- -D MAX_GROUP_CHANNELS=8
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- densaugeo/base64 @ ~1.4.0
- [env:Meshadventurer_sx1268_companion_radio_ble]
- extends = Meshadventurer
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/companion_radio/*.cpp>
- +<helpers/esp32/*.cpp>
- +<helpers/ui/SSD1306Display.cpp>
- +<../examples/companion_radio/*.cpp>
- +<../examples/companion_radio/ui-new/*.cpp>
- build_flags =
- ${Meshadventurer.build_flags}
- -I examples/companion_radio/ui-new
- -D RADIO_CLASS=CustomSX1268
- -D WRAPPER_CLASS=CustomSX1268Wrapper
- -D LORA_TX_POWER=22
- -D MAX_CONTACTS=100
- -D MAX_GROUP_CHANNELS=8
- -D BLE_PIN_CODE=123456
- -D BLE_DEBUG_LOGGING=1
- -D OFFLINE_QUEUE_SIZE=256
- -D MESH_PACKET_LOGGING=1
- -D MESH_DEBUG=1
- lib_deps =
- ${Meshadventurer.lib_deps}
- densaugeo/base64 @ ~1.4.0
- [env:Meshadventurer_sx1268_terminal_chat]
- extends = Meshadventurer
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1268
- -D WRAPPER_CLASS=CustomSX1268Wrapper
- -D LORA_TX_POWER=22
- -D MAX_CONTACTS=100
- -D MAX_GROUP_CHANNELS=1
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/simple_secure_chat/main.cpp>
- +<helpers/ui/SSD1306Display.cpp>
- lib_deps =
- ${Meshadventurer.lib_deps}
- densaugeo/base64 @ ~1.4.0
- [env:Meshadventurer_sx1268_room_server]
- extends = Meshadventurer
- build_flags =
- ${Meshadventurer.build_flags}
- -D RADIO_CLASS=CustomSX1268
- -D WRAPPER_CLASS=CustomSX1268Wrapper
- -D LORA_TX_POWER=22
- -D ADVERT_NAME='"Meshadventurer Room"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D ROOM_PASSWORD='"hello"'
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Meshadventurer.build_src_filter}
- +<../examples/simple_room_server>
- +<helpers/ui/SSD1306Display.cpp>
- lib_deps =
- ${Meshadventurer.lib_deps}
- ${esp32_ota.lib_deps}
|