ceedling 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/examples/temp_sensor/src/TimerInterruptConfigurator.h +1 -1
- data/lib/ceedling/defaults.rb +15 -16
- data/lib/ceedling/generator.rb +22 -20
- data/lib/ceedling/generator_test_runner.rb +14 -13
- data/lib/ceedling/version.rb +1 -1
- data/lib/ceedling/version.rb.erb +1 -1
- data/plugins/stdout_pretty_tests_report/assets/template.erb +13 -13
- data/release/build.info +1 -1
- data/release/version.info +1 -1
- data/spec/ceedling_spec.rb +14 -14
- data/spec/spec_system_helper.rb +6 -6
- data/vendor/cmock/examples/src/TimerInterruptConfigurator.h +1 -1
- data/vendor/cmock/release/build.info +1 -1
- data/vendor/unity/auto/generate_test_runner.rb +4 -4
- data/vendor/unity/examples/example_3/rakefile.rb +0 -1
- data/vendor/unity/src/unity.c +1 -2
- data/vendor/unity/src/unity.h +12 -47
- data/vendor/unity/src/unity_internals.h +60 -4
- data/vendor/unity/{Rakefile → test/rakefile} +1 -7
- data/vendor/unity/{rakefile_helper.rb → test/rakefile_helper.rb} +3 -3
- data/vendor/unity/{targets → test/targets}/clang_strict.yml +2 -2
- data/vendor/unity/{targets → test/targets}/gcc_32.yml +2 -2
- data/vendor/unity/{targets → test/targets}/gcc_64.yml +2 -2
- data/vendor/unity/{targets → test/targets}/gcc_auto_limits.yml +2 -2
- data/vendor/unity/{targets → test/targets}/gcc_auto_sizeof.yml +2 -2
- data/vendor/unity/{targets → test/targets}/gcc_auto_stdint.yml +2 -2
- data/vendor/unity/{targets → test/targets}/hitech_picc18.yml +55 -55
- data/vendor/unity/{targets → test/targets}/iar_arm_v4.yml +4 -4
- data/vendor/unity/{targets → test/targets}/iar_arm_v5.yml +4 -4
- data/vendor/unity/{targets → test/targets}/iar_arm_v5_3.yml +4 -4
- data/vendor/unity/{targets → test/targets}/iar_armcortex_LM3S9B92_v5_4.yml +6 -6
- data/vendor/unity/{targets → test/targets}/iar_cortexm3_v5.yml +3 -3
- data/vendor/unity/{targets → test/targets}/iar_msp430.yml +3 -3
- data/vendor/unity/{targets → test/targets}/iar_sh2a_v6.yml +3 -3
- data/vendor/unity/test/{test_generate_test_runner.rb → tests/test_generate_test_runner.rb} +0 -0
- data/vendor/unity/test/{testparameterized.c → tests/testparameterized.c} +0 -0
- data/vendor/unity/test/{testunity.c → tests/testunity.c} +0 -0
- metadata +36 -31
- checksums.yaml +0 -7
- data/vendor/unity/makefile +0 -37
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
213
|
2
2
|
|
@@ -130,7 +130,7 @@ class UnityTestRunnerGenerator
|
|
130
130
|
return mock_headers
|
131
131
|
end
|
132
132
|
|
133
|
-
def create_header(output, mocks, testfile_includes)
|
133
|
+
def create_header(output, mocks, testfile_includes=[])
|
134
134
|
output.puts('/* AUTOGENERATED FILE. DO NOT EDIT. */')
|
135
135
|
create_runtest(output, mocks)
|
136
136
|
output.puts("\n//=======Automagically Detected Files To Include=====")
|
@@ -142,9 +142,9 @@ class UnityTestRunnerGenerator
|
|
142
142
|
output.puts('#include <setjmp.h>')
|
143
143
|
output.puts('#include <stdio.h>')
|
144
144
|
output.puts('#include "CException.h"') if @options[:plugins].include?(:cexception)
|
145
|
-
|
146
|
-
|
147
|
-
|
145
|
+
testfile_includes.delete_if{|inc| inc =~ /(unity|cmock)/}
|
146
|
+
testrunner_includes = testfile_includes - mocks
|
147
|
+
testrunner_includes.each do |inc|
|
148
148
|
output.puts("#include #{inc.include?('<') ? inc : "\"#{inc.gsub('.h','')}.h\""}")
|
149
149
|
end
|
150
150
|
mocks.each do |mock|
|
data/vendor/unity/src/unity.c
CHANGED
@@ -5,8 +5,6 @@
|
|
5
5
|
============================================================================ */
|
6
6
|
|
7
7
|
#include "unity.h"
|
8
|
-
#include <stdio.h>
|
9
|
-
#include <string.h>
|
10
8
|
|
11
9
|
#define UNITY_FAIL_AND_BAIL { Unity.CurrentTestFailed = 1; longjmp(Unity.AbortFrame, 1); }
|
12
10
|
#define UNITY_IGNORE_AND_BAIL { Unity.CurrentTestIgnored = 1; longjmp(Unity.AbortFrame, 1); }
|
@@ -231,6 +229,7 @@ void UnityPrintMask(const _U_UINT mask, const _U_UINT number)
|
|
231
229
|
|
232
230
|
//-----------------------------------------------
|
233
231
|
#ifdef UNITY_FLOAT_VERBOSE
|
232
|
+
#include <string.h>
|
234
233
|
void UnityPrintFloat(_UF number)
|
235
234
|
{
|
236
235
|
char TempBuffer[32];
|
data/vendor/unity/src/unity.h
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
/* ==========================================
|
2
2
|
Unity Project - A Test Framework for C
|
3
|
-
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
3
|
+
Copyright (c) 2007-14 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
4
|
[Released under MIT License. Please refer to license.txt for details]
|
5
5
|
========================================== */
|
6
6
|
|
7
7
|
#ifndef UNITY_FRAMEWORK_H
|
8
8
|
#define UNITY_FRAMEWORK_H
|
9
|
-
|
10
9
|
#define UNITY
|
11
10
|
|
12
11
|
#include "unity_internals.h"
|
@@ -17,10 +16,15 @@
|
|
17
16
|
// All options described below should be passed as a compiler flag to all files using Unity. If you must add #defines, place them BEFORE the #include above.
|
18
17
|
|
19
18
|
// Integers/longs/pointers
|
20
|
-
// - Unity
|
21
|
-
//
|
22
|
-
// - define
|
23
|
-
// - define
|
19
|
+
// - Unity attempts to automatically discover your integer sizes
|
20
|
+
// - define UNITY_EXCLUDE_STDINT_H to stop attempting to look in <stdint.h>
|
21
|
+
// - define UNITY_EXCLUDE_LIMITS_H to stop attempting to look in <limits.h>
|
22
|
+
// - define UNITY_EXCLUDE_SIZEOF to stop attempting to use sizeof in macros
|
23
|
+
// - If you cannot use the automatic methods above, you can force Unity by using these options:
|
24
|
+
// - define UNITY_SUPPORT_64
|
25
|
+
// - define UNITY_INT_WIDTH
|
26
|
+
// - UNITY_LONG_WIDTH
|
27
|
+
// - UNITY_POINTER_WIDTH
|
24
28
|
|
25
29
|
// Floats
|
26
30
|
// - define UNITY_EXCLUDE_FLOAT to disallow floating point comparisons
|
@@ -46,47 +50,6 @@
|
|
46
50
|
// Parameterized Tests
|
47
51
|
// - you'll want to create a define of TEST_CASE(...) which basically evaluates to nothing
|
48
52
|
|
49
|
-
//-------------------------------------------------------
|
50
|
-
// Test Running Macros
|
51
|
-
//-------------------------------------------------------
|
52
|
-
|
53
|
-
#define TEST_PROTECT() (setjmp(Unity.AbortFrame) == 0)
|
54
|
-
|
55
|
-
#define TEST_ABORT() {longjmp(Unity.AbortFrame, 1);}
|
56
|
-
|
57
|
-
//This tricky series of macros gives us an optional line argument to treat it as RUN_TEST(func, num=__LINE__)
|
58
|
-
#ifndef RUN_TEST
|
59
|
-
#ifdef __STDC_VERSION__
|
60
|
-
#if __STDC_VERSION__ >= 199901L
|
61
|
-
#define RUN_TEST(...) UnityDefaultTestRun(RUN_TEST_FIRST(__VA_ARGS__), RUN_TEST_SECOND(__VA_ARGS__))
|
62
|
-
#define RUN_TEST_FIRST(...) RUN_TEST_FIRST_HELPER(__VA_ARGS__, throwaway)
|
63
|
-
#define RUN_TEST_FIRST_HELPER(first,...) first, #first
|
64
|
-
#define RUN_TEST_SECOND(...) RUN_TEST_SECOND_HELPER(__VA_ARGS__, __LINE__, throwaway)
|
65
|
-
#define RUN_TEST_SECOND_HELPER(first,second,...) second
|
66
|
-
#endif
|
67
|
-
#endif
|
68
|
-
#endif
|
69
|
-
|
70
|
-
//If we can't do the tricky version, we'll just have to require them to always include the line number
|
71
|
-
#ifndef RUN_TEST
|
72
|
-
#ifdef CMOCK
|
73
|
-
#define RUN_TEST(func, num) UnityDefaultTestRun(func, #func, num)
|
74
|
-
#else
|
75
|
-
#define RUN_TEST(func) UnityDefaultTestRun(func, #func, __LINE__)
|
76
|
-
#endif
|
77
|
-
#endif
|
78
|
-
|
79
|
-
#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
|
80
|
-
#define TEST_IS_IGNORED (Unity.CurrentTestIgnored)
|
81
|
-
|
82
|
-
#ifndef UNITY_BEGIN
|
83
|
-
#define UNITY_BEGIN() {UnityBegin(); Unity.TestFile = __FILE__;}
|
84
|
-
#endif
|
85
|
-
|
86
|
-
#ifndef UNITY_END
|
87
|
-
#define UNITY_END() UnityEnd()
|
88
|
-
#endif
|
89
|
-
|
90
53
|
//-------------------------------------------------------
|
91
54
|
// Basic Fail and Ignore
|
92
55
|
//-------------------------------------------------------
|
@@ -304,4 +267,6 @@
|
|
304
267
|
#define TEST_ASSERT_DOUBLE_IS_NOT_NEG_INF_MESSAGE(actual, message) UNITY_TEST_ASSERT_DOUBLE_IS_NOT_NEG_INF(actual, __LINE__, message)
|
305
268
|
#define TEST_ASSERT_DOUBLE_IS_NOT_NAN_MESSAGE(actual, message) UNITY_TEST_ASSERT_DOUBLE_IS_NOT_NAN(actual, __LINE__, message)
|
306
269
|
#define TEST_ASSERT_DOUBLE_IS_NOT_DETERMINATE_MESSAGE(actual, message) UNITY_TEST_ASSERT_DOUBLE_IS_NOT_DETERMINATE(actual, __LINE__, message)
|
270
|
+
|
271
|
+
//end of UNITY_FRAMEWORK_H
|
307
272
|
#endif
|
@@ -1,13 +1,16 @@
|
|
1
1
|
/* ==========================================
|
2
2
|
Unity Project - A Test Framework for C
|
3
|
-
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
3
|
+
Copyright (c) 2007-14 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
4
|
[Released under MIT License. Please refer to license.txt for details]
|
5
5
|
========================================== */
|
6
6
|
|
7
7
|
#ifndef UNITY_INTERNALS_H
|
8
8
|
#define UNITY_INTERNALS_H
|
9
9
|
|
10
|
-
#
|
10
|
+
#ifdef UNITY_INCLUDE_CONFIG_H
|
11
|
+
#include "unity_config.h"
|
12
|
+
#endif
|
13
|
+
|
11
14
|
#include <setjmp.h>
|
12
15
|
|
13
16
|
// Unity Attempts to Auto-Detect Integer Types
|
@@ -237,7 +240,7 @@ typedef UNITY_FLOAT_TYPE _UF;
|
|
237
240
|
|
238
241
|
#else
|
239
242
|
|
240
|
-
//Floating Point Support
|
243
|
+
//Double Floating Point Support
|
241
244
|
#ifndef UNITY_DOUBLE_PRECISION
|
242
245
|
#define UNITY_DOUBLE_PRECISION (1e-12f)
|
243
246
|
#endif
|
@@ -248,16 +251,27 @@ typedef UNITY_DOUBLE_TYPE _UD;
|
|
248
251
|
|
249
252
|
#endif
|
250
253
|
|
254
|
+
#ifdef UNITY_DOUBLE_VERBOSE
|
255
|
+
#ifndef UNITY_FLOAT_VERBOSE
|
256
|
+
#define UNITY_FLOAT_VERBOSE
|
257
|
+
#endif
|
258
|
+
#endif
|
259
|
+
|
251
260
|
//-------------------------------------------------------
|
252
261
|
// Output Method
|
253
262
|
//-------------------------------------------------------
|
254
263
|
|
255
264
|
#ifndef UNITY_OUTPUT_CHAR
|
256
|
-
|
265
|
+
|
266
|
+
//Default to using putchar, which is defined in stdio.h
|
267
|
+
#include <stdio.h>
|
257
268
|
#define UNITY_OUTPUT_CHAR(a) putchar(a)
|
269
|
+
|
258
270
|
#else
|
271
|
+
|
259
272
|
//If defined as something else, make sure we declare it here so it's ready for use
|
260
273
|
extern int UNITY_OUTPUT_CHAR(int);
|
274
|
+
|
261
275
|
#endif
|
262
276
|
|
263
277
|
//-------------------------------------------------------
|
@@ -496,6 +510,47 @@ extern const char* UnityStrErrFloat;
|
|
496
510
|
extern const char* UnityStrErrDouble;
|
497
511
|
extern const char* UnityStrErr64;
|
498
512
|
|
513
|
+
//-------------------------------------------------------
|
514
|
+
// Test Running Macros
|
515
|
+
//-------------------------------------------------------
|
516
|
+
|
517
|
+
#define TEST_PROTECT() (setjmp(Unity.AbortFrame) == 0)
|
518
|
+
|
519
|
+
#define TEST_ABORT() {longjmp(Unity.AbortFrame, 1);}
|
520
|
+
|
521
|
+
//This tricky series of macros gives us an optional line argument to treat it as RUN_TEST(func, num=__LINE__)
|
522
|
+
#ifndef RUN_TEST
|
523
|
+
#ifdef __STDC_VERSION__
|
524
|
+
#if __STDC_VERSION__ >= 199901L
|
525
|
+
#define RUN_TEST(...) UnityDefaultTestRun(RUN_TEST_FIRST(__VA_ARGS__), RUN_TEST_SECOND(__VA_ARGS__))
|
526
|
+
#define RUN_TEST_FIRST(...) RUN_TEST_FIRST_HELPER(__VA_ARGS__, throwaway)
|
527
|
+
#define RUN_TEST_FIRST_HELPER(first,...) first, #first
|
528
|
+
#define RUN_TEST_SECOND(...) RUN_TEST_SECOND_HELPER(__VA_ARGS__, __LINE__, throwaway)
|
529
|
+
#define RUN_TEST_SECOND_HELPER(first,second,...) second
|
530
|
+
#endif
|
531
|
+
#endif
|
532
|
+
#endif
|
533
|
+
|
534
|
+
//If we can't do the tricky version, we'll just have to require them to always include the line number
|
535
|
+
#ifndef RUN_TEST
|
536
|
+
#ifdef CMOCK
|
537
|
+
#define RUN_TEST(func, num) UnityDefaultTestRun(func, #func, num)
|
538
|
+
#else
|
539
|
+
#define RUN_TEST(func) UnityDefaultTestRun(func, #func, __LINE__)
|
540
|
+
#endif
|
541
|
+
#endif
|
542
|
+
|
543
|
+
#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
|
544
|
+
#define TEST_IS_IGNORED (Unity.CurrentTestIgnored)
|
545
|
+
|
546
|
+
#ifndef UNITY_BEGIN
|
547
|
+
#define UNITY_BEGIN() {UnityBegin(); Unity.TestFile = __FILE__;}
|
548
|
+
#endif
|
549
|
+
|
550
|
+
#ifndef UNITY_END
|
551
|
+
#define UNITY_END() UnityEnd()
|
552
|
+
#endif
|
553
|
+
|
499
554
|
//-------------------------------------------------------
|
500
555
|
// Basic Fail and Ignore
|
501
556
|
//-------------------------------------------------------
|
@@ -629,4 +684,5 @@ extern const char* UnityStrErr64;
|
|
629
684
|
#define UNITY_TEST_ASSERT_DOUBLE_IS_NOT_DETERMINATE(actual, line, message) UnityAssertDoubleSpecial((_UD)(actual), (message), (UNITY_LINE_TYPE)line, UNITY_FLOAT_IS_NOT_DET)
|
630
685
|
#endif
|
631
686
|
|
687
|
+
//End of UNITY_INTERNALS_H
|
632
688
|
#endif
|
@@ -8,7 +8,6 @@ UNITY_ROOT = File.expand_path(File.dirname(__FILE__)) + '/'
|
|
8
8
|
|
9
9
|
require 'rake'
|
10
10
|
require 'rake/clean'
|
11
|
-
require 'rake/testtask'
|
12
11
|
require UNITY_ROOT + 'rakefile_helper'
|
13
12
|
|
14
13
|
TEMP_DIRS = [
|
@@ -25,12 +24,7 @@ task :prepare_for_tests => TEMP_DIRS
|
|
25
24
|
include RakefileHelpers
|
26
25
|
|
27
26
|
# Load proper GCC as defult configuration
|
28
|
-
|
29
|
-
DEFAULT_CONFIG_FILE = 'gcc_64.yml'
|
30
|
-
else # Assume 32-bit otherwise
|
31
|
-
DEFAULT_CONFIG_FILE = 'gcc_32.yml'
|
32
|
-
end
|
33
|
-
|
27
|
+
DEFAULT_CONFIG_FILE = 'gcc_auto_stdint.yml'
|
34
28
|
configure_toolchain(DEFAULT_CONFIG_FILE)
|
35
29
|
|
36
30
|
desc "Test unity with its own unit tests"
|
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
require 'yaml'
|
8
8
|
require 'fileutils'
|
9
|
-
require UNITY_ROOT + 'auto/unity_test_summary'
|
10
|
-
require UNITY_ROOT + 'auto/generate_test_runner'
|
11
|
-
require UNITY_ROOT + 'auto/colour_reporter'
|
9
|
+
require UNITY_ROOT + '../auto/unity_test_summary'
|
10
|
+
require UNITY_ROOT + '../auto/generate_test_runner'
|
11
|
+
require UNITY_ROOT + '../auto/colour_reporter'
|
12
12
|
|
13
13
|
module RakefileHelpers
|
14
14
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
# rumor has it that this yaml file works for the standard edition of the
|
1
|
+
# rumor has it that this yaml file works for the standard edition of the
|
2
2
|
# hitech PICC18 compiler, but not the pro version.
|
3
3
|
#
|
4
4
|
compiler:
|
5
5
|
path: cd build && picc18
|
6
|
-
source_path: '
|
7
|
-
unit_tests_path: &unit_tests_path '
|
8
|
-
build_path: &build_path '
|
6
|
+
source_path: '..\src\'
|
7
|
+
unit_tests_path: &unit_tests_path 'tests\'
|
8
|
+
build_path: &build_path 'build\'
|
9
9
|
options:
|
10
10
|
- --chip=18F87J10
|
11
11
|
- --ide=hitide
|
@@ -19,7 +19,7 @@ compiler:
|
|
19
19
|
- -Bl # Large memory model
|
20
20
|
- -G # generate symbol file
|
21
21
|
- --cp=16 # 16-bit pointers
|
22
|
-
- --double=24
|
22
|
+
- --double=24
|
23
23
|
- -N255 # 255-char symbol names
|
24
24
|
- --opt=none # Do not use any compiler optimziations
|
25
25
|
- -c # compile only
|
@@ -35,62 +35,62 @@ compiler:
|
|
35
35
|
- 'c:/CMock/vendor/unity/examples/helper/'
|
36
36
|
- *unit_tests_path
|
37
37
|
defines:
|
38
|
-
prefix: '-D'
|
39
|
-
items:
|
40
|
-
- UNITY_INT_WIDTH=16
|
38
|
+
prefix: '-D'
|
39
|
+
items:
|
40
|
+
- UNITY_INT_WIDTH=16
|
41
41
|
- UNITY_POINTER_WIDTH=16
|
42
|
-
- CMOCK_MEM_STATIC
|
42
|
+
- CMOCK_MEM_STATIC
|
43
43
|
- CMOCK_MEM_SIZE=3000
|
44
|
-
- UNITY_SUPPORT_TEST_CASES
|
44
|
+
- UNITY_SUPPORT_TEST_CASES
|
45
45
|
- _PICC18
|
46
|
-
object_files:
|
47
|
-
# prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead
|
48
|
-
extension: '.obj'
|
49
|
-
destination: *build_path
|
46
|
+
object_files:
|
47
|
+
# prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead
|
48
|
+
extension: '.obj'
|
49
|
+
destination: *build_path
|
50
50
|
|
51
|
-
linker:
|
52
|
-
path: cd build && picc18
|
53
|
-
options:
|
54
|
-
- --chip=18F87J10
|
55
|
-
- --ide=hitide
|
56
|
-
- --cp=24 # 24-bit pointers. Is this needed for linker??
|
57
|
-
- --double=24 # Is this needed for linker??
|
51
|
+
linker:
|
52
|
+
path: cd build && picc18
|
53
|
+
options:
|
54
|
+
- --chip=18F87J10
|
55
|
+
- --ide=hitide
|
56
|
+
- --cp=24 # 24-bit pointers. Is this needed for linker??
|
57
|
+
- --double=24 # Is this needed for linker??
|
58
58
|
- -Lw # Scan the pic87*w.lib in the lib/ of the compiler installation directory
|
59
|
-
- --summary=mem,file # info listing
|
60
|
-
- --summary=+psect
|
61
|
-
- --summary=+hex
|
62
|
-
- --output=+intel
|
63
|
-
- --output=+mcof
|
64
|
-
- --runtime=+init # Directs startup code to copy idata, ibigdata and ifardata psects from ROM to RAM.
|
65
|
-
- --runtime=+clear # Directs startup code to clear bss, bigbss, rbss and farbss psects
|
66
|
-
- --runtime=+clib # link in the c-runtime
|
67
|
-
- --runtime=+keep # Keep the generated startup src after its obj is linked
|
68
|
-
- -G # Generate src-level symbol file
|
69
|
-
- -MIWasTheLastToBuild.map
|
70
|
-
- --warn=0 # allow all normal warning messages
|
71
|
-
- -Bl # Large memory model (probably not needed for linking)
|
72
|
-
includes:
|
73
|
-
prefix: '-I'
|
74
|
-
object_files:
|
75
|
-
path: *build_path
|
76
|
-
extension: '.obj'
|
77
|
-
bin_files:
|
78
|
-
prefix: '-O'
|
79
|
-
extension: '.hex'
|
80
|
-
destination: *build_path
|
59
|
+
- --summary=mem,file # info listing
|
60
|
+
- --summary=+psect
|
61
|
+
- --summary=+hex
|
62
|
+
- --output=+intel
|
63
|
+
- --output=+mcof
|
64
|
+
- --runtime=+init # Directs startup code to copy idata, ibigdata and ifardata psects from ROM to RAM.
|
65
|
+
- --runtime=+clear # Directs startup code to clear bss, bigbss, rbss and farbss psects
|
66
|
+
- --runtime=+clib # link in the c-runtime
|
67
|
+
- --runtime=+keep # Keep the generated startup src after its obj is linked
|
68
|
+
- -G # Generate src-level symbol file
|
69
|
+
- -MIWasTheLastToBuild.map
|
70
|
+
- --warn=0 # allow all normal warning messages
|
71
|
+
- -Bl # Large memory model (probably not needed for linking)
|
72
|
+
includes:
|
73
|
+
prefix: '-I'
|
74
|
+
object_files:
|
75
|
+
path: *build_path
|
76
|
+
extension: '.obj'
|
77
|
+
bin_files:
|
78
|
+
prefix: '-O'
|
79
|
+
extension: '.hex'
|
80
|
+
destination: *build_path
|
81
81
|
|
82
|
-
simulator:
|
83
|
-
path:
|
84
|
-
pre_support:
|
85
|
-
- 'java -client -jar ' # note space
|
86
|
-
- ['C:\Program Files\HI-TECH Software\HI-TIDE\3.15\lib\', 'simpic18.jar']
|
87
|
-
- 18F87J10
|
88
|
-
post_support:
|
82
|
+
simulator:
|
83
|
+
path:
|
84
|
+
pre_support:
|
85
|
+
- 'java -client -jar ' # note space
|
86
|
+
- ['C:\Program Files\HI-TECH Software\HI-TIDE\3.15\lib\', 'simpic18.jar']
|
87
|
+
- 18F87J10
|
88
|
+
post_support:
|
89
89
|
|
90
|
-
:cmock:
|
91
|
-
:plugins: []
|
92
|
-
:includes:
|
93
|
-
- Types.h
|
90
|
+
:cmock:
|
91
|
+
:plugins: []
|
92
|
+
:includes:
|
93
|
+
- Types.h
|
94
94
|
:suite_teardown: |
|
95
95
|
if (num_failures)
|
96
96
|
_FAILED_TEST();
|
@@ -98,4 +98,4 @@ simulator:
|
|
98
98
|
_PASSED_TESTS();
|
99
99
|
return 0;
|
100
100
|
|
101
|
-
colour: true
|
101
|
+
colour: true
|