mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Faketec board support, including build targets
This commit is contained in:
parent
676ba6d066
commit
8e793dc55e
10 changed files with 536 additions and 0 deletions
|
|
@ -92,6 +92,10 @@
|
|||
#include <helpers/nrf52/TechoBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static TechoBoard board;
|
||||
#elif defined(FAKETEC)
|
||||
#include <helpers/nrf52/faketecBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static faketecBoard board;
|
||||
#else
|
||||
#error "need to provide a 'board' object"
|
||||
#endif
|
||||
|
|
@ -1290,7 +1294,9 @@ void setup() {
|
|||
sprintf(dev_name, "MeshCore-%s", the_mesh.getNodeName());
|
||||
serial_interface.begin(dev_name, the_mesh.getBLEPin());
|
||||
#else
|
||||
#ifdef RAK_4631
|
||||
pinMode(WB_IO2, OUTPUT);
|
||||
#endif
|
||||
serial_interface.begin(Serial);
|
||||
#endif
|
||||
the_mesh.startInterface(serial_interface);
|
||||
|
|
|
|||
|
|
@ -96,6 +96,10 @@
|
|||
#include <helpers/nrf52/TechoBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static TechoBoard board;
|
||||
#elif defined(FAKETEC)
|
||||
#include <helpers/nrf52/faketecBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static faketecBoard board;
|
||||
#else
|
||||
#error "need to provide a 'board' object"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -100,6 +100,10 @@
|
|||
#include <helpers/nrf52/TechoBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static TechoBoard board;
|
||||
#elif defined(FAKETEC)
|
||||
#include <helpers/nrf52/faketecBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static faketecBoard board;
|
||||
#else
|
||||
#error "need to provide a 'board' object"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@
|
|||
#include <helpers/nrf52/T1000eBoard.h>
|
||||
#include <helpers/CustomLR1110Wrapper.h>
|
||||
static T1000eBoard board;
|
||||
#elif defined(FAKETEC)
|
||||
#include <helpers/nrf52/faketecBoard.h>
|
||||
#include <helpers/CustomSX1262Wrapper.h>
|
||||
static faketecBoard board;
|
||||
#else
|
||||
#error "need to provide a 'board' object"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue