Zwischenspeichern
This commit is contained in:
@@ -13,6 +13,14 @@ config LOG_CAN_LEVEL
|
||||
int "Log level for CAN"
|
||||
default 3
|
||||
range 0 7
|
||||
help
|
||||
Set the log level for CAN messages.
|
||||
0 = None, 1 = Error, 2 = Warning, 3 = Info, 4 = Debug, 5 = Trace, 6 = Debug2, 7 = Debug3
|
||||
|
||||
config LOG_SETTINGS_LEVEL
|
||||
int "Log level for settings"
|
||||
default 3
|
||||
range 0 7
|
||||
help
|
||||
Set the log level for CAN messages.
|
||||
0 = None, 1 = Error, 2 = Warning, 3 = Info, 4 = Debug, 5 = Trace, 6 = Debug2, 7 = Debug3
|
||||
@@ -13,12 +13,18 @@
|
||||
model = "Iten engineering Valve Node";
|
||||
compatible = "iten,valve-node", "st,stm32f103rb";
|
||||
|
||||
can_loopback0: can_loopback0 {
|
||||
status = "okay";
|
||||
compatible = "zephyr,can-loopback";
|
||||
};
|
||||
|
||||
chosen {
|
||||
zephyr,console = &usart1;
|
||||
zephyr,shell-uart = &usart1;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,canbus = &can1;
|
||||
//zephyr,canbus = &can1;
|
||||
zephyr,canbus = &can_loopback0;
|
||||
};
|
||||
|
||||
leds: leds {
|
||||
@@ -174,7 +180,7 @@
|
||||
pinctrl-0 = <&can_rx_pa11 &can_tx_pa12>;
|
||||
pinctrl-names = "default";
|
||||
status= "okay";
|
||||
bus-speed = < 125000 >;
|
||||
bus-speed = <500000>;
|
||||
};
|
||||
|
||||
&exti {
|
||||
|
||||
Reference in New Issue
Block a user