Sha256: 7ead8d5306febfba2f3f996f6fa2cbacc46260e8c20b8a03a978751d0b1bd1e8

Contents?: true

Size: 1.94 KB

Versions: 6

Compression:

Stored size: 1.94 KB

Contents

# unit testing under iar compiler / simulator for STM32 Cortex-M3

tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.4\'
compiler:
 path: [*tools_root, 'arm\bin\iccarm.exe']
 source_path: '..\src\'
 unit_tests_path: &unit_tests_path 'tests\'
 build_path: &build_path 'build\'
 options:
   - --dlib_config
   - [*tools_root, 'arm\inc\DLib_Config_Normal.h']
   - --no_cse
   - --no_unroll
   - --no_inline
   - --no_code_motion
   - --no_tbaa
   - --no_clustering
   - --no_scheduling
   - --debug
   - --cpu_mode thumb
   - --endian=little
   - --cpu=Cortex-M3
   - --interwork
   - --warnings_are_errors
   - --fpu=None
   - --diag_suppress=Pa050
   - --diag_suppress=Pe111
   - -e
   - -On
 includes:
   prefix: '-I'
   items:
     - [*tools_root, 'arm\inc\']
     - 'src\'
      - '..\src\'
      - 'testdata/'
     - *unit_tests_path
     - 'vendor\unity\src\'
     - 'iar\iar_v5\incIAR\'
 defines:
   prefix: '-D'
   items:
     - 'IAR'
     - 'UNITY_SUPPORT_64'
     - 'UNITY_SUPPORT_TEST_CASES'
 object_files:
   prefix: '-o'
   extension: '.r79'
   destination: *build_path
linker:
 path: [*tools_root, 'arm\bin\ilinkarm.exe']
 options:
   - --redirect _Printf=_PrintfLarge
   - --redirect _Scanf=_ScanfSmall
   - --semihosting
   - --entry __iar_program_start
   - --config
   - [*tools_root, 'arm\config\generic_cortex.icf']
 object_files:
   path: *build_path
   extension: '.o'
 bin_files:
   prefix: '-o'
   extension: '.out'
   destination: *build_path
simulator:
 path: [*tools_root, 'common\bin\CSpyBat.exe']
 pre_support:
   - --silent
   - [*tools_root, 'arm\bin\armproc.dll']
   - [*tools_root, 'arm\bin\armsim.dll']
 post_support:
   - --plugin
   - [*tools_root, 'arm\bin\armbat.dll']
   - --backend
   - -B
   - -p
   - [*tools_root, 'arm\config\debugger\ST\iostm32f107xx.ddf']
   - --cpu=Cortex-M3
   - -d
   - sim
colour: true
:unity:
  :plugins: []

Version data entries

6 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.29.1 vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml
ceedling-0.29.1 vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml
ceedling-0.29.1 vendor/unity/test/targets/iar_cortexm3_v5.yml
ceedling-0.29.0 vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml
ceedling-0.29.0 vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml
ceedling-0.29.0 vendor/unity/test/targets/iar_cortexm3_v5.yml