Commit graph

187 commits

Author SHA1 Message Date
Jan Gromeš
e44e9b4bce
[PHY] Get/Set modem (#1294)
* [PHY] Added set modem method

* Added new keyword

* [SX126x] Added setModem implementation

* [LoRaWAN] Use setModem

* [PHY] Added getModem

* [LoRaWAN] Use getModem instead of caching modulation

* [SX126x] Implement getModem

* Added new keywords

* [LR11x0] Added get/set modem

* [LLCC68] Added get/set modem

* [SX126x] Added missing default branch

* [SX127x] Added get/set modem

* [SX128x] Added get/set modem

* [CI] Drop Hellschreiber from AVR builds

* [CI] Drop Arduino Uno from CI
2024-10-26 17:49:35 +02:00
Jan Gromeš
dc77e6e662
[SX126x] LR-FHSS support (#1228)
* [FEC] Added Vitervi encoder

* [SX126x] Added initial LR-FHSS transmission support

* [CI] Use RPi build for CodeQL

* [SX126x] Fix signed comparison warning

* [FEC] Make input to Viterbi encoder const

* [CI] Drop SX126x examples from Arduino Uno builds

* [CI] Build SX123x for CodeQL scan

* [FEC] Fix comparison type

* [SX126x] Added configurable grid step

* [SX126x] Rename convolutional coding class

* [SX126x] Fix payload CRC

* [SX126x] ADded LR-FHSS example

* [SX126x] Make argument const
2024-10-07 20:00:19 +02:00
jgromes
505c0f7910 [CI] Free up some runner disk space (CI_BUILD_ALL) 2024-09-29 16:54:22 +02:00
StevenCellist
f7f0b62e7f
[LoRaWAN] Major rework (#1204)
* [LoRaWAN] Major rework

* [LoRaWAN] Some CI fixes, add retransmission timeout

* [LoRaWAN] CI fixes

* [LoRaWAN] Add missing initializers

* [LoRaWAN] Return Rx window number, fix casing

* [LoRaWAN] Un-static functions to fix overriding

* [LoRaWAN] Integrate feedback, fix session save/restore

* [LoRaWAN] Add const

* [LoRaWAN] Do not accept invalid Rx2 datarate

* [LoRaWAN] Integrate feedback

* [LoRaWAN] Fix retransmission, ADR backoff, setDatarate; reject out-of-band frequencies

* Update keywords.txt

* [LoRaWAN] Fix initial datarate, misc cleanup

* [LoRaWAN] Update examples

* [LoRaWAN] Update README

* [LoRaWAN] Reject oversized downlinks

* [LoRaWAN] Remove VLAs

* [LoRaWAN] CI fixes

* [LoRaWAN] More CI

* [LoRaWAN] Fix getMaxPayloadLen

* [LoRaWAN] Rename some status codes

* [CI] Skip LoRaWAN on XMega48

* [CI] Skip FW update for LR11x0

---------

Co-authored-by: jgromes <jan.gromes@gmail.com>
2024-09-10 21:11:16 +02:00
Jan Gromeš
50996fa661
[CI] Arduino platform versions & ESP32 3.0.x workaround (#1213)
* [CI] Add configurable package version

* [CI] Fix package version passing

* [CI] Fix swapped logic

* [CI] Try esp32 arduino 2.0.17 to fix linker errors
2024-09-10 20:30:01 +02:00
Jan Gromeš
bc801c7004
[PHY] Channel scan configuration (#1190)
* [PHY] Added channel scan configuration

* [LR11x0] Added channel scan configuration

* [SX126x] Added channel scan configuration

* [SX128x] Added channel scan configuration

* Use microsecond timeout

* [PHY] Added generalized IRQ handling via PHY

* [LR11x0] Added generalized IRQ handling via PHY

* [SX126x] Added generalized IRQ handling via PHY

* [SX127x] Added generalized IRQ handling via PHY

* [SX128x] Added generalized IRQ handling via PHY

* Added missing typedef

* [PHY] Fix IRQ method argument type

* [SX128x] Fix non-trivial initializer usage

* [LR11x0] Added missing override specifiers

* [SX126x] Added missing override specifiers

* [SX127x] Added missing override specifiers

* [SX128x] Added missing override specifiers

* [PHY] Added missing IRQ map initializer

* [CI] Drop APRS builds on AVR

* [CI] Drop Morse builds for AVR

* [PHY] Rework generic IRQ to allow multiple flags

* [LR11x0] Rework generic IRQ to allow multiple flags

* [SX126x] Rework generic IRQ to allow multiple flags

* [SX127x] Rework generic IRQ to allow multiple flags

* [SX128x] Rework generic IRQ to allow multiple flags

* [LoRaWAN] Use generic IRQ

* Add missing typedef

* [SX127x] Make Rx mode implicit based on timeout

* [SX127x] Fixed shadowed variable

* [LR11x0] Fix missing initializers

* [SX127x] Added default startReceive arguments

* [LR11x0] Pass scan config by const reference

* [SX126x] Pass scan config by const reference

* [SX128x] Pass scan config by const reference

* [PHY] Pass scan config by const reference

* [SX127x] Add missing IRQ conversion

* [SX126x] Fixed default CAD scan config IRQ

* [LR11x0] Fixed default CAD scan config IRQ

* [LR11x0] Fix comments referencing DIO1
2024-09-01 18:19:07 +02:00
Jan Gromeš
d9c0c4ed44
Update bug_report.md 2024-09-01 08:35:37 +02:00
Jan Gromeš
a68f689a85
Update module-not-working.md 2024-09-01 08:34:00 +02:00
jgromes
ff7ac57aeb [CI] Remove lg archive after install 2024-06-19 21:19:23 +02:00
jgromes
bc36c1e98a Use lgpio as the RPi HAL 2024-06-14 19:49:19 +01:00
jgromes
b8d5b984d1 [CI] Added ESP32 back to build matrix 2024-06-01 08:30:40 +02:00
jgromes
e1830052a3 [CI] Temporarily disable ESP32 CI (platform broken) (CI_BUILD_ALL) 2024-05-28 18:20:57 +02:00
jgromes
62df57885a Move PR template 2024-05-26 19:05:23 +02:00
jgromes
2536d8842c Added PR template 2024-05-26 18:59:05 +02:00
jgromes
0d491060b2 [CI] Fix cppcheck sequence 2024-05-26 12:50:02 +01:00
jgromes
bb7c6592fc [CI] Add cppcheck script 2024-05-26 12:49:14 +01:00
jgromes
a5e2e58c36 [CI] Skip Pager examples for Uno 2024-05-26 09:22:28 +02:00
jgromes
bfb27ec8c9 [CI] Skip CubeCell LR11x0 FW update 2024-05-20 20:02:43 +02:00
jgromes
90627325d3 [CI] Fix STM32F1 skip pattern 2024-05-20 19:39:51 +02:00
jgromes
8cda0d7a26 [CI] Fix STM32F1 skip pattern 2024-05-20 19:30:07 +02:00
jgromes
bcbefab4e8 [CI] Fix STM32WL skip pattern missing 2024-05-20 19:19:14 +02:00
jgromes
2b65070212 [CI] Disable LR11x0 FW update on most platforms 2024-05-20 18:07:48 +02:00
jgromes
e121f963dc [CI] Skip LR11x0 firmware example on AVRs 2024-05-19 21:22:19 +02:00
jgromes
648268d5c1 [CI] Remove Intel Arc (broken platform) 2024-05-19 21:14:44 +02:00
jgromes
ffafb7353d [CI] Fix syntax 2024-05-19 21:06:15 +02:00
jgromes
764c0bf271 [CI] Disable LR11x0 firmware update on low-end platforms 2024-05-19 19:19:07 +02:00
jgromes
4ab0ac8a13 [CI] Skip LR11x0 FW update build on Uno 2024-05-19 15:00:05 +02:00
Alistair Francis
f12875fac5 examples/NonArduino/Tock: Update to the latest libtock-c API
Update to use the latest libtock-c functions.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-05-15 19:52:18 +10:00
Alistair Francis
58c8d2d1f4 examples/NonArduino/Tock: Remove libtock-c submodule
Remove the libtock-c submodule to fix https://github.com/jgromes/RadioLib/issues/1091

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-05-13 19:45:13 +10:00
jgromes
f0ed8cdf00 [CI] cppcheck do not report progress 2024-05-11 20:34:10 +01:00
jgromes
44b2dcaa15 [CI] Update cppcheck config to unclutter output 2024-05-11 17:23:23 +01:00
jgromes
97adb260ce [CI] Enable cppcheck inline suppression and suppres unchecked config 2024-05-01 15:40:08 +01:00
Alistair Francis
2f85326fec
examples/NonArduino/Tock: Support RISC-V and bump libtock-c (#1082)
* examples/NonArduino/Tock: Support building for RISC-V

Signed-off-by: Alistair Francis <alistair@alistair23.me>

* examples/NonArduino/Tock: Update to newer libtock-c

Signed-off-by: Alistair Francis <alistair@alistair23.me>

---------

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-05-01 15:12:05 +02:00
StevenCellist
1b2b8bd67b
[LoRaWAN] Improve PHY behaviour, update beginABP, bugfixes (#1080)
* [LoRaWAN] Add getter for ToA, prevent MAC queue overflow

* [LoRaWAN] Permute arguments to beginABP

* Implement & split off checkOutputPower

* [LoRaWAN] Configure physical layer on each up/downlink

* [LoRaWAN] Remove unnecessary dynamic array

* [LoRaWAN] Improve downlink handling

* Resolve return-warnings in checkOutputPower()

* [LoRaWAN] Improve buffer definition

* [LoRaWAN] Prevent requesting repeated MAC commands

* Update keywords.txt

* [CC1101] Resolve unused variable warning

* [CC1101] Update checkOutputPower

* [SX1278] Fix variable assignment

* Update keywords.txt

* [CC1101] Added checkOutputPower override for PHY compatibility

* [LR11x0] Added checkOutputPower override for PHY compatibility

* [SX127x] Added checkOutputPower override for PHY compatibility

---------

Co-authored-by: jgromes <jan.gromes@gmail.com>
2024-05-01 13:35:22 +02:00
Jan Gromeš
9daf4c4f26
[CI] Minor fixes (#1045)
* [CI] Add Teensy back in

* [CI] Add Arduino 101 back to build matrix

* [CI] Try different path to libs

* [CI] Skip LoRaWAN on Teensy
2024-03-31 21:41:12 +02:00
jgromes
b91fd2bdad [CI] Disable LoRaWAN CI build for Apollo3 (unable to pass flags) 2024-03-26 21:23:54 +01:00
jgromes
9cf04b633d [CI] Disable LoRaWAN CI build for UNO R4 (unable to pass flags) 2024-03-26 20:40:43 +01:00
jgromes
c77670c076 [CI] Disable build for Arduino 101 (platform broken) 2024-03-26 20:03:54 +01:00
Jan Gromeš
9e4783cf8b
[CI] Fix for new LoraWAN examples (#1035)
* Update CI for new LoRaWAN examples

* Use single line for flags

* Fixup flag strings

* Fixup array dump helper

* Added missing LoRaWAN defines

* Drop Teensy from CI (still broken)

* Define a board for CI runs
2024-03-26 06:55:37 +01:00
jgromes
44f6c1d432 [CI] Enable LoRaWAN builds for previously disabled platforms 2024-03-18 09:37:16 +01:00
Jan Gromeš
3d5f05b963
Static check (#1019)
* Update CodeQL action

* [CI] Added workflow dispatch for codeql

* [CI] Use v4 checkout action

* [CI] Add cppcheck action (#1018)
2024-03-17 18:10:54 +01:00
jgromes
4993ac7c9d Added links to troubleshooting guide 2024-03-10 12:44:04 +01:00
jgromes
9774a2299b Update issue template for new debug levels 2024-03-10 09:56:23 +01:00
Jan Gromeš
5c30bb1e32
[CI] Run apt-get update before install (#989) 2024-02-27 17:16:33 +01:00
jgromes
50d335e339 [CI] Skip LoRaWAN on MegaAVR (CI_BUILD_ALL) 2024-01-27 18:58:36 +01:00
jgromes
1025abce8b [CI] Fixed SDK path export 2024-01-27 14:07:46 +01:00
jgromes
9053786c02 Added RPi Pico build to CI 2024-01-27 14:03:58 +01:00
jgromes
718dae3f35 [CI] Temporarily remove Teensy (CI_BUILD_ALL) 2024-01-14 17:08:54 +01:00
jgromes
3cbf6669df [CI] Temporarily remove Teensy from CI (broken platform) (CI_BUILD_ALL) 2024-01-14 17:00:24 +01:00
jgromes
1467f98202 [CI] Remove LoRaWAN from megaAVR platform 2024-01-14 16:37:48 +01:00