Merge upstream/dev into mqtt-bridge-implementation-flex
Merge meshcore-dev changes (kiss_modem targets, preamble SF tuning, CI). Resolve conflicts: combine RadioLib preamble/watchdog fields; keep kiss_modem and MQTT envs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
b37db66830
268 files changed
+1664
-2113
No files matched your search
@@ -17,11 +17,11 @@ build_flags = ${nrf52_base.build_flags}
|
||||
-D RF_SWITCH_TABLE
|
||||
-D RX_BOOSTED_GAIN=true
|
||||
-D P_LORA_BUSY=43
|
||||
-D P_LORA_SCLK=45
|
||||
-D P_LORA_SCLK=45
|
||||
-D P_LORA_NSS=44
|
||||
-D P_LORA_DIO_1=40
|
||||
-D P_LORA_MISO=47
|
||||
-D P_LORA_MOSI=46
|
||||
-D P_LORA_MOSI=46
|
||||
-D P_LORA_RESET=42
|
||||
-D P_LORA_TX_LED=PIN_LED_BLUE
|
||||
-D P_LORA_TX_LED_ON=LOW
|
||||
@@ -119,3 +119,10 @@ lib_deps = ${ThinkNode_M3.lib_deps}
|
||||
densaugeo/base64 @ ~1.4.0
|
||||
stevemarple/MicroNMEA @ ^2.0.6
|
||||
end2endzone/NonBlockingRTTTL@^1.3.0
|
||||
|
||||
[env:ThinkNode_M3_kiss_modem]
|
||||
extends = ThinkNode_M3
|
||||
build_src_filter = ${ThinkNode_M3.build_src_filter}
|
||||
+<../examples/kiss_modem/>
|
||||
lib_deps = ${ThinkNode_M3.lib_deps}
|
||||
stevemarple/MicroNMEA @ ^2.0.6
|
||||
@@ -78,21 +78,6 @@ bool radio_init() {
|
||||
return true; // success
|
||||
}
|
||||
|
||||
uint32_t radio_get_rng_seed() {
|
||||
return radio.random(0x7FFFFFFF);
|
||||
}
|
||||
|
||||
void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr) {
|
||||
radio.setFrequency(freq);
|
||||
radio.setSpreadingFactor(sf);
|
||||
radio.setBandwidth(bw);
|
||||
radio.setCodingRate(cr);
|
||||
}
|
||||
|
||||
void radio_set_tx_power(int8_t dbm) {
|
||||
radio.setOutputPower(dbm);
|
||||
}
|
||||
|
||||
mesh::LocalIdentity radio_new_identity() {
|
||||
RadioNoiseListener rng(radio);
|
||||
return mesh::LocalIdentity(&rng); // create new random identity
|
||||
|
||||
@@ -23,7 +23,4 @@ extern AutoDiscoverRTCClock rtc_clock;
|
||||
extern EnvironmentSensorManager sensors;
|
||||
|
||||
bool radio_init();
|
||||
uint32_t radio_get_rng_seed();
|
||||
void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr);
|
||||
void radio_set_tx_power(int8_t dbm);
|
||||
mesh::LocalIdentity radio_new_identity();
|
||||
Reference in new issue
Block a user