This repository has been archived by the owner on Feb 15, 2025. It is now read-only.
forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Genericise TI compiler and add MSP430 support
- Loading branch information
Showing
12 changed files
with
144 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file assumes that path to the Texas Instruments MSP430 toolchain is added | ||
# to the environment(PATH) variable, so that Meson can find | ||
# cl430 and ar430 while building. | ||
[binaries] | ||
c = cl430 | ||
ar = ar430 | ||
strip = strip430 | ||
|
||
[host_machine] | ||
system = 'baremetal' | ||
cpu_family = 'msp430' | ||
endian = 'little' | ||
|
||
[built-in options] | ||
c_args = [ | ||
'-vmsp', | ||
'--printf_support=minimal'] | ||
c_link_args = [ | ||
'--rom_model', | ||
'-llibc.a',] | ||
cpp_args = [] | ||
cpp_link_args = [] | ||
|
||
[properties] | ||
needs_exe_wrapper = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Added support for Texas Instruments MSP430 and ARM compilers | ||
|
||
Meson now supports the TI [MSP430](https://www.ti.com/tool/MSP-CGT) and | ||
[ARM](https://www.ti.com/tool/ARM-CGT) toolchains. The compiler and linker are | ||
identified as `ti` and `ti-ar`, respectively. To maintain backwards | ||
compatibility with existing build definitions, the [C2000 | ||
toolchain](https://www.ti.com/tool/C2000-CGT) is still identified as `c2000` and | ||
`ar2000`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.