Browse Source

add ft32 baremetal toolchain support

Waldemar Brodkorb 4 years ago
parent
commit
9035e00f71

+ 1 - 0
target/arch.lst

@@ -10,6 +10,7 @@ cris
 csky
 epiphany
 frv
+ft32
 h8300
 hppa
 ia64

+ 1 - 0
target/baremetal/arch.lst

@@ -9,6 +9,7 @@ cris
 csky
 epiphany
 frv
+ft32
 h8300
 hppa
 ia64

+ 7 - 0
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

+ 1 - 0
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 || \

+ 4 - 0
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