updated dependencies
This commit is contained in:
1 parent
6fa18d855d
commit
a97f45ba92
5 files changed
+7
-5
No files matched your search
@@ -2,7 +2,7 @@ module go-orange
|
|||||||
|
|
||||||
go 1.22
|
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 (
|
require (
|
||||||
periph.io/x/conn/v3 v3.7.0
|
periph.io/x/conn/v3 v3.7.0
|
||||||
|
|||||||
@@ -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.20240727205032-408403ad5959 h1:7p2Ogw4psja8WJmI2sNbM+7+EcYL/AO39BGX1axztag=
|
||||||
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/go.mod h1:yFL76AesNHR68PboofSWYaQTKmvPXsQH2Apvp/ls/K4=
|
||||||
github.com/jonboulle/clockwork v0.3.0 h1:9BSCMi8C+0qdApAp4auwX0RkLGUjs956h0EkuQymUhg=
|
github.com/jonboulle/clockwork v0.3.0 h1:9BSCMi8C+0qdApAp4auwX0RkLGUjs956h0EkuQymUhg=
|
||||||
github.com/jonboulle/clockwork v0.3.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
|
github.com/jonboulle/clockwork v0.3.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
|
||||||
periph.io/x/conn/v3 v3.7.0 h1:f1EXLn4pkf7AEWwkol2gilCNZ0ElY+bxS4WE2PQXfrA=
|
periph.io/x/conn/v3 v3.7.0 h1:f1EXLn4pkf7AEWwkol2gilCNZ0ElY+bxS4WE2PQXfrA=
|
||||||
|
|||||||
Vendored
+1
-1
@@ -13,7 +13,7 @@ periph.io/x/conn/v3/pin
|
|||||||
periph.io/x/conn/v3/pin/pinreg
|
periph.io/x/conn/v3/pin/pinreg
|
||||||
periph.io/x/conn/v3/spi
|
periph.io/x/conn/v3/spi
|
||||||
periph.io/x/conn/v3/spi/spireg
|
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
|
## explicit; go 1.20
|
||||||
periph.io/x/host/v3
|
periph.io/x/host/v3
|
||||||
periph.io/x/host/v3/allwinner
|
periph.io/x/host/v3/allwinner
|
||||||
|
|||||||
+1
-1
@@ -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] |= mask
|
||||||
drvGPIO.gpioMemory.groups[p.group].cfg[off] &^= v
|
drvGPIO.gpioMemory.groups[p.group].cfg[off] &^= v
|
||||||
if p.function() != f {
|
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)
|
panic(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
@@ -17,6 +17,8 @@ import (
|
|||||||
|
|
||||||
// mappingH6 describes the mapping of the H5 processor gpios to their
|
// mappingH6 describes the mapping of the H5 processor gpios to their
|
||||||
// alternate functions.
|
// 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.
|
// It omits the in & out functions which are available on all gpio.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in new issue
Block a user