Build emWin library in MCUXpresso for FRDM-K64F

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build emWin library in MCUXpresso for FRDM-K64F

ソリューションへジャンプ
1,774件の閲覧回数
GuillaumeAudirac
NXP Employee
NXP Employee

Prior to configuring the emWin library for a new display, I want to test the latest emWin library on the FRDM-K64F platform. For this purpose:

  1. I downloaded the SDK_2.x_FRDM-K64F
  2. I created a default project based on the gui_demo SDK example
  3. I compiled on MCUXpresso IDE v10.0.2_411 (successfully)

As it is based on a static emWin library v5.38a, I downloaded the latest emWin v5.42i release.

From there, I updated the project:

  • I deleted the reference to the static emWin library
  • I added a folder emwin/emWin_source
  • I updated the emWin_Config folder with the default files (from Start/Config, 5 files).
  • I updated the emWin_header folder with the default files (from Start/GUI/[Core, DisplayDriver, Widget], as well as WM.h, WM_GUI.h, 117 files)
  • I filled up the emWin_source folder with the default files (from Start/GUI/[Core, DisplayDriver, Widget], 447 files)
  • In the project properties, I added the emWin_source folder to the include paths for the compiler and assembler.

Finally, when compiling from the source, I came up with many errors, mainly undefined references.

The build log is attached.

Could you please provide some help me on this?

Guillaume Audirac
タグ(3)
0 件の賞賛
返信
1 解決策
1,023件の閲覧回数
GuillaumeAudirac
NXP Employee
NXP Employee

I solved the issues:

  • additional folders to be added: Font, MemDev, WM, ConvertColor, ConvertMono
  • skip GUIConf.c and LCDConf.c files as the definitions are already manually added to the file board/emwin_support.c
  • remove the file SIMConf.c, not needed

The build is now successful.

Guillaume Audirac

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,024件の閲覧回数
GuillaumeAudirac
NXP Employee
NXP Employee

I solved the issues:

  • additional folders to be added: Font, MemDev, WM, ConvertColor, ConvertMono
  • skip GUIConf.c and LCDConf.c files as the definitions are already manually added to the file board/emwin_support.c
  • remove the file SIMConf.c, not needed

The build is now successful.

Guillaume Audirac
0 件の賞賛
返信