aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/PinMap.h
diff options
context:
space:
mode:
authorChristoph Honal <christoph.honal@web.de>2022-05-10 21:46:36 +0200
committerRiku Isokoski <riksu9000@gmail.com>2022-06-27 08:28:48 +0300
commit8b0559c4812d74b6307757135622975523c5a88d (patch)
treead5a5f2e328f8d406a24e74c0d31d9ba2b723671 /src/drivers/PinMap.h
parentbab86633a00c58ff01b7866cc600aabb2208b6e3 (diff)
Add basic hardware configuration options for P8
This enables the configuration of the LFCLK source, as well as the target hardware board pin configuration.
Diffstat (limited to 'src/drivers/PinMap.h')
-rw-r--r--src/drivers/PinMap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/PinMap.h b/src/drivers/PinMap.h
index 833c6477..a70cfc41 100644
--- a/src/drivers/PinMap.h
+++ b/src/drivers/PinMap.h
@@ -4,8 +4,8 @@
namespace Pinetime {
namespace PinMap {
-#ifdef WATCH_P8
- // COLMI P8
+#if defined(DRIVER_PINMAP_P8)
+ // COLMI P8 and variants
static constexpr uint8_t Charging = 19;
static constexpr uint8_t Cst816sReset = 13;
static constexpr uint8_t Button = 17;