-- Application: C:/Users/user/github/myProject -- CMake version: 3.21.0 Loading Zephyr default modules (Zephyr base). -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: bl653_dvk, qualifiers: nrf52833 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/ezurio/bl653_dvk/bl653_dvk.dts -- Found devicetree overlay: bl653_dvk.overlay -- Generated zephyr.dts: C:/Users/user/github/myProject/build/myProject/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Users/user/github/myProject/build/myProject/zephyr/dts.cmake Parsing C:/ncs/v2.9.1/zephyr/Kconfig Loaded configuration 'C:/ncs/v2.9.1/zephyr/boards/ezurio/bl653_dvk/bl653_dvk_defconfig' Merged configuration 'C:/Users/user/github/myProject/prj.conf' Merged configuration 'C:/Users/user/github/myProject/build/myProject/zephyr/.config.sysbuild' Configuration saved to 'C:/Users/user/github/myProject/build/myProject/zephyr/.config' Kconfig header saved to 'C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. -- Including signing script: C:/ncs/v2.9.1/nrf/cmake/sysbuild/image_signing.cmake -- Configuring done -- Generating done -- Build files have been written to: C:/Users/user/github/myProject/build/myProject -- Found partition manager static configuration : C:/Users/user/github/myProject/pm_static.yml Partition 'mcuboot' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_pad' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_primary_app' is not included in the dynamic resolving since it is statically defined. Partition 'mcuboot_secondary' is not included in the dynamic resolving since it is statically defined. Partition 'settings_storage' is not included in the dynamic resolving since it is statically defined. -- Configuring done -- Generating done -- Build files have been written to: C:/Users/user/github/myProject/build -- west build: building application [1/20] Creating directories for 'myProject' [2/20] Creating directories for 'mcuboot' [3/20] No download step for 'myProject' [4/20] No download step for 'mcuboot' [5/20] No update step for 'myProject' [6/20] No update step for 'mcuboot' [7/20] No patch step for 'myProject' [8/20] No patch step for 'mcuboot' [9/20] No configure step for 'myProject' [9/20] Performing build step for 'myProject' [0/1] Re-running CMake... Loading Zephyr default modules (Zephyr base (cached)). -- Application: C:/Users/user/github/myProject -- CMake version: 3.21.0 -- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: bl653_dvk, qualifiers: nrf52833 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/ezurio/bl653_dvk/bl653_dvk.dts -- Found devicetree overlay: bl653_dvk.overlay -- Generated zephyr.dts: C:/Users/user/github/myProject/build/myProject/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Users/user/github/myProject/build/myProject/zephyr/dts.cmake Parsing C:/ncs/v2.9.1/zephyr/Kconfig Loaded configuration 'C:/Users/user/github/myProject/build/myProject/zephyr/.config' Merged configuration 'C:/Users/user/github/myProject/build/myProject/zephyr/.config.sysbuild' No change to configuration in 'C:/Users/user/github/myProject/build/myProject/zephyr/.config' No change to Kconfig header in 'C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/autoconf.h' -- Including signing script: C:/ncs/v2.9.1/nrf/cmake/sysbuild/image_signing.cmake -- Configuring done -- Generating done -- Build files have been written to: C:/Users/user/github/myProject/build/myProject [1/275] Running utility command for version_generator ---------------------------- SETTING VERSION NUMBER ---------------------------- - Major Number: 1 - Minor Number: 0 - Patch Number: 16 - Build Count: 2460 ------------------------------ END VERSION NUMBER ------------------------------ [2/275] Generating ../../zephyr/include/generated/ncs_commit.h [3/275] Generating ../../zephyr/include/generated/zephyr_commit.h [4/275] Generating ../../zephyr/include/generated/ncs_version.h [5/275] Generating include/generated/zephyr/version.h -- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1 [6/275] Generating misc/generated/syscalls.json, misc/generated/struct_tags.json [7/275] Generating include/generated/zephyr/kobj-types-enum.h, include/generated/zephyr/otype-to-str.h, include/generated/zephyr/otype-to-size.h [8/275] Generating include/generated/zephyr/syscall_dispatch.c, include/generated/zephyr/syscall_list.h [9/275] Generating include/generated/zephyr/driver-validation.h [10/275] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj [11/275] Generating include/generated/zephyr/offsets.h [12/275] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.9.1/modules/crypto/tinycrypt/lib/source/utils.c.obj [13/275] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.9.1/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj [14/275] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj [15/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj [16/275] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.9.1/nrf/lib/boot_banner/banner.c.obj [17/275] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/flash/flash_util.c.obj [18/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/notify.c.obj [19/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/dfu/img_util/flash_img.c.obj [20/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map_layout.c.obj [21/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/mem_mgmt/mem_attr.c.obj [22/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/debug/thread_info.c.obj [23/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj [24/275] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.9.1/nrf/subsys/bluetooth/hci_vs_sdc.c.obj [25/275] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v2.9.1/nrf/subsys/bluetooth/host_extensions/host_extensions.c.obj [26/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj [27/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/ring_buffer.c.obj [28/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj [29/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/nvs/nvs.c.obj [30/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj [31/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj [32/275] Building C object CMakeFiles/app.dir/src/bluetooth/femur_sensor/fs_s2n.c.obj [33/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj [34/275] Building C object CMakeFiles/app.dir/src/bluetooth/glasses/gl_dev_info_serv.c.obj [35/275] Building C object CMakeFiles/app.dir/src/bluetooth/femur_sensor/fs_dev_info.c.obj [36/275] Building C object CMakeFiles/app.dir/src/bluetooth/tablet/oa_fw_update.c.obj [37/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_ble_utilities.c.obj [38/275] Building C object CMakeFiles/app.dir/src/bluetooth/tablet/tb_commands.c.obj In file included from C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:8: C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c: In function 'fillNavRawSENSOR': c:\users\user\github\myProject\src\peripheral\sensor_driver.h:109:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 109 | #define SCALE_SENSOR_GYRO_4_RAW_TX(A) ((int16_t)(A / 0.1)) | ^ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:90:56: note: in expansion of macro 'SCALE_SENSOR_GYRO_4_RAW_TX' 90 | navRawSENSOR[i * 2 + 0] = SCALE_SENSOR_GYRO_4_RAW_TX(SCALE_GYRO_DS(arr[i])) & 0x00ff; | ^~~~~~~~~~~~~~~~~~~~~~~ c:\users\user\github\myProject\src\peripheral\sensor_driver.h:109:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 109 | #define SCALE_SENSOR_GYRO_4_RAW_TX(A) ((int16_t)(A / 0.1)) | ^ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:91:57: note: in expansion of macro 'SCALE_SENSOR_GYRO_4_RAW_TX' 91 | navRawSENSOR[i * 2 + 1] = (SCALE_SENSOR_GYRO_4_RAW_TX(SCALE_GYRO_DS(arr[i])) & 0xff00) >> 8; | ^~~~~~~~~~~~~~~~~~~~~~~ c:\users\user\github\myProject\src\peripheral\sensor_driver.h:107:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 107 | #define SCALE_SENSOR_ACCEL_4_TX(A) ((int16_t)(A / 0.00025)) | ^ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:94:56: note: in expansion of macro 'SCALE_SENSOR_ACCEL_4_TX' 94 | navRawSENSOR[i * 2 + 0] = SCALE_SENSOR_ACCEL_4_TX(SCALE_ACCL_GS(arr[i])) & 0x00ff; | ^~~~~~~~~~~~~~~~~~~~ c:\users\user\github\myProject\src\peripheral\sensor_driver.h:107:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 107 | #define SCALE_SENSOR_ACCEL_4_TX(A) ((int16_t)(A / 0.00025)) | ^ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:95:57: note: in expansion of macro 'SCALE_SENSOR_ACCEL_4_TX' 95 | navRawSENSOR[i * 2 + 1] = (SCALE_SENSOR_ACCEL_4_TX(SCALE_ACCL_GS(arr[i])) & 0xff00) >> 8; | ^~~~~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c: At top level: C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:27:16: warning: 'rsHipVector' defined but not used [-Wunused-variable] 27 | static uint8_t rsHipVector[VND_MAX_LEN] = {0}; | ^~~~~~~~~~~ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:25:16: warning: 'navCalSENSOR' defined but not used [-Wunused-variable] 25 | static uint8_t navCalSENSOR[VND_MAX_LEN] = {0}; | ^~~~~~~~~ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:22:13: warning: 'rsHipVectorFlag' defined but not used [-Wunused-variable] 22 | static bool rsHipVectorFlag = false; | ^~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/bluetooth/tablet/tb_commands.c:20:13: warning: 'navCalSENSORFlag' defined but not used [-Wunused-variable] 20 | static bool navCalSENSORFlag = false; | ^~~~~~~~~~~~~ [39/275] Building C object CMakeFiles/app.dir/src/bluetooth/glasses/gl_commands.c.obj [40/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_user_interface.c.obj [41/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_adc.c.obj C:/Users/user/github/myProject/src/peripheral/oa_adc.c:39:1: warning: multi-line comment [-Wcomment] 39 | // #define ADC_CONVERSION_NUM ((ADC_REFERENCE_GAIN_VOLTAGE * ADC_INVERTED_VOLTAGE_DIVIDER * \ | ^ C:/Users/user/github/myProject/src/peripheral/oa_adc.c: In function 'initADC': C:/Users/user/github/myProject/src/peripheral/oa_adc.c:150:1: warning: control reaches end of non-void function [-Wreturn-type] 150 | } | ^ [42/275] Building C object CMakeFiles/app.dir/src/bluetooth/tablet/tb_serv.c.obj [43/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_power_management.c.obj C:/Users/user/github/myProject/src/peripheral/oa_power_management.c:40:28: warning: 'struct retainedStruct' declared inside parameter list will not be visible outside of this definition or declaration 40 | int readRetainedMem(struct retainedStruct* dataOut) { | ^~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_power_management.c:70:29: warning: 'struct retainedStruct' declared inside parameter list will not be visible outside of this definition or declaration 70 | int writeRetainedMem(struct retainedStruct* dataIn) { | ^~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_power_management.c: In function 'readRetainedMem': C:/Users/user/github/myProject/src/peripheral/oa_power_management.c:64:1: warning: control reaches end of non-void function [-Wreturn-type] 64 | } | ^ C:/Users/user/github/myProject/src/peripheral/oa_power_management.c: In function 'writeRetainedMem': C:/Users/user/github/myProject/src/peripheral/oa_power_management.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] 84 | } | ^ C:/Users/user/github/myProject/src/peripheral/oa_power_management.c: In function 'initSleepWakeUp': C:/Users/user/github/myProject/src/peripheral/oa_power_management.c:101:1: warning: control reaches end of non-void function [-Wreturn-type] 101 | } | ^ [44/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_cmd_queue.c.obj [45/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_ble_discovery.c.obj [46/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_flash.c.obj [47/275] Building C object CMakeFiles/app.dir/src/procedure/oa_procedure_pages.c.obj [48/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_logger.c.obj C:/Users/user/github/myProject/src/peripheral/oa_logger.c:51:16: warning: 'logBuff' defined but not used [-Wunused-variable] 51 | static uint8_t logBuff[LOG_BUFF_SIZE][LOG_ENTRY_SIZE] ={0}; | ^~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_logger.c:48:16: warning: 'enqueueIndex' defined but not used [-Wunused-variable] 48 | static uint8_t enqueueIndex = 0; | ^~~~~~~~~~~~ [49/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_ble_connectivity.c.obj [50/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_dev_info.c.obj C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c: In function 'setScaledMatrixScalar': C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c:7:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7 | #define SCALE_CALIBRATION_FACTORS(A) ((float)(A) * 0.00025) | ^ C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c:51:45: note: in expansion of macro 'SCALE_CALIBRATION_FACTORS' 51 | scaledCalMatrixScalarFloat[i] = SCALE_CALIBRATION_FACTORS(temp[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c: In function 'setScaledVectorOffset': C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c:7:53: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 7 | #define SCALE_CALIBRATION_FACTORS(A) ((float)(A) * 0.00025) | ^ C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c:8:55: note: in expansion of macro 'SCALE_CALIBRATION_FACTORS' 8 | #define SCALE_VECTOR_CAL_TO_ASM330INT16(A) ((int16_t)(SCALE_CALIBRATION_FACTORS(A) / 0.000244)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/bluetooth/oa_dev_info.c:68:33: note: in expansion of macro 'SCALE_VECTOR_CAL_TO_ASM330INT16' 68 | calVectorOffsetSENSOR[i] = SCALE_VECTOR_CAL_TO_ASM330INT16(temp[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [51/275] Building C object CMakeFiles/app.dir/src/procedure/oa_femur_calc.c.obj [52/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_timer.c.obj C:/Users/user/github/myProject/src/peripheral/oa_timer.c: In function 'initTimer': C:/Users/user/github/myProject/src/peripheral/oa_timer.c:86:40: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 86 | ticsPerMicroSecond = 0.000001/(1.0 / ((float)frequency)); | ^ C:/Users/user/github/myProject/src/peripheral/oa_timer.c: In function 'getTimeStats': C:/Users/user/github/myProject/src/peripheral/oa_timer.c:223:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 223 | memset(&statsArray[referenceID], 0, sizeof(TimeStats)); | ^~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_timer.c:39:1: note: include '' or provide a declaration of 'memset' 38 | #include "oa_logger.h" +++ |+#include 39 | C:/Users/user/github/myProject/src/peripheral/oa_timer.c:223:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 223 | memset(&statsArray[referenceID], 0, sizeof(TimeStats)); | ^~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_timer.c:223:9: note: include '' or provide a declaration of 'memset' [53/275] Building C object CMakeFiles/app.dir/src/oa_globals.c.obj [54/275] Building C object CMakeFiles/app.dir/src/bluetooth/oa_ble_master.c.obj [55/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_led.c.obj [56/275] Building C object CMakeFiles/app.dir/src/procedure/oa_tibia_calc.c.obj [57/275] Building C object CMakeFiles/app.dir/src/oa_bit.c.obj [58/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_imu_tap.c.obj C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c: In function 'detectTap': C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:178:23: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 178 | imuGyroSum[i] += fabs(imuData[i]); | ^~ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:184:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 184 | gravityEstimate.x = GRAVITY_ALPHA * gravityEstimate.x + (1 - GRAVITY_ALPHA) * imuData[X_ACC]; | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:184:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 184 | gravityEstimate.x = GRAVITY_ALPHA * gravityEstimate.x + (1 - GRAVITY_ALPHA) * imuData[X_ACC]; | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:185:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 185 | gravityEstimate.y = GRAVITY_ALPHA * gravityEstimate.y + (1 - GRAVITY_ALPHA) * imuData[Y_ACC]; | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:185:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 185 | gravityEstimate.y = GRAVITY_ALPHA * gravityEstimate.y + (1 - GRAVITY_ALPHA) * imuData[Y_ACC]; | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:186:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 186 | gravityEstimate.z = GRAVITY_ALPHA * gravityEstimate.z + (1 - GRAVITY_ALPHA) * imuData[Z_ACC]; | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:186:81: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 186 | gravityEstimate.z = GRAVITY_ALPHA * gravityEstimate.z + (1 - GRAVITY_ALPHA) * imuData[Z_ACC]; | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:196:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 196 | highPassFiltered.x = HPF_ALPHA * (lastHighPass.x + adjustedSample.x - lastLowPass.x); | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:197:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 197 | highPassFiltered.y = HPF_ALPHA * (lastHighPass.y + adjustedSample.y - lastLowPass.y); | ^ C:/Users/user/github/myProject/src/peripheral/oa_imu_tap.c:198:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 198 | highPassFiltered.z = HPF_ALPHA * (lastHighPass.z + adjustedSample.z - lastLowPass.z); | ^ [59/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_watchdog.c.obj [60/275] Building C object CMakeFiles/app.dir/src/oa_git_sha1.c.obj [61/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32_sw.c.obj [62/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc32c_sw.c.obj [63/275] Building C object CMakeFiles/app.dir/src/peripheral/oa_spi.c.obj FAILED: CMakeFiles/app.dir/src/peripheral/oa_spi.c.obj C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=256 -DNRF52833_XXAA -DUSE_PARTITION_MANAGER=1 -D_ANSI_SOURCE -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.1/nrf/drivers/mpsl/clock_control -IC:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/Users/user/github/myProject/build/myProject/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/lib/libc/newlib/include -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf52/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/zephyr/subsys/bluetooth -IC:/ncs/v2.9.1/zephyr/subsys/settings/include -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/lib/multithreading_lock/. -IC:/ncs/v2.9.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.9.1/zephyr/drivers/flash -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/debug/segger/SEGGER -IC:/ncs/v2.9.1/modules/debug/segger/Config -IC:/ncs/v2.9.1/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.9.1/nrfxlib/softdevice_controller/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v2.9.1/nrfxlib/mpsl/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/include/protocol -isystem C:/ncs/v2.9.1/zephyr/lib/libc/common/include -Os -DNDEBUG -fno-strict-aliasing -Os -imacros C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/user/github/myProject=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/peripheral/oa_spi.c.obj -MF CMakeFiles\app.dir\src\peripheral\oa_spi.c.obj.d -o CMakeFiles/app.dir/src/peripheral/oa_spi.c.obj -c C:/Users/user/github/myProject/src/peripheral/oa_spi.c In file included from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/gcc.h:98, from C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain.h:50, from C:/ncs/v2.9.1/zephyr/include/zephyr/sys/__assert.h:11, from C:/ncs/v2.9.1/zephyr/include/zephyr/irq_multilevel.h:15, from C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:20, from C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:12, from C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:26, from C:/Users/user/github/myProject/src/peripheral/oa_spi.c:20: C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:41: error: '__device_dts_ord_DT_N_S_soc_S_spi_40004000_BUS_ORD' undeclared here (not in a function) 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT' 137 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:92:33: note: in expansion of macro '_CONCAT' 92 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:229:37: note: in expansion of macro 'DEVICE_NAME_GET' 229 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/device.h:246:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 246 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:403:24: note: in expansion of macro 'DEVICE_DT_GET' 403 | .bus = DEVICE_DT_GET(DT_BUS(node_id)), \ | ^~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:34: note: in expansion of macro 'SPI_DT_SPEC_GET' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~~~~ C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/devicetree_generated.h:8620:37: error: 'DT_N_S_soc_S_spi_40004000_P_spi_max_frequency' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_spi_40004000_P_max_frequency'? 8620 | #define DT_N_NODELABEL_spi1 DT_N_S_soc_S_spi_40004000 | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4879:29: note: in definition of macro 'DT_CAT3' 4879 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:349:30: note: in expansion of macro 'DT_PROP' 349 | .frequency = DT_PROP(node_id, spi_max_frequency), \ | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:404:27: note: in expansion of macro 'SPI_CONFIG_DT' 404 | .config = SPI_CONFIG_DT(node_id, operation_, delay_) \ | ^~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:34: note: in expansion of macro 'SPI_DT_SPEC_GET' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4877:24: note: in expansion of macro 'DT_N_NODELABEL_spi1' 4877 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:200:29: note: in expansion of macro 'DT_CAT' 200 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:50: note: in expansion of macro 'DT_NODELABEL' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~ C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/devicetree_generated.h:8620:37: error: 'DT_N_S_soc_S_spi_40004000_P_duplex' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_spi_40004000_P_reg'? 8620 | #define DT_N_NODELABEL_spi1 DT_N_S_soc_S_spi_40004000 | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4879:29: note: in definition of macro 'DT_CAT3' 4879 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:351:25: note: in expansion of macro 'DT_PROP' 351 | DT_PROP(node_id, duplex) | \ | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:404:27: note: in expansion of macro 'SPI_CONFIG_DT' 404 | .config = SPI_CONFIG_DT(node_id, operation_, delay_) \ | ^~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:34: note: in expansion of macro 'SPI_DT_SPEC_GET' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4877:24: note: in expansion of macro 'DT_N_NODELABEL_spi1' 4877 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:200:29: note: in expansion of macro 'DT_CAT' 200 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:50: note: in expansion of macro 'DT_NODELABEL' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~ C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/devicetree_generated.h:8620:37: error: 'DT_N_S_soc_S_spi_40004000_P_frame_format' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_spi_40004000_P_interrupts'? 8620 | #define DT_N_NODELABEL_spi1 DT_N_S_soc_S_spi_40004000 | ^~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4879:29: note: in definition of macro 'DT_CAT3' 4879 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:352:25: note: in expansion of macro 'DT_PROP' 352 | DT_PROP(node_id, frame_format) | \ | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:404:27: note: in expansion of macro 'SPI_CONFIG_DT' 404 | .config = SPI_CONFIG_DT(node_id, operation_, delay_) \ | ^~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:34: note: in expansion of macro 'SPI_DT_SPEC_GET' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4877:24: note: in expansion of macro 'DT_N_NODELABEL_spi1' 4877 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:200:29: note: in expansion of macro 'DT_CAT' 200 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:50: note: in expansion of macro 'DT_NODELABEL' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~ In file included from C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:19: C:/Users/user/github/myProject/build/myProject/zephyr/include/generated/zephyr/devicetree_generated.h:8625:57: warning: unsigned conversion from 'int' to 'short unsigned int' changes value from '1073758208' to '16384' [-Woverflow] 8625 | #define DT_N_S_soc_S_spi_40004000_REG_IDX_0_VAL_ADDRESS 1073758208 /* 0x40004000 */ | ^~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4881:33: note: in expansion of macro 'DT_N_S_soc_S_spi_40004000_REG_IDX_0_VAL_ADDRESS' 4881 | #define DT_CAT4(a1, a2, a3, a4) a1 ## a2 ## a3 ## a4 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:2253:9: note: in expansion of macro 'DT_CAT4' 2253 | DT_CAT4(node_id, _REG_IDX_, idx, _VAL_ADDRESS) | ^~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:2276:30: note: in expansion of macro 'DT_REG_ADDR_BY_IDX' 2276 | #define DT_REG_ADDR(node_id) DT_REG_ADDR_BY_IDX(node_id, 0) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:356:26: note: in expansion of macro 'DT_REG_ADDR' 356 | .slave = DT_REG_ADDR(node_id), \ | ^~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/drivers/spi.h:404:27: note: in expansion of macro 'SPI_CONFIG_DT' 404 | .config = SPI_CONFIG_DT(node_id, operation_, delay_) \ | ^~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:34: note: in expansion of macro 'SPI_DT_SPEC_GET' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~~~~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:4877:24: note: in expansion of macro 'DT_N_NODELABEL_spi1' 4877 | #define DT_CAT(a1, a2) a1 ## a2 | ^~ C:/ncs/v2.9.1/zephyr/include/zephyr/devicetree.h:200:29: note: in expansion of macro 'DT_CAT' 200 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/Users/user/github/myProject/src/peripheral/oa_spi.c:39:50: note: in expansion of macro 'DT_NODELABEL' 39 | struct spi_dt_spec spiSpec = SPI_DT_SPEC_GET(DT_NODELABEL(spi1), SPIOP, 0); | ^~~~~~~~~~~~ [64/275] Building C object CMakeFiles/app.dir/src/procedure/oa_linear_algebra.c.obj In file included from C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:59: C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'ConstructXAxisRotation': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:119:22: note: in expansion of macro 'DEG2RAD' 119 | double SiA = sin(DEG2RAD(Angle)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:120:22: note: in expansion of macro 'DEG2RAD' 120 | double CoA = cos(DEG2RAD(Angle)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'ConstructYAxisRotation': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:148:22: note: in expansion of macro 'DEG2RAD' 148 | double SiA = sin(DEG2RAD(Angle)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:149:22: note: in expansion of macro 'DEG2RAD' 149 | double CoA = cos(DEG2RAD(Angle)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'ConstructZAxisRotation': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:177:22: note: in expansion of macro 'DEG2RAD' 177 | double SiA = sin(DEG2RAD(Angle)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:178:22: note: in expansion of macro 'DEG2RAD' 178 | double CoA = cos(DEG2RAD(Angle)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'QuatDotProduct': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:902:36: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 902 | return ( Q1.Scalar * Q2.Scalar + Q1.Vector.x * Q2.Vector.x + Q1.Vector.y | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:902:64: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 902 | return ( Q1.Scalar * Q2.Scalar + Q1.Vector.x * Q2.Vector.x + Q1.Vector.y | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:903:23: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 903 | * Q2.Vector.y + Q1.Vector.z * Q2.Vector.z ); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'QuatMultiply': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:924:43: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 924 | Ret->Scalar = (Q1.Scalar * Q2.Scalar) - (Q1.Vector.x * Q2.Vector.x) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:925:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 925 | - (Q1.Vector.y * Q2.Vector.y) - (Q1.Vector.z * Q2.Vector.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:925:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 925 | - (Q1.Vector.y * Q2.Vector.y) - (Q1.Vector.z * Q2.Vector.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:926:32: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 926 | Ret->Vector.x = (Q1.Scalar * Q2.Vector.x) + (Q1.Vector.x * Q2.Scalar) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:926:62: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 926 | Ret->Vector.x = (Q1.Scalar * Q2.Vector.x) + (Q1.Vector.x * Q2.Scalar) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:927:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 927 | + (Q1.Vector.y * Q2.Vector.z) - (Q1.Vector.z * Q2.Vector.y); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:927:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 927 | + (Q1.Vector.y * Q2.Vector.z) - (Q1.Vector.z * Q2.Vector.y); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:928:32: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 928 | Ret->Vector.y = (Q1.Scalar * Q2.Vector.y) + (Q1.Vector.y * Q2.Scalar) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:928:62: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 928 | Ret->Vector.y = (Q1.Scalar * Q2.Vector.y) + (Q1.Vector.y * Q2.Scalar) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:929:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 929 | - (Q1.Vector.x * Q2.Vector.z) + (Q1.Vector.z * Q2.Vector.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:929:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 929 | - (Q1.Vector.x * Q2.Vector.z) + (Q1.Vector.z * Q2.Vector.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:930:32: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 930 | Ret->Vector.z = (Q1.Scalar * Q2.Vector.z) + (Q1.Vector.z * Q2.Scalar) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:930:62: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 930 | Ret->Vector.z = (Q1.Scalar * Q2.Vector.z) + (Q1.Vector.z * Q2.Scalar) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:931:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 931 | + (Q1.Vector.x * Q2.Vector.y) - (Q1.Vector.y * Q2.Vector.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:931:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 931 | + (Q1.Vector.x * Q2.Vector.y) - (Q1.Vector.y * Q2.Vector.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'QuatInvert': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:952:43: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 952 | double Denom = ((Q.Scalar)*(Q.Scalar) + (Q.Vector.x)*(Q.Vector.x) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:953:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 953 | + (Q.Vector.y)*(Q.Vector.y) + (Q.Vector.z)*(Q.Vector.z)); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:953:37: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 953 | + (Q.Vector.y)*(Q.Vector.y) + (Q.Vector.z)*(Q.Vector.z)); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:961:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 961 | Qinv->Vector.x = (Q.Vector.x) * Alpha; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:962:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 962 | Qinv->Vector.y = (Q.Vector.y) * Alpha; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:963:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 963 | Qinv->Vector.z = (Q.Vector.z) * Alpha; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'NormalizeVector': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1011:27: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1011 | Vector->x = Vector->x / Tmp; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1012:27: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1012 | Vector->y = Vector->y / Tmp; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1013:27: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1013 | Vector->z = Vector->z / Tmp; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'NormalizeQuat': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1033:49: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1033 | double Denom = sqrt((Q->Scalar * Q->Scalar) + (Q->Vector.x * Q->Vector.x) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1034:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1034 | + (Q->Vector.y * Q->Vector.y) + (Q->Vector.z * Q->Vector.z)); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1034:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1034 | + (Q->Vector.y * Q->Vector.y) + (Q->Vector.z * Q->Vector.z)); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1043:17: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1043 | Q->Vector.x *= Alpha; | ^~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1044:17: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1044 | Q->Vector.y *= Alpha; | ^~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1045:17: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1045 | Q->Vector.z *= Alpha; | ^~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'QuatMagnitude': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1064:50: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1064 | double RetVal = sqrt((Q->Scalar * Q->Scalar) + (Q->Vector.x * Q->Vector.x) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1065:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1065 | + (Q->Vector.y * Q->Vector.y) + (Q->Vector.z * Q->Vector.z)); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1065:39: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1065 | + (Q->Vector.y * Q->Vector.y) + (Q->Vector.z * Q->Vector.z)); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'CalcEulersFromQuat': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1097:44: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1097 | E_out->Phi =atan2( 2.0 * (Q_in->Scalar * Q_in->Vector.x | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1098:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1098 | + Q_in->Vector.y * Q_in->Vector.z), (1.0 - 2.0 * (Sqx + Sqy)) ); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1101:61: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1101 | Tmp = (Q_in->Vector.x * Q_in->Vector.y + Q_in->Vector.z * Q_in->Scalar); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1101:44: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1101 | Tmp = (Q_in->Vector.x * Q_in->Vector.y + Q_in->Vector.z * Q_in->Scalar); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1107:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1107 | X = ((2.0 * (Q_in->Scalar * Q_in->Vector.y - Q_in->Vector.z * Q_in->Vector.x))); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1107:52: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1107 | X = ((2.0 * (Q_in->Scalar * Q_in->Vector.y - Q_in->Vector.z * Q_in->Vector.x))); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1117:44: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1117 | E_out->Psi = atan2(2.0 * (Q_in->Scalar * Q_in->Vector.z | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1118:9: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1118 | + Q_in->Vector.x * Q_in->Vector.y), (1.0 - 2.0 * (Sqy + Sqz))); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1121:22: note: in expansion of macro 'RAD2DEG' 1121 | E_out->Phi = RAD2DEG(E_out->Phi); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1122:24: note: in expansion of macro 'RAD2DEG' 1122 | E_out->Theta = RAD2DEG(E_out->Theta); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1123:22: note: in expansion of macro 'RAD2DEG' 1123 | E_out->Psi = RAD2DEG(E_out->Psi); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'CalcQuatFromDCM': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1171:25: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1171 | Q4 = 0.5 * sqrt(1.0 + DCM.x.x + DCM.y.y + DCM.z.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1171:35: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1171 | Q4 = 0.5 * sqrt(1.0 + DCM.x.x + DCM.y.y + DCM.z.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1171:45: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1171 | Q4 = 0.5 * sqrt(1.0 + DCM.x.x + DCM.y.y + DCM.z.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1175:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1175 | Q2 = 1.0 / (4.0 * Q1) * (DCM.x.y + DCM.y.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1176:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1176 | Q3 = 1.0 / (4.0 * Q1) * (DCM.x.z + DCM.z.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1177:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1177 | Q4 = 1.0 / (4.0 * Q1) * (-DCM.z.y + DCM.y.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1179:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1179 | Q1 = 1.0 / (4.0 * Q4) * (-DCM.z.y + DCM.y.z); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1180:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1180 | Q2 = 1.0 / (4.0 * Q4) * (-DCM.x.z + DCM.z.x); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1181:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1181 | Q3 = 1.0 / (4.0 * Q4) * (-DCM.y.x + DCM.x.y); | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'Calc_321_DCMFromQuat': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1234:23: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1234 | tmp2 = Q.Vector.z * Q.Scalar; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1239:23: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1239 | tmp2 = Q.Vector.y * Q.Scalar; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:1244:23: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1244 | tmp2 = Q.Vector.x * Q.Scalar; | ^ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c: In function 'Matrix_Inverse': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:753:25: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 753 | indx[k] = itmp; | ~~~~~~~~^~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.c:719:27: note: 'k' was declared here 719 | int32_t i, j, k, itmp; | ^ [65/275] Building C object CMakeFiles/app.dir/src/procedure/oa_procedure_flow.c.obj [66/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc24_sw.c.obj [67/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc16_sw.c.obj [68/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc8_sw.c.obj [69/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc4_sw.c.obj [70/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/crc/crc7_sw.c.obj [71/275] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_nvs.c.obj [72/275] Building C object CMakeFiles/app.dir/src/main.c.obj [73/275] Building C object CMakeFiles/app.dir/src/procedure/oa_knee_math.c.obj In file included from C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:12: C:/Users/user/github/myProject/src/procedure/oa_knee_math.c: In function 'getNavigationAngles': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:617:20: note: in expansion of macro 'RAD2DEG' 617 | VVLatest = RAD2DEG(tmp2*Sign - tmp1); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:620:20: note: in expansion of macro 'DEG2RAD' 620 | sinv = sin(DEG2RAD(VVLatest)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:69:42: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 69 | #define DEG2RAD(d) (((d)*PI)/RAD) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:621:20: note: in expansion of macro 'DEG2RAD' 621 | cosv = cos(DEG2RAD(VVLatest)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:630:20: note: in expansion of macro 'RAD2DEG' 630 | PSLatest = RAD2DEG(tmp1 * Sign - tmp2); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c: In function 'checkKneeOrientationInValidRange': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:719:17: note: in expansion of macro 'RAD2DEG' 719 | Roll = fabs(RAD2DEG(AsinY)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:722:17: note: in expansion of macro 'RAD2DEG' 722 | Pitch = RAD2DEG(asin(X/cosAsinY)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c: In function 'ConvertReading2Angle': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:1124:18: note: in expansion of macro 'RAD2DEG' 1124 | RetVal = RAD2DEG(asin((double)Reading / (double)COUNTS_PER_1_G)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c: In function 'setFemRegistrationAngles': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:1324:21: note: in expansion of macro 'RAD2DEG' 1324 | VVNeutral = RAD2DEG(atan(Y/Z)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:1327:21: note: in expansion of macro 'RAD2DEG' 1327 | PSNeutral = RAD2DEG(atan(X/Z)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c: In function 'getPitchRollFromGravity': C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:1352:18: note: in expansion of macro 'RAD2DEG' 1352 | *roll = fabs(RAD2DEG(asinY)); | ^~~~~~~ C:/Users/user/github/myProject/src/procedure/oa_linear_algebra.h:68:47: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 68 | #define RAD2DEG(r) (((r)*RAD)/PI) | ^ C:/Users/user/github/myProject/src/procedure/oa_knee_math.c:1356:18: note: in expansion of macro 'RAD2DEG' 1356 | *pitch = RAD2DEG(asin(x/cosAsinY)); | ^~~~~~~ [74/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/utils/dec.c.obj [75/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj [76/275] Building C object CMakeFiles/app.dir/src/peripheral/sensor_driver.c.obj C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'generateQuaternion': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:655:25: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 655 | q[Y_QAT] = q[X_QAT] * v[1]; | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:656:25: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 656 | q[Z_QAT] = q[X_QAT] * v[2]; | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:657:14: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 657 | q[X_QAT] *= v[0]; | ^~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:668:14: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 668 | q[S_QAT] *= alpha; | ^~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:669:14: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 669 | q[X_QAT] *= alpha; | ^~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:670:14: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 670 | q[Y_QAT] *= alpha; | ^~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:671:14: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 671 | q[Z_QAT] *= alpha; | ^~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'parseSensorData': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1040:61: warning: passing argument 2 of 'sendSPIData16flip' from incompatible pointer type [-Wincompatible-pointer-types] 1040 | if(sendSPIData16flip(READ_REG_BIT | SENSOR_REG_OUT_TEMP_L, imuDataRx, SENSOR_DATA_INT16_SIZE) == FAIL){ | ^~~~~~~~~ | | | volatile uint8_t * {aka volatile unsigned char *} In file included from C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:21: C:/Users/user/github/myProject/src/peripheral/oa_spi.h:87:54: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'volatile uint8_t *' {aka 'volatile unsigned char *'} 87 | int sendSPIData16flip(uint16_t txCmd16Bit, uint16_t *pRx16Bit, size_t sizeOf16BitArray); | ~~~~~~~~~~^~~~~~~~ In file included from C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:16: C:/Users/user/github/myProject/src/peripheral/sensor_driver.h:107:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 107 | #define SCALE_SENSOR_ACCEL_4_TX(A) ((int16_t)(A / 0.00025)) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1107:43: note: in expansion of macro 'SCALE_SENSOR_ACCEL_4_TX' 1107 | fillTBStatusChar(STATUS_AXIS_X_INDEX, SCALE_SENSOR_ACCEL_4_TX(SCALE_ACCL_GS(imuDataCalChar[X_ACC])), INT16_SIZE); | ^~~~~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.h:107:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 107 | #define SCALE_SENSOR_ACCEL_4_TX(A) ((int16_t)(A / 0.00025)) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1108:43: note: in expansion of macro 'SCALE_SENSOR_ACCEL_4_TX' 1108 | fillTBStatusChar(STATUS_AXIS_Y_INDEX, SCALE_SENSOR_ACCEL_4_TX(SCALE_ACCL_GS(imuDataCalChar[Y_ACC])), INT16_SIZE); | ^~~~~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.h:107:51: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 107 | #define SCALE_SENSOR_ACCEL_4_TX(A) ((int16_t)(A / 0.00025)) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1109:43: note: in expansion of macro 'SCALE_SENSOR_ACCEL_4_TX' 1109 | fillTBStatusChar(STATUS_AXIS_Z_INDEX, SCALE_SENSOR_ACCEL_4_TX(SCALE_ACCL_GS(imuDataCalChar[Z_ACC])), INT16_SIZE); | ^~~~~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.h:103:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 103 | #define SCALE_GYRO_GAIN_X(A) ((float)(A * 1.0)) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1116:26: note: in expansion of macro 'SCALE_GYRO_GAIN_X' 1116 | imuRawFloat[X_GYR] = SCALE_GYRO_GAIN_X(SCALE_GYRO_TO_RADS(imuDataRawChar[X_GYR])); | ^~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.h:101:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 101 | #define SCALE_GYRO_GAIN_Y(A) ((float)(A * 1.0)) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1117:26: note: in expansion of macro 'SCALE_GYRO_GAIN_Y' 1117 | imuRawFloat[Y_GYR] = SCALE_GYRO_GAIN_Y(SCALE_GYRO_TO_RADS(imuDataRawChar[Y_GYR])); | ^~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.h:102:41: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 102 | #define SCALE_GYRO_GAIN_Z(A) ((float)(A * 1.0)) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1118:26: note: in expansion of macro 'SCALE_GYRO_GAIN_Z' 1118 | imuRawFloat[Z_GYR] = SCALE_GYRO_GAIN_Z(SCALE_GYRO_TO_RADS(imuDataRawChar[Z_GYR])); | ^~~~~~~~~~~~~~~~~ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'initKalmanBias': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1168:34: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1168 | pKB->P0 = pKB->sigmaVSquared / 10.0; // covariance P(0) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1176:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1176 | pKB->kalmanGain = pKB->P0 / gainDivisor; | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'biasEstimatorStaticKalman': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1209:31: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1209 | pKB->kalmanGain = pKB->P0 / gainDivisor; | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'checkForGyroSaturation': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1300:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1300 | if ((fabs(pBiasedGyroVal[X_GYR]) > MAX_ROTATION) || | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1301:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1301 | (fabs(pBiasedGyroVal[Y_GYR]) > MAX_ROTATION) || | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1302:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1302 | (fabs(pBiasedGyroVal[Z_GYR]) > MAX_ROTATION)) { | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'executeBiasEstimationState': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1369:48: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1369 | if (TIME_BITS_TO_SECONDS(_1secTimeOut) > BIAS_ACQUISITION_TIME) { | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'relayPropStatus': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1413:50: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1413 | intBiasOffsets[X_GYR] = (int16_t)(rateBias.x * BIAS_OFFSET_SCALAR); | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1414:50: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1414 | intBiasOffsets[Y_GYR] = (int16_t)(rateBias.y * BIAS_OFFSET_SCALAR); | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1415:50: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1415 | intBiasOffsets[Z_GYR] = (int16_t)(rateBias.z * BIAS_OFFSET_SCALAR); | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'normalizeQuat': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1473:21: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1473 | alpha = 1.0 / denom; | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c: In function 'propagateAttitude': C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1495:55: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] 1495 | #define BITS_TO_DT_OVER_2(B) (TIME_BITS_TO_SECONDS(B) * 0.5) | ^ C:/Users/user/github/myProject/src/peripheral/sensor_driver.c:1504:14: note: in expansion of macro 'BITS_TO_DT_OVER_2' 1504 | dtOvr2 = BITS_TO_DT_OVER_2(deltaSENSORtime); | ^~~~~~~~~~~~~~~~~ [77/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj [78/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_packaged.c.obj [79/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/heap/heap.c.obj [80/275] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj ninja: build stopped: subcommand failed. [10/20] No configure step for 'mcuboot' FAILED: _sysbuild/sysbuild/images/myProject-prefix/src/myProject-stamp/myProject-build C:/Users/user/github/myProject/build/_sysbuild/sysbuild/images/myProject-prefix/src/myProject-stamp/myProject-build cmd.exe /C "cd /D C:\Users\user\github\myProject\build\myProject && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/Users/user/github/myProject/build * The terminal process terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.