forked from EmbeddedTeam/app_photomagnetic
Add UART sensor support with MS overlay and diagnostics
Group UART sensors into channel slots and add an MS board overlay with per-port speed and sensor mode configuration. Also add optional per-second channel diagnostic output controlled by APP_DEBUG_PRINT.
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
&ch9438_uart0 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor0 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart1 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor1 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart2 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor2 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart3 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor3 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart4 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor4 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart5 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor5 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart6 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor6 {
|
||||
mode = "wrist";
|
||||
};
|
||||
|
||||
&ch9438_uart7 {
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
|
||||
&gd_sensor7 {
|
||||
mode = "wrist";
|
||||
};
|
||||
Reference in New Issue
Block a user