summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-08-27 20:28:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-08-27 20:31:34 +0200
commit9035e00f719ecca72d675195cac5567addd88227 (patch)
tree7b636169c1e8e184b6aa8f3f41a7f54115d6c992
parentbae345fd07a3e38489492da082b4d10bdb54335a (diff)
add ft32 baremetal toolchain support
-rw-r--r--target/arch.lst1
-rw-r--r--target/baremetal/arch.lst1
-rw-r--r--target/config/Config.in.cpu7
-rw-r--r--target/config/Config.in.libc1
-rw-r--r--target/ft32/Makefile4
5 files changed, 14 insertions, 0 deletions
diff --git a/target/arch.lst b/target/arch.lst
index 6c827ac00..f0bc76d79 100644
--- a/target/arch.lst
+++ b/target/arch.lst
@@ -10,6 +10,7 @@ cris
csky
epiphany
frv
+ft32
h8300
hppa
ia64
diff --git a/target/baremetal/arch.lst b/target/baremetal/arch.lst
index b54278d62..7be2333cb 100644
--- a/target/baremetal/arch.lst
+++ b/target/baremetal/arch.lst
@@ -9,6 +9,7 @@ cris
csky
epiphany
frv
+ft32
h8300
hppa
ia64
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index b55c3db3e..92ee3c86a 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -500,6 +500,12 @@ config ADK_TARGET_CPU_FRV
select ADK_TARGET_WITHOUT_MMU
depends on ADK_TARGET_ARCH_FRV
+# ft32
+config ADK_TARGET_CPU_FT32
+ bool "ft32"
+ select ADK_TARGET_WITHOUT_MMU
+ depends on ADK_TARGET_ARCH_FT32
+
# h8/300
config ADK_TARGET_CPU_H8300H
bool "h8300h"
@@ -2084,6 +2090,7 @@ config ADK_TARGET_CPU_ARCH
default "csky" if ADK_TARGET_ARCH_CSKY
default "epiphany" if ADK_TARGET_ARCH_EPIPHANY
default "frv" if ADK_TARGET_ARCH_FRV
+ default "ft32" if ADK_TARGET_ARCH_FT32
default "i486" if ADK_TARGET_CPU_X86_I486
default "i586" if ADK_TARGET_CPU_X86_I586
default "i686" if ADK_TARGET_CPU_X86_I686
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index 1989e1c00..c8f84d50c 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -101,6 +101,7 @@ config ADK_TARGET_LIB_NEWLIB
ADK_TARGET_ARCH_CSKY || \
ADK_TARGET_ARCH_EPIPHANY || \
ADK_TARGET_ARCH_FRV || \
+ ADK_TARGET_ARCH_FT32 || \
ADK_TARGET_ARCH_H8300 || \
ADK_TARGET_ARCH_IA64 || \
ADK_TARGET_ARCH_LM32 || \
diff --git a/target/ft32/Makefile b/target/ft32/Makefile
new file mode 100644
index 000000000..9c9eb49d0
--- /dev/null
+++ b/target/ft32/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