Build STM32L476DISC error

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
shaoziyang
Posts: 363
Joined: Sun Apr 17, 2016 1:55 pm

Build STM32L476DISC error

Post by shaoziyang » Sat Apr 30, 2016 2:02 pm

I build STM32L476DISC, and get below error message.
CC ../lib/utils/printf.c
CC main.c
In file included from hal/l4/inc/stm32l4xx_hal_def.h:49:0,
from hal/l4/inc/stm32l4xx_hal_rcc.h:47,
from boards/STM32L476DISC/stm32l4xx_hal_conf.h:194,
from hal/l4/inc/stm32l4xx_hal.h:48,
from ./mpconfigport.h:216,
from ../py/mpconfig.h:45,
from ../py/nlr.h:36,
from main.c:30:
main.c: In function 'main':
hal/l4/inc/Legacy/stm32_hal_legacy.h:2200:36: warning: implicit declaration of function '__HAL_RCC_CCMDATARAMEN_CLK_ENABLE' [-Wimplicit-function-declaration]
#define __CCMDATARAMEN_CLK_ENABLE __HAL_RCC_CCMDATARAMEN_CLK_ENABLE
^
main.c:376:5: note: in expansion of macro '__CCMDATARAMEN_CLK_ENABLE'
__CCMDATARAMEN_CLK_ENABLE();
^
CC system_stm32.c
system_stm32.c: In function 'SystemInit':
system_stm32.c:191:6: error: 'RCC_TypeDef {aka struct <anonymous>}' has no member named 'CIR'
RCC->CIR = 0x00000000;
^
../py/mkrules.mk:47: recipe for target 'build-STM32L476DISC/system_stm32.o' failed
make: *** [build-STM32L476DISC/system_stm32.o] Error 1

Damien
Site Admin
Posts: 647
Joined: Mon Dec 09, 2013 5:02 pm

Re: Build STM32L476DISC error

Post by Damien » Sat Apr 30, 2016 6:07 pm

The STM32L4 series are not yet supported. They will be soon!

Sent from my GT-I9105P using Tapatalk

Post Reply