| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- ;
- ; Heltec T114 without display
- ;
- [Heltec_t114]
- extends = nrf52_base
- board = heltec_t114
- board_build.ldscript = boards/nrf52840_s140_v6.ld
- build_flags = ${nrf52_base.build_flags}
- -I lib/nrf52/s140_nrf52_6.1.1_API/include
- -I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52
- -I variants/heltec_t114
- -I src/helpers/ui
- -D HELTEC_T114
- -D NRF52_POWER_MANAGEMENT
- -D P_LORA_DIO_1=20
- -D P_LORA_NSS=24
- -D P_LORA_RESET=25
- -D P_LORA_BUSY=17
- -D P_LORA_SCLK=19
- -D P_LORA_MISO=23
- -D P_LORA_MOSI=22
- -D P_LORA_TX_LED=35
- -D RADIO_CLASS=CustomSX1262
- -D WRAPPER_CLASS=CustomSX1262Wrapper
- -D LORA_TX_POWER=22
- -D SX126X_POWER_EN=37
- -D SX126X_DIO2_AS_RF_SWITCH=true
- -D SX126X_DIO3_TCXO_VOLTAGE=1.8
- -D SX126X_CURRENT_LIMIT=140
- -D SX126X_RX_BOOSTED_GAIN=1
- -D DISPLAY_CLASS=NullDisplayDriver
- -D ST7789
- -D PIN_GPS_RX=39
- -D PIN_GPS_TX=37
- -D PIN_GPS_EN=21
- -D PIN_GPS_RESET=38
- -D PIN_GPS_RESET_ACTIVE=LOW
- build_src_filter = ${nrf52_base.build_src_filter}
- +<helpers/*.cpp>
- +<../variants/heltec_t114>
- lib_deps =
- ${nrf52_base.lib_deps}
- stevemarple/MicroNMEA @ ^2.0.6
- adafruit/Adafruit GFX Library @ ^1.12.1
- debug_tool = jlink
- upload_protocol = nrfutil
- [env:Heltec_t114_without_display_repeater]
- extends = Heltec_t114
- build_src_filter = ${Heltec_t114.build_src_filter}
- +<../examples/simple_repeater>
- build_flags =
- ${Heltec_t114.build_flags}
- -D ADVERT_NAME='"Heltec_T114 Repeater"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=50
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- [env:Heltec_t114_without_display_repeater_bridge_rs232]
- extends = Heltec_t114
- build_flags =
- ${Heltec_t114.build_flags}
- -D ADVERT_NAME='"RS232 Bridge"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=50
- -D WITH_RS232_BRIDGE=Serial2
- -D WITH_RS232_BRIDGE_RX=9
- -D WITH_RS232_BRIDGE_TX=10
- ; -D BRIDGE_DEBUG=1
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Heltec_t114.build_src_filter}
- +<helpers/bridges/RS232Bridge.cpp>
- +<../examples/simple_repeater>
- [env:Heltec_t114_without_display_room_server]
- extends = Heltec_t114
- build_src_filter = ${Heltec_t114.build_src_filter}
- +<../examples/simple_room_server>
- build_flags =
- ${Heltec_t114.build_flags}
- -D ADVERT_NAME='"Heltec_T114 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
- [env:Heltec_t114_without_display_companion_radio_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/companion_radio/ui-new
- -D MAX_CONTACTS=350
- -D MAX_GROUP_CHANNELS=40
- -D BLE_PIN_CODE=123456
- ; -D BLE_DEBUG_LOGGING=1
- -D OFFLINE_QUEUE_SIZE=256
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Heltec_t114.build_src_filter}
- +<helpers/nrf52/SerialBLEInterface.cpp>
- +<../examples/companion_radio/*.cpp>
- +<../examples/companion_radio/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
- board_upload.maximum_size = 712704
- build_flags =
- ${Heltec_t114.build_flags}
- -I examples/companion_radio/ui-new
- -D MAX_CONTACTS=350
- -D MAX_GROUP_CHANNELS=40
- ; -D BLE_PIN_CODE=123456
- ; -D BLE_DEBUG_LOGGING=1
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Heltec_t114.build_src_filter}
- +<helpers/nrf52/*.cpp>
- +<../examples/companion_radio/*.cpp>
- +<../examples/companion_radio/ui-new/*.cpp>
- lib_deps =
- ${Heltec_t114.lib_deps}
- densaugeo/base64 @ ~1.4.0
- ;
- ; Heltec T114 with ST7789 display
- ;
- [Heltec_t114_with_display]
- extends = Heltec_t114
- board = heltec_t114
- board_build.ldscript = boards/nrf52840_s140_v6.ld
- build_flags = ${Heltec_t114.build_flags}
- -D HELTEC_T114_WITH_DISPLAY
- -D DISPLAY_CLASS=ST7789Display
- build_src_filter = ${Heltec_t114.build_src_filter}
- +<helpers/ui/ST7789Display.cpp>
- +<helpers/ui/MomentaryButton.cpp>
- +<helpers/ui/OLEDDisplay.cpp>
- +<helpers/ui/OLEDDisplayFonts.cpp>
- lib_deps =
- ${Heltec_t114.lib_deps}
- debug_tool = jlink
- upload_protocol = nrfutil
- [env:Heltec_t114_repeater]
- extends = Heltec_t114_with_display
- build_src_filter = ${Heltec_t114_with_display.build_src_filter}
- +<../examples/simple_repeater>
- build_flags =
- ${Heltec_t114_with_display.build_flags}
- -D ADVERT_NAME='"Heltec_T114 Repeater"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=50
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- [env:Heltec_t114_repeater_bridge_rs232]
- extends = Heltec_t114
- build_flags =
- ${Heltec_t114.build_flags}
- -D ADVERT_NAME='"RS232 Bridge"'
- -D ADVERT_LAT=0.0
- -D ADVERT_LON=0.0
- -D ADMIN_PASSWORD='"password"'
- -D MAX_NEIGHBOURS=50
- -D WITH_RS232_BRIDGE=Serial2
- -D WITH_RS232_BRIDGE_RX=9
- -D WITH_RS232_BRIDGE_TX=10
- ; -D BRIDGE_DEBUG=1
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Heltec_t114_with_display.build_src_filter}
- +<helpers/bridges/RS232Bridge.cpp>
- +<../examples/simple_repeater>
- [env:Heltec_t114_room_server]
- extends = Heltec_t114_with_display
- build_src_filter = ${Heltec_t114_with_display.build_src_filter}
- +<../examples/simple_room_server>
- build_flags =
- ${Heltec_t114_with_display.build_flags}
- -D ADVERT_NAME='"Heltec_T114 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
- [env:Heltec_t114_companion_radio_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/companion_radio/ui-new
- -D MAX_CONTACTS=350
- -D MAX_GROUP_CHANNELS=40
- -D BLE_PIN_CODE=123456
- -D ENV_INCLUDE_GPS=1 ; enable the GPS page in UI
- ; -D BLE_DEBUG_LOGGING=1
- -D OFFLINE_QUEUE_SIZE=256
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- build_src_filter = ${Heltec_t114_with_display.build_src_filter}
- +<helpers/nrf52/SerialBLEInterface.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_companion_radio_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/companion_radio/ui-new
- -D MAX_CONTACTS=350
- -D MAX_GROUP_CHANNELS=40
- ; -D BLE_PIN_CODE=123456
- ; -D BLE_DEBUG_LOGGING=1
- ; -D MESH_PACKET_LOGGING=1
- ; -D MESH_DEBUG=1
- 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
|