lh79524_software_instruction.txt

来自「SHARP_ARM720T_LH79524/5软件开发包_支持TFT_LCD_N」· 文本 代码 · 共 52 行

TXT
52
字号
LH79524/5 software setup and usage in detail
============================================

Step 1 - Tool setup
====================
Sharp software is a command line based software development environment. It is not IDE based development environment. User need to know how to open a DOS command line window under Windows.

Sharp software supports 4 types of tool chain - ARM, GNU, GHS and IAR.

If user uses ARM, GHS or IAR, user is responsible for setting up the tool chain by them selves. Sharp software is not using the IDE supplied by above three tool chains, but does use the compiler and linker supplied by above three tool chains. Since Sharp software is command line based, compiler and linker must be in the search path of the Windows. (Setup the path for Windows 2000 is like - right click on My Computer Icon on Desktop, click Advanced tab, click Environment Variables tab, in User variables, add or edit path variable to include the path for compiler and linker).

If user wants to use GNU tool chain, compiler and software is to be downloaded from Sharp web page. Download the GCC v3.03 from All Product Support page and extract to c:\ then you are done with the GNU tool setup.

Cygwin Environment is a must to have on PC, if you don't have one, download the Cygwin Tool from All Product Support Tools page and setup the Cygwin environment by yourself on PC.


Step 2 - Software library setup
===============================

Sharp CSP (chip support package) and BSP (board support package) software includes the drivers for chip and drivers for board. Those drivers are to be compiled and archived into libary to be used by different examples. So the first thing user needs to do is to compile the libary for further software development.

Download the LH79524 CSP/BSP software package from LH79524/5 Software Library page and extract to c:\

Sharp ABL (common drivers for different Sharp chip) is also needed to do software development.

Download the ABL software package from All Product Support Tools page and extract it to c:\

Now we need to build the library for software development. ABL package includes all the common drivers for different chip, CSP package includes all the chip related driver software and BSP package includes all the board related driver software.

Open a DOS command line window, do below:
> cd \sharpmcu\software
> setenv lh79524
> make TOOL=arm
This will build libraries for ABL and CSP, on the last line above - =arm can become =gnu or =ghs or =iar for different tool chain.
For lh79524, user also need to do below to build the library for BSP.
> make bsp TOOL=arm

After done above, .a or .lib library will be created under lib directory.


Step 3 - Build the example
==========================
In DOS command line window, Go to the individual example directory, you can create the examples.

> cd C:\sharpmcu\software\csps\lh79524\bsps\sdk79524\examples\lcd_lines
> make TOOL=arm

Above command will create example.axf file. User can use JTAG debugger to download this file to SDK79524 board and debug/run this code.

> make clean
Above command will clean the object and binary files.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?