File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed
variants/arduino_uno_q_stm32u585xx Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ EXPORT_SYMBOL(sqrtf);
6060EXPORT_SYMBOL (k_sched_lock );
6161EXPORT_SYMBOL (k_sched_unlock );
6262
63+ EXPORT_SYMBOL (bin2hex );
64+ EXPORT_SYMBOL (hex2bin );
65+
6366#if defined(CONFIG_USB_DEVICE_STACK )
6467EXPORT_SYMBOL (usb_enable );
6568EXPORT_SYMBOL (usb_disable );
@@ -308,3 +311,7 @@ FORCE_EXPORT_SYM(fs_mkfs);
308311FORCE_EXPORT_SYM (fs_register );
309312FORCE_EXPORT_SYM (fs_unregister );
310313#endif
314+
315+ #if defined(CONFIG_CAN )
316+ #include <zephyr/drivers/can.h>
317+ #endif
Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ CONFIG_DYNAMIC_THREAD=y
3737CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
3838CONFIG_DYNAMIC_THREAD_ALLOC=y
3939
40+ CONFIG_CAN=y
41+ CONFIG_CAN_FD_MODE=y
42+ CONFIG_CAN_MAX_FILTER=8
43+ CONFIG_CAN_ACCEPT_RTR=y
44+ CONFIG_CAN_STM32_FDCAN=y
45+
4046#CONFIG_VIDEO=y
4147#CONFIG_VIDEO_LOG_LEVEL_DBG=y
4248#CONFIG_VIDEO_STM32_DCMI=y
Original file line number Diff line number Diff line change 1+ /{
2+ chosen {
3+ zephyr,canbus = &fdcan1;
4+ };
5+ };
6+
17&i2c4 {
28 status = "okay";
39 pinctrl-0 = <&i2c4_scl_pd12 &i2c4_sda_pd13>;
2228*/
2329};
2430
31+ &fdcan1 {
32+ pinctrl-0 = <&fdcan1_rx_pa11 &fdcan1_tx_pa12>;
33+ pinctrl-names = "default";
34+ status = "okay";
35+ };
36+
2537/* clock from HSI48 */
2638&mco1 {
2739 status = "okay";
You can’t perform that action at this time.
0 commit comments