lpcmanager
Clone
Summary
Browse
Changes
Graph
Revamped init of GPIOs and ports that differ per-product.
som6
2019-09-02, Edouard Tisserant
3f2d4d55f1c7
Revamped init of GPIOs and ports that differ per-product.
#ifndef MC9_H
#define MC9_H
// GPIO_1_13 = 32 + 13 = 45
#define RUN_LED_GPIO 45
// GPIO_0_21
#define CAN0_EN_GPIO 21
// GPIO_0_17
#define CAN1_EN_GPIO 17
#define LPCBUS_DEVICES_PORT "/dev/ttyAPP1"
#endif