**** Clean-only build of configuration 'Debug' for project 'pir_detection_ai_LP_MSPM0G5187_nortos_ticlang' **** "C:\\ti\\ccs2100\\ccs\\utils\\bin\\gmake" -k -j 12 clean -r -O DEL /F "device.cmd.genlibs" "ti_msp_dl_config.h" "Event.dot" "device_linker.cmd" "device.opt" "ti_msp_dl_config.c" "pir_detection_ai_LP_MSPM0G5187_nortos_ticlang.out" DEL /F "pir_detection_ai.o" "ti_msp_dl_config.o" "startup_mspm0g518x_ticlang.o" "ti\edgeAI\feature_extract\feature_extract.o" DEL /F "pir_detection_ai.d" "ti_msp_dl_config.d" "startup_mspm0g518x_ticlang.d" "ti\edgeAI\feature_extract\feature_extract.d" **** Build finished **** **** Build of configuration 'Debug' for project 'pir_detection_ai_LP_MSPM0G5187_nortos_ticlang' **** "C:\\ti\\ccs2100\\ccs\\utils\\bin\\gmake" -k -j 12 all -r -O SysConfig - building file: "../pir_detection_ai.syscfg" "C:/ti/sysconfig_1.26.2/sysconfig_cli.bat" -s "C:/ti/mspm0_sdk_2_11_00_07/.metadata/product.json" --script "C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang/pir_detection_ai.syscfg" -o "." --compiler ticlang Running script... Validating... [0]info: USBCLKMUX(/ti/clockTree/mux.js): USB Peripheral is not currently enabled [1]info: ADC12_0(/ti/driverlib/ADC12) totalConversionRate: When Power Down Mode is set to Auto, ADC wakeup time may need to be considered in each sample window. Refer to the device specific data sheet for specifications on the ADC Wakeup Time. [2]info: /ti/driverlib/SYSCTL: For best practices when the CPUCLK is running at 32MHz and above, clear the flash status bit using DL_FlashCTL_executeClearStatus() before executing any flash operation. Otherwise there may be false positives. [3]info: SAMPLING_TIMER(/ti/driverlib/TIMER): Peripheral does not retain register contents in STOP or STANDBY modes. User should take care to save and restore register configuration in application. See Retention Configuration section for more details. Generating Code (pir_detection_ai.syscfg)... Writing C:\CCS_WS_21_0_0\pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\Debug\device_linker.cmd... Writing C:\CCS_WS_21_0_0\pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\Debug\device.opt... Writing C:\CCS_WS_21_0_0\pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\Debug\device.cmd.genlibs... Writing C:\CCS_WS_21_0_0\pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\Debug\ti_msp_dl_config.c... Writing C:\CCS_WS_21_0_0\pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\Debug\ti_msp_dl_config.h... Writing C:\CCS_WS_21_0_0\pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\Debug\Event.dot... Finished building: "../pir_detection_ai.syscfg" Arm Compiler - building file: "../pir_detection_ai.c" "C:/ti/ccs2100/ccs/tools/compiler/ti-cgt-armllvm_5.1.1.LTS/bin/tiarmclang.exe" -c @"device.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang" -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/DSP/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract" -I"C:/ti/mspm0_sdk_2_11_00_07/source" -DARM_MATH_CM0 -g -Wall -MMD -MP -MF"pir_detection_ai.d_raw" -MT"pir_detection_ai.o" @"./device.opt" -o"pir_detection_ai.o" "../pir_detection_ai.c" In file included from ../pir_detection_ai.c:37: [4]..\model/tvmgen_default.h:65:20: warning: 'extern' variable has an initializer [-Wextern-initializer] 65 | extern const float tvmgen_default_bias_data[] __attribute__((weak)) = {128.}; | ^ [5]..\model/tvmgen_default.h:66:22: warning: 'extern' variable has an initializer [-Wextern-initializer] 66 | extern const int32_t tvmgen_default_scale_data[] __attribute__((weak)) = {128}; | ^ [6]..\model/tvmgen_default.h:67:22: warning: 'extern' variable has an initializer [-Wextern-initializer] 67 | extern const int32_t tvmgen_default_shift_data[] __attribute__((weak)) = {15}; | ^ [7]../pir_detection_ai.c:55:24: warning: suggest braces around initialization of subobject [-Wmissing-braces] 55 | int8_t of_map[1][3] = {0,0,0}; | ^~~~~ | { } [8]../pir_detection_ai.c:139:36: error: incompatible pointer types passing 'int8_t (*)[20]' (aka 'signed char (*)[20]') to parameter of type 'int8_t *' (aka 'signed char *') [-Wincompatible-pointer-types] 139 | FE_process(window, &if_map_int8[0][0][i/SLIDING_WINDOW_SIZE], 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [9]C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract\feature_extract.h:78:42: note: passing argument to parameter 'extractedFeatures' here 78 | void FE_process(q15_t* rawInput, int8_t* extractedFeatures, uint8_t varIndex); | ^ 4 warnings and 1 error generated. Arm Compiler - building file: "ti_msp_dl_config.c" "C:/ti/ccs2100/ccs/tools/compiler/ti-cgt-armllvm_5.1.1.LTS/bin/tiarmclang.exe" -c @"device.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang" -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/DSP/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract" -I"C:/ti/mspm0_sdk_2_11_00_07/source" -DARM_MATH_CM0 -g -Wall -MMD -MP -MF"ti_msp_dl_config.d_raw" -MT"ti_msp_dl_config.o" @"./device.opt" -o"ti_msp_dl_config.o" "ti_msp_dl_config.c" Finished building: "ti_msp_dl_config.c" Arm Compiler - building file: "C:/ti/mspm0_sdk_2_11_00_07/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0g518x_ticlang.c" "C:/ti/ccs2100/ccs/tools/compiler/ti-cgt-armllvm_5.1.1.LTS/bin/tiarmclang.exe" -c @"device.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang" -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/DSP/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract" -I"C:/ti/mspm0_sdk_2_11_00_07/source" -DARM_MATH_CM0 -g -Wall -MMD -MP -MF"startup_mspm0g518x_ticlang.d_raw" -MT"startup_mspm0g518x_ticlang.o" @"./device.opt" -o"startup_mspm0g518x_ticlang.o" "C:/ti/mspm0_sdk_2_11_00_07/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0g518x_ticlang.c" Finished building: "C:/ti/mspm0_sdk_2_11_00_07/source/ti/devices/msp/m0p/startup_system_files/ticlang/startup_mspm0g518x_ticlang.c" Arm Compiler - building file: "C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract/feature_extract.c" "C:/ti/ccs2100/ccs/tools/compiler/ti-cgt-armllvm_5.1.1.LTS/bin/tiarmclang.exe" -c @"device.opt" -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang" -I"C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang/Debug" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/third_party/CMSIS/DSP/Include" -I"C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract" -I"C:/ti/mspm0_sdk_2_11_00_07/source" -DARM_MATH_CM0 -g -Wall -MMD -MP -MF"ti/edgeAI/feature_extract/feature_extract.d_raw" -MT"ti/edgeAI/feature_extract/feature_extract.o" @"./device.opt" -o"ti/edgeAI/feature_extract/feature_extract.o" "C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract/feature_extract.c" In file included from C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract/feature_extract.c:33: In file included from C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract\feature_extract.h:38: [10]C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\model/tvmgen_default.h:65:20: warning: 'extern' variable has an initializer [-Wextern-initializer] 65 | extern const float tvmgen_default_bias_data[] __attribute__((weak)) = {128.}; | ^ [11]C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\model/tvmgen_default.h:66:22: warning: 'extern' variable has an initializer [-Wextern-initializer] 66 | extern const int32_t tvmgen_default_scale_data[] __attribute__((weak)) = {128}; | ^ [12]C:/CCS_WS_21_0_0/pir_detection_ai_LP_MSPM0G5187_nortos_ticlang\model/tvmgen_default.h:67:22: warning: 'extern' variable has an initializer [-Wextern-initializer] 67 | extern const int32_t tvmgen_default_shift_data[] __attribute__((weak)) = {15}; | ^ [13]C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract/feature_extract.c:227:13: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | if((abs(dif) > 1) && slope != isSlopeInc) | ^ [14]C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract/feature_extract.c:227:13: note: include the header or explicitly provide a declaration for 'abs' 4 warnings generated. Finished building: "C:/ti/mspm0_sdk_2_11_00_07/source/ti/edgeAI/feature_extract/feature_extract.c" [15]gmake: Target 'all' not remade because of errors. **** Build finished ****