emWin5.24 VS2008 analog LCD12864 stm32 rtx transplant "Worldsing notes"

Source: Internet
Author: User

?

EmWin for 12864 and port transplant

Source code Download:rtx_emwin5.24_keil_vs2008-20141122.zip

?

Hardware environment:

Cpu:stm32f103ve

lcd:st7920 Controller 12864 and Port

?

Software Environment:

Keil MDK4.74

VS2008

emWin5.24

?

Using the RTX operating system

?

?

1, the implementation of emWin5.24 in Keil and vs2008 the same code of the project, VS2008 catalog implementation on the official FMC Simulator simulation, Keil directory implementation in the Stm32f103ve drive 12864 of the same port screen

?

2, support 12x12 and 16x16 Chinese characters, two fonts have been added in the VS project, because the Chinese character library compared to occupy Stm32 flash resources, all, Keil added 12x12 Chinese characters, but Flash occupies the

The quantity is still very large, can use the Guifont tool to generate the small font of the specified Chinese character library;

?

3. Project Catalogue Description:

KEIL Engineering Structure:

|-App

| |-MAIN.C Code Entry RTX operating system entry

| |-simsun_1212.c guifont tool to generate a small font for a specified Chinese character library

| \_ dialog.c User's GUI entry code to Maintask () entry

|

|-Emwin5.24/userfont user-defined fonts

|

|-emwin5.24/config GUI configuration and LCD configuration

| |-GUICONF.C GUI configuration

| \_ LCDCONF.C LCD Configuration

|

|-Emwin5.24/driver

| |-GUIDRV_TEMPLATE.C Drive Interface Unified format

| \_ lcd12864.c 12864 Bottom Interface

|

|-Emwin5.24/osport Operating System interface

| \_ gui_x_rtx.c Keil Official self-brought RTX system with GUI interface

|

|-Emwin5.24/lib Keil The official Emwiwn library file, located in C:\Keil\ARM\Segger\emwin\lib

| \_gui_cm3.lib GUI Library files optimized for CM platform

|

|-rtx/config Keil official own RTX configuration

| \_rtx_conf_cm.c

|

|-stlib STM32 official Standard Peripherals Library

|

\_ Readme Project Description

?

3, the project setup needs target->operating System->rtx kernel

In addition, Keil needs to have lisence authorization of the Rl-arm library, otherwise it cannot be compiled

????

4, the transplant needs to modify the Emwin5.24/driver and emwin5.24/config directory files, drive the transplant need to change: guidrv_template.c 192th and 147th line;

?

5, increase the font or modify the font needs to be careful to modify the encoding format, otherwise it will not display properly.

?

Keil Engineering

?

VS2008 Engineering Simulation

emWin5.24 VS2008 analog LCD12864 stm32 rtx transplant "Worldsing notes"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.