CubeMX + NUCLEO-L053R8 + X-CUBE-MEMS1 can't be built
Using CubeMX v5.0 and FW_L0_v1.11.0 I'm generating new project from scratch.
Project has initialized (using HAL) UART2, I2C1 (on alternate pins PB8, PB9), GPIOs, EXTIs and clock. UART2, I2C1 and EXTI interrupts are enabled and IRQ handlers generated by the CubeMX.
On top of that there is X-CUBE-MEMS1 v5.2.1 with IKS01A2 extension and Application IKS01A2-DataLogTerminal. Project is generated for board NUCLEO-L053R8.
Just generated project couldn't be build. There is an error inside stm32l0xx_it.c, in function `USART2_IRQHandler()` error: "Undefined reference to huart2".
Same problem if this project is built for MDK-ARM v5.
CubeMX project file is attached. It's easy to regenerate the project.
I've tried to manually add #include or something in a hope that huart2 would become visible, but this BSP+MEMS1 Application seems like overcomplicated non-modular intertwined firmware. It's too hard to understand.
Please, can someone help me about this, just to make first build.
