mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Fix trailing whitespace CRLF, no code changes
Now that the project is using .gitattributes, get rid of CRLF in the repo.
This commit is contained in:
@@ -1,84 +1,84 @@
|
||||
---
|
||||
compiler:
|
||||
path: clang
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-Wall'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wcast-qual'
|
||||
- '-Wconversion'
|
||||
- '-Wdisabled-optimization'
|
||||
- '-Wformat=2'
|
||||
- '-Winit-self'
|
||||
- '-Winline'
|
||||
- '-Winvalid-pch'
|
||||
- '-Wmissing-declarations'
|
||||
- '-Wmissing-include-dirs'
|
||||
- '-Wmissing-prototypes'
|
||||
- '-Wnonnull'
|
||||
- '-Wpacked'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wredundant-decls'
|
||||
- '-Wswitch-default'
|
||||
- '-Wstrict-aliasing'
|
||||
- '-Wstrict-overflow=5'
|
||||
- '-Wuninitialized'
|
||||
- '-Wunused'
|
||||
# - '-Wunreachable-code'
|
||||
- '-Wreturn-type'
|
||||
- '-Wshadow'
|
||||
- '-Wundef'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wno-missing-declarations'
|
||||
- '-Wno-missing-prototypes'
|
||||
- '-Wno-nested-externs'
|
||||
- '-Wno-redundant-decls'
|
||||
- '-Wno-unused-parameter'
|
||||
- '-Wno-variadic-macros'
|
||||
- '-Wbad-function-cast'
|
||||
- '-fms-extensions'
|
||||
- '-fno-omit-frame-pointer'
|
||||
- '-ffloat-store'
|
||||
- '-fno-common'
|
||||
- '-fstrict-aliasing'
|
||||
- '-std=gnu99'
|
||||
- '-pedantic'
|
||||
- '-O0'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_64
|
||||
- UNITY_OUTPUT_RESULTS_FILE
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: clang
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
---
|
||||
compiler:
|
||||
path: clang
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-Wall'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wcast-qual'
|
||||
- '-Wconversion'
|
||||
- '-Wdisabled-optimization'
|
||||
- '-Wformat=2'
|
||||
- '-Winit-self'
|
||||
- '-Winline'
|
||||
- '-Winvalid-pch'
|
||||
- '-Wmissing-declarations'
|
||||
- '-Wmissing-include-dirs'
|
||||
- '-Wmissing-prototypes'
|
||||
- '-Wnonnull'
|
||||
- '-Wpacked'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wredundant-decls'
|
||||
- '-Wswitch-default'
|
||||
- '-Wstrict-aliasing'
|
||||
- '-Wstrict-overflow=5'
|
||||
- '-Wuninitialized'
|
||||
- '-Wunused'
|
||||
# - '-Wunreachable-code'
|
||||
- '-Wreturn-type'
|
||||
- '-Wshadow'
|
||||
- '-Wundef'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wno-missing-declarations'
|
||||
- '-Wno-missing-prototypes'
|
||||
- '-Wno-nested-externs'
|
||||
- '-Wno-redundant-decls'
|
||||
- '-Wno-unused-parameter'
|
||||
- '-Wno-variadic-macros'
|
||||
- '-Wbad-function-cast'
|
||||
- '-fms-extensions'
|
||||
- '-fno-omit-frame-pointer'
|
||||
- '-ffloat-store'
|
||||
- '-fno-common'
|
||||
- '-fstrict-aliasing'
|
||||
- '-std=gnu99'
|
||||
- '-pedantic'
|
||||
- '-O0'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_64
|
||||
- UNITY_OUTPUT_RESULTS_FILE
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: clang
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,84 +1,84 @@
|
||||
---
|
||||
compiler:
|
||||
path: clang
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-Wall'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wcast-qual'
|
||||
- '-Wconversion'
|
||||
- '-Wdisabled-optimization'
|
||||
- '-Wformat=2'
|
||||
- '-Winit-self'
|
||||
- '-Winline'
|
||||
- '-Winvalid-pch'
|
||||
- '-Wmissing-declarations'
|
||||
- '-Wmissing-include-dirs'
|
||||
- '-Wmissing-prototypes'
|
||||
- '-Wnonnull'
|
||||
- '-Wpacked'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wredundant-decls'
|
||||
- '-Wswitch-default'
|
||||
- '-Wstrict-aliasing'
|
||||
- '-Wstrict-overflow=5'
|
||||
- '-Wuninitialized'
|
||||
- '-Wunused'
|
||||
# - '-Wunreachable-code'
|
||||
- '-Wreturn-type'
|
||||
- '-Wshadow'
|
||||
- '-Wundef'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wno-missing-declarations'
|
||||
- '-Wno-missing-prototypes'
|
||||
- '-Wno-nested-externs'
|
||||
- '-Wno-redundant-decls'
|
||||
- '-Wno-unused-parameter'
|
||||
- '-Wno-variadic-macros'
|
||||
- '-Wbad-function-cast'
|
||||
- '-fms-extensions'
|
||||
- '-fno-omit-frame-pointer'
|
||||
- '-ffloat-store'
|
||||
- '-fno-common'
|
||||
- '-fstrict-aliasing'
|
||||
- '-std=gnu99'
|
||||
- '-pedantic'
|
||||
- '-O0'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: clang
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
---
|
||||
compiler:
|
||||
path: clang
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-Wall'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wcast-qual'
|
||||
- '-Wconversion'
|
||||
- '-Wdisabled-optimization'
|
||||
- '-Wformat=2'
|
||||
- '-Winit-self'
|
||||
- '-Winline'
|
||||
- '-Winvalid-pch'
|
||||
- '-Wmissing-declarations'
|
||||
- '-Wmissing-include-dirs'
|
||||
- '-Wmissing-prototypes'
|
||||
- '-Wnonnull'
|
||||
- '-Wpacked'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wredundant-decls'
|
||||
- '-Wswitch-default'
|
||||
- '-Wstrict-aliasing'
|
||||
- '-Wstrict-overflow=5'
|
||||
- '-Wuninitialized'
|
||||
- '-Wunused'
|
||||
# - '-Wunreachable-code'
|
||||
- '-Wreturn-type'
|
||||
- '-Wshadow'
|
||||
- '-Wundef'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wno-missing-declarations'
|
||||
- '-Wno-missing-prototypes'
|
||||
- '-Wno-nested-externs'
|
||||
- '-Wno-redundant-decls'
|
||||
- '-Wno-unused-parameter'
|
||||
- '-Wno-variadic-macros'
|
||||
- '-Wbad-function-cast'
|
||||
- '-fms-extensions'
|
||||
- '-fno-omit-frame-pointer'
|
||||
- '-ffloat-store'
|
||||
- '-fno-common'
|
||||
- '-fstrict-aliasing'
|
||||
- '-std=gnu99'
|
||||
- '-pedantic'
|
||||
- '-O0'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: clang
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,50 +1,50 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m32'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_EXCLUDE_SIZEOF
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_INT_WIDTH=32
|
||||
- UNITY_LONG_WIDTH=32
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m32'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m32'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_EXCLUDE_SIZEOF
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_INT_WIDTH=32
|
||||
- UNITY_LONG_WIDTH=32
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m32'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,51 +1,51 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_EXCLUDE_SIZEOF
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
- UNITY_INT_WIDTH=32
|
||||
- UNITY_LONG_WIDTH=64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_EXCLUDE_SIZEOF
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
- UNITY_INT_WIDTH=32
|
||||
- UNITY_LONG_WIDTH=64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,48 +1,48 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_STDINT_H
|
||||
- UNITY_EXCLUDE_LIMITS_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,59 +1,59 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wcast-align'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wswitch-default'
|
||||
- '-Wunreachable-code'
|
||||
- '-Winit-self'
|
||||
- '-Wmissing-field-initializers'
|
||||
- '-Wno-unknown-pragmas'
|
||||
- '-Wstrict-prototypes'
|
||||
- '-Wundef'
|
||||
- '-Wold-style-definition'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wcast-align'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wswitch-default'
|
||||
- '-Wunreachable-code'
|
||||
- '-Winit-self'
|
||||
- '-Wmissing-field-initializers'
|
||||
- '-Wno-unknown-pragmas'
|
||||
- '-Wstrict-prototypes'
|
||||
- '-Wundef'
|
||||
- '-Wold-style-definition'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_MATH_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_OUTPUT_CHAR=putcharSpy
|
||||
- UNITY_EXCLUDE_MATH_H
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,101 +1,101 @@
|
||||
# rumor has it that this yaml file works for the standard edition of the
|
||||
# hitech PICC18 compiler, but not the pro version.
|
||||
#
|
||||
compiler:
|
||||
path: cd build && picc18
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --chip=18F87J10
|
||||
- --ide=hitide
|
||||
- --q #quiet please
|
||||
- --asmlist
|
||||
- --codeoffset=0
|
||||
- --emi=wordwrite # External memory interface protocol
|
||||
- --warn=0 # allow all normal warning messages
|
||||
- --errors=10 # Number of errors before aborting compile
|
||||
- --char=unsigned
|
||||
- -Bl # Large memory model
|
||||
- -G # generate symbol file
|
||||
- --cp=16 # 16-bit pointers
|
||||
- --double=24
|
||||
- -N255 # 255-char symbol names
|
||||
- --opt=none # Do not use any compiler optimziations
|
||||
- -c # compile only
|
||||
- -M
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'c:/Projects/NexGen/Prototypes/CMockTest/src/'
|
||||
- 'c:/Projects/NexGen/Prototypes/CMockTest/mocks/'
|
||||
- 'c:/CMock/src/'
|
||||
- 'c:/CMock/examples/src/'
|
||||
- 'c:/CMock/vendor/unity/src/'
|
||||
- 'c:/CMock/vendor/unity/examples/helper/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_INT_WIDTH=16
|
||||
- UNITY_POINTER_WIDTH=16
|
||||
- CMOCK_MEM_STATIC
|
||||
- CMOCK_MEM_SIZE=3000
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- _PICC18
|
||||
object_files:
|
||||
# prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead
|
||||
extension: '.obj'
|
||||
destination: *build_path
|
||||
|
||||
linker:
|
||||
path: cd build && picc18
|
||||
options:
|
||||
- --chip=18F87J10
|
||||
- --ide=hitide
|
||||
- --cp=24 # 24-bit pointers. Is this needed for linker??
|
||||
- --double=24 # Is this needed for linker??
|
||||
- -Lw # Scan the pic87*w.lib in the lib/ of the compiler installation directory
|
||||
- --summary=mem,file # info listing
|
||||
- --summary=+psect
|
||||
- --summary=+hex
|
||||
- --output=+intel
|
||||
- --output=+mcof
|
||||
- --runtime=+init # Directs startup code to copy idata, ibigdata and ifardata psects from ROM to RAM.
|
||||
- --runtime=+clear # Directs startup code to clear bss, bigbss, rbss and farbss psects
|
||||
- --runtime=+clib # link in the c-runtime
|
||||
- --runtime=+keep # Keep the generated startup src after its obj is linked
|
||||
- -G # Generate src-level symbol file
|
||||
- -MIWasTheLastToBuild.map
|
||||
- --warn=0 # allow all normal warning messages
|
||||
- -Bl # Large memory model (probably not needed for linking)
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.obj'
|
||||
bin_files:
|
||||
prefix: '-O'
|
||||
extension: '.hex'
|
||||
destination: *build_path
|
||||
|
||||
simulator:
|
||||
path:
|
||||
pre_support:
|
||||
- 'java -client -jar ' # note space
|
||||
- ['C:\Program Files\HI-TECH Software\HI-TIDE\3.15\lib\', 'simpic18.jar']
|
||||
- 18F87J10
|
||||
post_support:
|
||||
|
||||
:cmock:
|
||||
:plugins: []
|
||||
:includes:
|
||||
- Types.h
|
||||
:suite_teardown: |
|
||||
if (num_failures)
|
||||
_FAILED_TEST();
|
||||
else
|
||||
_PASSED_TESTS();
|
||||
return 0;
|
||||
|
||||
colour: true
|
||||
# rumor has it that this yaml file works for the standard edition of the
|
||||
# hitech PICC18 compiler, but not the pro version.
|
||||
#
|
||||
compiler:
|
||||
path: cd build && picc18
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --chip=18F87J10
|
||||
- --ide=hitide
|
||||
- --q #quiet please
|
||||
- --asmlist
|
||||
- --codeoffset=0
|
||||
- --emi=wordwrite # External memory interface protocol
|
||||
- --warn=0 # allow all normal warning messages
|
||||
- --errors=10 # Number of errors before aborting compile
|
||||
- --char=unsigned
|
||||
- -Bl # Large memory model
|
||||
- -G # generate symbol file
|
||||
- --cp=16 # 16-bit pointers
|
||||
- --double=24
|
||||
- -N255 # 255-char symbol names
|
||||
- --opt=none # Do not use any compiler optimziations
|
||||
- -c # compile only
|
||||
- -M
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'c:/Projects/NexGen/Prototypes/CMockTest/src/'
|
||||
- 'c:/Projects/NexGen/Prototypes/CMockTest/mocks/'
|
||||
- 'c:/CMock/src/'
|
||||
- 'c:/CMock/examples/src/'
|
||||
- 'c:/CMock/vendor/unity/src/'
|
||||
- 'c:/CMock/vendor/unity/examples/helper/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_INT_WIDTH=16
|
||||
- UNITY_POINTER_WIDTH=16
|
||||
- CMOCK_MEM_STATIC
|
||||
- CMOCK_MEM_SIZE=3000
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- _PICC18
|
||||
object_files:
|
||||
# prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead
|
||||
extension: '.obj'
|
||||
destination: *build_path
|
||||
|
||||
linker:
|
||||
path: cd build && picc18
|
||||
options:
|
||||
- --chip=18F87J10
|
||||
- --ide=hitide
|
||||
- --cp=24 # 24-bit pointers. Is this needed for linker??
|
||||
- --double=24 # Is this needed for linker??
|
||||
- -Lw # Scan the pic87*w.lib in the lib/ of the compiler installation directory
|
||||
- --summary=mem,file # info listing
|
||||
- --summary=+psect
|
||||
- --summary=+hex
|
||||
- --output=+intel
|
||||
- --output=+mcof
|
||||
- --runtime=+init # Directs startup code to copy idata, ibigdata and ifardata psects from ROM to RAM.
|
||||
- --runtime=+clear # Directs startup code to clear bss, bigbss, rbss and farbss psects
|
||||
- --runtime=+clib # link in the c-runtime
|
||||
- --runtime=+keep # Keep the generated startup src after its obj is linked
|
||||
- -G # Generate src-level symbol file
|
||||
- -MIWasTheLastToBuild.map
|
||||
- --warn=0 # allow all normal warning messages
|
||||
- -Bl # Large memory model (probably not needed for linking)
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.obj'
|
||||
bin_files:
|
||||
prefix: '-O'
|
||||
extension: '.hex'
|
||||
destination: *build_path
|
||||
|
||||
simulator:
|
||||
path:
|
||||
pre_support:
|
||||
- 'java -client -jar ' # note space
|
||||
- ['C:\Program Files\HI-TECH Software\HI-TIDE\3.15\lib\', 'simpic18.jar']
|
||||
- 18F87J10
|
||||
post_support:
|
||||
|
||||
:cmock:
|
||||
:plugins: []
|
||||
:includes:
|
||||
- Types.h
|
||||
:suite_teardown: |
|
||||
if (num_failures)
|
||||
_FAILED_TEST();
|
||||
else
|
||||
_PASSED_TESTS();
|
||||
return 0;
|
||||
|
||||
colour: true
|
||||
|
||||
@@ -1,89 +1,89 @@
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\lib\dl4tptinl8n.h']
|
||||
- -z3
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian little
|
||||
- --cpu ARM7TDMI
|
||||
- --stack_align 4
|
||||
- --interwork
|
||||
- -e
|
||||
- --silent
|
||||
- --warnings_are_errors
|
||||
- --fpu None
|
||||
- --diag_suppress Pa050
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'common\bin\xlink.exe']
|
||||
options:
|
||||
- -rt
|
||||
- [*tools_root, 'arm\lib\dl4tptinl8n.r79']
|
||||
- -D_L_EXTMEM_START=0
|
||||
- -D_L_EXTMEM_SIZE=0
|
||||
- -D_L_HEAP_SIZE=120
|
||||
- -D_L_STACK_SIZE=32
|
||||
- -e_small_write=_formatted_write
|
||||
- -s
|
||||
- __program_start
|
||||
- -f
|
||||
- [*tools_root, '\arm\config\lnkarm.xcl']
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\config\']
|
||||
- [*tools_root, 'arm\lib\']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.r79'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.d79'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\ioat91sam7X256.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\lib\dl4tptinl8n.h']
|
||||
- -z3
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian little
|
||||
- --cpu ARM7TDMI
|
||||
- --stack_align 4
|
||||
- --interwork
|
||||
- -e
|
||||
- --silent
|
||||
- --warnings_are_errors
|
||||
- --fpu None
|
||||
- --diag_suppress Pa050
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'common\bin\xlink.exe']
|
||||
options:
|
||||
- -rt
|
||||
- [*tools_root, 'arm\lib\dl4tptinl8n.r79']
|
||||
- -D_L_EXTMEM_START=0
|
||||
- -D_L_EXTMEM_SIZE=0
|
||||
- -D_L_HEAP_SIZE=120
|
||||
- -D_L_STACK_SIZE=32
|
||||
- -e_small_write=_formatted_write
|
||||
- -s
|
||||
- __program_start
|
||||
- -f
|
||||
- [*tools_root, '\arm\config\lnkarm.xcl']
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\config\']
|
||||
- [*tools_root, 'arm\lib\']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.r79'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.d79'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\ioat91sam7X256.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,79 +1,79 @@
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian=little
|
||||
- --cpu=ARM7TDMI
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
- --fpu=None
|
||||
- --diag_suppress=Pa050
|
||||
- --diag_suppress=Pe111
|
||||
- -e
|
||||
- -On
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian=little
|
||||
- --cpu=ARM7TDMI
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
- --fpu=None
|
||||
- --diag_suppress=Pa050
|
||||
- --diag_suppress=Pe111
|
||||
- -e
|
||||
- -On
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,79 +1,79 @@
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian=little
|
||||
- --cpu=ARM7TDMI
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
- --fpu=None
|
||||
- --diag_suppress=Pa050
|
||||
- --diag_suppress=Pe111
|
||||
- -e
|
||||
- -On
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian=little
|
||||
- --cpu=ARM7TDMI
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
- --fpu=None
|
||||
- --diag_suppress=Pa050
|
||||
- --diag_suppress=Pe111
|
||||
- -e
|
||||
- -On
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\atmel\ioat91sam7X256.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,93 +1,93 @@
|
||||
#Default tool path for IAR 5.4 on Windows XP 64bit
|
||||
tools_root: &tools_root 'C:\Program Files (x86)\IAR Systems\Embedded Workbench 5.4 Kickstart\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --diag_suppress=Pa050
|
||||
#- --diag_suppress=Pe111
|
||||
- --debug
|
||||
- --endian=little
|
||||
- --cpu=Cortex-M3
|
||||
- --no_path_in_file_macros
|
||||
- -e
|
||||
- --fpu=None
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
#- --preinclude --preinclude C:\Vss\T2 Working\common\system.h
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
# - Ohz
|
||||
- -Oh
|
||||
# - --no_cse
|
||||
# - --no_unroll
|
||||
# - --no_inline
|
||||
# - --no_code_motion
|
||||
# - --no_tbaa
|
||||
# - --no_clustering
|
||||
# - --no_scheduling
|
||||
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- ewarm
|
||||
- PART_LM3S9B92
|
||||
- TARGET_IS_TEMPEST_RB1
|
||||
- USE_ROM_DRIVERS
|
||||
- UART_BUFFERED
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic.icf']
|
||||
# - ['C:\Temp\lm3s9b92.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
#- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim2.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- --endian=little
|
||||
- --cpu=Cortex-M3
|
||||
- --fpu=None
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\TexasInstruments\iolm3sxxxx.ddf']
|
||||
- --semihosting
|
||||
- --device=LM3SxBxx
|
||||
#- -d
|
||||
#- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
#Default tool path for IAR 5.4 on Windows XP 64bit
|
||||
tools_root: &tools_root 'C:\Program Files (x86)\IAR Systems\Embedded Workbench 5.4 Kickstart\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --diag_suppress=Pa050
|
||||
#- --diag_suppress=Pe111
|
||||
- --debug
|
||||
- --endian=little
|
||||
- --cpu=Cortex-M3
|
||||
- --no_path_in_file_macros
|
||||
- -e
|
||||
- --fpu=None
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
#- --preinclude --preinclude C:\Vss\T2 Working\common\system.h
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
# - Ohz
|
||||
- -Oh
|
||||
# - --no_cse
|
||||
# - --no_unroll
|
||||
# - --no_inline
|
||||
# - --no_code_motion
|
||||
# - --no_tbaa
|
||||
# - --no_clustering
|
||||
# - --no_scheduling
|
||||
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- ewarm
|
||||
- PART_LM3S9B92
|
||||
- TARGET_IS_TEMPEST_RB1
|
||||
- USE_ROM_DRIVERS
|
||||
- UART_BUFFERED
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic.icf']
|
||||
# - ['C:\Temp\lm3s9b92.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
#- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim2.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- --endian=little
|
||||
- --cpu=Cortex-M3
|
||||
- --fpu=None
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\TexasInstruments\iolm3sxxxx.ddf']
|
||||
- --semihosting
|
||||
- --device=LM3SxBxx
|
||||
#- -d
|
||||
#- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,83 +1,83 @@
|
||||
# unit testing under iar compiler / simulator for STM32 Cortex-M3
|
||||
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.4\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian=little
|
||||
- --cpu=Cortex-M3
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
- --fpu=None
|
||||
- --diag_suppress=Pa050
|
||||
- --diag_suppress=Pe111
|
||||
- -e
|
||||
- -On
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- 'IAR'
|
||||
- 'UNITY_SUPPORT_64'
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic_cortex.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\ST\iostm32f107xx.ddf']
|
||||
- --cpu=Cortex-M3
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
# unit testing under iar compiler / simulator for STM32 Cortex-M3
|
||||
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.4\'
|
||||
compiler:
|
||||
path: [*tools_root, 'arm\bin\iccarm.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*tools_root, 'arm\inc\DLib_Config_Normal.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_clustering
|
||||
- --no_scheduling
|
||||
- --debug
|
||||
- --cpu_mode thumb
|
||||
- --endian=little
|
||||
- --cpu=Cortex-M3
|
||||
- --interwork
|
||||
- --warnings_are_errors
|
||||
- --fpu=None
|
||||
- --diag_suppress=Pa050
|
||||
- --diag_suppress=Pe111
|
||||
- -e
|
||||
- -On
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'arm\inc\']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
- 'iar\iar_v5\incIAR\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- 'IAR'
|
||||
- 'UNITY_SUPPORT_64'
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r79'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'arm\bin\ilinkarm.exe']
|
||||
options:
|
||||
- --redirect _Printf=_PrintfLarge
|
||||
- --redirect _Scanf=_ScanfSmall
|
||||
- --semihosting
|
||||
- --entry __iar_program_start
|
||||
- --config
|
||||
- [*tools_root, 'arm\config\generic_cortex.icf']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'arm\bin\armproc.dll']
|
||||
- [*tools_root, 'arm\bin\armsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'arm\bin\armbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- -p
|
||||
- [*tools_root, 'arm\config\debugger\ST\iostm32f107xx.ddf']
|
||||
- --cpu=Cortex-M3
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,94 +1,94 @@
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\'
|
||||
core_root: &core_root [*tools_root, '430\']
|
||||
core_bin: &core_bin [*core_root, 'bin\']
|
||||
core_config: &core_config [*core_root, 'config\']
|
||||
core_lib: &core_lib [*core_root, 'lib\']
|
||||
core_inc: &core_inc [*core_root, 'inc\']
|
||||
core_config: &core_config [*core_root, 'config\']
|
||||
|
||||
compiler:
|
||||
path: [*core_bin, 'icc430.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*core_lib, 'dlib\dl430fn.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --debug
|
||||
- -e
|
||||
- -Ol
|
||||
- --multiplier=16
|
||||
- --double=32
|
||||
- --diag_suppress Pa050
|
||||
- --diag_suppress Pe111
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- *core_inc
|
||||
- [*core_inc, 'dlib']
|
||||
- [*core_lib, 'dlib']
|
||||
- 'src\'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- '__MSP430F149__'
|
||||
- 'INT_WIDTH=16'
|
||||
- 'UNITY_EXCLUDE_FLOAT'
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r43'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*core_bin, 'xlink.exe']
|
||||
options:
|
||||
- -rt
|
||||
- [*core_lib, 'dlib\dl430fn.r43']
|
||||
- -e_PrintfTiny=_Printf
|
||||
- -e_ScanfSmall=_Scanf
|
||||
- -s __program_start
|
||||
- -D_STACK_SIZE=50
|
||||
- -D_DATA16_HEAP_SIZE=50
|
||||
- -D_DATA20_HEAP_SIZE=50
|
||||
- -f
|
||||
- [*core_config, 'lnk430f5438.xcl']
|
||||
- -f
|
||||
- [*core_config, 'multiplier.xcl']
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- *core_config
|
||||
- *core_lib
|
||||
- [*core_lib, 'dlib']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.r79'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.d79'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*core_bin, '430proc.dll']
|
||||
- [*core_bin, '430sim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*core_bin, '430bat.dll']
|
||||
- --backend -B
|
||||
- --cpu MSP430F5438
|
||||
- -p
|
||||
- [*core_config, 'MSP430F5438.ddf']
|
||||
- -d sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3 MSP430\'
|
||||
core_root: &core_root [*tools_root, '430\']
|
||||
core_bin: &core_bin [*core_root, 'bin\']
|
||||
core_config: &core_config [*core_root, 'config\']
|
||||
core_lib: &core_lib [*core_root, 'lib\']
|
||||
core_inc: &core_inc [*core_root, 'inc\']
|
||||
core_config: &core_config [*core_root, 'config\']
|
||||
|
||||
compiler:
|
||||
path: [*core_bin, 'icc430.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- --dlib_config
|
||||
- [*core_lib, 'dlib\dl430fn.h']
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --debug
|
||||
- -e
|
||||
- -Ol
|
||||
- --multiplier=16
|
||||
- --double=32
|
||||
- --diag_suppress Pa050
|
||||
- --diag_suppress Pe111
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- *core_inc
|
||||
- [*core_inc, 'dlib']
|
||||
- [*core_lib, 'dlib']
|
||||
- 'src\'
|
||||
- '../src/'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- '__MSP430F149__'
|
||||
- 'INT_WIDTH=16'
|
||||
- 'UNITY_EXCLUDE_FLOAT'
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.r43'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*core_bin, 'xlink.exe']
|
||||
options:
|
||||
- -rt
|
||||
- [*core_lib, 'dlib\dl430fn.r43']
|
||||
- -e_PrintfTiny=_Printf
|
||||
- -e_ScanfSmall=_Scanf
|
||||
- -s __program_start
|
||||
- -D_STACK_SIZE=50
|
||||
- -D_DATA16_HEAP_SIZE=50
|
||||
- -D_DATA20_HEAP_SIZE=50
|
||||
- -f
|
||||
- [*core_config, 'lnk430f5438.xcl']
|
||||
- -f
|
||||
- [*core_config, 'multiplier.xcl']
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- *core_config
|
||||
- *core_lib
|
||||
- [*core_lib, 'dlib']
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.r79'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.d79'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*core_bin, '430proc.dll']
|
||||
- [*core_bin, '430sim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*core_bin, '430bat.dll']
|
||||
- --backend -B
|
||||
- --cpu MSP430F5438
|
||||
- -p
|
||||
- [*core_config, 'MSP430F5438.ddf']
|
||||
- -d sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,85 +1,85 @@
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 6.0\'
|
||||
compiler:
|
||||
path: [*tools_root, 'sh\bin\iccsh.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- -e
|
||||
- --char_is_signed
|
||||
- -Ol
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_scheduling
|
||||
- --no_clustering
|
||||
- --debug
|
||||
- --dlib_config
|
||||
- [*tools_root, 'sh\inc\DLib_Product.h']
|
||||
- --double=32
|
||||
- --code_model=huge
|
||||
- --data_model=huge
|
||||
- --core=sh2afpu
|
||||
- --warnings_affect_exit_code
|
||||
- --warnings_are_errors
|
||||
- --mfc
|
||||
- --use_unix_directory_separators
|
||||
- --diag_suppress=Pe161
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'sh\inc\']
|
||||
- [*tools_root, 'sh\inc\c']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'sh\bin\ilinksh.exe']
|
||||
options:
|
||||
- --redirect __Printf=__PrintfSmall
|
||||
- --redirect __Scanf=__ScanfSmall
|
||||
- --config
|
||||
- [*tools_root, 'sh\config\generic.icf']
|
||||
- --config_def _CSTACK_SIZE=0x800
|
||||
- --config_def _HEAP_SIZE=0x800
|
||||
- --config_def _INT_TABLE=0x10
|
||||
- --entry __iar_program_start
|
||||
- --debug_lib
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'sh\bin\shproc.dll']
|
||||
- [*tools_root, 'sh\bin\shsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'sh\bin\shbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- --core sh2afpu
|
||||
- -p
|
||||
- [*tools_root, 'sh\config\debugger\io7264.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 6.0\'
|
||||
compiler:
|
||||
path: [*tools_root, 'sh\bin\iccsh.exe']
|
||||
source_path: '..\src\'
|
||||
unit_tests_path: &unit_tests_path 'tests\'
|
||||
build_path: &build_path 'build\'
|
||||
options:
|
||||
- -e
|
||||
- --char_is_signed
|
||||
- -Ol
|
||||
- --no_cse
|
||||
- --no_unroll
|
||||
- --no_inline
|
||||
- --no_code_motion
|
||||
- --no_tbaa
|
||||
- --no_scheduling
|
||||
- --no_clustering
|
||||
- --debug
|
||||
- --dlib_config
|
||||
- [*tools_root, 'sh\inc\DLib_Product.h']
|
||||
- --double=32
|
||||
- --code_model=huge
|
||||
- --data_model=huge
|
||||
- --core=sh2afpu
|
||||
- --warnings_affect_exit_code
|
||||
- --warnings_are_errors
|
||||
- --mfc
|
||||
- --use_unix_directory_separators
|
||||
- --diag_suppress=Pe161
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- [*tools_root, 'sh\inc\']
|
||||
- [*tools_root, 'sh\inc\c']
|
||||
- 'src\'
|
||||
- '..\src\'
|
||||
- *unit_tests_path
|
||||
- 'vendor\unity\src\'
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_SUPPORT_64
|
||||
- 'UNITY_SUPPORT_TEST_CASES'
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: [*tools_root, 'sh\bin\ilinksh.exe']
|
||||
options:
|
||||
- --redirect __Printf=__PrintfSmall
|
||||
- --redirect __Scanf=__ScanfSmall
|
||||
- --config
|
||||
- [*tools_root, 'sh\config\generic.icf']
|
||||
- --config_def _CSTACK_SIZE=0x800
|
||||
- --config_def _HEAP_SIZE=0x800
|
||||
- --config_def _INT_TABLE=0x10
|
||||
- --entry __iar_program_start
|
||||
- --debug_lib
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.out'
|
||||
destination: *build_path
|
||||
simulator:
|
||||
path: [*tools_root, 'common\bin\CSpyBat.exe']
|
||||
pre_support:
|
||||
- --silent
|
||||
- [*tools_root, 'sh\bin\shproc.dll']
|
||||
- [*tools_root, 'sh\bin\shsim.dll']
|
||||
post_support:
|
||||
- --plugin
|
||||
- [*tools_root, 'sh\bin\shbat.dll']
|
||||
- --backend
|
||||
- -B
|
||||
- --core sh2afpu
|
||||
- -p
|
||||
- [*tools_root, 'sh\config\debugger\io7264.ddf']
|
||||
- -d
|
||||
- sim
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
||||
|
||||
@@ -1,104 +1,104 @@
|
||||
/* ==========================================
|
||||
Unity Project - A Test Framework for C
|
||||
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
||||
[Released under MIT License. Please refer to license.txt for details]
|
||||
========================================== */
|
||||
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include "unity.h"
|
||||
|
||||
int putcharSpy(int c) {return putchar(c);} // include passthrough for linking tests
|
||||
|
||||
#define TEST_CASE(...)
|
||||
|
||||
#define EXPECT_ABORT_BEGIN \
|
||||
if (TEST_PROTECT()) \
|
||||
{
|
||||
|
||||
#define VERIFY_FAILS_END \
|
||||
} \
|
||||
Unity.CurrentTestFailed = (Unity.CurrentTestFailed == 1) ? 0 : 1; \
|
||||
if (Unity.CurrentTestFailed == 1) { \
|
||||
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
||||
UnityPrint("[[[[ Previous Test Should Have Failed But Did Not ]]]]"); \
|
||||
UNITY_OUTPUT_CHAR('\n'); \
|
||||
}
|
||||
|
||||
#define VERIFY_IGNORES_END \
|
||||
} \
|
||||
Unity.CurrentTestFailed = (Unity.CurrentTestIgnored == 1) ? 0 : 1; \
|
||||
Unity.CurrentTestIgnored = 0; \
|
||||
if (Unity.CurrentTestFailed == 1) { \
|
||||
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
||||
UnityPrint("[[[[ Previous Test Should Have Ignored But Did Not ]]]]"); \
|
||||
UNITY_OUTPUT_CHAR('\n'); \
|
||||
}
|
||||
|
||||
int SetToOneToFailInTearDown;
|
||||
int SetToOneMeanWeAlreadyCheckedThisGuy;
|
||||
|
||||
void setUp(void)
|
||||
{
|
||||
SetToOneToFailInTearDown = 0;
|
||||
SetToOneMeanWeAlreadyCheckedThisGuy = 0;
|
||||
}
|
||||
|
||||
void tearDown(void)
|
||||
{
|
||||
if (SetToOneToFailInTearDown == 1)
|
||||
TEST_FAIL_MESSAGE("<= Failed in tearDown");
|
||||
if ((SetToOneMeanWeAlreadyCheckedThisGuy == 0) && (Unity.CurrentTestFailed > 0))
|
||||
{
|
||||
UnityPrint("[[[[ Previous Test Should Have Passed But Did Not ]]]]");
|
||||
UNITY_OUTPUT_CHAR('\n');
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE(0)
|
||||
TEST_CASE(44)
|
||||
TEST_CASE((90)+9)
|
||||
void test_TheseShouldAllPass(int Num)
|
||||
{
|
||||
TEST_ASSERT_TRUE(Num < 100);
|
||||
}
|
||||
|
||||
TEST_CASE(3)
|
||||
TEST_CASE(77)
|
||||
TEST_CASE( (99) + 1 - (1))
|
||||
void test_TheseShouldAllFail(int Num)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_TRUE(Num > 100);
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
|
||||
TEST_CASE(1)
|
||||
TEST_CASE(44)
|
||||
TEST_CASE(99)
|
||||
TEST_CASE(98)
|
||||
void test_TheseAreEveryOther(int Num)
|
||||
{
|
||||
if (Num & 1)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_TRUE(Num > 100);
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
else
|
||||
{
|
||||
TEST_ASSERT_TRUE(Num < 100);
|
||||
}
|
||||
}
|
||||
|
||||
void test_NormalPassesStillWork(void)
|
||||
{
|
||||
TEST_ASSERT_TRUE(1);
|
||||
}
|
||||
|
||||
void test_NormalFailsStillWork(void)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_TRUE(0);
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
/* ==========================================
|
||||
Unity Project - A Test Framework for C
|
||||
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
||||
[Released under MIT License. Please refer to license.txt for details]
|
||||
========================================== */
|
||||
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include "unity.h"
|
||||
|
||||
int putcharSpy(int c) {return putchar(c);} // include passthrough for linking tests
|
||||
|
||||
#define TEST_CASE(...)
|
||||
|
||||
#define EXPECT_ABORT_BEGIN \
|
||||
if (TEST_PROTECT()) \
|
||||
{
|
||||
|
||||
#define VERIFY_FAILS_END \
|
||||
} \
|
||||
Unity.CurrentTestFailed = (Unity.CurrentTestFailed == 1) ? 0 : 1; \
|
||||
if (Unity.CurrentTestFailed == 1) { \
|
||||
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
||||
UnityPrint("[[[[ Previous Test Should Have Failed But Did Not ]]]]"); \
|
||||
UNITY_OUTPUT_CHAR('\n'); \
|
||||
}
|
||||
|
||||
#define VERIFY_IGNORES_END \
|
||||
} \
|
||||
Unity.CurrentTestFailed = (Unity.CurrentTestIgnored == 1) ? 0 : 1; \
|
||||
Unity.CurrentTestIgnored = 0; \
|
||||
if (Unity.CurrentTestFailed == 1) { \
|
||||
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
||||
UnityPrint("[[[[ Previous Test Should Have Ignored But Did Not ]]]]"); \
|
||||
UNITY_OUTPUT_CHAR('\n'); \
|
||||
}
|
||||
|
||||
int SetToOneToFailInTearDown;
|
||||
int SetToOneMeanWeAlreadyCheckedThisGuy;
|
||||
|
||||
void setUp(void)
|
||||
{
|
||||
SetToOneToFailInTearDown = 0;
|
||||
SetToOneMeanWeAlreadyCheckedThisGuy = 0;
|
||||
}
|
||||
|
||||
void tearDown(void)
|
||||
{
|
||||
if (SetToOneToFailInTearDown == 1)
|
||||
TEST_FAIL_MESSAGE("<= Failed in tearDown");
|
||||
if ((SetToOneMeanWeAlreadyCheckedThisGuy == 0) && (Unity.CurrentTestFailed > 0))
|
||||
{
|
||||
UnityPrint("[[[[ Previous Test Should Have Passed But Did Not ]]]]");
|
||||
UNITY_OUTPUT_CHAR('\n');
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE(0)
|
||||
TEST_CASE(44)
|
||||
TEST_CASE((90)+9)
|
||||
void test_TheseShouldAllPass(int Num)
|
||||
{
|
||||
TEST_ASSERT_TRUE(Num < 100);
|
||||
}
|
||||
|
||||
TEST_CASE(3)
|
||||
TEST_CASE(77)
|
||||
TEST_CASE( (99) + 1 - (1))
|
||||
void test_TheseShouldAllFail(int Num)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_TRUE(Num > 100);
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
|
||||
TEST_CASE(1)
|
||||
TEST_CASE(44)
|
||||
TEST_CASE(99)
|
||||
TEST_CASE(98)
|
||||
void test_TheseAreEveryOther(int Num)
|
||||
{
|
||||
if (Num & 1)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_TRUE(Num > 100);
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
else
|
||||
{
|
||||
TEST_ASSERT_TRUE(Num < 100);
|
||||
}
|
||||
}
|
||||
|
||||
void test_NormalPassesStillWork(void)
|
||||
{
|
||||
TEST_ASSERT_TRUE(1);
|
||||
}
|
||||
|
||||
void test_NormalFailsStillWork(void)
|
||||
{
|
||||
EXPECT_ABORT_BEGIN
|
||||
TEST_ASSERT_TRUE(0);
|
||||
VERIFY_FAILS_END
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user