Build error in STM32MP157C-DK2 build environment

118 views
asked Aug 23, 2019 in System Integration by whsung

Hi,

I'm trying to build an example in STM32MP157C-DK2 build environment.

I followd the guide in below link. 

https://doc.embedded-wizard.de/getting-started-stm32mp157c-dk2?v=9.20

In the last step, if I try to build the example by typing "make" I get below build error.

-------------------------------------------------
Creating object and library directories
-------------------------------------------------
Compiling ../Source/main.c
Compiling ../Source/ewmain.c
Compiling ../Source/DeviceDriver.c
Compiling ../GeneratedCode/Core.c
Compiling ../GeneratedCode/Effects.c
Compiling ../GeneratedCode/Graphics.c
Compiling ../GeneratedCode/Resources.c
Compiling ../GeneratedCode/Views.c
Compiling ../GeneratedCode/Templates.c
Compiling ../GeneratedCode/WidgetSet.c
Compiling ../GeneratedCode/Application.c
Compiling ../GeneratedCode/BezierClock.c
Compiling ../../TargetSpecific/ew_bsp_display.c
Compiling ../../TargetSpecific/ew_bsp_touch.c
../../TargetSpecific/ew_bsp_touch.c:51:10: fatal error: core.h: No such file or directory
 #include "core.h"
          ^~~~~~~~
compilation terminated.
rules.mk:13: recipe for target 'obj/ew_bsp_touch.o' failed
make: *** [obj/ew_bsp_touch.o] Error 1
 

In turned out that the error is caused by the difference of the first letter between include directive and the actual file name.

The file name should be changed to "Core.h" in the ew_bsp_touch.c.

 

Regards,

Wonho

1 Answer

0 votes
answered Aug 23, 2019 by Manfred Schweyer
Hi Wonho,

thank you for your feedback and the error report!

We will fix that in the next version.

Best regards,

Manfred

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...