Author Topic: EVE Screen Designer to generate source code  (Read 245 times)

huseyinkozan

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
EVE Screen Designer to generate source code
« on: September 19, 2019, 05:59:52 AM »
Hi,

We have NHD-3.5-320240FT-CSXN-CTP, and want to use it with a Toradex Colibri iMX6 module. A Qt/C++ application will run and control the display.

I tried the designer, but I dont what target platform should I select.

Can we use EVE Screen Designer to generate source code ? Which target platform should we select ?

Thanks

karaketir16

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: EVE Screen Designer to generate source code
« Reply #1 on: November 07, 2019, 08:40:21 AM »
Hi,

To achive that we need colibri hal files for using spi communication and gpio pins. And also create desginer project with appropriate resolution(for NHD_3_5C_FT813 it is QVGA 320x240). It doesn't matter which device selected, but resolution is important.

After you saved a project, Designer generate C code of your project under ProjectFolder/Generated. To use project with Qt create a project with Qt Creator and add `ProjectFolder/Generated` folder and sub directories and  `PathtoEveScreenDesigner/Libraries`  folder and sub directories except `ThirdPartyLib`. And add colibri hal files to project. Don't forget to add folders with sub directories to include path.

You need to add some defines your code. To define globally, add them to `.pro` file.

#It depends on which hal file you want to use, I write hal file for this define
DEFINES += ColibriiMX6_PLATFORM

#These are defines for lcd, different lcd models reuire different defines
DEFINES += DISPLAY_RESOLUTION_QVGA   
DEFINES += EVE_GRAPHICS_AVAILABLE
DEFINES += EVE_DISPLAY_AVAILABLE
DEFINES += FT813_ENABLE

There are lot of lower/upper case issues with file names because Designer is windows program and windows is not case sensitive with file names, however Linux is case sensitive. I have fixed it with, try to compile, get error, fix filename and try again.

An implementation of Colibri_Hal and example project can be found here .
« Last Edit: November 08, 2019, 01:23:17 AM by karaketir16 »

 

Sample Code Question for NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM LCD

Started by SteveCBoard Character LCDs

Replies: 2
Views: 7644
Last post July 31, 2014, 08:44:29 PM
by SteveC
NHD‐2.4‐240320SF‐CTXL#‐FTN1 touch-screen problem

Started by hbcelebiBoard TFTs

Replies: 5
Views: 11003
Last post December 10, 2014, 11:19:05 AM
by Michael_L
Shift position after "clear screen" instruction

Started by dreissBoard OLEDs

Replies: 5
Views: 8493
Last post September 18, 2015, 03:50:30 PM
by Saurabh_B
NHD‐0420CW‐AG3 + I2C + PIC assembly code: trouble getting started

Started by RichardRBoard OLEDs

Replies: 4
Views: 9196
Last post December 17, 2015, 03:12:49 AM
by RichardR
Filling with blue yields flashing white screen (NHD-2.4-240320CF-CSXN#-F)

Started by asfarleyBoard TFTs

Replies: 2
Views: 1996
Last post December 11, 2018, 07:17:54 AM
by Paul_B