Skip to content
Snippets Groups Projects
Commit e88bad3b authored by David Sidrane's avatar David Sidrane Committed by Daniel Agar
Browse files

px4cannode-v1:Board does CAN GPIO init

parent ef43dee1
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,12 @@ __EXPORT void stm32_boardinitialize(void)
board_autoled_initialize();
board_button_initialize();
stm32_configgpio(GPIO_CAN_CTRL);
/* configure CAN interface */
stm32_configgpio(GPIO_CAN1_RX);
stm32_configgpio(GPIO_CAN1_TX);
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2) || \
defined(CONFIG_STM32_SPI3)
board_spiinitialize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment