|
| 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_terminal_chat] |
| 60 | +extends = KeepteenLT1 |
| 61 | +build_flags = ${KeepteenLT1.build_flags} |
| 62 | + -D MAX_CONTACTS=100 |
| 63 | + -D MAX_GROUP_CHANNELS=1 |
| 64 | +; -D MESH_PACKET_LOGGING=1 |
| 65 | +; -D MESH_DEBUG=1 |
| 66 | +build_src_filter = ${KeepteenLT1.build_src_filter} |
| 67 | + +<../examples/simple_secure_chat/main.cpp> |
| 68 | +lib_deps = ${KeepteenLT1.lib_deps} |
| 69 | + densaugeo/base64 @ ~1.4.0 |
| 70 | + adafruit/RTClib @ ^2.1.3 |
| 71 | + |
| 72 | +[env:KeepteenLT1_companion_radio_usb] |
| 73 | +extends = KeepteenLT1 |
| 74 | +board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld |
| 75 | +board_upload.maximum_size = 712704 |
| 76 | +build_flags = ${KeepteenLT1.build_flags} |
| 77 | + -I examples/companion_radio/ui-new |
| 78 | + -D MAX_CONTACTS=350 |
| 79 | + -D MAX_GROUP_CHANNELS=40 |
| 80 | + -D DISPLAY_CLASS=SSD1306Display |
| 81 | +; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1 |
| 82 | +; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1 |
| 83 | +build_src_filter = ${KeepteenLT1.build_src_filter} |
| 84 | + +<helpers/ui/SSD1306Display.cpp> |
| 85 | + +<helpers/ui/MomentaryButton.cpp> |
| 86 | + +<../examples/companion_radio/*.cpp> |
| 87 | + +<../examples/companion_radio/ui-new/*.cpp> |
| 88 | +lib_deps = ${KeepteenLT1.lib_deps} |
| 89 | + adafruit/RTClib @ ^2.1.3 |
| 90 | + densaugeo/base64 @ ~1.4.0 |
| 91 | + |
| 92 | +[env:KeepteenLT1_companion_radio_ble] |
| 93 | +extends = KeepteenLT1 |
| 94 | +board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld |
| 95 | +board_upload.maximum_size = 712704 |
| 96 | +build_flags = ${KeepteenLT1.build_flags} |
| 97 | + -I examples/companion_radio/ui-new |
| 98 | + -D MAX_CONTACTS=350 |
| 99 | + -D MAX_GROUP_CHANNELS=40 |
| 100 | + -D BLE_PIN_CODE=123456 |
| 101 | + -D BLE_DEBUG_LOGGING=1 |
| 102 | + -D OFFLINE_QUEUE_SIZE=256 |
| 103 | + -D DISPLAY_CLASS=SSD1306Display |
| 104 | +; -D MESH_PACKET_LOGGING=1 |
| 105 | + -D MESH_DEBUG=1 |
| 106 | +build_src_filter = ${KeepteenLT1.build_src_filter} |
| 107 | + +<helpers/nrf52/SerialBLEInterface.cpp> |
| 108 | + +<helpers/ui/SSD1306Display.cpp> |
| 109 | + +<helpers/ui/MomentaryButton.cpp> |
| 110 | + +<../examples/companion_radio/*.cpp> |
| 111 | + +<../examples/companion_radio/ui-new/*.cpp> |
| 112 | +lib_deps = ${KeepteenLT1.lib_deps} |
| 113 | + adafruit/RTClib @ ^2.1.3 |
| 114 | + densaugeo/base64 @ ~1.4.0 |
| 115 | + |
| 116 | +; [env:KeepteenLT1_sensor] |
| 117 | +; extends = KeepteenLT1 |
| 118 | +; build_flags = |
| 119 | +; ${KeepteenLT1.build_flags} |
| 120 | +; -D ADVERT_NAME='"KeepteenLT1 Sensor"' |
| 121 | +; -D ADVERT_LAT=0.0 |
| 122 | +; -D ADVERT_LON=0.0 |
| 123 | +; -D ADMIN_PASSWORD='"password"' |
| 124 | +; -D DISPLAY_CLASS=SSD1306Display |
| 125 | +; ; -D MESH_PACKET_LOGGING=1 |
| 126 | +; ; -D MESH_DEBUG=1 |
| 127 | +; build_src_filter = ${KeepteenLT1.build_src_filter} |
| 128 | +; +<helpers/ui/SSD1306Display.cpp> |
| 129 | +; +<helpers/ui/MomentaryButton.cpp> |
| 130 | +; +<../examples/simple_sensor> |
| 131 | +; lib_deps = |
| 132 | +; ${KeepteenLT1.lib_deps} |
0 commit comments