summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-06-02 23:48:55 (GMT)
committerGitHub <noreply@github.com>2017-06-02 23:48:55 (GMT)
commited1d2d6a0e826b172454bae988de79945a67fe24 (patch)
tree51eeb37d864f5aa0908337cb768e23402227fb55 /config
parent71e7a7b7604d6a47126d92bc9229168d56caadcd (diff)
parent61d1fa57c9a312bff04043ec5d0e4b9126c2609b (diff)
Merge pull request #732 from awygle/msp430-support
Added MSP430 architecture support
Diffstat (limited to 'config')
-rw-r--r--config/arch/msp430.in8
-rw-r--r--config/target.in8
2 files changed, 16 insertions, 0 deletions
diff --git a/config/arch/msp430.in b/config/arch/msp430.in
new file mode 100644
index 0000000..a1c4ab5
--- /dev/null
+++ b/config/arch/msp430.in
@@ -0,0 +1,8 @@
+# MSP430 specific config options
+
+## select ARCH_SUPPORTS_16
+## select ARCH_DEFAULT_16
+## select ARCH_REQUIRES_MULTILIB
+##
+## help The 16-bit MSP430 architecture, as defined by:
+## help http://www.ti.com/lsds/ti/microcontrollers-16-bit-32-bit/msp/overview.page?HQS=msp430
diff --git a/config/target.in b/config/target.in
index 7e4e837..2ce8aa3 100644
--- a/config/target.in
+++ b/config/target.in
@@ -132,6 +132,9 @@ config ARCH_ENDIAN
config ARCH_SUPPORTS_8
bool
+config ARCH_SUPPORTS_16
+ bool
+
config ARCH_SUPPORTS_32
bool
@@ -165,6 +168,11 @@ config ARCH_8
prompt "8-bit"
depends on ARCH_SUPPORTS_8
+config ARCH_16
+ bool
+ prompt "16-bit"
+ depends on ARCH_SUPPORTS_16
+
config ARCH_32
bool
prompt "32-bit"