Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

emWin Middleware Include Path Issue - KBA228006

emWin Middleware Include Path Issue - KBA228006

ChaitanyaV_61
Employee
Employee
50 questions asked 25 likes received 25 sign-ins

Author: OleksandrP_61           Version: **

Translation - Japanese: emWin ミドルウェアのインクルードパス問題 - KBA228006 - Community Translated (JA)

Context:
emWin middleware in ModusToolbox™ IDE 1.0 and 1.1.

Issue:
emWin middleware ignores configurations made in the configuration header files located in the Source/emWin_config folder (LCDConf.h and LCDConf_CompactColor_16.h).

Cause:
This issue is caused by an error in the emWin build system integration files - emWin_config folder is not added to the “include paths” list when emWin middleware is enabled in the ModusToolbox Middleware Selector.

Workaround:
You can fix the issue by adding the emWin_config folder to the “include paths” list in ModusToolbox.

To do this:

1. Select your project and then click the “Project Build Settings” link in the Quick Panel.
    pastedImage_10.png

2. Go to C/C++ Build -> Settings

3. In the Configuration selector, select [All configurations] option.

4. In the Tool Settings tab, select GNU ARM Cross C Compiler -> Includes

5. In the Include paths list, press Add… button and enter the following path:

  "${workspace_loc:/<XXX>_mainapp}/Source/emWin_config"

      where XXX is the name of your project.

    pastedImage_11.png
         Note
Make sure that the newly added include path is located immediately after the
     "${workspace_loc:/<XXX>_mainapp}/Source" line.

6. Press the Apply and Close button to save changes.

0 Likes
290 Views
Contributors