diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-02-16 01:45:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-02-16 01:45:35 +0000 |
commit | 964be7e8d9f98f3ad6df915a712848abe94bcf93 (patch) | |
tree | ffabc56e589fa70638d96c7a44cf3e91c4b545de /nuttx/configs/demo9s12ne64/ostest | |
parent | 7585579c803173a39ec63a4c8dfe82a902a0ec5a (diff) | |
download | px4-nuttx-964be7e8d9f98f3ad6df915a712848abe94bcf93.tar.gz px4-nuttx-964be7e8d9f98f3ad6df915a712848abe94bcf93.tar.bz2 px4-nuttx-964be7e8d9f98f3ad6df915a712848abe94bcf93.zip |
m9s12x context save structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3298 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/demo9s12ne64/ostest')
-rwxr-xr-x | nuttx/configs/demo9s12ne64/ostest/Make.defs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/demo9s12ne64/ostest/Make.defs b/nuttx/configs/demo9s12ne64/ostest/Make.defs index cdbfda2b3..9135f1e3f 100755 --- a/nuttx/configs/demo9s12ne64/ostest/Make.defs +++ b/nuttx/configs/demo9s12ne64/ostest/Make.defs @@ -46,10 +46,14 @@ ifeq ($(CONFIG_HCS12_NONBANKED),y) ARCHCPUFLAGS = -m9s12x -mshort -mnolong-calls LDSCRIPT = ld.script.nonbanked else - ARCHCPUFLAGS = -m9x12x -mshort -mlong-calls + ARCHCPUFLAGS = -m9s12x -mshort -mlong-calls LDSCRIPT = ld.script.banked endif +ifneq ($(CONFIG_HCS12_MSOFTREGS),0) + ARCHCPUFLAGS += -msoft-reg-count=$(CONFIG_HCS12_MSOFTREGS) +endif + ifeq ($(WINTOOL),y) # Windows-native toolchains DIRLINK = $(TOPDIR)/tools/winlink.sh |