summaryrefslogtreecommitdiff
path: root/nuttx/configs/demo9s12ne64/ostest
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-10 20:15:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-02-10 20:15:42 +0000
commit3a799e882bbeaa2826e759e444d090ec7cef8618 (patch)
tree76152fa33644681acced1a605f639c868ba59902 /nuttx/configs/demo9s12ne64/ostest
parentd19dd54ecdf49431160e6f71fd4bab17ef3c70ab (diff)
downloadpx4-nuttx-3a799e882bbeaa2826e759e444d090ec7cef8618.tar.gz
px4-nuttx-3a799e882bbeaa2826e759e444d090ec7cef8618.tar.bz2
px4-nuttx-3a799e882bbeaa2826e759e444d090ec7cef8618.zip
Misc m9s12x updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3278 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/demo9s12ne64/ostest')
-rwxr-xr-xnuttx/configs/demo9s12ne64/ostest/Make.defs6
-rwxr-xr-xnuttx/configs/demo9s12ne64/ostest/ld.script.banked1
-rwxr-xr-xnuttx/configs/demo9s12ne64/ostest/ld.script.nonbanked1
-rwxr-xr-xnuttx/configs/demo9s12ne64/ostest/setenv.sh2
4 files changed, 4 insertions, 6 deletions
diff --git a/nuttx/configs/demo9s12ne64/ostest/Make.defs b/nuttx/configs/demo9s12ne64/ostest/Make.defs
index 1068d3042..cdbfda2b3 100755
--- a/nuttx/configs/demo9s12ne64/ostest/Make.defs
+++ b/nuttx/configs/demo9s12ne64/ostest/Make.defs
@@ -38,15 +38,15 @@ include ${TOPDIR}/.config
# Setup for the selected toolchain
# NuttX buildroot under Linux or Cygwin
-CROSSDEV = m68hc12-elf-
+CROSSDEV = m9s12x-elf-
MAXOPTIMIZATION = -Os
WINTOOL = n
ifeq ($(CONFIG_HCS12_NONBANKED),y)
- ARCHCPUFLAGS = -m68hcs12 -mshort -mnolong-calls
+ ARCHCPUFLAGS = -m9s12x -mshort -mnolong-calls
LDSCRIPT = ld.script.nonbanked
else
- ARCHCPUFLAGS = -m68hcs12 -mshort -mlong-calls
+ ARCHCPUFLAGS = -m9x12x -mshort -mlong-calls
LDSCRIPT = ld.script.banked
endif
diff --git a/nuttx/configs/demo9s12ne64/ostest/ld.script.banked b/nuttx/configs/demo9s12ne64/ostest/ld.script.banked
index 39d063187..17c73dd53 100755
--- a/nuttx/configs/demo9s12ne64/ostest/ld.script.banked
+++ b/nuttx/configs/demo9s12ne64/ostest/ld.script.banked
@@ -84,7 +84,6 @@ MEMORY
vectors (rx) : ORIGIN = 0xff80, LENGTH = 256
}
-OUTPUT_ARCH(m68hc12)
ENTRY(_stext)
SECTIONS
{
diff --git a/nuttx/configs/demo9s12ne64/ostest/ld.script.nonbanked b/nuttx/configs/demo9s12ne64/ostest/ld.script.nonbanked
index d27ebff97..8e2a27688 100755
--- a/nuttx/configs/demo9s12ne64/ostest/ld.script.nonbanked
+++ b/nuttx/configs/demo9s12ne64/ostest/ld.script.nonbanked
@@ -57,7 +57,6 @@ MEMORY
vectors (rx) : ORIGIN = 0xff80, LENGTH = 256
}
-OUTPUT_ARCH(m68hc12)
ENTRY(_stext)
SECTIONS
{
diff --git a/nuttx/configs/demo9s12ne64/ostest/setenv.sh b/nuttx/configs/demo9s12ne64/ostest/setenv.sh
index fcfc38af4..0010997b7 100755
--- a/nuttx/configs/demo9s12ne64/ostest/setenv.sh
+++ b/nuttx/configs/demo9s12ne64/ostest/setenv.sh
@@ -40,7 +40,7 @@ fi
if [ -z "${PATH_ORIG}" ]; then export PATH_ORIG="${PATH}"; fi
WD=`pwd`
-export BUILDROOT_BIN="${WD}/../buildroot/build_m68hc12/staging_dir/bin"
+export BUILDROOT_BIN="${WD}/../buildroot/build_m9s12x/staging_dir/bin"
export PATH="${BUILDROOT_BIN}:${RIDE_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
echo "PATH : ${PATH}"