summaryrefslogtreecommitdiff
path: root/deps/Unity/test/targets/iar_msp430.yml
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-24 22:47:46 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-24 22:47:46 +1100
commit7b3afcaf77f96e7d62f6cd1623ead7f17512d79f (patch)
treeb5f82c64e9c06a84e4d095ab4ac48712e860b673 /deps/Unity/test/targets/iar_msp430.yml
parentb047be5252aeb981faea077409c1768fda0301d9 (diff)
repo init. partial port of existing code
Diffstat (limited to 'deps/Unity/test/targets/iar_msp430.yml')
-rw-r--r--deps/Unity/test/targets/iar_msp430.yml112
1 files changed, 112 insertions, 0 deletions
diff --git a/deps/Unity/test/targets/iar_msp430.yml b/deps/Unity/test/targets/iar_msp430.yml
new file mode 100644
index 0000000..6587253
--- /dev/null
+++ b/deps/Unity/test/targets/iar_msp430.yml
@@ -0,0 +1,112 @@
+---
+tools_root: C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\
+core_root: &1
+- C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\
+- 430\
+core_bin: &2
+- *1
+- bin\
+core_config: &4
+- *1
+- config\
+core_lib: &3
+- *1
+- lib\
+core_inc: &5
+- *1
+- inc\
+colour: true
+:unity:
+ :plugins: []
+:tools:
+ :test_compiler:
+ :name: compiler
+ :executable:
+ - *2
+ - icc430.exe
+ :arguments:
+ - "--dlib_config"
+ - - *3
+ - dlib\dl430fn.h
+ - "--no_cse"
+ - "--no_unroll"
+ - "--no_inline"
+ - "--no_code_motion"
+ - "--no_tbaa"
+ - "--debug"
+ - "-e"
+ - "-Ol"
+ - "--multiplier=16"
+ - "--double=32"
+ - "--diag_suppress Pa050"
+ - "--diag_suppress Pe111"
+ - '-I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE'
+ - '-I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR'
+ - "-D$: COLLECTION_DEFINES_TEST_AND_VENDOR"
+ - "${1}"
+ - "-o ${2}"
+ :test_linker:
+ :name: linker
+ :executable:
+ - *2
+ - xlink.exe
+ :arguments:
+ - "${1}"
+ - "-rt"
+ - - *3
+ - dlib\dl430fn.r43
+ - "-e_PrintfTiny=_Printf"
+ - "-e_ScanfSmall=_Scanf"
+ - "-s __program_start"
+ - "-D_STACK_SIZE=50"
+ - "-D_DATA16_HEAP_SIZE=50"
+ - "-D_DATA20_HEAP_SIZE=50"
+ - "-f"
+ - - *4
+ - lnk430f5438.xcl
+ - "-f"
+ - - *4
+ - multiplier.xcl
+ - "-o ${2}"
+ :test_fixture:
+ :name: simulator
+ :executable:
+ - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\
+ - common\bin\CSpyBat.exe
+ :arguments:
+ - "--silent"
+ - - *2
+ - 430proc.dll
+ - - *2
+ - 430sim.dll
+ - "${1}"
+ - "--plugin"
+ - - *2
+ - 430bat.dll
+ - "--backend -B"
+ - "--cpu MSP430F5438"
+ - "-p"
+ - - *4
+ - MSP430F5438.ddf
+ - "-d sim"
+:extension:
+ :object: ".r43"
+ :executable: ".d79"
+:paths:
+ :test:
+ - *5
+ - - *5
+ - dlib
+ - - *3
+ - dlib
+ - src\
+ - "../src/"
+ - testdata/
+ - tests\
+ - vendor\unity\src
+:defines:
+ :test:
+ - __MSP430F149__
+ - INT_WIDTH=16
+ - UNITY_EXCLUDE_FLOAT
+ - UNITY_SUPPORT_TEST_CASES