fix(STM32L476): fix bug that STM32L476 compile los_bsp_adapter.c err
There is a macro named STM32L476xx in platform\STM32L476RG_NUCLEO\
los_bsp_adapter.c, but we designed it as LOS_STM32L476xx.So this
compile err happened.(Note: STM32L476xx is defined in L476 keil pack)
Close
#include "los_bsp_uart.h"
-#ifdef STM32L476xx
+#ifdef LOS_STM32L476xx
#include "stm32l4xx_hal.h"
#include "stm32l4xx_nucleo.h"
#endif
@@ -107,7 +107,7 @@ void SysTick_Handler(void)
LOS_TickHandler();
/*add your code here */
-#ifdef STM32L476xx
+#ifdef LOS_STM32L476xx
HAL_IncTick();
#endif
return ;
