[En-Nut-Discussion] PWR_CR_VOS undeclared

Harald Kipp harald.kipp at egnite.de
Sun Mar 15 10:19:50 CET 2015


Trying to build the trunk for CM3 fails with

arm-none-eabi-gcc -c -I../../usps_f205c-cm3-gcc-bld/include  -I../.././nut/include -I../.././nut/include/contrib  -DUSPS  -MD -MP -mcpu=cortex-m3 -mthumb -D__CORTEX__  -ffunction-sections -fdata-sections -fomit-frame-pointer  -Os -Wall -Wstrict-prototypes -Werror-Wa,-a=cm3/dev/stm/stm32f4_clk.lst   -o cm3/dev/stm/stm32f4_clk.o ../.././nut/arch/cm3/dev/stm/stm32f4_clk.c
../.././nut/arch/cm3/dev/stm/stm32f4_clk.c: In function 'SetSysClock':
../.././nut/arch/cm3/dev/stm/stm32f4_clk.c:561:13: error: 'PWR_CR_VOS' undeclared (first use in this function)
../.././nut/arch/cm3/dev/stm/stm32f4_clk.c:561:13: note: each undeclared identifier is reported only once for each function it appears in
../.././nut/arch/cm3/dev/stm/stm32f4_clk.c:562:17: error: 'PWR_CR_VOS_0' undeclared (first use in this function)
make[1]: *** [cm3/dev/stm/stm32f4_clk.o] Error 1
make[1]: Leaving directory `E:/ethernut/ethernut-5.2.6/usps_f205c-cm3-gcc-bld/arch'
make: *** [all] Error 2

Regards,

Harald



More information about the En-Nut-Discussion mailing list