- clang h743 build and run cdc_msc ok

- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
This commit is contained in:
hathach
2024-04-17 20:06:13 +07:00
parent 96f7ca02bf
commit 3442a87d5b
7 changed files with 33 additions and 15 deletions

View File

@@ -81,20 +81,20 @@
:tools:
:test_compiler:
:executable: clang
:name: 'clang compiler'
:executable: gcc
:name: 'gcc compiler'
:arguments:
- -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE #expands to -I search paths
- -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR #expands to -I search paths
- -D$: COLLECTION_DEFINES_TEST_AND_VENDOR #expands to all -D defined symbols
- -fsanitize=address
#- -fsanitize=address
- -c ${1} #source code input file (Ruby method call param list sub)
- -o ${2} #object file output (Ruby method call param list sub)
:test_linker:
:executable: clang
:name: 'clang linker'
:executable: gcc
:name: 'gcc linker'
:arguments:
- -fsanitize=address
#- -fsanitize=address
- ${1} #list of object files to link (Ruby method call param list sub)
- -o ${2} #executable file output (Ruby method call param list sub)