iar_arm_v5.yml 1.9 KB
Newer Older
M
mvandervoord 已提交
1
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
2 3
compiler:
  path:             [*tools_root, 'arm\bin\iccarm.exe']
4 5
  source_path:      '..\src\'
  unit_tests_path:  &unit_tests_path 'tests\'
6 7 8 9 10 11 12 13 14 15
  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
16
    - --no_scheduling
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
    - --debug
    - --cpu_mode thumb
    - --endian=little
    - --cpu=ARM7TDMI
    - --interwork
    - --warnings_are_errors
    - --fpu=None
    - --diag_suppress=Pa050
    - --diag_suppress=Pe111
    - -e
    - -On
  includes:
    prefix: '-I'
    items:
      - [*tools_root, 'arm\inc\']
      - 'src\'
33
      - '..\src\'
34 35 36 37 38 39
      - *unit_tests_path
      - 'vendor\unity\src\'
      - 'iar\iar_v5\incIAR\'
  defines:
    prefix: '-D'
    items:
M
mvandervoord 已提交
40
      - UNITY_SUPPORT_64
41
      - 'UNITY_SUPPORT_TEST_CASES'
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
  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.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\atmel\ioat91sam7X256.ddf']
    - -d
76
    - sim
77 78
colour: true
:unity:
79
  :plugins: []