This commit introduces a new CAN node application for the irrigation system. The application initializes the settings subsystem and the valve system. It is intended to be used on a CAN bus to control a valve. Signed-off-by: Eduard Iten <eduard@iten.pro>
16 lines
250 B
Plaintext
16 lines
250 B
Plaintext
#include <zephyr/dt-bindings/gpio/gpio.h>
|
|
|
|
&zephyr_udc0 {
|
|
cdc_acm_uart0: cdc_acm_uart0 {
|
|
compatible = "zephyr,cdc-acm-uart";
|
|
|
|
modbus0 {
|
|
compatible = "zephyr,modbus-serial";
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
/delete-node/ modbus0;
|
|
}; |