1- ; ----------------- NRF52 me25ls01---------------------
2- [nrf52840_me25ls01]
3- extends = nrf52_base
4- platform_packages = framework-arduinoadafruitnrf52
5- build_flags = ${nrf52_base.build_flags}
6- -I src/helpers/nrf52
7- -I lib/nrf52/s140_nrf52_7.3.0_API/include
8- -I lib/nrf52/s140_nrf52_7.3.0_API/include/nrf52
9- lib_ignore =
10- BluetoothOTA
11- lib5b4
12- lib_deps =
13- ${nrf52_base.lib_deps}
14- rweather/Crypto @ ^0.4.0
15-
16- [me25ls01]
17- extends = nrf52840_me25ls01
18- board = minewsemi_me25ls01
19- board_build.ldscript = boards/nrf52840_s140_v7.ld
20- build_flags = ${nrf52840_me25ls01.build_flags}
21- -I variants/minewsemi_me25ls01
22- -D me25ls01
23- -D PIN_USER_BTN =27
24- -D PIN_STATUS_LED =39
25- -D P_LORA_TX_LED =22
26- -D RADIO_CLASS =CustomLR1110
27- -D WRAPPER_CLASS =CustomLR1110Wrapper
28- -D LORA_TX_POWER =22
29- -D ENV_INCLUDE_GPS =0
30- -D ENV_INCLUDE_AHTX0 =1
31- -D ENV_INCLUDE_BME280 =1
32- -D ENV_INCLUDE_INA3221 =1
33- -D ENV_INCLUDE_INA219 =1
34- build_src_filter = ${nrf52840_me25ls01.build_src_filter}
35- +<helpers/*.cpp>
36- +<../variants/minewsemi_me25ls01>
37- +<helpers/sensors>
38- debug_tool = jlink
39- upload_protocol = nrfutil
40- lib_deps = ${nrf52840_me25ls01.lib_deps}
41- densaugeo/base64 @ ~1.4.0
42- stevemarple/MicroNMEA @ ^2.0.6
43- end2endzone/NonBlockingRTTTL@^1.3.0
44- adafruit/Adafruit SSD1306 @ ^2.5.13
45- adafruit/Adafruit INA3221 Library @ ^1.0.1
46- adafruit/Adafruit INA219 @ ^1.2.3
47- adafruit/Adafruit AHTX0 @ ^2.0.5
48- adafruit/Adafruit BME280 Library @ ^2.3.0
49-
50- [env:Minewsemi_me25ls01_companion_radio_ble]
51- extends = me25ls01
52- board_build.ldscript = boards/nrf52840_s140_v7_extrafs.ld
53- board_upload.maximum_size = 708608
54- build_flags = ${me25ls01.build_flags}
55- -I examples/companion_radio/ui-orig
56- -D MAX_CONTACTS =350
57- -D MAX_GROUP_CHANNELS =40
58- -D BLE_PIN_CODE =123456
59- ; -D BLE_DEBUG_LOGGING=1
60- -D MESH_PACKET_LOGGING =1
61- -D MESH_DEBUG =1
62- -D OFFLINE_QUEUE_SIZE =256
63- -D RX_BOOSTED_GAIN =true
64- -D RF_SWITCH_TABLE
65- -D DISPLAY_CLASS =NullDisplayDriver
66- ; -D PIN_BUZZER=25
67- ; -D PIN_BUZZER_EN=37
68- build_src_filter = ${me25ls01.build_src_filter}
69- +<helpers/nrf52/SerialBLEInterface.cpp>
70- +<../examples/companion_radio/*.cpp>
71- +<../examples/companion_radio/ui-orig/*.cpp>
72- lib_deps = ${me25ls01.lib_deps}
73- adafruit/RTClib @ ^2.1.3
74-
75-
76- [env:Minewsemi_me25ls01_repeater]
77- extends = me25ls01
78- build_flags = ${me25ls01.build_flags}
79- -D MAX_CONTACTS =100
80- -D MAX_GROUP_CHANNELS =8
81- -D BLE_PIN_CODE =123456
82- ; -D BLE_DEBUG_LOGGING=1
83- -D MESH_PACKET_LOGGING =1
84- -D MESH_DEBUG =1
85- -D OFFLINE_QUEUE_SIZE =256
86- -D RX_BOOSTED_GAIN =true
87- -D RF_SWITCH_TABLE
88- -D ADVERT_NAME =' "ME25LS01 Repeater"'
89- -D ADVERT_LAT =0.0
90- -D ADVERT_LON =0.0
91- -D ADMIN_PASSWORD =' "password"'
92- -D MAX_NEIGHBOURS =50
93- -D DISPLAY_CLASS =NullDisplayDriver
94- build_src_filter = ${me25ls01.build_src_filter}
95- +<../examples/simple_repeater>
96- lib_deps = ${me25ls01.lib_deps}
97- adafruit/RTClib @ ^2.1.3
98-
99-
100-
101- [env:Minewsemi_me25ls01_room_server]
102- extends = me25ls01
103- build_flags = ${me25ls01.build_flags}
104- -D MAX_CONTACTS =100
105- -D MAX_GROUP_CHANNELS =8
106- ; -D BLE_PIN_CODE=123456
107- ; -D BLE_DEBUG_LOGGING=1
108- ; -D MESH_PACKET_LOGGING=1
109- ; -D MESH_DEBUG=1
110- -D OFFLINE_QUEUE_SIZE =256
111- -D RX_BOOSTED_GAIN =true
112- -D RF_SWITCH_TABLE
113- -D ADVERT_NAME =' "ME25LS01 Room"'
114- -D ADVERT_LAT =0.0
115- -D ADVERT_LON =0.0
116- -D ADMIN_PASSWORD =' "password"'
117- -D ROOM_PASSWORD =' "hello"'
118- -D MAX_NEIGHBOURS =50
119- -D DISPLAY_CLASS =NullDisplayDriver
120- build_src_filter = ${me25ls01.build_src_filter}
121- +<../examples/simple_room_server>
122- lib_deps = ${me25ls01.lib_deps}
123- adafruit/RTClib @ ^2.1.3
124-
125- [env:Minewsemi_me25ls01_terminal_chat]
126- extends = me25ls01
127- build_flags = ${me25ls01.build_flags}
128- -D MAX_CONTACTS =100
129- -D MAX_GROUP_CHANNELS =8
130- -D BLE_PIN_CODE =123456
131- ; -D BLE_DEBUG_LOGGING=1
132- -D MESH_PACKET_LOGGING =1
133- -D MESH_DEBUG =1
134- -D OFFLINE_QUEUE_SIZE =256
135- -D RX_BOOSTED_GAIN =true
136- -D RF_SWITCH_TABLE
137- -D ADVERT_NAME =' "ME25LS01 Chat"'
138- -D ADVERT_LAT =0.0
139- -D ADVERT_LON =0.0
140- -D ADMIN_PASSWORD =' "password"'
141- -D ROOM_PASSWORD =' "hello"'
142- -D MAX_NEIGHBOURS =50
143- -D DISPLAY_CLASS =NullDisplayDriver
144- build_src_filter = ${me25ls01.build_src_filter}
145- +<../examples/simple_secure_chat/main.cpp>
146- lib_deps = ${me25ls01.lib_deps}
147- adafruit/RTClib @ ^2.1.3
148-
149- [env:Minewsemi_me25ls01_companion_radio_usb]
150- extends = me25ls01
151- board_build.ldscript = boards/nrf52840_s140_v7_extrafs.ld
152- board_upload.maximum_size = 708608
153- build_flags = ${me25ls01.build_flags}
154- -I examples/companion_radio/ui-orig
155- -D MAX_CONTACTS =350
156- -D MAX_GROUP_CHANNELS =40
157- ; -D BLE_PIN_CODE=123456
158- ; -D BLE_DEBUG_LOGGING=1
159- -D MESH_PACKET_LOGGING =1
160- -D MESH_DEBUG =1
161- -D OFFLINE_QUEUE_SIZE =256
162- -D RX_BOOSTED_GAIN =true
163- -D RF_SWITCH_TABLE
164- -D DISPLAY_CLASS =NullDisplayDriver
165- build_src_filter = ${me25ls01.build_src_filter}
166- +<helpers/nrf52/*.cpp>
167- +<../examples/companion_radio/*.cpp>
168- +<../examples/companion_radio/ui-orig/*.cpp>
169- lib_deps = ${me25ls01.lib_deps}
170- adafruit/RTClib @ ^2.1.3
171-
172- [env:Minewsemi_me25ls01_kiss_modem]
173- extends = me25ls01
174- build_src_filter = ${me25ls01.build_src_filter}
175- +<../examples/kiss_modem/>
1+ [me25ls01]
2+ extends = nrf52_base
3+ board = minewsemi_me25ls01
4+ board_build.ldscript = boards/nrf52840_s140_v7.ld
5+ build_flags = ${nrf52_base.build_flags}
6+ -I src/helpers/nrf52
7+ -I lib/nrf52/s140_nrf52_7.3.0_API/include
8+ -I lib/nrf52/s140_nrf52_7.3.0_API/include/nrf52
9+ -I variants/minewsemi_me25ls01
10+ -D me25ls01
11+ -D PIN_USER_BTN =27
12+ -D PIN_STATUS_LED =39
13+ -D P_LORA_TX_LED =22
14+ -D RADIO_CLASS =CustomLR1110
15+ -D WRAPPER_CLASS =CustomLR1110Wrapper
16+ -D LORA_TX_POWER =22
17+ -D ENV_INCLUDE_GPS =0
18+ -D ENV_INCLUDE_AHTX0 =1
19+ -D ENV_INCLUDE_BME280 =1
20+ -D ENV_INCLUDE_INA3221 =1
21+ -D ENV_INCLUDE_INA219 =1
22+ build_src_filter = ${nrf52_base.build_src_filter}
23+ +<helpers/*.cpp>
24+ +<../variants/minewsemi_me25ls01>
25+ +<helpers/sensors>
26+ debug_tool = jlink
27+ upload_protocol = nrfutil
28+ lib_deps = ${nrf52_base.lib_deps}
29+ adafruit/RTClib @ ^2.1.3
30+ densaugeo/base64 @ ~1.4.0
31+ stevemarple/MicroNMEA @ ^2.0.6
32+ end2endzone/NonBlockingRTTTL@^1.3.0
33+ adafruit/Adafruit SSD1306 @ ^2.5.13
34+ adafruit/Adafruit INA3221 Library @ ^1.0.1
35+ adafruit/Adafruit INA219 @ ^1.2.3
36+ adafruit/Adafruit AHTX0 @ ^2.0.5
37+ adafruit/Adafruit BME280 Library @ ^2.3.0
38+
39+ [env:Minewsemi_me25ls01_companion_radio_ble]
40+ extends = me25ls01
41+ board_build.ldscript = boards/nrf52840_s140_v7_extrafs.ld
42+ board_upload.maximum_size = 708608
43+ build_flags = ${me25ls01.build_flags}
44+ -I examples/companion_radio/ui-orig
45+ -D MAX_CONTACTS =350
46+ -D MAX_GROUP_CHANNELS =40
47+ -D BLE_PIN_CODE =123456
48+ ; -D BLE_DEBUG_LOGGING=1
49+ -D MESH_PACKET_LOGGING =1
50+ -D MESH_DEBUG =1
51+ -D OFFLINE_QUEUE_SIZE =256
52+ -D RX_BOOSTED_GAIN =true
53+ -D RF_SWITCH_TABLE
54+ -D DISPLAY_CLASS =NullDisplayDriver
55+ ; -D PIN_BUZZER=25
56+ ; -D PIN_BUZZER_EN=37
57+ build_src_filter = ${me25ls01.build_src_filter}
58+ +<helpers/nrf52/SerialBLEInterface.cpp>
59+ +<../examples/companion_radio/*.cpp>
60+ +<../examples/companion_radio/ui-orig/*.cpp>
61+
62+ [env:Minewsemi_me25ls01_repeater]
63+ extends = me25ls01
64+ build_flags = ${me25ls01.build_flags}
65+ -D MAX_CONTACTS =100
66+ -D MAX_GROUP_CHANNELS =8
67+ -D BLE_PIN_CODE =123456
68+ ; -D BLE_DEBUG_LOGGING=1
69+ -D MESH_PACKET_LOGGING =1
70+ -D MESH_DEBUG =1
71+ -D OFFLINE_QUEUE_SIZE =256
72+ -D RX_BOOSTED_GAIN =true
73+ -D RF_SWITCH_TABLE
74+ -D ADVERT_NAME =' "ME25LS01 Repeater"'
75+ -D ADVERT_LAT =0.0
76+ -D ADVERT_LON =0.0
77+ -D ADMIN_PASSWORD =' "password"'
78+ -D MAX_NEIGHBOURS =50
79+ -D DISPLAY_CLASS =NullDisplayDriver
80+ build_src_filter = ${me25ls01.build_src_filter}
81+ +<../examples/simple_repeater>
82+
83+ [env:Minewsemi_me25ls01_room_server]
84+ extends = me25ls01
85+ build_flags = ${me25ls01.build_flags}
86+ -D MAX_CONTACTS =100
87+ -D MAX_GROUP_CHANNELS =8
88+ ; -D BLE_PIN_CODE=123456
89+ ; -D BLE_DEBUG_LOGGING=1
90+ ; -D MESH_PACKET_LOGGING=1
91+ ; -D MESH_DEBUG=1
92+ -D OFFLINE_QUEUE_SIZE =256
93+ -D RX_BOOSTED_GAIN =true
94+ -D RF_SWITCH_TABLE
95+ -D ADVERT_NAME =' "ME25LS01 Room"'
96+ -D ADVERT_LAT =0.0
97+ -D ADVERT_LON =0.0
98+ -D ADMIN_PASSWORD =' "password"'
99+ -D ROOM_PASSWORD =' "hello"'
100+ -D MAX_NEIGHBOURS =50
101+ -D DISPLAY_CLASS =NullDisplayDriver
102+ build_src_filter = ${me25ls01.build_src_filter}
103+ +<../examples/simple_room_server>
104+
105+ [env:Minewsemi_me25ls01_terminal_chat]
106+ extends = me25ls01
107+ build_flags = ${me25ls01.build_flags}
108+ -D MAX_CONTACTS =100
109+ -D MAX_GROUP_CHANNELS =8
110+ -D BLE_PIN_CODE =123456
111+ ; -D BLE_DEBUG_LOGGING=1
112+ -D MESH_PACKET_LOGGING =1
113+ -D MESH_DEBUG =1
114+ -D OFFLINE_QUEUE_SIZE =256
115+ -D RX_BOOSTED_GAIN =true
116+ -D RF_SWITCH_TABLE
117+ -D ADVERT_NAME =' "ME25LS01 Chat"'
118+ -D ADVERT_LAT =0.0
119+ -D ADVERT_LON =0.0
120+ -D ADMIN_PASSWORD =' "password"'
121+ -D ROOM_PASSWORD =' "hello"'
122+ -D MAX_NEIGHBOURS =50
123+ -D DISPLAY_CLASS =NullDisplayDriver
124+ build_src_filter = ${me25ls01.build_src_filter}
125+ +<../examples/simple_secure_chat/main.cpp>
126+
127+ [env:Minewsemi_me25ls01_companion_radio_usb]
128+ extends = me25ls01
129+ board_build.ldscript = boards/nrf52840_s140_v7_extrafs.ld
130+ board_upload.maximum_size = 708608
131+ build_flags = ${me25ls01.build_flags}
132+ -I examples/companion_radio/ui-orig
133+ -D MAX_CONTACTS =350
134+ -D MAX_GROUP_CHANNELS =40
135+ ; -D BLE_PIN_CODE=123456
136+ ; -D BLE_DEBUG_LOGGING=1
137+ -D MESH_PACKET_LOGGING =1
138+ -D MESH_DEBUG =1
139+ -D OFFLINE_QUEUE_SIZE =256
140+ -D RX_BOOSTED_GAIN =true
141+ -D RF_SWITCH_TABLE
142+ -D DISPLAY_CLASS =NullDisplayDriver
143+ build_src_filter = ${me25ls01.build_src_filter}
144+ +<helpers/nrf52/*.cpp>
145+ +<../examples/companion_radio/*.cpp>
146+ +<../examples/companion_radio/ui-orig/*.cpp>
147+
148+ [env:Minewsemi_me25ls01_kiss_modem]
149+ extends = me25ls01
150+ build_src_filter = ${me25ls01.build_src_filter}
151+ +<../examples/kiss_modem/>
0 commit comments