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
cJSON / tests / unity / test / targets / iar_msp430.yml
| 1 | tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\' |
| 2 | core_root: &core_root [*tools_root, '430\'] |
| 3 | core_bin: &core_bin [*core_root, 'bin\'] |
| 4 | core_config: &core_config [*core_root, 'config\'] |
| 5 | core_lib: &core_lib [*core_root, 'lib\'] |
| 6 | core_inc: &core_inc [*core_root, 'inc\'] |
| 7 | core_config: &core_config [*core_root, 'config\'] |
| 8 | |
| 9 | compiler: |
| 10 | path: [*core_bin, 'icc430.exe'] |
| 11 | source_path: '..\src\' |
| 12 | unit_tests_path: &unit_tests_path 'tests\' |
| 13 | build_path: &build_path 'build\' |
| 14 | options: |
| 15 | - --dlib_config |
| 16 | - [*core_lib, 'dlib\dl430fn.h'] |
| 17 | - --no_cse |
| 18 | - --no_unroll |
| 19 | - --no_inline |
| 20 | - --no_code_motion |
| 21 | - --no_tbaa |
| 22 | - --debug |
| 23 | - -e |
| 24 | - -Ol |
| 25 | - --multiplier=16 |
| 26 | - --double=32 |
| 27 | - --diag_suppress Pa050 |
| 28 | - --diag_suppress Pe111 |
| 29 | includes: |
| 30 | prefix: '-I' |
| 31 | items: |
| 32 | - *core_inc |
| 33 | - [*core_inc, 'dlib'] |
| 34 | - [*core_lib, 'dlib'] |
| 35 | - 'src\' |
| 36 | - '../src/' |
| 37 | - 'testdata/' |
| 38 | - *unit_tests_path |
| 39 | - 'vendor\unity\src' |
| 40 | defines: |
| 41 | prefix: '-D' |
| 42 | items: |
| 43 | - '__MSP430F149__' |
| 44 | - 'INT_WIDTH=16' |
| 45 | - 'UNITY_EXCLUDE_FLOAT' |
| 46 | - 'UNITY_SUPPORT_TEST_CASES' |
| 47 | object_files: |
| 48 | prefix: '-o' |
| 49 | extension: '.r43' |
| 50 | destination: *build_path |
| 51 | linker: |
| 52 | path: [*core_bin, 'xlink.exe'] |
| 53 | options: |
| 54 | - -rt |
| 55 | - [*core_lib, 'dlib\dl430fn.r43'] |
| 56 | - -e_PrintfTiny=_Printf |
| 57 | - -e_ScanfSmall=_Scanf |
| 58 | - -s __program_start |
| 59 | - -D_STACK_SIZE=50 |
| 60 | - -D_DATA16_HEAP_SIZE=50 |
| 61 | - -D_DATA20_HEAP_SIZE=50 |
| 62 | - -f |
| 63 | - [*core_config, 'lnk430f5438.xcl'] |
| 64 | - -f |
| 65 | - [*core_config, 'multiplier.xcl'] |
| 66 | includes: |
| 67 | prefix: '-I' |
| 68 | items: |
| 69 | - *core_config |
| 70 | - *core_lib |
| 71 | - [*core_lib, 'dlib'] |
| 72 | object_files: |
| 73 | path: *build_path |
| 74 | extension: '.r79' |
| 75 | bin_files: |
| 76 | prefix: '-o' |
| 77 | extension: '.d79' |
| 78 | destination: *build_path |
| 79 | simulator: |
| 80 | path: [*tools_root, 'common\bin\CSpyBat.exe'] |
| 81 | pre_support: |
| 82 | - --silent |
| 83 | - [*core_bin, '430proc.dll'] |
| 84 | - [*core_bin, '430sim.dll'] |
| 85 | post_support: |
| 86 | - --plugin |
| 87 | - [*core_bin, '430bat.dll'] |
| 88 | - --backend -B |
| 89 | - --cpu MSP430F5438 |
| 90 | - -p |
| 91 | - [*core_config, 'MSP430F5438.ddf'] |
| 92 | - -d sim |
| 93 | colour: true |
| 94 | :unity: |
| 95 | :plugins: [] |