Merge pull request #732 from awygle/msp430-support

Added MSP430 architecture support
This commit is contained in:
Alexey Neyman 2017-06-02 16:48:55 -07:00 committed by GitHub
commit ed1d2d6a0e
5 changed files with 26 additions and 0 deletions

8
config/arch/msp430.in Normal file
View File

@ -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

View File

@ -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"

View File

@ -0,0 +1,2 @@
CT_ARCH_msp430=y
CT_DEBUG_gdb=y

View File

@ -0,0 +1,3 @@
reporter_name="Andrew Wygle"
reporter_url="https://github.com/awygle"
reporter_comment="MSP430 16-bit toolchain"

View File

@ -0,0 +1,5 @@
# Compute MSP430-specific values
CT_DoArchTupleValues() {
CT_TARGET_ARCH="${CT_ARCH}"
}