targets: add support for Badger2040 W

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2024-05-13 18:41:37 +02:00
committed by Ron Evans
parent 9307204111
commit ee3a05f1de
4 changed files with 116 additions and 2 deletions
+6 -2
View File
@@ -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