##// END OF EJS Templates
Libuc make templates extracted from main script, to make it more modular
jeandet -
r7:16404fe7ec6c default
parent child
Show More
@@ -0,0 +1,69
1 #!/bin/bash
2 #/*------------------------------------------------------------------------------
3 #-- This file is a part of the libuc, microcontroler library
4 #-- Copyright (C) 2011, Alexis Jeandet
5 #--
6 #-- This program is free software; you can redistribute it and/or modify
7 #-- it under the terms of the GNU General Public License as published by
8 #-- the Free Software Foundation; either version 3 of the License, or
9 #-- (at your option) any later version.
10 #--
11 #-- This program is distributed in the hope that it will be useful,
12 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 #-- GNU General Public License for more details.
15 #--
16 #-- You should have received a copy of the GNU General Public License
17 #-- along with this program; if not, write to the Free Software
18 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #-------------------------------------------------------------------------------
20 #-- Author : Alexis Jeandet
21 #-- Mail : alexis.jeandet@gmail.com
22 #-------------------------------------------------------------------------------*/
23
24 function getFilesList {
25 sed ':a;N;$!ba;s/\\\n/ /g' $1 | sed ':a;N;$!ba;s/\\ \n/ /g' | grep -i $2 | sed 's/\t//g'
26 }
27
28
29 function Template {
30 TEMPLATE=`more $1 | grep -i "TEMPLATE " | sed s/TEMPLATE// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
31 }
32
33 function Arch {
34 ARCH=`more $1 | grep -i "ARCH " | sed s/ARCH// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
35 }
36
37 function Target {
38 TARGET=`more $1 | grep -i "TARGET " | sed s/TARGET// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
39 }
40
41 function Libs_Inc {
42 INCLUDEStmp=`more $1 | grep -i "LIBS " | sed s/LIBS// |sed s/+//|sed s/=//| sed 's/^[ \t]*//;s/[ \t]*$//'`
43 for FILES in $INCLUDEStmp
44 do
45 INCLUDES+='$('"LIBUC_INC_DIR_$FILES) "
46 done
47 }
48 function Libs_Link {
49 LIBRARIEStmp=`more $1 | grep -i "LIBS " | sed s/LIBS// |sed s/+//|sed s/=//| sed 's/^[ \t]*//;s/[ \t]*$//'`
50 for FILES in $LIBRARIEStmp
51 do
52 LIBRARIES+='$('"LIBUC_LIBS_DIR_$FILES) "'$('"LIBUC_LIBS_$FILES) "
53 done
54 }
55
56 function HeadersInstallPath {
57 HEADERSINSTALLPATH=`more $1 | grep -i "HEADERSINSTALLPATH" | sed s/HEADERSINSTALLPATH// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
58 }
59
60 function TargetInstallPath {
61 TARGETINSTALLPATH=`more $1 | grep -i "TARGETINSTALLPATH" | sed s/TARGETINSTALLPATH// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
62 }
63
64 function getBSP {
65
66 if(more $1 | grep -i "BSP ="); then
67 BSP=`more $1 | grep -i "BSP" | sed s/BSP// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
68 fi
69 }
@@ -0,0 +1,67
1 #!/bin/bash
2 #/*------------------------------------------------------------------------------
3 #-- This file is a part of the libuc, microcontroler library
4 #-- Copyright (C) 2011, Alexis Jeandet
5 #--
6 #-- This program is free software; you can redistribute it and/or modify
7 #-- it under the terms of the GNU General Public License as published by
8 #-- the Free Software Foundation; either version 3 of the License, or
9 #-- (at your option) any later version.
10 #--
11 #-- This program is distributed in the hope that it will be useful,
12 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 #-- GNU General Public License for more details.
15 #--
16 #-- You should have received a copy of the GNU General Public License
17 #-- along with this program; if not, write to the Free Software
18 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #-------------------------------------------------------------------------------
20 #-- Author : Alexis Jeandet
21 #-- Mail : alexis.jeandet@gmail.com
22 #-------------------------------------------------------------------------------*/
23
24 function template-run {
25
26 Target $PROJECTFILE
27 Arch $PROJECTFILE
28 Libs_Inc $PROJECTFILE
29 Libs_Link $PROJECTFILE
30 HeadersInstallPath $PROJECTFILE
31 TargetInstallPath $PROJECTFILE
32 getBSP $PROJECTFILE
33 echo "Current BSP is $BSP"
34 echo $SRCFILES >> Makefile
35 getFilesList $PROJECTFILE HEADERS >> Makefile
36 getFilesList $PROJECTFILE SOURCES | sed 's/SOURCES/APPSOURCES/' >> Makefile
37
38 echo "========================================================================="
39 echo " M A K E F I L E G E N E R A T I O N "
40 echo "-------------------------------------------------------------------------"
41 echo " Template = application "
42 echo " Architecture = $ARCH "
43 echo " Current Board Support package is $BSP "
44 echo " Output file = $TARGET "
45 echo "========================================================================="
46 echo ""
47 echo " Start Writing Makefile ..."
48 echo 'OBJECTFILES = $(APPSOURCES:.c=.o)'>> Makefile
49 echo "ARCH = "'$(LIBUC)'"/rules/$ARCH" >> Makefile
50 echo "TARGET=$TARGET">> Makefile
51 echo "LIBUC_INCLUDES=$INCLUDES">> Makefile
52 echo "LIBUC_LIBRARIES=$LIBRARIES">> Makefile
53 echo "TARGETINSTALLPATH=$TARGETINSTALLPATH">> Makefile
54 echo "HEADERSINSTALLPATH=$HEADERSINSTALLPATH">> Makefile
55 echo "BSP=$BSP">> Makefile
56 echo 'include $(ARCH)/rules.mk' >> Makefile
57 echo '' >> Makefile
58 echo 'all:bin' >> Makefile
59 echo " @echo Code compiled" >> Makefile
60 echo '' >> Makefile
61 echo " Makefile writing finished"
62 echo ""
63 echo "========================================================================="
64 echo ""
65 }
66
67
@@ -0,0 +1,54
1 #!/bin/bash
2 #/*------------------------------------------------------------------------------
3 #-- This file is a part of the libuc, microcontroler library
4 #-- Copyright (C) 2011, Alexis Jeandet
5 #--
6 #-- This program is free software; you can redistribute it and/or modify
7 #-- it under the terms of the GNU General Public License as published by
8 #-- the Free Software Foundation; either version 3 of the License, or
9 #-- (at your option) any later version.
10 #--
11 #-- This program is distributed in the hope that it will be useful,
12 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 #-- GNU General Public License for more details.
15 #--
16 #-- You should have received a copy of the GNU General Public License
17 #-- along with this program; if not, write to the Free Software
18 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #-------------------------------------------------------------------------------
20 #-- Author : Alexis Jeandet
21 #-- Mail : alexis.jeandet@gmail.com
22 #-------------------------------------------------------------------------------*/
23
24 function template-run {
25 echo 'include $(LIBUC)/rules/common/rules.mk' >> Makefile
26 SUBDIRS=`getFilesList $PROJECTFILE SUBDIRS | sed 's/SUBDIRS//' | sed 's/=//' | sed 's/+//' `
27 CURRENTDIR=`pwd`
28 echo "" >> Makefile
29 echo 'all:subdir' >> Makefile
30 for DIRS in $SUBDIRS
31 do
32 echo "enter $DIRS"
33 cd $DIRS
34 echo "run $0"
35 $0
36 cd $CURRENTDIR
37 echo "exit $DIRS"
38 if [ -e "$DIRS/Makefile" ]; then
39 echo " make -C $DIRS">> Makefile
40 fi
41 done
42 echo " @echo Code compiled" >> Makefile
43 echo "" >> Makefile
44 echo 'clean:' >> Makefile
45 for DIRS in $SUBDIRS
46 do
47 if [ -e "$DIRS/Makefile" ]; then
48 echo " make clean -C $DIRS">> Makefile
49 fi
50 done
51 echo " @echo Code compiled" >> Makefile
52 echo "" >> Makefile
53 }
54
@@ -0,0 +1,63
1 #!/bin/bash
2 #/*------------------------------------------------------------------------------
3 #-- This file is a part of the libuc, microcontroler library
4 #-- Copyright (C) 2011, Alexis Jeandet
5 #--
6 #-- This program is free software; you can redistribute it and/or modify
7 #-- it under the terms of the GNU General Public License as published by
8 #-- the Free Software Foundation; either version 3 of the License, or
9 #-- (at your option) any later version.
10 #--
11 #-- This program is distributed in the hope that it will be useful,
12 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 #-- GNU General Public License for more details.
15 #--
16 #-- You should have received a copy of the GNU General Public License
17 #-- along with this program; if not, write to the Free Software
18 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #-------------------------------------------------------------------------------
20 #-- Author : Alexis Jeandet
21 #-- Mail : alexis.jeandet@gmail.com
22 #-------------------------------------------------------------------------------*/
23
24 function template-run {
25 Target $PROJECTFILE
26 Arch $PROJECTFILE
27 Libs_Inc $PROJECTFILE
28 Libs_Link $PROJECTFILE
29 HeadersInstallPath $PROJECTFILE
30 TargetInstallPath $PROJECTFILE
31 getBSP $PROJECTFILE
32 echo "Current BSP is $BSP"
33 echo $SRCFILES >> Makefile
34 getFilesList $PROJECTFILE HEADERS >> Makefile
35 getFilesList $PROJECTFILE SOURCES | sed 's/SOURCES/LIBSOURCES/' >> Makefile
36
37 echo "========================================================================="
38 echo " M A K E F I L E G E N E R A T I O N "
39 echo "-------------------------------------------------------------------------"
40 echo " Template = library "
41 echo " Architecture = $ARCH "
42 echo " Output file = $TARGET "
43 echo "========================================================================="
44 echo ""
45 echo " Start Writing Makefile ..."
46 echo 'OBJECTFILES = $(LIBSOURCES:.c=.o)'>> Makefile
47 echo "ARCH = "'$(LIBUC)'"/rules/$ARCH" >> Makefile
48 echo "TARGET=$TARGET">> Makefile
49 echo "LIBUC_INCLUDES=$INCLUDES">> Makefile
50 echo "LIBUC_LIBRARIES=$LIBRARIES">> Makefile
51 echo "TARGETINSTALLPATH=$TARGETINSTALLPATH">> Makefile
52 echo "HEADERSINSTALLPATH=$HEADERSINSTALLPATH">> Makefile
53 echo "BSP=$BSP">> Makefile
54 echo 'include $(ARCH)/rules.mk' >> Makefile
55 echo '' >> Makefile
56 echo 'all:lib' >> Makefile
57 echo " @echo Code compiled" >> Makefile
58 echo " Makefile writing finished"
59 echo ""
60 echo "========================================================================="
61 echo ""
62 }
63
@@ -0,0 +1,27
1 #!/bin/bash
2 #/*------------------------------------------------------------------------------
3 #-- This file is a part of the libuc, microcontroler library
4 #-- Copyright (C) 2011, Alexis Jeandet
5 #--
6 #-- This program is free software; you can redistribute it and/or modify
7 #-- it under the terms of the GNU General Public License as published by
8 #-- the Free Software Foundation; either version 3 of the License, or
9 #-- (at your option) any later version.
10 #--
11 #-- This program is distributed in the hope that it will be useful,
12 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 #-- GNU General Public License for more details.
15 #--
16 #-- You should have received a copy of the GNU General Public License
17 #-- along with this program; if not, write to the Free Software
18 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #-------------------------------------------------------------------------------
20 #-- Author : Alexis Jeandet
21 #-- Mail : alexis.jeandet@gmail.com
22 #-------------------------------------------------------------------------------*/
23
24
25 getFilesList $PROJECTFILE SOURCES | sed 's/SOURCES/LATEXSOURCES/' >> Makefile
26 echo 'include $(LIBUC)/rules/rules.mk' >> Makefile
27
@@ -0,0 +1,33
1 #/*------------------------------------------------------------------------------
2 #-- This file is a part of the libuc, microcontroler library
3 #-- Copyright (C) 2011, Alexis Jeandet
4 #--
5 #-- This program is free software; you can redistribute it and/or modify
6 #-- it under the terms of the GNU General Public License as published by
7 #-- the Free Software Foundation; either version 3 of the License, or
8 #-- (at your option) any later version.
9 #--
10 #-- This program is distributed in the hope that it will be useful,
11 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 #-- GNU General Public License for more details.
14 #--
15 #-- You should have received a copy of the GNU General Public License
16 #-- along with this program; if not, write to the Free Software
17 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #-------------------------------------------------------------------------------
19 #-- Author : Alexis Jeandet
20 #-- Mail : alexis.jeandet@gmail.com
21 #-------------------------------------------------------------------------------*/
22 LIBUC_LATEX = latex
23 LIBUC_PDFLATEX = pdflatex
24
25
26 all:
27 @echo "latex rules"
28
29 pdf:
30 $(LIBUC_PDFLATEX) $(LATEXSOURCES)
31
32 clean:
33 rm -f *.toc *.aux *.log *.pdf *.dvi
@@ -1,6 +1,12
1 1 # use glob syntax.
2 2 syntax: glob
3 3
4 4 *.*~
5 5 *~
6 6 *.o
7 *.a
8 *.hex
9 *.bin
10 *.d
11 *.dump
12 *.map
@@ -1,189 +1,72
1 1 #!/bin/bash
2 2 #/*------------------------------------------------------------------------------
3 3 #-- This file is a part of the libuc, microcontroler library
4 4 #-- Copyright (C) 2011, Alexis Jeandet
5 5 #--
6 6 #-- This program is free software; you can redistribute it and/or modify
7 7 #-- it under the terms of the GNU General Public License as published by
8 8 #-- the Free Software Foundation; either version 3 of the License, or
9 9 #-- (at your option) any later version.
10 10 #--
11 11 #-- This program is distributed in the hope that it will be useful,
12 12 #-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 #-- GNU General Public License for more details.
15 15 #--
16 16 #-- You should have received a copy of the GNU General Public License
17 17 #-- along with this program; if not, write to the Free Software
18 18 #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 19 #-------------------------------------------------------------------------------
20 20 #-- Author : Alexis Jeandet
21 21 #-- Mail : alexis.jeandet@gmail.com
22 22 #-------------------------------------------------------------------------------*/
23 23 TEMPLATE=""
24 24 ARCH=""
25 25 TARGET=""
26 26 SRCFILES=""
27 27 INCLUDES=""
28 28 LIBRARIES=""
29 29 HEADERSINSTALLPATH=""
30 30 TARGETINSTALLPATH=""
31 31 BSP="generic"
32 32
33 function getFilesList {
34 sed ':a;N;$!ba;s/\\\n/ /g' $1 | sed ':a;N;$!ba;s/\\ \n/ /g' | grep -i $2 | sed 's/\t//g'
35 }
36
37
38 function Template {
39 TEMPLATE=`more $1 | grep -i "TEMPLATE " | sed s/TEMPLATE// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
40 }
41
42 function Arch {
43 ARCH=`more $1 | grep -i "ARCH " | sed s/ARCH// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
44 }
45
46 function Target {
47 TARGET=`more $1 | grep -i "TARGET " | sed s/TARGET// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
48 }
49
50 function Libs_Inc {
51 INCLUDEStmp=`more $1 | grep -i "LIBS " | sed s/LIBS// |sed s/+//|sed s/=//| sed 's/^[ \t]*//;s/[ \t]*$//'`
52 for FILES in $INCLUDEStmp
53 do
54 INCLUDES+='$('"LIBUC_INC_DIR_$FILES) "
55 done
56 }
57 function Libs_Link {
58 LIBRARIEStmp=`more $1 | grep -i "LIBS " | sed s/LIBS// |sed s/+//|sed s/=//| sed 's/^[ \t]*//;s/[ \t]*$//'`
59 for FILES in $LIBRARIEStmp
60 do
61 LIBRARIES+='$('"LIBUC_LIBS_DIR_$FILES) "'$('"LIBUC_LIBS_$FILES) "
62 done
63 }
64
65 function HeadersInstallPath {
66 HEADERSINSTALLPATH=`more $1 | grep -i "HEADERSINSTALLPATH" | sed s/HEADERSINSTALLPATH// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
67 }
68
69 function TargetInstallPath {
70 TARGETINSTALLPATH=`more $1 | grep -i "TARGETINSTALLPATH" | sed s/TARGETINSTALLPATH// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
71 }
72
73 function getBSP {
74
75 if(more $1 | grep -i "BSP ="); then
76 BSP=`more $1 | grep -i "BSP" | sed s/BSP// | sed s/=// | sed 's/^[ \t]*//;s/[ \t]*$//'`
77 fi
78 }
33 scriptPath=${0%/*}
34 source $scriptPath/functions
79 35
80 36 if [ -z "$1" ] ; then
81 37 echo "try to find a project file ..."
82 38 TMP=`ls *.pro`
83 39 i=1
84 40 for Files in $TMP
85 41 do
86 42 echo "found $Files"
87 43 PROJECTFILES[i]=$Files
88 44 i=$((i + 1))
89 45 done
90 46 if [ -z "${PROJECTFILES[1]}" ]; then
91 47 exit
92 48 else
93 49 PROJECTFILE=${PROJECTFILES[1]}
94 50 fi
95 51
96 52 else
97 53 PROJECTFILE=$1
98 54 fi
99 55
100 56 CURRENTDIR=`pwd`
101 57 Template $PROJECTFILE
102 echo "Template = $TEMPLATE"
103 58 echo '' > Makefile
104 59 echo 'PROJECTDIR = `pwd`'>> Makefile
105 60 echo "LIBUC = $libuc2" >> Makefile
106 61
107 if(echo $TEMPLATE | grep -i 'dir'); then
108
109 echo 'include $(LIBUC)/rules/common/rules.mk' >> Makefile
110 SUBDIRS=`getFilesList $PROJECTFILE SUBDIRS | sed 's/SUBDIRS//' | sed 's/=//' | sed 's/+//' `
111 CURRENTDIR=`pwd`
112 echo "" >> Makefile
113 echo 'all:subdir' >> Makefile
114 for DIRS in $SUBDIRS
115 do
116 echo "enter $DIRS"
117 cd $DIRS
118 echo "run $0"
119 $0
120 cd $CURRENTDIR
121 echo "exit $DIRS"
122 if [ -e "$DIRS/Makefile" ]; then
123 echo " make -C $DIRS">> Makefile
124 fi
125 done
126 echo " @echo Code compiled" >> Makefile
127 echo "" >> Makefile
128 echo 'clean:' >> Makefile
129 for DIRS in $SUBDIRS
130 do
131 if [ -e "$DIRS/Makefile" ]; then
132 echo " make clean -C $DIRS">> Makefile
133 fi
134 done
135 echo " @echo Code compiled" >> Makefile
136 echo "" >> Makefile
137 else
138 Target $PROJECTFILE
139 Arch $PROJECTFILE
140 Libs_Inc $PROJECTFILE
141 Libs_Link $PROJECTFILE
142 HeadersInstallPath $PROJECTFILE
143 TargetInstallPath $PROJECTFILE
144 getBSP $PROJECTFILE
145 echo "Current BSP is $BSP"
146 echo $SRCFILES >> Makefile
62
147 63
148 if(echo $TEMPLATE|grep -i app); then
149 getFilesList $PROJECTFILE HEADERS >> Makefile
150 getFilesList $PROJECTFILE SOURCES | sed 's/SOURCES/APPSOURCES/' >> Makefile
151 echo 'OBJECTFILES = $(APPSOURCES:.c=.o)'>> Makefile
152 echo "ARCH = "'$(LIBUC)'"/rules/$ARCH" >> Makefile
153 echo "TARGET=$TARGET">> Makefile
154 echo "LIBUC_INCLUDES=$INCLUDES">> Makefile
155 echo "LIBUC_LIBRARIES=$LIBRARIES">> Makefile
156 echo "TARGETINSTALLPATH=$TARGETINSTALLPATH">> Makefile
157 echo "HEADERSINSTALLPATH=$HEADERSINSTALLPATH">> Makefile
158 echo "BSP=$BSP">> Makefile
159 echo 'include $(ARCH)/rules.mk' >> Makefile
160 echo '' >> Makefile
161 echo 'all:bin' >> Makefile
162 echo " @echo Code compiled" >> Makefile
163 echo '' >> Makefile
164 else
165 if(echo $TEMPLATE|grep -i lib); then
166 getFilesList $PROJECTFILE HEADERS >> Makefile
167 getFilesList $PROJECTFILE SOURCES | sed 's/SOURCES/LIBSOURCES/' >> Makefile
168 echo 'OBJECTFILES = $(LIBSOURCES:.c=.o)'>> Makefile
169 echo "ARCH = "'$(LIBUC)'"/rules/$ARCH" >> Makefile
170 echo "TARGET=$TARGET">> Makefile
171 echo "LIBUC_INCLUDES=$INCLUDES">> Makefile
172 echo "LIBUC_LIBRARIES=$LIBRARIES">> Makefile
173 echo "TARGETINSTALLPATH=$TARGETINSTALLPATH">> Makefile
174 echo "HEADERSINSTALLPATH=$HEADERSINSTALLPATH">> Makefile
175 echo "BSP=$BSP">> Makefile
176 echo 'include $(ARCH)/rules.mk' >> Makefile
177 echo '' >> Makefile
178 echo 'all:lib' >> Makefile
179 echo " @echo Code compiled" >> Makefile
180 fi
181 fi
182 fi
64 source $scriptPath/templates/libucmake-$TEMPLATE
65 template-run
183 66
184 67
185 68
186 69
187 70
188 71
189 72
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
@@ -1,127 +1,127
1 1
2 2 lpc1768_uart.elf: file format elf32-littlearm
3 3 lpc1768_uart.elf
4 4 architecture: arm, flags 0x00000112:
5 5 EXEC_P, HAS_SYMS, D_PAGED
6 6 start address 0x00000000
7 7
8 8 Program Header:
9 9 LOAD off 0x00008000 vaddr 0x00000000 paddr 0x00000000 align 2**15
10 10 filesz 0x00000f34 memsz 0x00000f34 flags r-x
11 11 LOAD off 0x00010000 vaddr 0x10000000 paddr 0x00000f34 align 2**15
12 12 filesz 0x0000000c memsz 0x00000018 flags rw-
13 13 LOAD off 0x00010018 vaddr 0x10000018 paddr 0x00000f40 align 2**15
14 14 filesz 0x00000000 memsz 0x00000800 flags rw-
15 15 private flags = 5000000: [Version5 EABI]
16 16
17 17 Sections:
18 18 Idx Name Size VMA LMA File off Algn
19 19 0 .text 00000f34 00000000 00000000 00008000 2**2
20 20 CONTENTS, ALLOC, LOAD, READONLY, CODE
21 21 1 .data 0000000c 10000000 00000f34 00010000 2**2
22 22 CONTENTS, ALLOC, LOAD, DATA
23 23 2 .bss 0000000c 1000000c 00000f40 0001000c 2**2
24 24 ALLOC
25 25 3 .stackarea 00000800 10000018 00000f40 00010018 2**2
26 26 ALLOC
27 27 4 .comment 0000002a 00000000 00000000 0001000c 2**0
28 28 CONTENTS, READONLY
29 29 5 .ARM.attributes 00000031 00000000 00000000 00010036 2**0
30 30 CONTENTS, READONLY
31 31 SYMBOL TABLE:
32 32 00000000 l d .text 00000000 .text
33 33 10000000 l d .data 00000000 .data
34 34 1000000c l d .bss 00000000 .bss
35 35 10000018 l d .stackarea 00000000 .stackarea
36 36 00000000 l d .comment 00000000 .comment
37 37 00000000 l d .ARM.attributes 00000000 .ARM.attributes
38 38 00000000 l df *ABS* 00000000 startup_LPC17xx.c
39 39 00000000 l df *ABS* 00000000 main.c
40 40 00000000 l df *ABS* 00000000 system_LPC17xx.c
41 41 00000000 l df *ABS* 00000000 bsp.c
42 42 00000000 l df *ABS* 00000000 uart.c
43 43 00000f08 l O .text 00000010 CSWTCH.5
44 00000f18 l O .text 00000009 C.0.5885
45 00000f24 l O .text 00000004 C.2.5916
44 00000f18 l O .text 00000009 C.0.5884
45 00000f24 l O .text 00000004 C.2.5915
46 46 00000000 l df *ABS* 00000000 core.c
47 47 00000000 l df *ABS* 00000000 libucstrings.c
48 48 10000014 g O .bss 00000004 UART1
49 49 000002b0 w F .text 00000002 TIMER2_IRQHandler
50 50 000002b0 w F .text 00000002 DebugMon_Handler
51 51 000002b0 w F .text 00000002 RIT_IRQHandler
52 52 00000898 g F .text 00000084 coregetCpuFreq
53 53 000002b0 w F .text 00000002 I2C0_IRQHandler
54 54 00000000 w *UND* 00000000 HardFault_Handler
55 55 000002b0 w F .text 00000002 SysTick_Handler
56 56 000002b0 w F .text 00000002 PWM1_IRQHandler
57 57 00000f34 g *ABS* 00000000 _sidata
58 58 000002b0 w F .text 00000002 PendSV_Handler
59 59 00000000 w *UND* 00000000 NMI_Handler
60 60 000002b0 w F .text 00000002 I2C1_IRQHandler
61 61 000002b0 w F .text 00000002 EINT2_IRQHandler
62 62 000002b0 w F .text 00000002 UART1_IRQHandler
63 63 000002b0 w F .text 00000002 EINT3_IRQHandler
64 64 00000f34 g .data 00000000 _etext
65 65 1000000c g .bss 00000000 _sbss
66 66 000004d0 g F .text 00000018 uartputs
67 67 10000004 g O .data 00000004 INTOSC
68 68 00000444 g F .text 00000070 bsp_init
69 69 000002b0 w F .text 00000002 TIMER3_IRQHandler
70 70 000002b0 w F .text 00000002 UART0_IRQHandler
71 71 0000091c g F .text 000005ce libucprintf
72 72 00000728 g F .text 0000003c uartsetup
73 73 000002b0 w F .text 00000002 UsageFault_Handler
74 74 10000000 g .data 00000000 _sdata
75 75 10000008 g O .data 00000004 RTCOSC
76 76 000002b0 w F .text 00000002 PLL0_IRQHandler
77 77 000002b0 w F .text 00000002 CAN_IRQHandler
78 78 000002b0 w F .text 00000002 PLL1_IRQHandler
79 79 000002b0 w F .text 00000002 SSP0_IRQHandler
80 80 10000000 g O .data 00000004 OSC0
81 81 1000000c g O .bss 00000004 UART3
82 82 000005a8 g F .text 00000180 uartsetbaudrate
83 83 000002b0 w F .text 00000002 I2S_IRQHandler
84 84 000002b0 w F .text 00000002 I2C2_IRQHandler
85 85 000002b0 w F .text 00000002 RTC_IRQHandler
86 86 10000018 g .bss 00000000 _ebss
87 87 000002b0 w F .text 00000002 TIMER0_IRQHandler
88 88 00000144 w F .text 0000016c Reset_Handler
89 89 000002b0 w F .text 00000002 SPI_IRQHandler
90 90 000002b0 w F .text 00000002 EINT1_IRQHandler
91 91 000002b0 w F .text 00000002 TIMER1_IRQHandler
92 92 000002b0 w F .text 00000002 UART2_IRQHandler
93 93 000002b0 g F .text 00000002 Default_Handler
94 94 000002b0 w F .text 00000002 ADC_IRQHandler
95 95 000004e8 g F .text 000000c0 uartsetpclkfactor
96 96 000002b0 w F .text 00000002 SSP1_IRQHandler
97 97 10000000 g .data 00000000 _efastcode
98 98 000002b0 w F .text 00000002 USB_IRQHandler
99 99 000002b0 w F .text 00000002 BOD_IRQHandler
100 100 000002b0 w F .text 00000002 MemManage_Handler
101 101 000000c4 g F .text 00000080 main
102 102 0000039c g F .text 000000a8 bsp_uart_init
103 103 10000018 g O .stackarea 00000800 pulStack
104 104 000002b0 w F .text 00000002 WDT_IRQHandler
105 105 000002b0 w F .text 00000002 SVC_Handler
106 106 000002b4 g F .text 000000e8 SystemInit
107 107 000002b0 w F .text 00000002 QEI_IRQHandler
108 108 10000018 g .stackarea 00000000 _sstack
109 109 000002b0 w F .text 00000002 EINT0_IRQHandler
110 110 00000f34 g .data 00000000 _sifastcode
111 111 000004c4 g F .text 0000000c uartputc
112 112 10000000 g .data 00000000 _sfastcode
113 113 10000818 g .stackarea 00000000 _estack
114 114 1000000c g .data 00000000 _edata
115 115 10000818 g .stackarea 00000000 _end
116 116 00000764 g F .text 00000014 uartopen
117 117 000004b4 g F .text 00000010 consoleputc
118 118 00000000 g O .text 000000c4 g_pfnVectors
119 119 000002b0 w F .text 00000002 DMA_IRQHandler
120 120 000002b0 w F .text 00000002 BusFault_Handler
121 121 000002b0 w F .text 00000002 UART3_IRQHandler
122 122 000002b0 w F .text 00000002 MCPWM_IRQHandler
123 123 10000010 g O .bss 00000004 currentCpuFreq
124 124 000002b0 w F .text 00000002 ENET_IRQHandler
125 125 00000778 g F .text 00000120 coresetCpuFreq
126 126
127 127
@@ -1,419 +1,420
1 1 Archive member included because of file (symbol)
2 2
3 3 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
4 4 main.o (bsp_init)
5 5 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
6 6 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o) (uartputc)
7 7 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
8 8 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o) (coresetCpuFreq)
9 9 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
10 10 main.o (libucprintf)
11 11
12 12 Discarded input sections
13 13
14 14 .text 0x00000000 0x0 main.o
15 15 .data 0x00000000 0x0 main.o
16 16 .bss 0x00000000 0x0 main.o
17 .data.tes 0x00000000 0x4 main.o
17 18 .text 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
18 19 .data 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
19 20 .bss 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
20 21 .text 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
21 22 .data 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
22 23 .bss 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
23 24 .text.__get_PSP
24 25 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
25 26 .text.__set_PSP
26 27 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
27 28 .text.__get_MSP
28 29 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
29 30 .text.__set_MSP
30 31 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
31 32 .text.__get_BASEPRI
32 33 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
33 34 .text.__set_BASEPRI
34 35 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
35 36 .text.__get_PRIMASK
36 37 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
37 38 .text.__set_PRIMASK
38 39 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
39 40 .text.__get_FAULTMASK
40 41 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
41 42 .text.__set_FAULTMASK
42 43 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
43 44 .text.__get_CONTROL
44 45 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
45 46 .text.__set_CONTROL
46 47 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
47 48 .text.__REV 0x00000000 0x4 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
48 49 .text.__REV16 0x00000000 0x4 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
49 50 .text.__REVSH 0x00000000 0x4 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
50 51 .text.__RBIT 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
51 52 .text.__LDREXB
52 53 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
53 54 .text.__LDREXH
54 55 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
55 56 .text.__LDREXW
56 57 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
57 58 .text.__STREXB
58 59 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
59 60 .text.__STREXH
60 61 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
61 62 .text.__STREXW
62 63 0x00000000 0x8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
63 64 .text 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
64 65 .data 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
65 66 .bss 0x00000000 0x0 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
66 67 .text.SystemCoreClockUpdate
67 68 0x00000000 0xcc /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
68 69 .data.SystemCoreClock
69 70 0x00000000 0x4 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
70 71 .text 0x00000000 0x0 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
71 72 .data 0x00000000 0x0 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
72 73 .bss 0x00000000 0x0 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
73 74 .text.bsp_GPIO_init
74 75 0x00000000 0x44 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
75 76 .text.consolegetc
76 77 0x00000000 0xc /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
77 78 .bss.UART2 0x00000000 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
78 79 .bss.UART0 0x00000000 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
79 80 .text 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
80 81 .data 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
81 82 .bss 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
82 83 .text.uartgetc
83 84 0x00000000 0x10 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
84 85 .text.uartgets
85 86 0x00000000 0x20 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
86 87 .text.uartoff 0x00000000 0x50 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
87 88 .text.uarton 0x00000000 0x50 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
88 89 .text.uartgetpclkfactor
89 90 0x00000000 0x78 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
90 91 .text 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
91 92 .data 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
92 93 .bss 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
93 94 .text 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
94 95 .data 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
95 96 .bss 0x00000000 0x0 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
96 97 .text.clearch 0x00000000 0x24 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
97 98 .text.printhexfromint
98 99 0x00000000 0x140 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
99 100 .text.printdecfromint
100 101 0x00000000 0x1e0 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
101 102 .text.int2hex 0x00000000 0xd8 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
102 103 .text.scanintfromhex
103 104 0x00000000 0x27c /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
104 105 .text.scanintfromdec
105 106 0x00000000 0x188 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
106 107 .text.libucscanf
107 108 0x00000000 0x250 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
108 109 .rodata.str1.4
109 110 0x00000000 0x50 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
110 111
111 112 Memory Configuration
112 113
113 114 Name Origin Length Attributes
114 115 IROM 0x00000000 0x00080000 xr
115 116 IRAM0 0x10000000 0x00008000 xrw
116 117 IRAM1 0x2007c000 0x00004000 xrw
117 118 IRAM2 0x20080000 0x00004000 xrw
118 119 *default* 0x00000000 0xffffffff
119 120
120 121 Linker script and memory map
121 122
122 123
123 124 .text 0x00000000 0xf34
124 125 *(.isr_vector .isr_vector.*)
125 126 .isr_vector 0x00000000 0xc4 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
126 127 0x00000000 g_pfnVectors
127 128 *(.text .text.*)
128 129 .text.main 0x000000c4 0x80 main.o
129 130 0x000000c4 main
130 131 .text.Reset_Handler
131 132 0x00000144 0x16c /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
132 133 0x00000144 Reset_Handler
133 134 .text.Default_Handler
134 135 0x000002b0 0x4 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
135 136 0x000002b0 TIMER2_IRQHandler
136 137 0x000002b0 DebugMon_Handler
137 138 0x000002b0 RIT_IRQHandler
138 139 0x000002b0 I2C0_IRQHandler
139 140 0x000002b0 SysTick_Handler
140 141 0x000002b0 PWM1_IRQHandler
141 142 0x000002b0 PendSV_Handler
142 143 0x000002b0 I2C1_IRQHandler
143 144 0x000002b0 EINT2_IRQHandler
144 145 0x000002b0 UART1_IRQHandler
145 146 0x000002b0 EINT3_IRQHandler
146 147 0x000002b0 TIMER3_IRQHandler
147 148 0x000002b0 UART0_IRQHandler
148 149 0x000002b0 UsageFault_Handler
149 150 0x000002b0 PLL0_IRQHandler
150 151 0x000002b0 CAN_IRQHandler
151 152 0x000002b0 PLL1_IRQHandler
152 153 0x000002b0 SSP0_IRQHandler
153 154 0x000002b0 I2S_IRQHandler
154 155 0x000002b0 I2C2_IRQHandler
155 156 0x000002b0 RTC_IRQHandler
156 157 0x000002b0 TIMER0_IRQHandler
157 158 0x000002b0 SPI_IRQHandler
158 159 0x000002b0 EINT1_IRQHandler
159 160 0x000002b0 TIMER1_IRQHandler
160 161 0x000002b0 UART2_IRQHandler
161 162 0x000002b0 Default_Handler
162 163 0x000002b0 ADC_IRQHandler
163 164 0x000002b0 SSP1_IRQHandler
164 165 0x000002b0 USB_IRQHandler
165 166 0x000002b0 BOD_IRQHandler
166 167 0x000002b0 MemManage_Handler
167 168 0x000002b0 WDT_IRQHandler
168 169 0x000002b0 SVC_Handler
169 170 0x000002b0 QEI_IRQHandler
170 171 0x000002b0 EINT0_IRQHandler
171 172 0x000002b0 DMA_IRQHandler
172 173 0x000002b0 BusFault_Handler
173 174 0x000002b0 UART3_IRQHandler
174 175 0x000002b0 MCPWM_IRQHandler
175 176 0x000002b0 ENET_IRQHandler
176 177 .text.SystemInit
177 178 0x000002b4 0xe8 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
178 179 0x000002b4 SystemInit
179 180 .text.bsp_uart_init
180 181 0x0000039c 0xa8 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
181 182 0x0000039c bsp_uart_init
182 183 .text.bsp_init
183 184 0x00000444 0x70 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
184 185 0x00000444 bsp_init
185 186 .text.consoleputc
186 187 0x000004b4 0x10 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
187 188 0x000004b4 consoleputc
188 189 .text.uartputc
189 190 0x000004c4 0xc /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
190 191 0x000004c4 uartputc
191 192 .text.uartputs
192 193 0x000004d0 0x18 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
193 194 0x000004d0 uartputs
194 195 .text.uartsetpclkfactor
195 196 0x000004e8 0xc0 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
196 197 0x000004e8 uartsetpclkfactor
197 198 .text.uartsetbaudrate
198 199 0x000005a8 0x180 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
199 200 0x000005a8 uartsetbaudrate
200 201 .text.uartsetup
201 202 0x00000728 0x3c /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
202 203 0x00000728 uartsetup
203 204 .text.uartopen
204 205 0x00000764 0x14 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
205 206 0x00000764 uartopen
206 207 .text.coresetCpuFreq
207 208 0x00000778 0x120 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
208 209 0x00000778 coresetCpuFreq
209 210 .text.coregetCpuFreq
210 211 0x00000898 0x84 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
211 212 0x00000898 coregetCpuFreq
212 213 .text.libucprintf
213 214 0x0000091c 0x5d0 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
214 215 0x0000091c libucprintf
215 216 *(.gnu.linkonce.t.*)
216 217 *(.glue_7)
217 218 .glue_7 0x00000000 0x0 linker stubs
218 219 *(.glue_7t)
219 220 .glue_7t 0x00000000 0x0 linker stubs
220 221 *(.gcc_except_table)
221 222 *(.rodata .rodata*)
222 223 .rodata.str1.4
223 224 0x00000eec 0x1c main.o
224 225 .rodata.CSWTCH.5
225 226 0x00000f08 0x10 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
226 .rodata.C.0.5885
227 .rodata.C.0.5884
227 228 0x00000f18 0xc /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
228 .rodata.C.2.5916
229 .rodata.C.2.5915
229 230 0x00000f24 0x4 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
230 231 .rodata 0x00000f28 0xc /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
231 232 *(.gnu.linkonce.r.*)
232 233
233 234 .vfp11_veneer 0x00000f34 0x0
234 235 .vfp11_veneer 0x00000000 0x0 linker stubs
235 236
236 237 .v4_bx 0x00000f34 0x0
237 238 .v4_bx 0x00000000 0x0 linker stubs
238 239
239 240 .ctors 0x00000f34 0x0
240 241 0x00000f34 . = ALIGN (0x4)
241 242 0x00000f34 PROVIDE (__ctors_start, .)
242 243 *(SORT(.ctors.*))
243 244 *(.ctors)
244 245 0x00000f34 PROVIDE (__ctors_end, .)
245 246
246 247 .dtors 0x00000f34 0x0
247 248 0x00000f34 . = ALIGN (0x4)
248 249 0x00000f34 PROVIDE (__dtors_start, .)
249 250 *(SORT(.dtors.*))
250 251 *(.dtors)
251 252 0x00000f34 PROVIDE (__dtors_end, .)
252 253 0x00000f34 . = ALIGN (0x4)
253 254 0x00000f34 _etext = .
254 255 0x00000f34 _sifastcode = .
255 256
256 257 .fastcode 0x10000000 0x0 load address 0x00000f34
257 258 0x10000000 . = ALIGN (0x4)
258 259 0x10000000 _sfastcode = .
259 260 *(.glue_7t)
260 261 *(.glue_7)
261 262 *(.fastcode)
262 263 0x10000000 . = ALIGN (0x4)
263 264 0x10000000 _efastcode = .
264 265 0x10000000 _sidata = .
265 266
266 267 .usb_ram
267 268 *.o(USB_RAM)
268 269
269 270 .data 0x10000000 0xc load address 0x00000f34
270 271 0x00000f34 _sidata = LOADADDR (.data)
271 272 0x10000000 . = ALIGN (0x4)
272 273 0x10000000 _sdata = .
273 274 *(vtable vtable.*)
274 275 *(.data .data.*)
275 276 .data.OSC0 0x10000000 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
276 277 0x10000000 OSC0
277 278 .data.INTOSC 0x10000004 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
278 279 0x10000004 INTOSC
279 280 .data.RTCOSC 0x10000008 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
280 281 0x10000008 RTCOSC
281 282 *(.gnu.linkonce.d*)
282 283 0x1000000c . = ALIGN (0x4)
283 284 0x1000000c _edata = .
284 285
285 286 .bss 0x1000000c 0xc load address 0x00000f40
286 287 0x1000000c . = ALIGN (0x4)
287 288 0x1000000c _sbss = .
288 289 *(.bss .bss.*)
289 290 .bss.UART3 0x1000000c 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
290 291 0x1000000c UART3
291 292 .bss.currentCpuFreq
292 293 0x10000010 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
293 294 0x10000010 currentCpuFreq
294 295 .bss.UART1 0x10000014 0x4 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
295 296 0x10000014 UART1
296 297 *(.gnu.linkonce.b*)
297 298 *(COMMON)
298 299 0x10000018 . = ALIGN (0x4)
299 300 0x10000018 _ebss = .
300 301
301 302 .stackarea 0x10000018 0x800 load address 0x00000f40
302 303 0x10000018 . = ALIGN (0x8)
303 304 0x10000018 _sstack = .
304 305 *(.stackarea .stackarea.*)
305 306 .stackarea 0x10000018 0x800 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
306 307 0x10000018 pulStack
307 308 0x10000818 . = ALIGN (0x8)
308 309 0x10000818 _estack = .
309 310 0x10000818 . = ALIGN (0x4)
310 311 0x10000818 _end = .
311 312 0x10000818 PROVIDE (end, .)
312 313
313 314 .stab
314 315 *(.stab)
315 316
316 317 .stabstr
317 318 *(.stabstr)
318 319
319 320 .stab.excl
320 321 *(.stab.excl)
321 322
322 323 .stab.exclstr
323 324 *(.stab.exclstr)
324 325
325 326 .stab.index
326 327 *(.stab.index)
327 328
328 329 .stab.indexstr
329 330 *(.stab.indexstr)
330 331
331 332 .debug
332 333 *(.debug)
333 334
334 335 .line
335 336 *(.line)
336 337
337 338 .debug_srcinfo
338 339 *(.debug_srcinfo)
339 340
340 341 .debug_sfnames
341 342 *(.debug_sfnames)
342 343
343 344 .debug_aranges
344 345 *(.debug_aranges)
345 346
346 347 .debug_pubnames
347 348 *(.debug_pubnames)
348 349
349 350 .debug_info
350 351 *(.debug_info .gnu.linkonce.wi.*)
351 352
352 353 .debug_abbrev
353 354 *(.debug_abbrev)
354 355
355 356 .debug_line
356 357 *(.debug_line)
357 358
358 359 .debug_frame
359 360 *(.debug_frame)
360 361
361 362 .debug_str
362 363 *(.debug_str)
363 364
364 365 .debug_loc
365 366 *(.debug_loc)
366 367
367 368 .debug_macinfo
368 369 *(.debug_macinfo)
369 370
370 371 .debug_weaknames
371 372 *(.debug_weaknames)
372 373
373 374 .debug_funcnames
374 375 *(.debug_funcnames)
375 376
376 377 .debug_typenames
377 378 *(.debug_typenames)
378 379
379 380 .debug_varnames
380 381 *(.debug_varnames)
381 382 LOAD main.o
382 383 LOAD /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
383 384 LOAD /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
384 385 LOAD /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
385 386 LOAD /opt/libuc2/bsp/bin/mbed/libbsp.a
386 387 LOAD /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a
387 388 LOAD /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a
388 389 LOAD /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a
389 390 OUTPUT(lpc1768_uart.elf elf32-littlearm)
390 391
391 392 .comment 0x00000000 0x2a
392 393 .comment 0x00000000 0x2a main.o
393 394 0x2b (size before relaxing)
394 395 .comment 0x00000000 0x2b /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
395 396 .comment 0x00000000 0x2b /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
396 397 .comment 0x00000000 0x2b /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
397 398 .comment 0x00000000 0x2b /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
398 399 .comment 0x00000000 0x2b /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
399 400 .comment 0x00000000 0x2b /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
400 401 .comment 0x00000000 0x2b /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
401 402
402 403 .ARM.attributes
403 404 0x00000000 0x31
404 405 .ARM.attributes
405 406 0x00000000 0x31 main.o
406 407 .ARM.attributes
407 408 0x00000031 0x31 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/startup_LPC17xx.o
408 409 .ARM.attributes
409 410 0x00000062 0x31 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/core_cm3.o
410 411 .ARM.attributes
411 412 0x00000093 0x31 /opt/libuc2/rules/lpc17XX-arm-noabi-gcc/system_LPC17xx.o
412 413 .ARM.attributes
413 414 0x000000c4 0x31 /opt/libuc2/bsp/bin/mbed/libbsp.a(bsp.o)
414 415 .ARM.attributes
415 416 0x000000f5 0x31 /opt/libuc2/lib/bin/lpc17XX/UART/libuart.a(uart.o)
416 417 .ARM.attributes
417 418 0x00000126 0x31 /opt/libuc2/lib/bin/lpc17XX/CORE/libcore.a(core.o)
418 419 .ARM.attributes
419 420 0x00000157 0x31 /opt/libuc2/lib/bin/lpc17XX/STRINGS/libucstrings.a(libucstrings.o)
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
General Comments 0
You need to be logged in to leave comments. Login now