1+ [KeepteenLT1]
2+ extends = nrf52_base
3+ board = keepteen_lt1
4+ build_flags = ${nrf52_base.build_flags}
5+ -I variants/keepteen_lt1
6+ -D KEEPTEEN_LT1
7+ -D RADIO_CLASS =CustomSX1262
8+ -D WRAPPER_CLASS =CustomSX1262Wrapper
9+ -D LORA_TX_POWER =22
10+ -D SX126X_CURRENT_LIMIT =140
11+ -D SX126X_RX_BOOSTED_GAIN =1
12+ -D PIN_BOARD_SDA =34
13+ -D PIN_BOARD_SCL =36
14+ -D ENV_INCLUDE_GPS =1
15+ build_src_filter = ${nrf52_base.build_src_filter}
16+ +<helpers/sensors>
17+ +<../variants/keepteen_lt1>
18+ lib_deps = ${nrf52_base.lib_deps}
19+ adafruit/Adafruit SSD1306 @ ^2.5.13
20+ stevemarple/MicroNMEA @ ^2.0.6
21+
22+ [env:KeepteenLT1_repeater]
23+ extends = KeepteenLT1
24+ build_src_filter = ${KeepteenLT1.build_src_filter}
25+ +<../examples/simple_repeater>
26+ +<helpers/ui/SSD1306Display.cpp>
27+ +<helpers/ui/MomentaryButton.cpp>
28+ build_flags =
29+ ${KeepteenLT1.build_flags}
30+ -D ADVERT_NAME =' "KeepteenLT1 Repeater"'
31+ -D ADVERT_LAT =0.0
32+ -D ADVERT_LON =0.0
33+ -D ADMIN_PASSWORD =' "password"'
34+ -D MAX_NEIGHBOURS =50
35+ -D DISPLAY_CLASS =SSD1306Display
36+ ; -D MESH_PACKET_LOGGING=1
37+ ; -D MESH_DEBUG=1
38+ lib_deps = ${KeepteenLT1.lib_deps}
39+ adafruit/RTClib @ ^2.1.3
40+
41+ [env:KeepteenLT1_room_server]
42+ extends = KeepteenLT1
43+ build_src_filter = ${KeepteenLT1.build_src_filter}
44+ +<../examples/simple_room_server>
45+ +<helpers/ui/SSD1306Display.cpp>
46+ +<helpers/ui/MomentaryButton.cpp>
47+ build_flags = ${KeepteenLT1.build_flags}
48+ -D ADVERT_NAME =' "KeepteenLT1 Room"'
49+ -D ADVERT_LAT =0.0
50+ -D ADVERT_LON =0.0
51+ -D ADMIN_PASSWORD =' "password"'
52+ -D ROOM_PASSWORD =' "hello"'
53+ -D DISPLAY_CLASS =SSD1306Display
54+ ; -D MESH_PACKET_LOGGING=1
55+ ; -D MESH_DEBUG=1
56+ lib_deps = ${KeepteenLT1.lib_deps}
57+ adafruit/RTClib @ ^2.1.3
58+
59+ [env:KeepteenLT1_companion_radio_usb]
60+ extends = KeepteenLT1
61+ board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
62+ board_upload.maximum_size = 712704
63+ build_flags = ${KeepteenLT1.build_flags}
64+ -I examples/companion_radio/ui-new
65+ -D MAX_CONTACTS =350
66+ -D MAX_GROUP_CHANNELS =40
67+ -D DISPLAY_CLASS =SSD1306Display
68+ ; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1
69+ ; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1
70+ build_src_filter = ${KeepteenLT1.build_src_filter}
71+ +<helpers/ui/SSD1306Display.cpp>
72+ +<helpers/ui/MomentaryButton.cpp>
73+ +<../examples/companion_radio/*.cpp>
74+ +<../examples/companion_radio/ui-new/*.cpp>
75+ lib_deps = ${KeepteenLT1.lib_deps}
76+ adafruit/RTClib @ ^2.1.3
77+ densaugeo/base64 @ ~1.4.0
78+
79+ [env:KeepteenLT1_companion_radio_ble]
80+ extends = KeepteenLT1
81+ board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
82+ board_upload.maximum_size = 712704
83+ build_flags = ${KeepteenLT1.build_flags}
84+ -I examples/companion_radio/ui-new
85+ -D MAX_CONTACTS =350
86+ -D MAX_GROUP_CHANNELS =40
87+ -D BLE_PIN_CODE =123456
88+ -D BLE_DEBUG_LOGGING =1
89+ -D OFFLINE_QUEUE_SIZE =256
90+ -D DISPLAY_CLASS =SSD1306Display
91+ ; -D MESH_PACKET_LOGGING=1
92+ -D MESH_DEBUG =1
93+ build_src_filter = ${KeepteenLT1.build_src_filter}
94+ +<helpers/nrf52/SerialBLEInterface.cpp>
95+ +<helpers/ui/SSD1306Display.cpp>
96+ +<helpers/ui/MomentaryButton.cpp>
97+ +<../examples/companion_radio/*.cpp>
98+ +<../examples/companion_radio/ui-new/*.cpp>
99+ lib_deps = ${KeepteenLT1.lib_deps}
100+ adafruit/RTClib @ ^2.1.3
101+ densaugeo/base64 @ ~1.4.0
0 commit comments