Hello,
I am a beginner with Keil and microcontroller. For a project i want to use STM32 nucleo L476RG with STM32 NFC2 module. My problem comes of made that I do not simply manage to run the cube nfc2 with the cube of the nucleo L476RG. I have to observe the configuration supplied for the model F4 and I reproduced the same functioning, the by replacing drivers F4 by L4, to change start-ups.
I have many error:
STM32F4xx-Nucleo\STM32L476RG_NUCLEO.axf: Error: L6218E: Undefined symbol HAL_PWREx_GetVoltageRange (referred from stm32l4xx_hal_rcc.o). STM32F4xx-Nucleo\STM32L476RG_NUCLEO.axf: Error: L6218E: Undefined symbol HAL_PWREx_DisableLowPowerRunMode (referred from stm32l4xx_hal_pwr.o). STM32F4xx-Nucleo\STM32L476RG_NUCLEO.axf: Error: L6218E: Undefined symbol HAL_PWREx_EnableLowPowerRunMode (referred from stm32l4xx_hal_pwr.o). STM32F4xx-Nucleo\STM32L476RG_NUCLEO.axf: Error: L6218E: Undefined symbol HAL_PWREx_EnterSTOP1Mode (referred from stm32l4xx_hal_pwr.o).
Someone can help me please
Nice, its good now, thanks for helping :)
Include files define the interface
The code is in STM32Cube_FW_L4_V1.0.0\Drivers\STM32L4xx_HAL_Driver\Src\stm32l4xx_hal_pwr_ex.c
and expects this define within the project HAL_PWR_MODULE_ENABLED
I don't really understand, in my project there are files .h where are declared the functions as well as files .c
Linker says you don't provide source code for PWREx functions in your project. Solution would be to ADD the file that provides that source into the project.
View all questions in Keil forum