mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +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
|
||||
|
||||
import (
|
||||
"github.com/kidoman/embd/host/generic/linux/gpio"
|
||||
"github.com/kidoman/embd/driver/linux/gpio"
|
||||
)
|
||||
|
||||
var pins = gpio.PinMap{
|
||||
|
@ -1,9 +1,9 @@
|
||||
package bbb
|
||||
|
||||
import (
|
||||
lgpio "github.com/kidoman/embd/driver/linux/gpio"
|
||||
li2c "github.com/kidoman/embd/driver/linux/i2c"
|
||||
"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"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package rpi
|
||||
|
||||
import (
|
||||
"github.com/kidoman/embd/host/generic/linux/gpio"
|
||||
"github.com/kidoman/embd/driver/linux/gpio"
|
||||
)
|
||||
|
||||
var rev1Pins = gpio.PinMap{
|
||||
|
@ -1,9 +1,9 @@
|
||||
package rpi
|
||||
|
||||
import (
|
||||
lgpio "github.com/kidoman/embd/driver/linux/gpio"
|
||||
li2c "github.com/kidoman/embd/driver/linux/i2c"
|
||||
"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"
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user