Repository navigation
lora: update examples for the new sx126x and sx127x radio control API - #14
Open
deadprogram wants to merge 2 commits into
Open
deadprogram wants to merge 2 commits into
deadprogram wants to merge 2 commits into
Conversation
Pass DIO interrupt setup functions to NewRadioControl, pick the STM32WL RF switch per board, and return the SetRadioController error. Update the drivers dependency in the root and example modules.
deadprogram
force-pushed
the
lora-drivers-api
branch
from
December 3, 2026 11:13
24efc43 to
553c52d
Compare
Member
Author
|
The drivers dependency now points at 7b93c90 from tinygo-org/drivers#955. The earlier commit 78aa4cd is no longer on that branch after the drivers PRs were squashed. The two dependency commits here are now one, 553c52d. 7b93c90 also changes the sx128x public sync word to 0x21 for LoRaWAN 2.4 GHz, which #16 uses. Tested with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the examples for the new sx126x and sx127x radio control API from tinygo-org/drivers#953 and tinygo-org/drivers#954. It is stacked on #13.
Changes:
NewRadioControlfor sx126x and sx127xSetRadioControllererror fromSetupLoraIt should not be merged yet since the drivers dependency points at an unmerged commit from tinygo-org/drivers#955. It should be bumped to the
devcommit once the drivers PRs are merged.Tested with
go test ./...and TinyGo builds of the LoRaWAN examples for pybadge with the FeatherWing, pico with sx126x, nucleo-wl55jc, lorae5 and gnse, plus the morse, afsk, fsk4 and wspr examples. On lgt92basic-demobuilds, andatcmdstill overflows flash as it did before.