finally able to combine c and cpp the trick is in the header #ifdef __cplusplus extern "C" {#endif #ifdef __cplusplus}#endif

interrupts
atomega 4 years ago
parent 5b2926652d
commit c6d22153a9

@ -3,17 +3,19 @@ cmake_minimum_required(VERSION 3.5)
#VARIABLES : CMAKE
####################################################################################################
#An exhaustive list can be found : https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # Why ? Because we are using our own Linker so this will prevent Cmake to veryfy cimpilation with his Linker option
#set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # Why ? Because we are using our own Linker so this will prevent Cmake to veryfy cimpilation with his Linker option
set(CMAKE_C_COMPILER "/usr/bin/arm-none-eabi-gcc")
set(CMAKE_CXX_COMPILER "/usr/bin/arm-none-eabi-g++")
set(CMAKE_ASM_COMPILER "/usr/bin/arm-none-eabi-gcc")
#set(CMAKE_ASM_FLAGS "-x assembler-with-cpp") #This flag is now part of a library The reason that we use arm-none-eabi-gcc is that we will invoke c before the assemly Thus the flags.
set(CMAKE_OBJCOPY "/usr/bin/arm-none-eabi-objcopy")
set(CMAKE_EXE_LINKER_FLAGS "--specs=nosys.specs")
####################################################################################################
#PROJECT & LIBRARIES : defined by user and important that it comes after the VARIABLES otherwise the Set varibale will not be used.
####################################################################################################
project(refOvenTest ASM C CXX) # do this intead sf declaring languages in the beginning it will prevent loop errors.
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(CMAKE_CROSSCOMPILING TRUE)
@ -42,6 +44,7 @@ set(C_SOURCES
set (C_INCLUDES
Inc
cppSrc
Drivers/STM32F0xx_HAL_Driver/Inc
Drivers/CMSIS/Device/ST/STM32F0xx/Include
Drivers/CMSIS/Include)
@ -76,7 +79,7 @@ set (AS_FLAGS -x assembler-with-cpp ${C_FLAGS})
set (AS_DEFS ${C_DEFS})
set (CPP_SOURCES cppSrc/transfer.cpp)
set (CPP_INCLUDES cppSrc)
set (CPP_INCLUDES ${C_INCLUDES} )
set (CPP_FLAGS ${C_FLAGS})
set (CPP_DEFS ${C_DEFS})
@ -90,11 +93,11 @@ set(LINKER_FLAGS
####################################################################################################
#LIBRARIES
####################################################################################################
add_library(${AS_FUNC} STATIC ${AS_SOURCES})
add_library(${AS_FUNC} ${AS_SOURCES})
target_compile_options(${AS_FUNC} PRIVATE ${AS_FLAGS})
target_compile_definitions(${AS_FUNC} PRIVATE ${AS_DEFS})
add_library(${C_FUNC} STATIC ${C_SOURCES})
add_library(${C_FUNC} ${C_SOURCES})
target_compile_options(${C_FUNC} PRIVATE ${C_FLAGS})
target_compile_definitions(${C_FUNC} PRIVATE ${C_DEFS})
target_include_directories(${C_FUNC} PUBLIC ${C_INCLUDES})
@ -104,7 +107,9 @@ target_compile_options(${CPP_FUNC} PRIVATE ${CPP_FLAGS})
target_compile_definitions(${CPP_FUNC} PRIVATE ${CPP_DEFS})
target_include_directories(${CPP_FUNC} PUBLIC ${CPP_INCLUDES})
target_link_libraries(${CPP_FUNC} ${C_FUNC})
#link_directories(cppSrc Inc/)
#target_link_libraries(${CPP_FUNC} ${C_FUNC})
#target_link_libraries(${C_FUNC} ${CPP_FUNC})
####################################################################################################
#COMPILATION
@ -112,11 +117,11 @@ target_link_libraries(${CPP_FUNC} ${C_FUNC})
add_executable(${EXECUTABLE} Src/main.c)
target_compile_options(${EXECUTABLE} PRIVATE ${C_FLAGS})
target_compile_definitions(${EXECUTABLE} PRIVATE ${C_DEFS})
target_include_directories(${EXECUTABLE} PRIVATE ${C_INCLUDES})
target_include_directories(${EXECUTABLE} PUBLIC ${C_INCLUDES})
####################################################################################################
#LINKING
####################################################################################################
target_link_libraries(${EXECUTABLE} ${AS_FUNC} ${C_FUNC})
target_link_libraries(${EXECUTABLE} ${AS_FUNC} ${C_FUNC} ${CPP_FUNC})
target_link_options(${EXECUTABLE} PRIVATE
${CPU_MCU}
-mthumb

@ -60,7 +60,7 @@ extern "C" {
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
int cHook();
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/

@ -19,7 +19,7 @@
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "transfer.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
@ -54,7 +54,10 @@ static void MX_GPIO_Init(void);
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
int cHook()
{
return 1;
}
/* USER CODE END 0 */
/**
@ -81,8 +84,6 @@ int main(void)
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
@ -94,7 +95,8 @@ int main(void)
/* USER CODE BEGIN 2 */
/* USER CODE END 2 */
cHook();
cppHook();
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)

@ -214,9 +214,6 @@ CMAKE_STRIP:FILEPATH=/usr/bin/arm-none-eabi-strip
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Dependencies for the target
cpp_functions_LIB_DEPENDS:STATIC=general;c_functions;
//Value Computed by CMake
refOvenTest_BINARY_DIR:STATIC=/home/key/github/KED/bsl/cmakeLowLayer/build

@ -68,6 +68,6 @@ endif()
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;c;gcc;c;nosys")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/arm-none-eabi/7.3.1;/usr/lib/arm-none-eabi/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

@ -71,6 +71,6 @@ endif()
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc;c;gcc;c;nosys")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/arm-none-eabi/7.3.1;/usr/lib/arm-none-eabi/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

@ -34,32 +34,42 @@ The CXX compiler identification is GNU, found in "/home/key/github/KED/bsl/cmake
Determining if the C compiler works passed with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_16735/fast"
/usr/bin/make -f CMakeFiles/cmTC_16735.dir/build.make CMakeFiles/cmTC_16735.dir/build
Run Build Command:"/usr/bin/make" "cmTC_ab575/fast"
/usr/bin/make -f CMakeFiles/cmTC_ab575.dir/build.make CMakeFiles/cmTC_ab575.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_16735.dir/testCCompiler.c.o
/usr/bin/arm-none-eabi-gcc -o CMakeFiles/cmTC_16735.dir/testCCompiler.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C static library libcmTC_16735.a
/usr/bin/cmake -P CMakeFiles/cmTC_16735.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16735.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_16735.a CMakeFiles/cmTC_16735.dir/testCCompiler.c.o
/usr/bin/arm-none-eabi-ranlib libcmTC_16735.a
Building C object CMakeFiles/cmTC_ab575.dir/testCCompiler.c.o
/usr/bin/arm-none-eabi-gcc -o CMakeFiles/cmTC_ab575.dir/testCCompiler.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_ab575
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ab575.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc --specs=nosys.specs CMakeFiles/cmTC_ab575.dir/testCCompiler.c.o -o cmTC_ab575
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_586a1/fast"
/usr/bin/make -f CMakeFiles/cmTC_586a1.dir/build.make CMakeFiles/cmTC_586a1.dir/build
Run Build Command:"/usr/bin/make" "cmTC_1a997/fast"
/usr/bin/make -f CMakeFiles/cmTC_1a997.dir/build.make CMakeFiles/cmTC_1a997.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_586a1.dir/CMakeCCompilerABI.c.o
/usr/bin/arm-none-eabi-gcc -o CMakeFiles/cmTC_586a1.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c
Linking C static library libcmTC_586a1.a
/usr/bin/cmake -P CMakeFiles/cmTC_586a1.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_586a1.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_586a1.a CMakeFiles/cmTC_586a1.dir/CMakeCCompilerABI.c.o
/usr/bin/arm-none-eabi-ranlib libcmTC_586a1.a
Building C object CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o
/usr/bin/arm-none-eabi-gcc -o CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_1a997
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a997.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc --specs=nosys.specs -v CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o -o cmTC_1a997
Using built-in specs.
Reading specs from /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/nosys.specs
rename spec link_gcc_c_sequence to nosys_link_gcc_c_sequence
COLLECT_GCC=/usr/bin/arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper
Target: arm-none-eabi
Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/lib/include' --mandir='/usr/lib/share/man' --infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir='/usr/lib/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --mandir=/usr/share/man --enable-languages=c,c++,lto --enable-multilib --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib --with-gnu-as --with-gnu-ld --with-pkgversion=15:7-2018-q2-6 --without-included-gettext --prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info --htmldir=/usr/share/doc/gcc-arm-none-eabi/html --pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3 --host=x86_64-linux-gnu --with-headers=no --without-newlib --with-multilib-list=rmprofile CFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' GCJFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' OBJCXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0 AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip
Thread model: single
gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6)
COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/
LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-specs=nosys.specs' '-v' '-o' 'cmTC_1a997'
/usr/lib/gcc/arm-none-eabi/7.3.1/collect2 -plugin /usr/lib/gcc/arm-none-eabi/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccizLM3y.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lnosys -X -o cmTC_1a997 /usr/lib/gcc/arm-none-eabi/7.3.1/crti.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtbegin.o /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/crt0.o -L/usr/lib/gcc/arm-none-eabi/7.3.1 -L/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o --start-group -lgcc -lc --end-group --start-group -lgcc -lc -lnosys --end-group /usr/lib/gcc/arm-none-eabi/7.3.1/crtend.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtn.o
COLLECT_GCC_OPTIONS='-specs=nosys.specs' '-v' '-o' 'cmTC_1a997'
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -67,20 +77,61 @@ Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(arm-none-eabi-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_586a1/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_586a1.dir/build.make CMakeFiles/cmTC_586a1.dir/build]
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_1a997/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_1a997.dir/build.make CMakeFiles/cmTC_1a997.dir/build]
ignore line: [make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_586a1.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/arm-none-eabi-gcc -o CMakeFiles/cmTC_586a1.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C static library libcmTC_586a1.a]
ignore line: [/usr/bin/cmake -P CMakeFiles/cmTC_586a1.dir/cmake_clean_target.cmake]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_586a1.dir/link.txt --verbose=1]
ignore line: [/usr/bin/arm-none-eabi-ar qc libcmTC_586a1.a CMakeFiles/cmTC_586a1.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/arm-none-eabi-ranlib libcmTC_586a1.a]
ignore line: [make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp']
ignore line: []
implicit libs: []
implicit dirs: []
ignore line: [Building C object CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/arm-none-eabi-gcc -o CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_1a997]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1a997.dir/link.txt --verbose=1]
ignore line: [/usr/bin/arm-none-eabi-gcc --specs=nosys.specs -v CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o -o cmTC_1a997 ]
ignore line: [Using built-in specs.]
ignore line: [Reading specs from /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/nosys.specs]
ignore line: [rename spec link_gcc_c_sequence to nosys_link_gcc_c_sequence]
ignore line: [COLLECT_GCC=/usr/bin/arm-none-eabi-gcc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper]
ignore line: [Target: arm-none-eabi]
ignore line: [Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/lib/include' --mandir='/usr/lib/share/man' --infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir='/usr/lib/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --mandir=/usr/share/man --enable-languages=c,c++,lto --enable-multilib --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib --with-gnu-as --with-gnu-ld --with-pkgversion=15:7-2018-q2-6 --without-included-gettext --prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info --htmldir=/usr/share/doc/gcc-arm-none-eabi/html --pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3 --host=x86_64-linux-gnu --with-headers=no --without-newlib --with-multilib-list=rmprofile CFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' GCJFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' OBJCXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0 AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip]
ignore line: [Thread model: single]
ignore line: [gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-specs=nosys.specs' '-v' '-o' 'cmTC_1a997']
link line: [ /usr/lib/gcc/arm-none-eabi/7.3.1/collect2 -plugin /usr/lib/gcc/arm-none-eabi/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccizLM3y.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lnosys -X -o cmTC_1a997 /usr/lib/gcc/arm-none-eabi/7.3.1/crti.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtbegin.o /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/crt0.o -L/usr/lib/gcc/arm-none-eabi/7.3.1 -L/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o --start-group -lgcc -lc --end-group --start-group -lgcc -lc -lnosys --end-group /usr/lib/gcc/arm-none-eabi/7.3.1/crtend.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtn.o]
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccizLM3y.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lnosys] ==> ignore
arg [-X] ==> ignore
arg [-o] ==> ignore
arg [cmTC_1a997] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crti.o] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crtbegin.o] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/crt0.o] ==> ignore
arg [-L/usr/lib/gcc/arm-none-eabi/7.3.1] ==> dir [/usr/lib/gcc/arm-none-eabi/7.3.1]
arg [-L/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib] ==> dir [/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib]
arg [CMakeFiles/cmTC_1a997.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [--start-group] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [--end-group] ==> ignore
arg [--start-group] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lnosys] ==> lib [nosys]
arg [--end-group] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crtend.o] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/arm-none-eabi/7.3.1] ==> [/usr/lib/gcc/arm-none-eabi/7.3.1]
collapse library dir [/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib] ==> [/usr/lib/arm-none-eabi/lib]
implicit libs: [gcc;c;gcc;c;nosys]
implicit dirs: [/usr/lib/gcc/arm-none-eabi/7.3.1;/usr/lib/arm-none-eabi/lib]
implicit fwks: []
@ -89,16 +140,14 @@ Parsed C implicit link information from above output:
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_6a761/fast"
/usr/bin/make -f CMakeFiles/cmTC_6a761.dir/build.make CMakeFiles/cmTC_6a761.dir/build
Run Build Command:"/usr/bin/make" "cmTC_62a16/fast"
/usr/bin/make -f CMakeFiles/cmTC_62a16.dir/build.make CMakeFiles/cmTC_62a16.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6a761.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-gcc -std=c11 -o CMakeFiles/cmTC_6a761.dir/feature_tests.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.c
Linking C static library libcmTC_6a761.a
/usr/bin/cmake -P CMakeFiles/cmTC_6a761.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a761.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_6a761.a CMakeFiles/cmTC_6a761.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-ranlib libcmTC_6a761.a
Building C object CMakeFiles/cmTC_62a16.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-gcc -std=c11 -o CMakeFiles/cmTC_62a16.dir/feature_tests.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_62a16
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_62a16.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc --specs=nosys.specs CMakeFiles/cmTC_62a16.dir/feature_tests.c.o -o cmTC_62a16
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -111,16 +160,14 @@ make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFi
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_07893/fast"
/usr/bin/make -f CMakeFiles/cmTC_07893.dir/build.make CMakeFiles/cmTC_07893.dir/build
Run Build Command:"/usr/bin/make" "cmTC_e8a4a/fast"
/usr/bin/make -f CMakeFiles/cmTC_e8a4a.dir/build.make CMakeFiles/cmTC_e8a4a.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_07893.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-gcc -std=c99 -o CMakeFiles/cmTC_07893.dir/feature_tests.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.c
Linking C static library libcmTC_07893.a
/usr/bin/cmake -P CMakeFiles/cmTC_07893.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07893.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_07893.a CMakeFiles/cmTC_07893.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-ranlib libcmTC_07893.a
Building C object CMakeFiles/cmTC_e8a4a.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-gcc -std=c99 -o CMakeFiles/cmTC_e8a4a.dir/feature_tests.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_e8a4a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e8a4a.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc --specs=nosys.specs CMakeFiles/cmTC_e8a4a.dir/feature_tests.c.o -o cmTC_e8a4a
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -133,16 +180,14 @@ make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFi
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_25a15/fast"
/usr/bin/make -f CMakeFiles/cmTC_25a15.dir/build.make CMakeFiles/cmTC_25a15.dir/build
Run Build Command:"/usr/bin/make" "cmTC_ac057/fast"
/usr/bin/make -f CMakeFiles/cmTC_ac057.dir/build.make CMakeFiles/cmTC_ac057.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_25a15.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-gcc -std=c90 -o CMakeFiles/cmTC_25a15.dir/feature_tests.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.c
Linking C static library libcmTC_25a15.a
/usr/bin/cmake -P CMakeFiles/cmTC_25a15.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_25a15.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_25a15.a CMakeFiles/cmTC_25a15.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-ranlib libcmTC_25a15.a
Building C object CMakeFiles/cmTC_ac057.dir/feature_tests.c.o
/usr/bin/arm-none-eabi-gcc -std=c90 -o CMakeFiles/cmTC_ac057.dir/feature_tests.c.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_ac057
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac057.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-gcc --specs=nosys.specs CMakeFiles/cmTC_ac057.dir/feature_tests.c.o -o cmTC_ac057
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -153,32 +198,42 @@ make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFi
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c8bc3/fast"
/usr/bin/make -f CMakeFiles/cmTC_c8bc3.dir/build.make CMakeFiles/cmTC_c8bc3.dir/build
Run Build Command:"/usr/bin/make" "cmTC_9a694/fast"
/usr/bin/make -f CMakeFiles/cmTC_9a694.dir/build.make CMakeFiles/cmTC_9a694.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c8bc3.dir/testCXXCompiler.cxx.o
/usr/bin/arm-none-eabi-g++ -o CMakeFiles/cmTC_c8bc3.dir/testCXXCompiler.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX static library libcmTC_c8bc3.a
/usr/bin/cmake -P CMakeFiles/cmTC_c8bc3.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c8bc3.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_c8bc3.a CMakeFiles/cmTC_c8bc3.dir/testCXXCompiler.cxx.o
/usr/bin/arm-none-eabi-ranlib libcmTC_c8bc3.a
Building CXX object CMakeFiles/cmTC_9a694.dir/testCXXCompiler.cxx.o
/usr/bin/arm-none-eabi-g++ -o CMakeFiles/cmTC_9a694.dir/testCXXCompiler.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_9a694
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a694.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs CMakeFiles/cmTC_9a694.dir/testCXXCompiler.cxx.o -o cmTC_9a694
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c45de/fast"
/usr/bin/make -f CMakeFiles/cmTC_c45de.dir/build.make CMakeFiles/cmTC_c45de.dir/build
Run Build Command:"/usr/bin/make" "cmTC_9fa42/fast"
/usr/bin/make -f CMakeFiles/cmTC_9fa42.dir/build.make CMakeFiles/cmTC_9fa42.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c45de.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/arm-none-eabi-g++ -o CMakeFiles/cmTC_c45de.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp
Linking CXX static library libcmTC_c45de.a
/usr/bin/cmake -P CMakeFiles/cmTC_c45de.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c45de.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_c45de.a CMakeFiles/cmTC_c45de.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/arm-none-eabi-ranlib libcmTC_c45de.a
Building CXX object CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/arm-none-eabi-g++ -o CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_9fa42
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fa42.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs -v CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_9fa42
Using built-in specs.
Reading specs from /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/nosys.specs
rename spec link_gcc_c_sequence to nosys_link_gcc_c_sequence
COLLECT_GCC=/usr/bin/arm-none-eabi-g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper
Target: arm-none-eabi
Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/lib/include' --mandir='/usr/lib/share/man' --infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir='/usr/lib/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --mandir=/usr/share/man --enable-languages=c,c++,lto --enable-multilib --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib --with-gnu-as --with-gnu-ld --with-pkgversion=15:7-2018-q2-6 --without-included-gettext --prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info --htmldir=/usr/share/doc/gcc-arm-none-eabi/html --pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3 --host=x86_64-linux-gnu --with-headers=no --without-newlib --with-multilib-list=rmprofile CFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' GCJFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' OBJCXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0 AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip
Thread model: single
gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6)
COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/
LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-specs=nosys.specs' '-v' '-o' 'cmTC_9fa42'
/usr/lib/gcc/arm-none-eabi/7.3.1/collect2 -plugin /usr/lib/gcc/arm-none-eabi/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccfBAnP7.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lnosys -X -o cmTC_9fa42 /usr/lib/gcc/arm-none-eabi/7.3.1/crti.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtbegin.o /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/crt0.o -L/usr/lib/gcc/arm-none-eabi/7.3.1 -L/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm --start-group -lgcc -lc --end-group --start-group -lgcc -lc -lnosys --end-group /usr/lib/gcc/arm-none-eabi/7.3.1/crtend.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtn.o
COLLECT_GCC_OPTIONS='-specs=nosys.specs' '-v' '-o' 'cmTC_9fa42'
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -186,20 +241,63 @@ Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(arm-none-eabi-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_c45de/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_c45de.dir/build.make CMakeFiles/cmTC_c45de.dir/build]
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_9fa42/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_9fa42.dir/build.make CMakeFiles/cmTC_9fa42.dir/build]
ignore line: [make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_c45de.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/arm-none-eabi-g++ -o CMakeFiles/cmTC_c45de.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX static library libcmTC_c45de.a]
ignore line: [/usr/bin/cmake -P CMakeFiles/cmTC_c45de.dir/cmake_clean_target.cmake]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c45de.dir/link.txt --verbose=1]
ignore line: [/usr/bin/arm-none-eabi-ar qc libcmTC_c45de.a CMakeFiles/cmTC_c45de.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/arm-none-eabi-ranlib libcmTC_c45de.a]
ignore line: [make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp']
ignore line: []
implicit libs: []
implicit dirs: []
ignore line: [Building CXX object CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/arm-none-eabi-g++ -o CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_9fa42]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fa42.dir/link.txt --verbose=1]
ignore line: [/usr/bin/arm-none-eabi-g++ --specs=nosys.specs -v CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_9fa42 ]
ignore line: [Using built-in specs.]
ignore line: [Reading specs from /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/nosys.specs]
ignore line: [rename spec link_gcc_c_sequence to nosys_link_gcc_c_sequence]
ignore line: [COLLECT_GCC=/usr/bin/arm-none-eabi-g++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper]
ignore line: [Target: arm-none-eabi]
ignore line: [Configured with: ../configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/lib/include' --mandir='/usr/lib/share/man' --infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir='/usr/lib/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --mandir=/usr/share/man --enable-languages=c,c++,lto --enable-multilib --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib --with-gnu-as --with-gnu-ld --with-pkgversion=15:7-2018-q2-6 --without-included-gettext --prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info --htmldir=/usr/share/doc/gcc-arm-none-eabi/html --pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3 --host=x86_64-linux-gnu --with-headers=no --without-newlib --with-multilib-list=rmprofile CFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' FFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' GCJFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' OBJCXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/building/package=. -fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0 AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip]
ignore line: [Thread model: single]
ignore line: [gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (15:7-2018-q2-6) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/bin/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/7.3.1/:/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-specs=nosys.specs' '-v' '-o' 'cmTC_9fa42']
link line: [ /usr/lib/gcc/arm-none-eabi/7.3.1/collect2 -plugin /usr/lib/gcc/arm-none-eabi/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccfBAnP7.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lnosys -X -o cmTC_9fa42 /usr/lib/gcc/arm-none-eabi/7.3.1/crti.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtbegin.o /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/crt0.o -L/usr/lib/gcc/arm-none-eabi/7.3.1 -L/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm --start-group -lgcc -lc --end-group --start-group -lgcc -lc -lnosys --end-group /usr/lib/gcc/arm-none-eabi/7.3.1/crtend.o /usr/lib/gcc/arm-none-eabi/7.3.1/crtn.o]
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/arm-none-eabi/7.3.1/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccfBAnP7.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lnosys] ==> ignore
arg [-X] ==> ignore
arg [-o] ==> ignore
arg [cmTC_9fa42] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crti.o] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crtbegin.o] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/crt0.o] ==> ignore
arg [-L/usr/lib/gcc/arm-none-eabi/7.3.1] ==> dir [/usr/lib/gcc/arm-none-eabi/7.3.1]
arg [-L/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib] ==> dir [/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib]
arg [CMakeFiles/cmTC_9fa42.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [--start-group] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [--end-group] ==> ignore
arg [--start-group] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lnosys] ==> lib [nosys]
arg [--end-group] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crtend.o] ==> ignore
arg [/usr/lib/gcc/arm-none-eabi/7.3.1/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/arm-none-eabi/7.3.1] ==> [/usr/lib/gcc/arm-none-eabi/7.3.1]
collapse library dir [/usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib] ==> [/usr/lib/arm-none-eabi/lib]
implicit libs: [stdc++;m;gcc;c;gcc;c;nosys]
implicit dirs: [/usr/lib/gcc/arm-none-eabi/7.3.1;/usr/lib/arm-none-eabi/lib]
implicit fwks: []
@ -208,16 +306,14 @@ Parsed CXX implicit link information from above output:
Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4fb58/fast"
/usr/bin/make -f CMakeFiles/cmTC_4fb58.dir/build.make CMakeFiles/cmTC_4fb58.dir/build
Run Build Command:"/usr/bin/make" "cmTC_865e2/fast"
/usr/bin/make -f CMakeFiles/cmTC_865e2.dir/build.make CMakeFiles/cmTC_865e2.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4fb58.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++1z -o CMakeFiles/cmTC_4fb58.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX static library libcmTC_4fb58.a
/usr/bin/cmake -P CMakeFiles/cmTC_4fb58.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4fb58.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_4fb58.a CMakeFiles/cmTC_4fb58.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-ranlib libcmTC_4fb58.a
Building CXX object CMakeFiles/cmTC_865e2.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++1z -o CMakeFiles/cmTC_865e2.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_865e2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_865e2.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs CMakeFiles/cmTC_865e2.dir/feature_tests.cxx.o -o cmTC_865e2
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -283,16 +379,14 @@ make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFi
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_fcd94/fast"
/usr/bin/make -f CMakeFiles/cmTC_fcd94.dir/build.make CMakeFiles/cmTC_fcd94.dir/build
Run Build Command:"/usr/bin/make" "cmTC_ef11e/fast"
/usr/bin/make -f CMakeFiles/cmTC_ef11e.dir/build.make CMakeFiles/cmTC_ef11e.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_fcd94.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++14 -o CMakeFiles/cmTC_fcd94.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX static library libcmTC_fcd94.a
/usr/bin/cmake -P CMakeFiles/cmTC_fcd94.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fcd94.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_fcd94.a CMakeFiles/cmTC_fcd94.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-ranlib libcmTC_fcd94.a
Building CXX object CMakeFiles/cmTC_ef11e.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++14 -o CMakeFiles/cmTC_ef11e.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_ef11e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ef11e.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs CMakeFiles/cmTC_ef11e.dir/feature_tests.cxx.o -o cmTC_ef11e
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -358,16 +452,14 @@ make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFi
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_de9ee/fast"
/usr/bin/make -f CMakeFiles/cmTC_de9ee.dir/build.make CMakeFiles/cmTC_de9ee.dir/build
Run Build Command:"/usr/bin/make" "cmTC_4dc65/fast"
/usr/bin/make -f CMakeFiles/cmTC_4dc65.dir/build.make CMakeFiles/cmTC_4dc65.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_de9ee.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++11 -o CMakeFiles/cmTC_de9ee.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX static library libcmTC_de9ee.a
/usr/bin/cmake -P CMakeFiles/cmTC_de9ee.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de9ee.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_de9ee.a CMakeFiles/cmTC_de9ee.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-ranlib libcmTC_de9ee.a
Building CXX object CMakeFiles/cmTC_4dc65.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++11 -o CMakeFiles/cmTC_4dc65.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_4dc65
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4dc65.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs CMakeFiles/cmTC_4dc65.dir/feature_tests.cxx.o -o cmTC_4dc65
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
@ -433,16 +525,14 @@ make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFi
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9885c/fast"
/usr/bin/make -f CMakeFiles/cmTC_9885c.dir/build.make CMakeFiles/cmTC_9885c.dir/build
Run Build Command:"/usr/bin/make" "cmTC_3fc0a/fast"
/usr/bin/make -f CMakeFiles/cmTC_3fc0a.dir/build.make CMakeFiles/cmTC_3fc0a.dir/build
make[1]: Entering directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9885c.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++98 -o CMakeFiles/cmTC_9885c.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX static library libcmTC_9885c.a
/usr/bin/cmake -P CMakeFiles/cmTC_9885c.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9885c.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-ar qc libcmTC_9885c.a CMakeFiles/cmTC_9885c.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-ranlib libcmTC_9885c.a
Building CXX object CMakeFiles/cmTC_3fc0a.dir/feature_tests.cxx.o
/usr/bin/arm-none-eabi-g++ -std=c++98 -o CMakeFiles/cmTC_3fc0a.dir/feature_tests.cxx.o -c /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_3fc0a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3fc0a.dir/link.txt --verbose=1
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs CMakeFiles/cmTC_3fc0a.dir/feature_tests.cxx.o -o cmTC_3fc0a
make[1]: Leaving directory '/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/CMakeTmp'

@ -68,7 +68,7 @@ CMAKE_BINARY_DIR = /home/key/github/KED/bsl/cmakeLowLayer/build
# Target rules for target CMakeFiles/cpp_functions.dir
# All Build rule for target.
CMakeFiles/cpp_functions.dir/all: CMakeFiles/c_functions.dir/all
CMakeFiles/cpp_functions.dir/all:
$(MAKE) -f CMakeFiles/cpp_functions.dir/build.make CMakeFiles/cpp_functions.dir/depend
$(MAKE) -f CMakeFiles/cpp_functions.dir/build.make CMakeFiles/cpp_functions.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles --progress-num=11,12 "Built target cpp_functions"
@ -81,7 +81,7 @@ all: CMakeFiles/cpp_functions.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/cpp_functions.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles 10
$(CMAKE_COMMAND) -E cmake_progress_start /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/cpp_functions.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles 0
.PHONY : CMakeFiles/cpp_functions.dir/rule
@ -106,6 +106,7 @@ clean: CMakeFiles/cpp_functions.dir/clean
# All Build rule for target.
CMakeFiles/refOvenTest.out.dir/all: CMakeFiles/c_functions.dir/all
CMakeFiles/refOvenTest.out.dir/all: CMakeFiles/cpp_functions.dir/all
CMakeFiles/refOvenTest.out.dir/all: CMakeFiles/assembly_functions.dir/all
$(MAKE) -f CMakeFiles/refOvenTest.out.dir/build.make CMakeFiles/refOvenTest.out.dir/depend
$(MAKE) -f CMakeFiles/refOvenTest.out.dir/build.make CMakeFiles/refOvenTest.out.dir/build
@ -119,7 +120,7 @@ all: CMakeFiles/refOvenTest.out.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/refOvenTest.out.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles 12
$(CMAKE_COMMAND) -E cmake_progress_start /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles 14
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/refOvenTest.out.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles 0
.PHONY : CMakeFiles/refOvenTest.out.dir/rule

@ -33,6 +33,7 @@ set(CMAKE_TARGET_DEFINITIONS_C
# The include file search paths:
set(CMAKE_C_TARGET_INCLUDE_PATH
"../Inc"
"../cppSrc"
"../Drivers/STM32F0xx_HAL_Driver/Inc"
"../Drivers/CMSIS/Device/ST/STM32F0xx/Include"
"../Drivers/CMSIS/Include"

@ -6,5 +6,5 @@ C_FLAGS = -mcpu=cortex-m0 -mthumb -Wall -fdata-sections -fdiagnostics-color=al
C_DEFINES = -DDATA_CACHE_ENABLE=0 -DHSE_STARTUP_TIMEOUT=100 -DHSE_VALUE=8000000 -DHSI_VALUE=8000000 -DINSTRUCTION_CACHE_ENABLE=0 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DLSI_VALUE=40000 -DPREFETCH_ENABLE=1 -DSTM32F042x6 -DUSE_FULL_LL_DRIVER -DVDD_VALUE=3300
C_INCLUDES = -I/home/key/github/KED/bsl/cmakeLowLayer/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/STM32F0xx_HAL_Driver/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Include
C_INCLUDES = -I/home/key/github/KED/bsl/cmakeLowLayer/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/cppSrc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/STM32F0xx_HAL_Driver/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Include

@ -159,10 +159,10 @@ stm32_assert.h
../Inc/stm32_assert.h
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.cpp
transfer.hpp
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.hpp
transfer.h
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.h
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.hpp
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.h
main.h
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/main.h

@ -26,8 +26,8 @@ set(CMAKE_TARGET_DEFINITIONS_CXX
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../cppSrc"
"../Inc"
"../cppSrc"
"../Drivers/STM32F0xx_HAL_Driver/Inc"
"../Drivers/CMSIS/Device/ST/STM32F0xx/Include"
"../Drivers/CMSIS/Include"
@ -35,7 +35,6 @@ set(CMAKE_CXX_TARGET_INCLUDE_PATH
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/c_functions.dir/DependInfo.cmake"
)
# Fortran module output directory.

@ -25,4 +25,4 @@ CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o
../Inc/main.h
../Inc/stm32_assert.h
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.cpp
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.hpp
/home/key/github/KED/bsl/cmakeLowLayer/cppSrc/transfer.h

@ -24,5 +24,5 @@ CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o: ../Drivers/STM32F0xx_HAL_Dri
CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o: ../Inc/main.h
CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o: ../Inc/stm32_assert.h
CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o: ../cppSrc/transfer.cpp
CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o: ../cppSrc/transfer.hpp
CMakeFiles/cpp_functions.dir/cppSrc/transfer.cpp.o: ../cppSrc/transfer.h

@ -2,9 +2,9 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# compile CXX with /usr/bin/arm-none-eabi-g++
CXX_FLAGS = -mcpu=cortex-m0 -mthumb -Wall -fdata-sections -fdiagnostics-color=always -ffunction-sections
CXX_FLAGS = -mcpu=cortex-m0 -mthumb -Wall -fdata-sections -fdiagnostics-color=always -ffunction-sections -std=gnu++1z
CXX_DEFINES = -DDATA_CACHE_ENABLE=0 -DHSE_STARTUP_TIMEOUT=100 -DHSE_VALUE=8000000 -DHSI_VALUE=8000000 -DINSTRUCTION_CACHE_ENABLE=0 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DLSI_VALUE=40000 -DPREFETCH_ENABLE=1 -DSTM32F042x6 -DUSE_FULL_LL_DRIVER -DVDD_VALUE=3300
CXX_INCLUDES = -I/home/key/github/KED/bsl/cmakeLowLayer/cppSrc -I/home/key/github/KED/bsl/cmakeLowLayer/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/STM32F0xx_HAL_Driver/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Include
CXX_INCLUDES = -I/home/key/github/KED/bsl/cmakeLowLayer/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/cppSrc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/STM32F0xx_HAL_Driver/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Include

@ -158,7 +158,13 @@ stm32_assert.h
../Inc/stm32_assert.h
../cppSrc/transfer.h
main.h
../cppSrc/main.h
/home/key/github/KED/bsl/cmakeLowLayer/Src/main.c
main.h
/home/key/github/KED/bsl/cmakeLowLayer/Src/main.h
transfer.h
/home/key/github/KED/bsl/cmakeLowLayer/Src/transfer.h

@ -27,6 +27,7 @@ set(CMAKE_TARGET_DEFINITIONS_C
# The include file search paths:
set(CMAKE_C_TARGET_INCLUDE_PATH
"../Inc"
"../cppSrc"
"../Drivers/STM32F0xx_HAL_Driver/Inc"
"../Drivers/CMSIS/Device/ST/STM32F0xx/Include"
"../Drivers/CMSIS/Include"
@ -36,6 +37,7 @@ set(CMAKE_C_TARGET_INCLUDE_PATH
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/assembly_functions.dir/DependInfo.cmake"
"/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/c_functions.dir/DependInfo.cmake"
"/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles/cpp_functions.dir/DependInfo.cmake"
)
# Fortran module output directory.

@ -81,8 +81,9 @@ refOvenTest.out: CMakeFiles/refOvenTest.out.dir/Src/main.c.o
refOvenTest.out: CMakeFiles/refOvenTest.out.dir/build.make
refOvenTest.out: libassembly_functions.a
refOvenTest.out: libc_functions.a
refOvenTest.out: libcpp_functions.a
refOvenTest.out: CMakeFiles/refOvenTest.out.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable refOvenTest.out"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/key/github/KED/bsl/cmakeLowLayer/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable refOvenTest.out"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/refOvenTest.out.dir/link.txt --verbose=$(VERBOSE)
arm-none-eabi-size refOvenTest.out
arm-none-eabi-objcopy -O ihex refOvenTest.out refOvenTest.hex

@ -24,4 +24,5 @@ CMakeFiles/refOvenTest.out.dir/Src/main.c.o
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_ll_utils.h
../Inc/main.h
../Inc/stm32_assert.h
../cppSrc/transfer.h
/home/key/github/KED/bsl/cmakeLowLayer/Src/main.c

@ -23,5 +23,6 @@ CMakeFiles/refOvenTest.out.dir/Src/main.c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc
CMakeFiles/refOvenTest.out.dir/Src/main.c.o: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_ll_utils.h
CMakeFiles/refOvenTest.out.dir/Src/main.c.o: ../Inc/main.h
CMakeFiles/refOvenTest.out.dir/Src/main.c.o: ../Inc/stm32_assert.h
CMakeFiles/refOvenTest.out.dir/Src/main.c.o: ../cppSrc/transfer.h
CMakeFiles/refOvenTest.out.dir/Src/main.c.o: ../Src/main.c

@ -6,5 +6,5 @@ C_FLAGS = -mcpu=cortex-m0 -mthumb -Wall -fdata-sections -fdiagnostics-color=al
C_DEFINES = -DDATA_CACHE_ENABLE=0 -DHSE_STARTUP_TIMEOUT=100 -DHSE_VALUE=8000000 -DHSI_VALUE=8000000 -DINSTRUCTION_CACHE_ENABLE=0 -DLSE_STARTUP_TIMEOUT=5000 -DLSE_VALUE=32768 -DLSI_VALUE=40000 -DPREFETCH_ENABLE=1 -DSTM32F042x6 -DUSE_FULL_LL_DRIVER -DVDD_VALUE=3300
C_INCLUDES = -I/home/key/github/KED/bsl/cmakeLowLayer/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/STM32F0xx_HAL_Driver/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Include
C_INCLUDES = -I/home/key/github/KED/bsl/cmakeLowLayer/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/cppSrc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/STM32F0xx_HAL_Driver/Inc -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Device/ST/STM32F0xx/Include -I/home/key/github/KED/bsl/cmakeLowLayer/Drivers/CMSIS/Include

@ -1 +1 @@
/usr/bin/arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -specs=nano.specs -T/home/key/github/KED/bsl/cmakeLowLayer/startup/STM32F042K6Tx_FLASH.ld -lc -lm -lnosys -Wl,-Map=refOvenTest.map,--cref -Wl,--gc-sections CMakeFiles/refOvenTest.out.dir/Src/main.c.o -o refOvenTest.out libassembly_functions.a libc_functions.a
/usr/bin/arm-none-eabi-g++ --specs=nosys.specs -mcpu=cortex-m0 -mthumb -specs=nano.specs -T/home/key/github/KED/bsl/cmakeLowLayer/startup/STM32F042K6Tx_FLASH.ld -lc -lm -lnosys -Wl,-Map=refOvenTest.map,--cref -Wl,--gc-sections CMakeFiles/refOvenTest.out.dir/Src/main.c.o -o refOvenTest.out libassembly_functions.a libc_functions.a libcpp_functions.a

@ -1,7 +1,14 @@
#include "transfer.hpp"
#include "transfer.h"
int cppHook()
{
while (1)
{
/* USER CODE END WHILE */
LL_GPIO_TogglePin(LED_G_GPIO_Port,LED_G_Pin);
LL_mDelay(500);
/* USER CODE BEGIN 3 */
}
return 1;
}

@ -0,0 +1,16 @@
#ifndef TRANSFER_H
#define TRANSFER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "main.h"
int cppHook();
#ifdef __cplusplus
} // closing brace for extern "C"
#endif
#endif /* TRASNFER_H */

@ -1,8 +0,0 @@
#ifndef TRANSFER_H
#define TRANSFER_H
#include "main.h"
int cppHook();
#endif /* TRASNFER_H */
Loading…
Cancel
Save