interplane.Get Omega
Read in your language

cJSON

[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)

Brought by drakestapleton

branch master Branches Tags History

cJSON / tests / unity / test / targets / iar_cortexm3_v5.yml

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