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

+3 -1
View File
@@ -1,12 +1,14 @@
#include <Arduino.h>
#include "target.h"
#include <helpers/radiolib/SX126xBufferedRadioHal.h>
#include <helpers/ArduinoHelpers.h>
#include <helpers/sensors/MicroNMEALocationProvider.h>
#include <Wire.h>
ThinkNodeM8Board board;
RADIO_CLASS radio = new Module(P_LORA_NSS, P_LORA_DIO_1, P_LORA_RESET, P_LORA_BUSY, SPI);
static SX126xBufferedRadioHal radioHal(SPI);
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);