From 272acea1ae652537c32ef99a476b574e510689d7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 3 Apr 2016 23:33:55 +0200 Subject: add msp430 newlib toolchain support --- target/arch.lst | 1 + target/config/Config.in.cpu | 6 ++++++ target/config/Config.in.libc | 1 + target/msp430/Makefile | 4 ++++ 4 files changed, 12 insertions(+) create mode 100644 target/msp430/Makefile (limited to 'target') 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 -- cgit v1.2.3