Add basic hardware configuration options for P8

This enables the configuration of the LFCLK source,
as well as the target hardware board pin configuration.
This commit is contained in:
Christoph Honal
2022-05-10 21:46:36 +02:00
committed by Riku Isokoski
parent bab86633a0
commit 8b0559c481
5 changed files with 48 additions and 10 deletions

View File

@@ -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;