-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtarget_testing.yml
67 lines (67 loc) · 1.28 KB
/
target_testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Copied from ~Unity/targets/gcc_32.yml
unity_root: &unity_root 'unity.framework'
unity_source: &unity_source 'unity.framework/src/'
compiler:
source_path: &source_path 'src/'
includes_path: &includes_path 'includes/'
target_path: &target_path 'mocks/'
objs_path: &objs_path 'build/objs/'
unit_tests_path: &unit_tests_path 'test/'
build_path: &build_path 'build/'
mocks_path: &mocks_path 'mocks/'
object_files:
prefix: '-o'
extension: '.o'
destination: *build_path
CC: gcc
cc_compiler_options:
- Werror
- ggdb
- c
- m32
- Wno-address
# - std=c99
- pedantic
CPP: g++
cpp_compiler_options:
- m32
- ggdb
- Werror
- std=gnu++14
- felide-constructors
- fno-exceptions
- fno-rtti
includes:
prefix: '-I'
items:
- *source_path
- *unity_source
- *unit_tests_path
- *includes_path
- *target_path
- *mocks_path
defines:
prefix: '-D'
items:
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES
- __MK66FX1M0__
- F_CPU=48000000
- TEST
linker:
options:
- lm
- z muldefs
- m32
includes:
prefix: '-I'
object_files:
path: *build_path
extension: '.o'
bin_files:
prefix: '-o'
destination: *build_path
exe_filetype: '.exe'
colour: true
:unity:
:plugins: []