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