Compare commits

...

2 Commits

Author SHA1 Message Date
deadprogram 5130e9a120 sx126x: update to use new device package location
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-02-19 11:45:03 +01:00
deadprogram ee70298bc4 modules: add tinygo.org/x/device package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-02-19 11:44:17 +01:00
4 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -4,11 +4,12 @@ package main
// module will be in RX mode between two transmissions
import (
"device/stm32"
"machine"
"runtime/interrupt"
"time"
"tinygo.org/x/device/stm32"
rfswitch "tinygo.org/x/drivers/examples/sx126x/rfswitch"
"tinygo.org/x/drivers/sx126x"
+2 -1
View File
@@ -5,7 +5,8 @@ go 1.15
require (
github.com/eclipse/paho.mqtt.golang v1.2.0
github.com/frankban/quicktest v1.10.2
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
tinygo.org/x/device v0.0.0-20220213155215-c873563f9ed5
tinygo.org/x/tinyfont v0.2.1
tinygo.org/x/tinyfs v0.1.0
tinygo.org/x/tinyterm v0.1.0
+2
View File
@@ -21,6 +21,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
tinygo.org/x/device v0.0.0-20220213155215-c873563f9ed5 h1:rCFZxtddwZRG0F1JpZJ/1gNED7nK6BEarWplLrDkP+E=
tinygo.org/x/device v0.0.0-20220213155215-c873563f9ed5/go.mod h1:Kw2xNGKK/STJw9D7LupWt6ilG/qtbe2yoCD2Ru0AbTI=
tinygo.org/x/drivers v0.14.0/go.mod h1:uT2svMq3EpBZpKkGO+NQHjxjGf1f42ra4OnMMwQL2aI=
tinygo.org/x/drivers v0.15.1/go.mod h1:uT2svMq3EpBZpKkGO+NQHjxjGf1f42ra4OnMMwQL2aI=
tinygo.org/x/drivers v0.16.0/go.mod h1:uT2svMq3EpBZpKkGO+NQHjxjGf1f42ra4OnMMwQL2aI=
+1 -1
View File
@@ -4,9 +4,9 @@
package sx126x
import (
"device/stm32"
"errors"
"machine"
"tinygo.org/x/device/stm32"
"tinygo.org/x/drivers"
)