Added shell functions
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
compatible = "iten,valve-node", "st,stm32f103rb";
|
||||
|
||||
can_loopback0: can_loopback0 {
|
||||
status = "okay";
|
||||
status = "disabled";
|
||||
compatible = "zephyr,can-loopback";
|
||||
};
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
zephyr,shell-uart = &usart1;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
//zephyr,canbus = &can1;
|
||||
zephyr,canbus = &can_loopback0;
|
||||
zephyr,canbus = &can1;
|
||||
//zephyr,canbus = &can_loopback0;
|
||||
};
|
||||
|
||||
leds: leds {
|
||||
@@ -79,6 +79,10 @@
|
||||
gpios = <&gpiob 13 0>;
|
||||
label = "Motor Open";
|
||||
};
|
||||
fake: fake {
|
||||
gpios = <&gpiob 11 GPIO_PULL_UP>;
|
||||
label = "CAN RX pullup";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ CONFIG_MODBUS_ROLE_CLIENT=y
|
||||
CONFIG_CAN=y
|
||||
CONFIG_CAN_INIT_PRIORITY=80
|
||||
#CONFIG_CAN_MAX_FILTER=5
|
||||
CONFIG_CAN_ACCEPT_RTR=y
|
||||
|
||||
# settings
|
||||
CONFIG_FLASH=y
|
||||
|
||||
Reference in New Issue
Block a user