ceedling 0.28.2 → 0.28.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/ceedling +3 -0
- data/assets/ceedling.cmd +1 -0
- data/assets/default_gitignore +5 -0
- data/assets/project_with_guts.yml +1 -0
- data/assets/project_with_guts_gcov.yml +3 -0
- data/assets/test_example_file_verbose.c +12 -0
- data/bin/ceedling +30 -6
- data/docs/CeedlingPacket.md +135 -23
- data/docs/CeedlingPacket.odt +0 -0
- data/examples/blinky/rakefile.rb +2 -1
- data/lib/ceedling/configurator.rb +7 -5
- data/lib/ceedling/configurator_builder.rb +10 -7
- data/lib/ceedling/configurator_plugins.rb +29 -24
- data/lib/ceedling/configurator_setup.rb +0 -1
- data/lib/ceedling/defaults.rb +7 -2
- data/lib/ceedling/dependinator.rb +10 -2
- data/lib/ceedling/file_finder.rb +57 -49
- data/lib/ceedling/file_path_utils.rb +12 -4
- data/lib/ceedling/file_wrapper.rb +4 -0
- data/lib/ceedling/generator.rb +4 -3
- data/lib/ceedling/generator_test_results.rb +15 -13
- data/lib/ceedling/plugin_manager.rb +18 -18
- data/lib/ceedling/plugin_reportinator.rb +3 -2
- data/lib/ceedling/plugin_reportinator_helper.rb +2 -3
- data/lib/ceedling/preprocessinator_extractor.rb +2 -2
- data/lib/ceedling/preprocessinator_includes_handler.rb +5 -0
- data/lib/ceedling/rakefile.rb +1 -0
- data/lib/ceedling/release_invoker_helper.rb +5 -2
- data/lib/ceedling/rules_release.rake +2 -1
- data/lib/ceedling/rules_tests.rake +18 -9
- data/lib/ceedling/rules_tests_deep_dependencies.rake +2 -2
- data/lib/ceedling/task_invoker.rb +15 -3
- data/lib/ceedling/tasks_vendor.rake +3 -3
- data/lib/ceedling/test_invoker.rb +39 -12
- data/lib/ceedling/test_invoker_helper.rb +5 -1
- data/lib/ceedling/tool_executor.rb +8 -4
- data/lib/ceedling/version.rb +1 -1
- data/out.fail +21 -0
- data/plugins/beep/README.md +22 -0
- data/plugins/beep/lib/beep.rb +40 -0
- data/plugins/bullseye/bullseye.rake +43 -36
- data/plugins/bullseye/config/defaults.yml +4 -0
- data/plugins/bullseye/lib/bullseye.rb +27 -5
- data/plugins/command_hooks/lib/command_hooks.rb +3 -0
- data/plugins/gcov/README.md +34 -1
- data/plugins/gcov/config/defaults.yml +3 -3
- data/plugins/gcov/gcov.rake +7 -5
- data/plugins/gcov/lib/gcov.rb +3 -1
- data/plugins/gcov/lib/gcov_constants.rb +2 -0
- data/plugins/junit_tests_report/lib/junit_tests_report.rb +12 -9
- data/plugins/module_generator/lib/module_generator.rb +14 -1
- data/plugins/module_generator/module_generator.rake +21 -4
- data/plugins/raw_output_report/lib/raw_output_report.rb +41 -0
- data/spec/gcov/gcov_deployment_spec.rb +1 -1
- data/spec/gcov/gcov_test_cases_spec.rb +2 -2
- data/spec/generator_test_results_spec.rb +5 -0
- data/spec/preprocessinator_includes_handler_spec.rb +1 -0
- data/spec/spec_system_helper.rb +178 -4
- data/spec/support/test_example.fail +1 -0
- data/spec/support/test_example.pass +1 -0
- data/spec/support/test_example_empty.pass +1 -0
- data/spec/support/test_example_ignore.pass +1 -0
- data/spec/support/test_example_mangled.pass +1 -0
- data/spec/support/test_example_with_time.pass +22 -0
- data/spec/system/deployment_spec.rb +33 -0
- data/vendor/cmock/README.md +4 -3
- data/vendor/cmock/docs/CMock_Summary.md +1 -1
- data/vendor/cmock/lib/cmock_config.rb +4 -0
- data/vendor/cmock/lib/cmock_generator.rb +5 -2
- data/vendor/cmock/lib/cmock_generator_plugin_array.rb +4 -4
- data/vendor/cmock/lib/cmock_generator_plugin_callback.rb +9 -11
- data/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +0 -1
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +2 -3
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_arg.rb +2 -4
- data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +0 -2
- data/vendor/cmock/lib/cmock_generator_utils.rb +16 -3
- data/vendor/cmock/lib/cmock_header_parser.rb +59 -34
- data/vendor/cmock/release/build.info +1 -1
- data/vendor/cmock/release/version.info +1 -1
- data/vendor/cmock/scripts/create_makefile.rb +17 -2
- data/vendor/cmock/src/cmock.c +13 -7
- data/vendor/cmock/test/test_helper.rb +11 -10
- data/vendor/cmock/test/unit/cmock_config_test.rb +4 -2
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +10 -4
- data/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +20 -12
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_a_test.rb +2 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +2 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_arg_test.rb +3 -3
- data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +8 -6
- data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +27 -10
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +108 -20
- data/vendor/cmock/vendor/c_exception/Gemfile +4 -0
- data/vendor/cmock/vendor/c_exception/Gemfile.lock +12 -0
- data/vendor/cmock/vendor/c_exception/LICENSE.txt +30 -0
- data/vendor/cmock/vendor/c_exception/README.md +162 -0
- data/vendor/cmock/vendor/c_exception/Rakefile +42 -0
- data/vendor/cmock/vendor/c_exception/docs/CException.md +292 -0
- data/vendor/cmock/vendor/c_exception/docs/ThrowTheSwitchCodingStandard.md +207 -0
- data/vendor/cmock/vendor/c_exception/lib/CException.c +46 -0
- data/vendor/cmock/vendor/c_exception/lib/CException.h +110 -0
- data/vendor/cmock/vendor/c_exception/makefile +24 -0
- data/vendor/cmock/vendor/c_exception/release/build.info +2 -0
- data/vendor/cmock/vendor/c_exception/release/version.info +2 -0
- data/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +46 -0
- data/vendor/cmock/vendor/c_exception/test/TestException.c +391 -0
- data/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +67 -0
- data/vendor/cmock/vendor/unity/README.md +231 -0
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +118 -0
- data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +39 -0
- data/vendor/cmock/vendor/unity/auto/generate_config.yml +36 -0
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +308 -0
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +457 -0
- data/vendor/cmock/vendor/unity/auto/parse_output.rb +323 -0
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +252 -0
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +25 -0
- data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +6 -0
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +139 -0
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +136 -0
- data/vendor/cmock/vendor/unity/auto/unity_to_junit.py +146 -0
- data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +206 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +779 -0
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +433 -0
- data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.md +192 -0
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +260 -0
- data/vendor/cmock/vendor/unity/docs/license.txt +21 -0
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +71 -0
- data/vendor/cmock/vendor/unity/examples/example_1/readme.txt +5 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +24 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +3 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +11 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +2 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +62 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +31 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +53 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +57 -0
- data/vendor/cmock/vendor/unity/examples/example_2/makefile +70 -0
- data/vendor/cmock/vendor/unity/examples/example_2/readme.txt +5 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +24 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +3 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +11 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +2 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +64 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +33 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +9 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +11 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +12 -0
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +10 -0
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +12 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +43 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +249 -0
- data/vendor/cmock/vendor/unity/examples/example_3/readme.txt +13 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +24 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +3 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +11 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +2 -0
- data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +46 -0
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +62 -0
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +31 -0
- data/vendor/cmock/vendor/unity/examples/unity_config.h +247 -0
- data/vendor/cmock/vendor/unity/extras/eclipse/error_parsers.txt +26 -0
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +48 -0
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/vendor/cmock/vendor/unity/extras/fixture/readme.txt +9 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +436 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +83 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +51 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +47 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/Makefile +75 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +22 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +39 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +543 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +57 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +57 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/vendor/cmock/vendor/unity/release/build.info +2 -0
- data/vendor/cmock/vendor/unity/release/version.info +2 -0
- data/vendor/cmock/vendor/unity/src/unity.c +1572 -0
- data/vendor/cmock/vendor/unity/src/unity.h +503 -0
- data/vendor/cmock/vendor/unity/src/unity_internals.h +924 -0
- data/vendor/cmock/vendor/unity/test/Makefile +68 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +61 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +57 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +55 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.h +15 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +80 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +76 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +75 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.h +13 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +77 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +90 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +67 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +70 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +58 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +67 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +70 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +71 -0
- data/vendor/cmock/vendor/unity/test/rakefile +125 -0
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +260 -0
- data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +158 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +78 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +78 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +49 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +50 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +47 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +59 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +47 -0
- data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +101 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +90 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +80 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +80 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +94 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +84 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +95 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +86 -0
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +11 -0
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +14 -0
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +13 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +186 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +70 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +195 -0
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1252 -0
- data/vendor/cmock/vendor/unity/test/tests/testparameterized.c +113 -0
- data/vendor/cmock/vendor/unity/test/tests/testunity.c +5371 -0
- data/vendor/unity/auto/generate_test_runner.rb +30 -10
- data/vendor/unity/auto/parse_output.rb +212 -109
- data/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +9 -10
- data/vendor/unity/docs/UnityAssertionsReference.md +11 -2
- data/vendor/unity/docs/UnityConfigurationGuide.md +90 -55
- data/vendor/unity/docs/UnityGettingStartedGuide.md +6 -5
- data/vendor/unity/docs/UnityHelperScriptsGuide.md +23 -5
- data/vendor/unity/examples/unity_config.h +8 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.c +4 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.h +1 -1
- data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +2 -2
- data/vendor/unity/release/build.info +1 -1
- data/vendor/unity/release/version.info +1 -1
- data/vendor/unity/src/unity.c +64 -57
- data/vendor/unity/src/unity.h +111 -7
- data/vendor/unity/src/unity_internals.h +173 -73
- data/vendor/unity/test/Makefile +5 -1
- data/vendor/unity/test/testdata/testRunnerGenerator.c +4 -1
- data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +4 -1
- data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +4 -1
- data/vendor/unity/test/tests/testparameterized.c +5 -2
- data/vendor/unity/test/tests/testunity.c +34 -0
- metadata +150 -2
@@ -0,0 +1,90 @@
|
|
1
|
+
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\'
|
2
|
+
compiler:
|
3
|
+
path: [*tools_root, 'arm\bin\iccarm.exe']
|
4
|
+
source_path: '..\src\'
|
5
|
+
unit_tests_path: &unit_tests_path 'tests\'
|
6
|
+
build_path: &build_path 'build\'
|
7
|
+
options:
|
8
|
+
- --dlib_config
|
9
|
+
- [*tools_root, 'arm\lib\dl4tptinl8n.h']
|
10
|
+
- -z3
|
11
|
+
- --no_cse
|
12
|
+
- --no_unroll
|
13
|
+
- --no_inline
|
14
|
+
- --no_code_motion
|
15
|
+
- --no_tbaa
|
16
|
+
- --no_clustering
|
17
|
+
- --no_scheduling
|
18
|
+
- --debug
|
19
|
+
- --cpu_mode thumb
|
20
|
+
- --endian little
|
21
|
+
- --cpu ARM7TDMI
|
22
|
+
- --stack_align 4
|
23
|
+
- --interwork
|
24
|
+
- -e
|
25
|
+
- --silent
|
26
|
+
- --warnings_are_errors
|
27
|
+
- --fpu None
|
28
|
+
- --diag_suppress Pa050
|
29
|
+
includes:
|
30
|
+
prefix: '-I'
|
31
|
+
items:
|
32
|
+
- [*tools_root, 'arm\inc\']
|
33
|
+
- 'src\'
|
34
|
+
- '..\src\'
|
35
|
+
- 'testdata/'
|
36
|
+
- *unit_tests_path
|
37
|
+
- 'vendor\unity\src\'
|
38
|
+
defines:
|
39
|
+
prefix: '-D'
|
40
|
+
items:
|
41
|
+
- UNITY_SUPPORT_64
|
42
|
+
- 'UNITY_SUPPORT_TEST_CASES'
|
43
|
+
object_files:
|
44
|
+
prefix: '-o'
|
45
|
+
extension: '.r79'
|
46
|
+
destination: *build_path
|
47
|
+
linker:
|
48
|
+
path: [*tools_root, 'common\bin\xlink.exe']
|
49
|
+
options:
|
50
|
+
- -rt
|
51
|
+
- [*tools_root, 'arm\lib\dl4tptinl8n.r79']
|
52
|
+
- -D_L_EXTMEM_START=0
|
53
|
+
- -D_L_EXTMEM_SIZE=0
|
54
|
+
- -D_L_HEAP_SIZE=120
|
55
|
+
- -D_L_STACK_SIZE=32
|
56
|
+
- -e_small_write=_formatted_write
|
57
|
+
- -s
|
58
|
+
- __program_start
|
59
|
+
- -f
|
60
|
+
- [*tools_root, '\arm\config\lnkarm.xcl']
|
61
|
+
includes:
|
62
|
+
prefix: '-I'
|
63
|
+
items:
|
64
|
+
- [*tools_root, 'arm\config\']
|
65
|
+
- [*tools_root, 'arm\lib\']
|
66
|
+
object_files:
|
67
|
+
path: *build_path
|
68
|
+
extension: '.r79'
|
69
|
+
bin_files:
|
70
|
+
prefix: '-o'
|
71
|
+
extension: '.d79'
|
72
|
+
destination: *build_path
|
73
|
+
simulator:
|
74
|
+
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
75
|
+
pre_support:
|
76
|
+
- --silent
|
77
|
+
- [*tools_root, 'arm\bin\armproc.dll']
|
78
|
+
- [*tools_root, 'arm\bin\armsim.dll']
|
79
|
+
post_support:
|
80
|
+
- --plugin
|
81
|
+
- [*tools_root, 'arm\bin\armbat.dll']
|
82
|
+
- --backend
|
83
|
+
- -B
|
84
|
+
- -p
|
85
|
+
- [*tools_root, 'arm\config\ioat91sam7X256.ddf']
|
86
|
+
- -d
|
87
|
+
- sim
|
88
|
+
colour: true
|
89
|
+
:unity:
|
90
|
+
:plugins: []
|
@@ -0,0 +1,80 @@
|
|
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 'tests\'
|
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
|
+
- [*tools_root, 'arm\inc\']
|
32
|
+
- 'src\'
|
33
|
+
- '..\src\'
|
34
|
+
- 'testdata/'
|
35
|
+
- *unit_tests_path
|
36
|
+
- 'vendor\unity\src\'
|
37
|
+
- 'iar\iar_v5\incIAR\'
|
38
|
+
defines:
|
39
|
+
prefix: '-D'
|
40
|
+
items:
|
41
|
+
- UNITY_SUPPORT_64
|
42
|
+
- 'UNITY_SUPPORT_TEST_CASES'
|
43
|
+
object_files:
|
44
|
+
prefix: '-o'
|
45
|
+
extension: '.r79'
|
46
|
+
destination: *build_path
|
47
|
+
linker:
|
48
|
+
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
49
|
+
options:
|
50
|
+
- --redirect _Printf=_PrintfLarge
|
51
|
+
- --redirect _Scanf=_ScanfSmall
|
52
|
+
- --semihosting
|
53
|
+
- --entry __iar_program_start
|
54
|
+
- --config
|
55
|
+
- [*tools_root, 'arm\config\generic.icf']
|
56
|
+
object_files:
|
57
|
+
path: *build_path
|
58
|
+
extension: '.o'
|
59
|
+
bin_files:
|
60
|
+
prefix: '-o'
|
61
|
+
extension: '.out'
|
62
|
+
destination: *build_path
|
63
|
+
simulator:
|
64
|
+
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
65
|
+
pre_support:
|
66
|
+
- --silent
|
67
|
+
- [*tools_root, 'arm\bin\armproc.dll']
|
68
|
+
- [*tools_root, 'arm\bin\armsim.dll']
|
69
|
+
post_support:
|
70
|
+
- --plugin
|
71
|
+
- [*tools_root, 'arm\bin\armbat.dll']
|
72
|
+
- --backend
|
73
|
+
- -B
|
74
|
+
- -p
|
75
|
+
- [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf']
|
76
|
+
- -d
|
77
|
+
- sim
|
78
|
+
colour: true
|
79
|
+
:unity:
|
80
|
+
:plugins: []
|
@@ -0,0 +1,80 @@
|
|
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 'tests\'
|
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
|
+
- [*tools_root, 'arm\inc\']
|
32
|
+
- 'src\'
|
33
|
+
- '..\src\'
|
34
|
+
- 'testdata/'
|
35
|
+
- *unit_tests_path
|
36
|
+
- 'vendor\unity\src\'
|
37
|
+
- 'iar\iar_v5\incIAR\'
|
38
|
+
defines:
|
39
|
+
prefix: '-D'
|
40
|
+
items:
|
41
|
+
- UNITY_SUPPORT_64
|
42
|
+
- 'UNITY_SUPPORT_TEST_CASES'
|
43
|
+
object_files:
|
44
|
+
prefix: '-o'
|
45
|
+
extension: '.r79'
|
46
|
+
destination: *build_path
|
47
|
+
linker:
|
48
|
+
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
49
|
+
options:
|
50
|
+
- --redirect _Printf=_PrintfLarge
|
51
|
+
- --redirect _Scanf=_ScanfSmall
|
52
|
+
- --semihosting
|
53
|
+
- --entry __iar_program_start
|
54
|
+
- --config
|
55
|
+
- [*tools_root, 'arm\config\generic.icf']
|
56
|
+
object_files:
|
57
|
+
path: *build_path
|
58
|
+
extension: '.o'
|
59
|
+
bin_files:
|
60
|
+
prefix: '-o'
|
61
|
+
extension: '.out'
|
62
|
+
destination: *build_path
|
63
|
+
simulator:
|
64
|
+
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
65
|
+
pre_support:
|
66
|
+
- --silent
|
67
|
+
- [*tools_root, 'arm\bin\armproc.dll']
|
68
|
+
- [*tools_root, 'arm\bin\armsim.dll']
|
69
|
+
post_support:
|
70
|
+
- --plugin
|
71
|
+
- [*tools_root, 'arm\bin\armbat.dll']
|
72
|
+
- --backend
|
73
|
+
- -B
|
74
|
+
- -p
|
75
|
+
- [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf']
|
76
|
+
- -d
|
77
|
+
- sim
|
78
|
+
colour: true
|
79
|
+
:unity:
|
80
|
+
:plugins: []
|
@@ -0,0 +1,94 @@
|
|
1
|
+
#Default tool path for IAR 5.4 on Windows XP 64bit
|
2
|
+
tools_root: &tools_root 'C:\Program Files (x86)\IAR Systems\Embedded Workbench 5.4 Kickstart\'
|
3
|
+
compiler:
|
4
|
+
path: [*tools_root, 'arm\bin\iccarm.exe']
|
5
|
+
source_path: '..\src\'
|
6
|
+
unit_tests_path: &unit_tests_path 'tests\'
|
7
|
+
build_path: &build_path 'build\'
|
8
|
+
options:
|
9
|
+
- --diag_suppress=Pa050
|
10
|
+
#- --diag_suppress=Pe111
|
11
|
+
- --debug
|
12
|
+
- --endian=little
|
13
|
+
- --cpu=Cortex-M3
|
14
|
+
- --no_path_in_file_macros
|
15
|
+
- -e
|
16
|
+
- --fpu=None
|
17
|
+
- --dlib_config
|
18
|
+
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
19
|
+
#- --preinclude --preinclude C:\Vss\T2 Working\common\system.h
|
20
|
+
- --interwork
|
21
|
+
- --warnings_are_errors
|
22
|
+
# - Ohz
|
23
|
+
- -Oh
|
24
|
+
# - --no_cse
|
25
|
+
# - --no_unroll
|
26
|
+
# - --no_inline
|
27
|
+
# - --no_code_motion
|
28
|
+
# - --no_tbaa
|
29
|
+
# - --no_clustering
|
30
|
+
# - --no_scheduling
|
31
|
+
|
32
|
+
includes:
|
33
|
+
prefix: '-I'
|
34
|
+
items:
|
35
|
+
- [*tools_root, 'arm\inc\']
|
36
|
+
- 'src\'
|
37
|
+
- '..\src\'
|
38
|
+
- 'testdata/'
|
39
|
+
- *unit_tests_path
|
40
|
+
- 'vendor\unity\src\'
|
41
|
+
- 'iar\iar_v5\incIAR\'
|
42
|
+
defines:
|
43
|
+
prefix: '-D'
|
44
|
+
items:
|
45
|
+
- ewarm
|
46
|
+
- PART_LM3S9B92
|
47
|
+
- TARGET_IS_TEMPEST_RB1
|
48
|
+
- USE_ROM_DRIVERS
|
49
|
+
- UART_BUFFERED
|
50
|
+
- UNITY_SUPPORT_64
|
51
|
+
object_files:
|
52
|
+
prefix: '-o'
|
53
|
+
extension: '.r79'
|
54
|
+
destination: *build_path
|
55
|
+
linker:
|
56
|
+
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
57
|
+
options:
|
58
|
+
- --redirect _Printf=_PrintfLarge
|
59
|
+
- --redirect _Scanf=_ScanfSmall
|
60
|
+
- --semihosting
|
61
|
+
- --entry __iar_program_start
|
62
|
+
- --config
|
63
|
+
- [*tools_root, 'arm\config\generic.icf']
|
64
|
+
# - ['C:\Temp\lm3s9b92.icf']
|
65
|
+
object_files:
|
66
|
+
path: *build_path
|
67
|
+
extension: '.o'
|
68
|
+
bin_files:
|
69
|
+
prefix: '-o'
|
70
|
+
extension: '.out'
|
71
|
+
destination: *build_path
|
72
|
+
simulator:
|
73
|
+
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
74
|
+
pre_support:
|
75
|
+
#- --silent
|
76
|
+
- [*tools_root, 'arm\bin\armproc.dll']
|
77
|
+
- [*tools_root, 'arm\bin\armsim2.dll']
|
78
|
+
post_support:
|
79
|
+
- --plugin
|
80
|
+
- [*tools_root, 'arm\bin\armbat.dll']
|
81
|
+
- --backend
|
82
|
+
- -B
|
83
|
+
- --endian=little
|
84
|
+
- --cpu=Cortex-M3
|
85
|
+
- --fpu=None
|
86
|
+
- -p
|
87
|
+
- [*tools_root, 'arm\config\debugger\TexasInstruments\iolm3sxxxx.ddf']
|
88
|
+
- --semihosting
|
89
|
+
- --device=LM3SxBxx
|
90
|
+
#- -d
|
91
|
+
#- sim
|
92
|
+
colour: true
|
93
|
+
:unity:
|
94
|
+
:plugins: []
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# unit testing under iar compiler / simulator for STM32 Cortex-M3
|
2
|
+
|
3
|
+
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.4\'
|
4
|
+
compiler:
|
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
|
50
|
+
linker:
|
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
|
66
|
+
simulator:
|
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
|
82
|
+
colour: true
|
83
|
+
:unity:
|
84
|
+
:plugins: []
|
@@ -0,0 +1,95 @@
|
|
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: []
|