| 1 | tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\' |
| 2 | compiler: |
| 3 | path: [*tools_root, 'arm\bin\iccarm.exe'] |
| 4 | source_path: 'src\' |
| 5 | unit_tests_path: &unit_tests_path 'test\' |
| 6 | build_path: &build_path 'build\' |
| 7 | options: |
| 8 | - --dlib_config |
| 9 | - [*tools_root, 'arm\inc\DLib_Config_Normal.h'] |
| 10 | - --no_cse |
| 11 | - --no_unroll |
| 12 | - --no_inline |
| 13 | - --no_code_motion |
| 14 | - --no_tbaa |
| 15 | - --no_clustering |
| 16 | - --no_scheduling |
| 17 | - --debug |
| 18 | - --cpu_mode thumb |
| 19 | - --endian=little |
| 20 | - --cpu=ARM7TDMI |
| 21 | - --interwork |
| 22 | - --warnings_are_errors |
| 23 | - --fpu=None |
| 24 | - --diag_suppress=Pa050 |
| 25 | - --diag_suppress=Pe111 |
| 26 | - -e |
| 27 | - -On |
| 28 | includes: |
| 29 | prefix: '-I' |
| 30 | items: |
| 31 | - 'src/' |
| 32 | - '../../src/' |
| 33 | - '../../vendor/unity/src/' |
| 34 | - '../../vendor/unity/examples/example_3/helper/' |
| 35 | - './build/mocks/' |
| 36 | - [*tools_root, 'arm\inc\'] |
| 37 | - *unit_tests_path |
| 38 | defines: |
| 39 | prefix: '-D' |
| 40 | items: |
| 41 | object_files: |
| 42 | prefix: '-o' |
| 43 | extension: '.r79' |
| 44 | destination: *build_path |
| 45 | linker: |
| 46 | path: [*tools_root, 'arm\bin\ilinkarm.exe'] |
| 47 | options: |
| 48 | - --redirect _Printf=_PrintfLarge |
| 49 | - --redirect _Scanf=_ScanfSmall |
| 50 | - --semihosting |
| 51 | - --entry __iar_program_start |
| 52 | - --config |
| 53 | - [*tools_root, 'arm\config\generic.icf'] |
| 54 | object_files: |
| 55 | path: *build_path |
| 56 | extension: '.o' |
| 57 | bin_files: |
| 58 | prefix: '-o' |
| 59 | extension: '.out' |
| 60 | destination: *build_path |
| 61 | simulator: |
| 62 | path: [*tools_root, 'common\bin\CSpyBat.exe'] |
| 63 | pre_support: |
| 64 | - --silent |
| 65 | - [*tools_root, 'arm\bin\armproc.dll'] |
| 66 | - [*tools_root, 'arm\bin\armsim.dll'] |
| 67 | post_support: |
| 68 | - --plugin |
| 69 | - [*tools_root, 'arm\bin\armbat.dll'] |
| 70 | - --backend |
| 71 | - -B |
| 72 | - -p |
| 73 | - [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf'] |
| 74 | - -d |
| 75 | - sim |
| 76 | :cmock: |
| 77 | :plugins: [] |
| 78 | :includes: |
| 79 | - Types.h |
| 80 | :mock_path: ./build/mocks |
| 81 |