mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
targets: add support for Badger2040 W
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//go:build badger2040
|
||||
|
||||
// This contains the pin mappings for the Badger 2040 Connect board.
|
||||
// This contains the pin mappings for the Badger 2040 board.
|
||||
//
|
||||
// For more information, see: https://shop.pimoroni.com/products/badger-2040
|
||||
// Also
|
||||
@@ -25,8 +25,12 @@ const (
|
||||
EPD_SDO_PIN Pin = GPIO19
|
||||
|
||||
VBUS_DETECT Pin = GPIO24
|
||||
BATTERY Pin = GPIO29
|
||||
VREF_POWER Pin = GPIO27
|
||||
VREF_1V24 Pin = GPIO28
|
||||
VBAT_SENSE Pin = GPIO29
|
||||
ENABLE_3V3 Pin = GPIO10
|
||||
|
||||
BATTERY = VBAT_SENSE
|
||||
)
|
||||
|
||||
// I2C pins
|
||||
|
||||
Reference in New Issue
Block a user