summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-03 23:33:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-03 23:33:55 +0200
commit272acea1ae652537c32ef99a476b574e510689d7 (patch)
treee80020529ad7661e87cd937f206454f55c9e7685
parented23702c1e203d4ebe9dabf78c17cb877b5e41a6 (diff)
add msp430 newlib toolchain support
-rw-r--r--target/arch.lst1
-rw-r--r--target/config/Config.in.cpu6
-rw-r--r--target/config/Config.in.libc1
-rw-r--r--target/msp430/Makefile4
4 files changed, 12 insertions, 0 deletions
diff --git a/target/arch.lst b/target/arch.lst
index 00472fdd9..871c21967 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -19,6 +19,7 @@ microblaze
mips
mips64
moxie
+msp430
nds32
nios2
or1k
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 2cd1f51c0..d4de6d5d9 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -689,6 +689,11 @@ config ADK_TARGET_CPU_MOXIE
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_MOXIE
+# msp430
+config ADK_TARGET_CPU_MSP430
+ bool "msp430"
+ depends on ADK_TARGET_ARCH_MSP430
+
# nds32
config ADK_TARGET_CPU_NDS32
bool "nds32"
@@ -1631,6 +1636,7 @@ config ADK_TARGET_CPU_ARCH
default "mips" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_BIG_ENDIAN
default "mipsel" if ADK_TARGET_ARCH_MIPS && ADK_TARGET_LITTLE_ENDIAN
default "moxie" if ADK_TARGET_ARCH_MOXIE
+ default "msp430" if ADK_TARGET_ARCH_MSP430
default "nds32le" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_LITTLE_ENDIAN
default "nds32be" if ADK_TARGET_ARCH_NDS32 && ADK_TARGET_BIG_ENDIAN
default "nios2" if ADK_TARGET_ARCH_NIOS2
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index b3c794c01..cb5efb1e9 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -95,6 +95,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_MICROBLAZE || \
ADK_TARGET_ARCH_MIPS || \
ADK_TARGET_ARCH_MOXIE || \
+ ADK_TARGET_ARCH_MSP430 || \
ADK_TARGET_ARCH_NIOS2 || \
ADK_TARGET_ARCH_NDS32 || \
ADK_TARGET_ARCH_OR1K || \
diff --git a/target/msp430/Makefile b/target/msp430/Makefile
new file mode 100644
index 000000000..9c9eb49d0
--- /dev/null
+++ b/target/msp430/Makefile
@@ -0,0 +1,4 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk