lpcmanager
Clone
Summary
Browse
Changes
Graph
LPCBus: Device bus init was not repeatable across stop/start.
2023-09-07, Edouard Tisserant
5ccb381c307c
LPCBus: Device bus init was not repeatable across stop/start.
In case init happens multiple time, explicit POSIX initialization calls has to be used instead of static initializers.
#ifndef MC10_H
#define MC10_H
// GPIO_0_0 = 0 + 0 = 0
#define RUN_LED_GPIO 0
#define LPCBUS_DEVICES_PORT "/dev/ttymxc2"
#endif