boards/stm32: register CAN character device if configured
This commit is contained in:
parent
6fe95d8314
commit
a983cd2377
@ -60,7 +60,7 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += stm32_adc.c
|
CSRCS += stm32_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -40,7 +40,7 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += stm32_adc.c
|
CSRCS += stm32_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -186,7 +186,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -175,7 +175,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -44,7 +44,7 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += stm32_adc.c
|
CSRCS += stm32_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -56,7 +56,7 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += stm32_adc.c
|
CSRCS += stm32_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ int stm32_bringup(void)
|
|||||||
#endif
|
#endif
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -26,7 +26,7 @@ ifeq ($(CONFIG_BOARDCTL),y)
|
|||||||
CSRCS += stm32_appinit.c
|
CSRCS += stm32_appinit.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ void weak_function stm32_spidev_initialize(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -44,7 +44,7 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += stm32_adc.c
|
CSRCS += stm32_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -48,7 +48,7 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += stm32_adc.c
|
CSRCS += stm32_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ int stm32_bringup(void)
|
|||||||
sdio_mediachange(sdio, true);
|
sdio_mediachange(sdio, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -22,7 +22,7 @@ include $(TOPDIR)/Make.defs
|
|||||||
|
|
||||||
CSRCS = stm32_boot.c stm32_spi.c stm32_leds.c
|
CSRCS = stm32_boot.c stm32_spi.c stm32_leds.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ int board_usbmsc_initialize(int port);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
ret = board_composite_initialize(0);
|
ret = board_composite_initialize(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -167,7 +167,7 @@ int weak_function stm32_pwm_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -52,7 +52,7 @@ ifeq ($(CONFIG_USBMSC),y)
|
|||||||
CSRCS += stm32_usbmsc.c
|
CSRCS += stm32_usbmsc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -44,7 +44,7 @@ ifeq ($(CONFIG_USBDEV_COMPOSITE),y)
|
|||||||
CSRCS += stm32_composite.c
|
CSRCS += stm32_composite.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -48,7 +48,7 @@ ifeq ($(CONFIG_PWM),y)
|
|||||||
CSRCS += stm32_pwm.c
|
CSRCS += stm32_pwm.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -309,7 +309,7 @@ int board_app_initialize(uintptr_t arg)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -49,7 +49,7 @@ ifeq ($(CONFIG_PWM),y)
|
|||||||
CSRCS += stm32_pwm.c
|
CSRCS += stm32_pwm.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -376,7 +376,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -30,7 +30,7 @@ ifeq ($(CONFIG_BOARDCTL),y)
|
|||||||
CSRCS += stm32_appinit.c
|
CSRCS += stm32_appinit.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ int stm32_adc_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
|
|||||||
CSRCS += stm32_buttons.c
|
CSRCS += stm32_buttons.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -332,7 +332,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -563,7 +563,7 @@ int stm32_pwm_setup(void);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ include $(TOPDIR)/Make.defs
|
|||||||
|
|
||||||
CSRCS = stm32_boot.c stm32_bringup.c stm32_leds.c stm32_spi.c
|
CSRCS = stm32_boot.c stm32_bringup.c stm32_leds.c stm32_spi.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_CAN),y)
|
ifeq ($(CONFIG_STM32_CAN_CHARDRIVER),y)
|
||||||
CSRCS += stm32_can.c
|
CSRCS += stm32_can.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
/* Initialize CAN and register the CAN driver. */
|
/* Initialize CAN and register the CAN driver. */
|
||||||
|
|
||||||
ret = stm32_can_setup();
|
ret = stm32_can_setup();
|
||||||
|
@ -442,7 +442,7 @@ int stm32_sdinitialize(int minor);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_CAN
|
#ifdef CONFIG_STM32_CAN_CHARDRIVER
|
||||||
int stm32_can_setup(void);
|
int stm32_can_setup(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user