summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorChristoph Honal <christoph.honal@web.de>2022-05-10 21:10:28 +0200
committerRiku Isokoski <riksu9000@gmail.com>2022-06-05 09:53:22 +0300
commit977936e8e256eacb0c1b66e9601143e3f4dec280 (patch)
tree0463d9c563f0afd5247d684d7ac85322c4f8abf5 /src/drivers
parent03a2059e875bc03919520c4c4febdf80e23f8164 (diff)
System: Refactor pin and interrupt setup
This should ensure better readability of the pin setup procedure, as well as allow the configuration of the hardware button enable pin and the accelerometer interrupt pin via the pin mapping header.
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/PinMap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/PinMap.h b/src/drivers/PinMap.h
index 167a8771..833c6477 100644
--- a/src/drivers/PinMap.h
+++ b/src/drivers/PinMap.h
@@ -16,8 +16,10 @@ namespace Pinetime {
static constexpr uint8_t Button = 13;
#endif
+ static constexpr uint8_t ButtonEnable = 15;
static constexpr uint8_t Cst816sIrq = 28;
static constexpr uint8_t PowerPresent = 19;
+ static constexpr uint8_t Bma421Irq = 8;
static constexpr uint8_t Motor = 16;