mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
5fb935001e
* first commit: add HAL and uc8151 driver demo * unexport drivers.PinOutput/Input HAL * fix non-tinygo pin config build * change of heart * docs: corrected some comments that were not changed at the same time as recent renaming
14 lines
373 B
Go
14 lines
373 B
Go
//go:build baremetal && !fe310
|
|
|
|
package legacy
|
|
|
|
import "machine"
|
|
|
|
// If you are getting a build error here you then we missed adding
|
|
// your CPU build tag to the list of CPUs that do not have pulldown/pullups.
|
|
// Add it above and in pinhal_nopulls! You should also add a smoketest for it :)
|
|
const (
|
|
pulldown = machine.PinInputPulldown
|
|
pullup = machine.PinInputPullup
|
|
)
|