updated dependencies

This commit is contained in:
didier committed 2024-07-27 16:52:06 -04:00
1 parent 6fa18d855d
commit a97f45ba92
5 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ module go-orange
go 1.22
replace periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727172026-41d8349eec25
replace periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727205032-408403ad5959
require (
periph.io/x/conn/v3 v3.7.0
+2 -2
View File
@@ -1,5 +1,5 @@
github.com/didiercrunch/host/v3 v3.8.3-0.20240727172026-41d8349eec25 h1:bKdsoFSG2YNkRUQK15p4jLJnGo2Fthm0iMNnWYY39ME=
github.com/didiercrunch/host/v3 v3.8.3-0.20240727172026-41d8349eec25/go.mod h1:yFL76AesNHR68PboofSWYaQTKmvPXsQH2Apvp/ls/K4=
github.com/didiercrunch/host/v3 v3.8.3-0.20240727205032-408403ad5959 h1:7p2Ogw4psja8WJmI2sNbM+7+EcYL/AO39BGX1axztag=
github.com/didiercrunch/host/v3 v3.8.3-0.20240727205032-408403ad5959/go.mod h1:yFL76AesNHR68PboofSWYaQTKmvPXsQH2Apvp/ls/K4=
github.com/jonboulle/clockwork v0.3.0 h1:9BSCMi8C+0qdApAp4auwX0RkLGUjs956h0EkuQymUhg=
github.com/jonboulle/clockwork v0.3.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
periph.io/x/conn/v3 v3.7.0 h1:f1EXLn4pkf7AEWwkol2gilCNZ0ElY+bxS4WE2PQXfrA=
+1 -1
View File
@@ -13,7 +13,7 @@ periph.io/x/conn/v3/pin
periph.io/x/conn/v3/pin/pinreg
periph.io/x/conn/v3/spi
periph.io/x/conn/v3/spi/spireg
# periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727172026-41d8349eec25
# periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727205032-408403ad5959
## explicit; go 1.20
periph.io/x/host/v3
periph.io/x/host/v3/allwinner
+1 -1
View File
@@ -483,7 +483,7 @@ func (p *Pin) setFunction(f function) {
drvGPIO.gpioMemory.groups[p.group].cfg[off] |= mask
drvGPIO.gpioMemory.groups[p.group].cfg[off] &^= v
if p.function() != f {
fmt.Printf("Expected %d to equals %d \n", p.function(), f)
fmt.Printf("Pin number %d. Pin name %s.\n Expected %d to equals %d \n", p.Number(), p.Name(), p.function(), f)
panic(f)
}
}
+2
View File
@@ -17,6 +17,8 @@ import (
// mappingH6 describes the mapping of the H5 processor gpios to their
// alternate functions.
// According to https://linux-sunxi.org/H616 H616 and H618 are the same.
// allwinner marketing team seems to disagree.
//
// It omits the in & out functions which are available on all gpio.
//