|
| 1 | +[GAT562_Mesh_Watch13] |
| 2 | +extends = nrf52_base |
| 3 | +board = rak4631 |
| 4 | +board_check = true |
| 5 | +build_flags = ${nrf52_base.build_flags} |
| 6 | + ${sensor_base.build_flags} |
| 7 | + -UENV_INCLUDE_GPS |
| 8 | + -I variants/gat562_mesh_watch13 |
| 9 | + -D RAK_4631 |
| 10 | + -D RAK_BOARD |
| 11 | + -D NRF52_POWER_MANAGEMENT |
| 12 | + -D PIN_BOARD_SCL=14 |
| 13 | + -D PIN_BOARD_SDA=13 |
| 14 | + -D PIN_OLED_RESET=-1 |
| 15 | + -D RADIO_CLASS=CustomSX1262 |
| 16 | + -D WRAPPER_CLASS=CustomSX1262Wrapper |
| 17 | + -D LORA_TX_POWER=19 |
| 18 | + -D SX126X_CURRENT_LIMIT=140 |
| 19 | + -D SX126X_RX_BOOSTED_GAIN=1 |
| 20 | + -D QSPIFLASH=1 |
| 21 | +build_src_filter = ${nrf52_base.build_src_filter} |
| 22 | + +<../variants/gat562_mesh_watch13> |
| 23 | + +<helpers/ui/SSD1306Display.cpp> |
| 24 | + +<helpers/ui/MomentaryButton.cpp> |
| 25 | + +<helpers/sensors> |
| 26 | +lib_deps = |
| 27 | + ${nrf52_base.lib_deps} |
| 28 | + ${sensor_base.lib_deps} |
| 29 | + adafruit/Adafruit SSD1306 @ ^2.5.13 |
| 30 | + |
| 31 | + |
| 32 | +;[env:GAT562_Mesh_Watch13_repeater] |
| 33 | +;extends = GAT562_Mesh_Watch13 |
| 34 | +;build_flags = |
| 35 | +; ${GAT562_Mesh_Watch13.build_flags} |
| 36 | +; -D DISPLAY_CLASS=SSD1306Display |
| 37 | +; -D ADVERT_NAME='"GAT562 Repeater"' |
| 38 | +; -D ADVERT_LAT=0.0 |
| 39 | +; -D ADVERT_LON=0.0 |
| 40 | +; -D ADMIN_PASSWORD='"password"' |
| 41 | +; -D MAX_NEIGHBOURS=50 |
| 42 | +;; -D MESH_PACKET_LOGGING=1 |
| 43 | +;; -D MESH_DEBUG=1 |
| 44 | +;build_src_filter = ${GAT562_Mesh_Watch13.build_src_filter} |
| 45 | +; +<helpers/ui/SSD1306Display.cpp> |
| 46 | +; +<../examples/simple_repeater> |
| 47 | + |
| 48 | +;[env:GAT562_Mesh_Watch13_room_server] |
| 49 | +;extends = GAT562_Mesh_Watch13 |
| 50 | +;build_flags = |
| 51 | +; ${GAT562_Mesh_Watch13.build_flags} |
| 52 | +; -D DISPLAY_CLASS=SSD1306Display |
| 53 | +; -D ADVERT_NAME='"GAT562 Room"' |
| 54 | +; -D ADVERT_LAT=0.0 |
| 55 | +; -D ADVERT_LON=0.0 |
| 56 | +; -D ADMIN_PASSWORD='"password"' |
| 57 | +; -D ROOM_PASSWORD='"hello"' |
| 58 | +;; -D MESH_PACKET_LOGGING=1 |
| 59 | +;; -D MESH_DEBUG=1 |
| 60 | +;build_src_filter = ${GAT562_Mesh_Watch13.build_src_filter} |
| 61 | +; +<helpers/ui/SSD1306Display.cpp> |
| 62 | +; +<../examples/simple_room_server> |
| 63 | + |
| 64 | +[env:GAT562_Mesh_Watch13_companion_radio_ble] |
| 65 | +extends = GAT562_Mesh_Watch13 |
| 66 | +board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld |
| 67 | +board_upload.maximum_size = 712704 |
| 68 | +build_flags = |
| 69 | + ${GAT562_Mesh_Watch13.build_flags} |
| 70 | + -I examples/companion_radio/ui-new |
| 71 | + -D DISPLAY_CLASS=SSD1306Display |
| 72 | + -D MAX_CONTACTS=350 |
| 73 | + -D MAX_GROUP_CHANNELS=40 |
| 74 | + -D BLE_PIN_CODE=123456 |
| 75 | + -D BLE_DEBUG_LOGGING=1 |
| 76 | + -D OFFLINE_QUEUE_SIZE=256 |
| 77 | +; -D PIN_VIBRATION=36 |
| 78 | +; -D MESH_PACKET_LOGGING=1 |
| 79 | +; -D MESH_DEBUG=1 |
| 80 | +build_src_filter = ${GAT562_Mesh_Watch13.build_src_filter} |
| 81 | + +<helpers/nrf52/SerialBLEInterface.cpp> |
| 82 | + +<helpers/ui/MomentaryButton.cpp> |
| 83 | + +<helpers/ui/GenericVibration.cpp> |
| 84 | + +<../examples/companion_radio/*.cpp> |
| 85 | + +<../examples/companion_radio/ui-new/*.cpp> |
| 86 | +lib_deps = |
| 87 | + ${GAT562_Mesh_Watch13.lib_deps} |
| 88 | + densaugeo/base64 @ ~1.4.0 |
| 89 | + |
0 commit comments