Enable CAN for MCUs with CAN-FD controller
This commit is contained in:
@@ -216,8 +216,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
// This requires https://github.com/zephyrproject-rtos/zephyr/pull/22832
|
||||
&can1 {
|
||||
pinctrl-0 = <&fdcan1_rx_pa11 &fdcan1_tx_pa12>;
|
||||
bus-speed = <250000>;
|
||||
@@ -228,4 +226,3 @@
|
||||
sample-point-data = <875>;
|
||||
status = "okay";
|
||||
};
|
||||
*/
|
||||
@@ -62,9 +62,8 @@ CONFIG_I2C=y
|
||||
CONFIG_EEPROM=y
|
||||
CONFIG_EEPROM_AT24=y
|
||||
|
||||
# don't enable CAN by default until PR #22832 is merged to upstream Zephyr
|
||||
#CONFIG_CAN=y
|
||||
#CONFIG_THINGSET_CAN=y
|
||||
CONFIG_CAN=y
|
||||
CONFIG_THINGSET_CAN=y
|
||||
|
||||
CONFIG_ISOTP=y
|
||||
CONFIG_ISOTP_RX_BUF_COUNT=1
|
||||
|
||||
@@ -188,8 +188,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
// This requires https://github.com/zephyrproject-rtos/zephyr/pull/22832
|
||||
&can1 {
|
||||
pinctrl-0 = <&fdcan1_rx_pa11 &fdcan1_tx_pa12>;
|
||||
bus-speed = <250000>;
|
||||
@@ -200,4 +198,3 @@
|
||||
sample-point-data = <875>;
|
||||
status = "okay";
|
||||
};
|
||||
*/
|
||||
|
||||
@@ -61,9 +61,8 @@ CONFIG_I2C_1=y
|
||||
CONFIG_EEPROM=y
|
||||
CONFIG_EEPROM_AT24=y
|
||||
|
||||
# don't enable CAN by default until PR #22832 is merged to upstream Zephyr
|
||||
#CONFIG_CAN=y
|
||||
#CONFIG_THINGSET_CAN=y
|
||||
CONFIG_CAN=y
|
||||
CONFIG_THINGSET_CAN=y
|
||||
|
||||
CONFIG_ISOTP=y
|
||||
CONFIG_ISOTP_RX_BUF_COUNT=1
|
||||
|
||||
Reference in New Issue
Block a user