2.4k views
in Getting started by


H:\!STM32\STM32Fx\STM32F429-Discovery\Examples>cd HelloWorld

H:\!STM32\STM32Fx\STM32F429-Discovery\Examples\HelloWorld>make install
-------------------------------------------------
Creating HelloWorld
-------------------------------------------------
Compiler Options: -O2 -Wall -mcpu=cortex-m4 -mlittle-endian -mthumb -mthumb-inte
rwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DSTM32F429xx -DUSE_STM32F429I_DISCO -D
HSE_VALUE=8000000 -DEW_MAX_SURFACE_CACHE_SIZE=0x100000 -DEW_MAX_GLYPH_SURFACE_WI
DTH=256 -DEW_MAX_GLYPH_SURFACE_HEIGHT=256 -DEW_FRAME_BUFFER_COLOR_FORMAT_RGB565
-DEW_USE_OFFSCREEN_BUFFER=1 -DEW_USE_DOUBLE_BUFFER=0 -DEW_SURFACE_ROTATION=0
-------------------------------------------------
Creating object and binary directories
-------------------------------------------------
Compiling ../../BoardConfig/system_stm32f4xx.c
../../BoardConfig/system_stm32f4xx.c:125:15: error: conflicting types for 'AHBPr
escTable'
   __I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8,
 9};
               ^
In file included from ../../../STM32Cube_FW_F4/Drivers/CMSIS/Device/ST/STM32F4xx
/Include/stm32f429xx.h:192:0,
                 from ../../../STM32Cube_FW_F4/Drivers/CMSIS/Device/ST/STM32F4xx
/Include/stm32f4xx.h:159,
                 from ../../BoardConfig/system_stm32f4xx.c:66:
../../../STM32Cube_FW_F4/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f
4xx.h:78:23: note: previous declaration of 'AHBPrescTable' was here
 extern const uint8_t  AHBPrescTable[16];    /*!< AHB prescalers table values */

                       ^
make: *** [obj/system_stm32f4xx.o] Error 1

please tell me what to do

1 Answer

0 votes
by

Hi.

It seems that you are working with the latest version of the STM32F429 Discovery Build Environment, but you are using not the latest version of the STM32CubeF4 embedded software for STM32F4 series.

This Build Environment for Embedded Wizard generated UI applications was tested by using the following components:

  • Embedded Wizard Studio V8.10
  • Embedded Wizard Platform Package for STM32 V8.10
  • STM32F429 Discovery Build Environment V8.10
  • STM32F429 Discovery board
  • ST-LINK Utility V4.0.0
  • STM32CubeF4 Firmware Package V1.14.0
  • GCC ARM Embedded 6-2016-q4

The entire procedure for the bring-up is described here: Getting started with STM32F429 Discovery.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...