mirror of
https://github.com/kidoman/embd
synced 2024-12-23 05:10:05 +01:00
move the generic gpio/i2c drivers to their own folder
This commit is contained in:
parent
860de34cb2
commit
2504678ba9
@ -1,7 +1,7 @@
|
|||||||
package bbb
|
package bbb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/kidoman/embd/host/generic/linux/gpio"
|
"github.com/kidoman/embd/driver/linux/gpio"
|
||||||
)
|
)
|
||||||
|
|
||||||
var pins = gpio.PinMap{
|
var pins = gpio.PinMap{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package bbb
|
package bbb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
lgpio "github.com/kidoman/embd/driver/linux/gpio"
|
||||||
|
li2c "github.com/kidoman/embd/driver/linux/i2c"
|
||||||
"github.com/kidoman/embd/gpio"
|
"github.com/kidoman/embd/gpio"
|
||||||
lgpio "github.com/kidoman/embd/host/generic/linux/gpio"
|
|
||||||
li2c "github.com/kidoman/embd/host/generic/linux/i2c"
|
|
||||||
"github.com/kidoman/embd/i2c"
|
"github.com/kidoman/embd/i2c"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package rpi
|
package rpi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/kidoman/embd/host/generic/linux/gpio"
|
"github.com/kidoman/embd/driver/linux/gpio"
|
||||||
)
|
)
|
||||||
|
|
||||||
var rev1Pins = gpio.PinMap{
|
var rev1Pins = gpio.PinMap{
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package rpi
|
package rpi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
lgpio "github.com/kidoman/embd/driver/linux/gpio"
|
||||||
|
li2c "github.com/kidoman/embd/driver/linux/i2c"
|
||||||
"github.com/kidoman/embd/gpio"
|
"github.com/kidoman/embd/gpio"
|
||||||
lgpio "github.com/kidoman/embd/host/generic/linux/gpio"
|
|
||||||
li2c "github.com/kidoman/embd/host/generic/linux/i2c"
|
|
||||||
"github.com/kidoman/embd/i2c"
|
"github.com/kidoman/embd/i2c"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user