1 | =====================================================================
|
---|
2 | LM4F120˶
|
---|
3 | Last Modified: 2014 Sep 25 16:42:26
|
---|
4 | =====================================================================
|
---|
5 |
|
---|
6 | (1) εĢé^[QbgVXeÌíÞE\¬
|
---|
7 |
|
---|
8 | LM4F120˶ÍCTexas InstrumentsÐÌStellaris[`pbhðT|[
|
---|
9 | gµÄ¢éD®ìmFðsÁ½`bvÍÌÊèÅ éD
|
---|
10 |
|
---|
11 | ELM4F120
|
---|
12 |
|
---|
13 | `bvú»ÍCCode Composer Studio IDE(CCS)Ås¤D»Ì½ßC¯«Ì
|
---|
14 | CCSvWFNgÆZbgÅgp·é±ÆD
|
---|
15 |
|
---|
16 | foCXhCoÍTexas InstrumentsЩçñ³êÄ¢éStellarisWare
|
---|
17 | ðp¢éD
|
---|
18 |
|
---|
19 |
|
---|
20 | (2) gp·éJ«Ʈìص½ðio[WCIvVj
|
---|
21 |
|
---|
22 | (2-1) TOPPERS/ASPJ[lÌJ«
|
---|
23 |
|
---|
24 | (2-1-1) RpCÌo[W
|
---|
25 |
|
---|
26 | J[lCu(libkernel.a)ì¬Ép¢½RpCÍȺÌÊèD
|
---|
27 |
|
---|
28 | Cygwin + Sourcery CodeBench Lite 2013.11-24 4.8.1 (arm-none-eabi)
|
---|
29 |
|
---|
30 |
|
---|
31 | (2-1-2) StellarisWareÌzuCàµÍpXÌÏX
|
---|
32 |
|
---|
33 | StellarisWareðgtarget\lm4f120_gcc\StellarisWarehÉzu·éD
|
---|
34 |
|
---|
35 | ÊfBNgÌStellarisWareðw·æ¤É·éêÍCMakefile.target
|
---|
36 | ðÏX·éD
|
---|
37 | #
|
---|
38 | # Stellaris Peripheral Driver Libary ÌgbvfBNg
|
---|
39 | #
|
---|
40 | DRIVER_DIR = $(TARGETDIR)/StellarisWare
|
---|
41 |
|
---|
42 |
|
---|
43 | (2-2-3) libkernel.aÌì¬
|
---|
44 |
|
---|
45 | TOPPERS/ASPJ[lWÌRpCèÅlibkernel.að쬷éD
|
---|
46 |
|
---|
47 | $ mkdir KERNEL_LIB
|
---|
48 | $ cd KERNEL_LIB
|
---|
49 | $ perl ../configure -T lm4f120_gcc -f
|
---|
50 | $ make depend
|
---|
51 | $ make libkernel.a
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 | (2-2) AvP[VÌJ«
|
---|
56 |
|
---|
57 | (2-2-1) J«
|
---|
58 |
|
---|
59 | JÍTexas InstrumentsЩçñ³êÄ¢éCode Composer Studio IDE(C
|
---|
60 | CS)ðgp·é±ÆD
|
---|
61 |
|
---|
62 | Code Composer Studio Version: 5.5.0.00077 + TI v5.1.1
|
---|
63 |
|
---|
64 | fobOàCCCSðgpµÄ®ìðmFµ½D
|
---|
65 |
|
---|
66 |
|
---|
67 | (2-2-2) pXÝè
|
---|
68 |
|
---|
69 | (2-1)Å쬵½TOPPERS/ASPJ[lÌJ[lCu(libkernel.a)C
|
---|
70 | \[XR[hðCCS©çQÆ·é½ßpXÌÝèðs¤D
|
---|
71 |
|
---|
72 | Project¨Properties¨Resource¨Linked Resources¨Path Variables^u
|
---|
73 | OS_ROOT : TOPPERS/ASPJ[lÌgbvfBNgÌpX
|
---|
74 |
|
---|
75 | Project¨Properties¨Build¨Variables^u
|
---|
76 | OS_ROOT : TOPPERS/ASPJ[lÌgbvfBNgÌpX
|
---|
77 | SW_ROOT : Stellaris WareÌgbvfBNgÌpX
|
---|
78 |
|
---|
79 |
|
---|
80 | (2-2-3) fobOÝè
|
---|
81 | VXeR[(libkernel.a)Ì\[XR[hfobOªÅ«éæ¤Ét@C
|
---|
82 | ÌpXðÝè·éD
|
---|
83 |
|
---|
84 | Run¨Debug Configurations¨Code Composer Studio - Device Debugging¨
|
---|
85 | <vWFNg¼>¨Source^u¨Add{^º¨Path Mapping ðIðµÄ
|
---|
86 | OK{^º
|
---|
87 | NameÍKȼOCCompilation pathÉu·ÎÛÌpXCLocal file syste
|
---|
88 | m pathÉâÎpXðüÍ·éD
|
---|
89 |
|
---|
90 | ./KERNEL_LIBÅrhµ½êÍ\[XÌpXª../ÉÈéÌÅCȺÌÝè
|
---|
91 | ÅÇ¢D
|
---|
92 |
|
---|
93 | Compilation Path : ..\
|
---|
94 | Local file system path : TOPPERS/ASPJ[lgbvfBNgÌpX
|
---|
95 |
|
---|
96 |
|
---|
97 | (3) VXeO@\Ìîñ
|
---|
98 |
|
---|
99 | VXeOÌáxoÍÍCUSBP[uðp¢éDÊMtH[}bgÍ
|
---|
100 | 115200bps, 8bit, non-parity, 1stopbitÅ éD
|
---|
101 |
|
---|
102 |
|
---|
103 | (4) fBNg\¬Et@C\¬
|
---|
104 | ./lm4f120_gcc
|
---|
105 | ./E_PACKAGE
|
---|
106 | ./lm4f120.h
|
---|
107 | ./Makefile.target
|
---|
108 | ./MANIFEST
|
---|
109 | ./target.tf
|
---|
110 | ./target_asm.inc
|
---|
111 | ./target_cfg1_out.h
|
---|
112 | ./target_check.tf
|
---|
113 | ./target_config.c
|
---|
114 | ./target_config.h
|
---|
115 | ./target_kernel.h
|
---|
116 | ./target_offset.tf
|
---|
117 | ./target_rename.def
|
---|
118 | ./target_rename.h
|
---|
119 | ./target_serial.c
|
---|
120 | ./target_serial.cfg
|
---|
121 | ./target_serial.h
|
---|
122 | ./target_sil.h
|
---|
123 | ./target_stddef.h
|
---|
124 | ./target_syssvc.h
|
---|
125 | ./target_test.h
|
---|
126 | ./target_timer.cfg
|
---|
127 | ./target_timer.h
|
---|
128 | ./target_unrename.h
|
---|
129 | ./target_user.txt
|
---|
130 |
|
---|
131 |
|
---|
132 | (5) o[Wð
|
---|
133 |
|
---|
134 | 2014/9/25
|
---|
135 | EÅÌ[X
|
---|
136 |
|
---|
137 |
|
---|