Use buffered radio SPI and acknowledged RX reuse on direct-I/O boards

This commit is contained in:
mikecarper committed 2026-10-23 01:55:23 -07:00
1 parent b8b7880a48
commit 3892599300
80 files changed
+846 -173

No files matched your search

+4 -2
View File
@@ -1,10 +1,12 @@
#include <Arduino.h>
#include "target.h"
#include <helpers/radiolib/Nrf52BufferedRadioHal.h>
#include <helpers/sensors/MicroNMEALocationProvider.h>
ThinkNodeM4Board board;
RADIO_CLASS radio = new Module(P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY, SPI);
static Nrf52BufferedRadioHal radioHal(SPI, 8000000);
RADIO_CLASS radio = new Module(&radioHal, P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY);
WRAPPER_CLASS radio_driver(radio, board);
@@ -81,4 +83,4 @@ bool radio_init() {
mesh::LocalIdentity radio_new_identity() {
RadioNoiseListener rng(radio);
return mesh::LocalIdentity(&rng); // create new random identity
}
}