# =========================================================================
#   Unity - A Test Framework for C
#   ThrowTheSwitch.org
#   Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
#   SPDX-License-Identifier: MIT
# =========================================================================

---
:tools:
  :test_compiler:
    :name: compiler
    :executable:  C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\bin\icc430.exe
    :arguments:
    - "--dlib_config"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\lib\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"${5}"'
    - "-D${6}"
    - "${1}"
    - "-o ${2}"
  :test_linker:
    :name: linker
    :executable: C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\bin\xlink.exe
    :arguments:
    - "${1}"
    - "-rt"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\lib\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"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\config\lnk430f5438.xcl
    - "-f"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\config\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"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\bin\430proc.dll
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\bin\430sim.dll
    - "${1}"
    - "--plugin"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\bin\430bat.dll
    - "--backend -B"
    - "--cpu MSP430F5438"
    - "-p"
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\config\MSP430F5438.ddf
    - "-d sim"
:extension:
  :object: ".r43"
  :executable: ".d79"
:paths:
  :test:
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\inc\
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\inc\dlib
    - C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\430\lib\dlib
    - src\
    - "../src/"
    - testdata/
    - tests\
    - vendor\unity\src
:defines:
  :test:
  - __MSP430F149__
  - INT_WIDTH=16
  - UNITY_EXCLUDE_FLOAT
  - UNITY_SUPPORT_TEST_CASES
