mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* new env: RAK_4631_companion_radio_usb
This commit is contained in:
parent
cd81878e92
commit
dc11fe85cb
2 changed files with 21 additions and 0 deletions
|
|
@ -534,6 +534,13 @@ public:
|
||||||
#include <helpers/ArduinoSerialInterface.h>
|
#include <helpers/ArduinoSerialInterface.h>
|
||||||
ArduinoSerialInterface serial_interface;
|
ArduinoSerialInterface serial_interface;
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(NRF52_PLATFORM)
|
||||||
|
#ifdef BLE_PIN_CODE
|
||||||
|
#error "BLE not defined yet"
|
||||||
|
#else
|
||||||
|
#include <helpers/ArduinoSerialInterface.h>
|
||||||
|
ArduinoSerialInterface serial_interface;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#error "need to define a serial interface"
|
#error "need to define a serial interface"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -316,3 +316,17 @@ lib_deps =
|
||||||
${rak4631.lib_deps}
|
${rak4631.lib_deps}
|
||||||
densaugeo/base64 @ ~1.4.0
|
densaugeo/base64 @ ~1.4.0
|
||||||
adafruit/RTClib @ ^2.1.3
|
adafruit/RTClib @ ^2.1.3
|
||||||
|
|
||||||
|
[env:RAK_4631_companion_radio_usb]
|
||||||
|
extends = rak4631
|
||||||
|
build_flags =
|
||||||
|
${rak4631.build_flags}
|
||||||
|
-D MAX_CONTACTS=100
|
||||||
|
-D MAX_GROUP_CHANNELS=1
|
||||||
|
; -D MESH_PACKET_LOGGING=1
|
||||||
|
; -D MESH_DEBUG=1
|
||||||
|
build_src_filter = ${rak4631.build_src_filter} +<../examples/companion_radio/main.cpp>
|
||||||
|
lib_deps =
|
||||||
|
${rak4631.lib_deps}
|
||||||
|
adafruit/RTClib @ ^2.1.3
|
||||||
|
densaugeo/base64 @ ~1.4.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue