cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-MEMSMIC1 does not compile for NUCLEO-L476RG

rex
Associate II
Posted on July 28, 2016 at 14:35

When I compile the sample firmware for the 

NUCLEO-L476RG board using the provided project for the Keil IDE, I get the following error:

STM32F4xx-MEMSMIC1\STM32L476-MEMSMIC1.axf: Error: L6218E: Undefined symbol APBPrescTable (referred from stm32l4xx_hal_rcc.o).

I found that this is caused by an old version (1.0.1) of the system_stm32l4xx.c file ''\Projects\Multi\Applications\Microphones_Streaming\Src'' directory.

The correct version (1.0.3) of this file is in the ''\Drivers\CMSIS\Device\ST\STM32L4xx\Source\Templates'' directory. In this version the missing symbol is defined.

I haven't checked all the details, but it looks like the other system_*.c files in the project directory are also quite old and probably cause compile or runtime errors for the other platforms as well.

Bernd

0 REPLIES 0