礦ision Build Log

Tool Versions:

IDE-Version: μVision V5.38.0.0 Copyright (C) 2022 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: add add, add, LIC=FYKYW-Q0JJV-LQH0Q-NFD91-3BTKX-FCEUM Tool Versions: Toolchain: MDK-ARM Plus Version: 5.38.0.0 Toolchain Path: F:\Keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.19 Assembler: Armasm.exe V6.19 Linker/Locator: ArmLink.exe V6.19 Library Manager: ArmAr.exe V6.19 Hex Converter: FromElf.exe V6.19 CPU DLL: Dialog DLL: Target DLL: CMSIS_AGDI_V8M.DLL V1.7.20.0 Dialog DLL: TCM.DLL V1.56.4.0

Project:

E:\A_My project\postgraduate_stage\oximeter\oximeter_workspace_keil\oximeter_7_30_micro_fin\EBF_RA2E1.uvprojx Project File Date: 07/29/2023

Output:

*** Using Compiler 'V6.19', folder: 'F:\Keil_v5\ARM\ARMCLANG\Bin' Build target 'Target 1' src/MAX30102/max30102.c(4): warning: In file included from... ./src/LCD\lcd.h(3): warning: In file included from... ./src\sys.h(3): warning: redefinition of typedef 'u32' is a C11 feature [-Wtypedef-redefinition] typedef uint32_t u32; ^ ./src/LCD\lcd_init.h(4): note: './src\sys.h' included multiple times, additional include site here #include "sys.h" ^ ./src/LCD\lcd.h(3): note: './src\sys.h' included multiple times, additional include site here #include "sys.h" ^ ./src\sys.h(3): note: unguarded header; consider using #ifdef guards or #pragma once typedef uint32_t u32; ^ src/MAX30102/max30102.c(4): warning: In file included from... ./src/LCD\lcd.h(3): warning: In file included from... ./src\sys.h(4): warning: redefinition of typedef 'u16' is a C11 feature [-Wtypedef-redefinition] typedef uint16_t u16; ^ ./src/LCD\lcd_init.h(4): note: './src\sys.h' included multiple times, additional include site here #include "sys.h" ^ ./src/LCD\lcd.h(3): note: './src\sys.h' included multiple times, additional include site here #include "sys.h" ^ ./src\sys.h(4): note: unguarded header; consider using #ifdef guards or #pragma once typedef uint16_t u16; ^ src/MAX30102/max30102.c(4): warning: In file included from... ./src/LCD\lcd.h(3): warning: In file included from... ./src\sys.h(5): warning: redefinition of typedef 'u8' is a C11 feature [-Wtypedef-redefinition] typedef uint8_t u8; ^ ./src/LCD\lcd_init.h(4): note: './src\sys.h' included multiple times, additional include site here #include "sys.h" ^ ./src/LCD\lcd.h(3): note: './src\sys.h' included multiple times, additional include site here #include "sys.h" ^ ./src\sys.h(5): note: unguarded header; consider using #ifdef guards or #pragma once typedef uint8_t u8; ^ src/MAX30102/max30102.c(151): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] Word_Data[i][0] = (((uint16_t)data1 << 8) | data2); // ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/MAX30102/max30102.c(161): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] Word_Data[i][1] = (((uint16_t)data1 << 8) | data2); ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/MAX30102/max30102.c(362): warning: implicit conversion changes signedness: 'uint8_t' (aka 'unsigned char') to 'int8_t' (aka 'signed char') [-Wsign-conversion] tempInt = max30102_Bus_Read(REG_TEMP_INTR); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/MAX30102/max30102.c(372): warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (temp != -999.0f) temp = temp * 1.8f + 32.0f; ~~~~ ^ ~~~~~~~ src/MAX30102/max30102.c(404): warning: passing 'char[9]' to parameter of type 'const u8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LCD_ShowString(16,26,"checking",YELLOW,BLACK,32,0); ^~~~~~~~~~ ./src/LCD\lcd.h(19): note: passing argument to parameter 'p' here void LCD_ShowString(u16 x,u16 y,const u8 *p,u16 fc,u16 bc,u8 sizey,u8 mode);// ^ src/MAX30102/max30102.c(421): warning: implicit conversion changes signedness: 'long' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] aun_red_buffer[i] = (long)((long)((long)temp[0]&0x03)<<16) | (long)temp[1]<<8 | (long)temp[2]; // ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/MAX30102/max30102.c(422): warning: implicit conversion changes signedness: 'long' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] aun_ir_buffer[i] = (long)((long)((long)temp[3] & 0x03)<<16) |(long)temp[4]<<8 | (long)temp[5]; // / ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/MAX30102/max30102.c(489): warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] maxim_heart_rate_and_oxygen_saturation(aun_ir_buffer, max30102_data->n_ir_buffer_length, aun_red_buffer, &n_sp02, &ch_spo2_valid, &n_heart_rate, &ch_hr_valid); ^~~~~~~ ./src/ALGORITHM\algorithm.h(94): note: passing argument to parameter 'pn_spo2' here void maxim_heart_rate_and_oxygen_saturation(uint32_t *pun_ir_buffer , int32_t n_ir_buffer_length, uint32_t *pun_red_buffer , int32_t *pn_spo2, int8_t *pch_spo2_valid , int32_t *pn_heart_rate , int8_t *pch_hr_valid); ^ src/MAX30102/max30102.c(489): warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign] maxim_heart_rate_and_oxygen_saturation(aun_ir_buffer, max30102_data->n_ir_buffer_length, aun_red_buffer, &n_sp02, &ch_spo2_valid, &n_heart_rate, &ch_hr_valid); ^~~~~~~~~~~~~ ./src/ALGORITHM\algorithm.h(94): note: passing argument to parameter 'pn_heart_rate' here void maxim_heart_rate_and_oxygen_saturation(uint32_t *pun_ir_buffer , int32_t n_ir_buffer_length, uint32_t *pun_red_buffer , int32_t *pn_spo2, int8_t *pch_spo2_valid , int32_t *pn_heart_rate , int8_t *pch_hr_valid); ^ src/MAX30102/max30102.c(489): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion] maxim_heart_rate_and_oxygen_saturation(aun_ir_buffer, max30102_data->n_ir_buffer_length, aun_red_buffer, &n_sp02, &ch_spo2_valid, &n_heart_rate, &ch_hr_valid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/MAX30102/max30102.c(389): warning: variable 'ir_min' set but not used [-Wunused-but-set-variable] uint32_t ir_min, ir_max; //ir LED/小值 ^ src/MAX30102/max30102.c(388): warning: variable 'un_max' set but not used [-Wunused-but-set-variable] uint32_t un_min, un_max; //red LED/小值 ^ src/MAX30102/max30102.c(388): warning: variable 'un_min' set but not used [-Wunused-but-set-variable] uint32_t un_min, un_max; //red LED/小值 ^ src/MAX30102/max30102.c(389): warning: variable 'ir_max' set but not used [-Wunused-but-set-variable] uint32_t ir_min, ir_max; //ir LED/小值 ^ src/MAX30102/max30102.c(416): warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i=0;in_ir_buffer_length;i++) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. compiling max30102.c... linking... Program Size: Code=11536 RO-data=14468 RW-data=36 ZI-data=12564 FromELF: creating hex file... ".\Objects\EBF_RA2E1.axf" - 0 Error(s), 18 Warning(s).

Software Packages used:

Package Vendor: Renesas Renesas.Project Content.1.0.0 Project content managed by the Renesas Smart Configurator * Component: Build Configuration Version: * Component: ra Version: * Component: Generated Data Version: * Component: Linker Script Version: Package Vendor: Renesas https://www2.renesas.eu/Keil_MDK_Packs/Renesas.RA_DFP.4.5.0.pack Renesas.RA_DFP.4.5.0 Renesas RA series device family pack * Component: RA Configuration Version: 1.0.0

Collection of Component include folders:

./RTE/_Target_1 ./ra/arm/CMSIS_5/CMSIS/Core/Include ./ra/fsp/inc ./ra/fsp/inc/api ./ra/fsp/inc/instances ./ra_cfg/fsp_cfg ./ra_cfg/fsp_cfg/bsp ./ra_gen E:/A_My project/postgraduate_stage/oximeter/oximeter_workspace_keil/oximeter_7_30_micro_fin

Collection of Component Files used:

* Component: Renesas::Flex Software:Build Configuration Include file: ra_cfg/fsp_cfg/bsp/bsp_cfg.h Include file: ra_cfg/fsp_cfg/r_adc_cfg.h Include file: ra_cfg/fsp_cfg/bsp/board_cfg.h Include file: ra_cfg/fsp_cfg/r_rtc_cfg.h Include file: ra_cfg/fsp_cfg/bsp/bsp_mcu_device_cfg.h Include file: ra_cfg/fsp_cfg/bsp/bsp_mcu_family_cfg.h Include file: ra_cfg/fsp_cfg/bsp/bsp_pin_cfg.h Include file: ra_cfg/fsp_cfg/r_ioport_cfg.h Include file: ra_cfg/fsp_cfg/r_sci_uart_cfg.h Include file: ra_cfg/fsp_cfg/bsp/bsp_mcu_device_pn_cfg.h * Component: Renesas::Flex Software:Components:ra Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cachel1_armv7.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_armcc.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm0.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm7.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_starmc1.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_version.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_armv81mml.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_sc300.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm0plus.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm3.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_armv8mbl.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm4.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_sc000.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_armclang_ltm.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_armclang.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm23.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/mpu_armv8.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_iccarm.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/pac_armv81.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/tz_context.h Include file: ra/fsp/inc/api/bsp_api.h Include file: ra/fsp/inc/api/fsp_common_api.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/pmu_armv8.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm1.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_gcc.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm33.h Include file: ra/fsp/inc/api/r_adc_api.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm35p.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm55.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_cm85.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/mpu_armv7.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/cmsis_compiler.h Include file: ra/arm/CMSIS_5/CMSIS/Core/Include/core_armv8mml.h Include file: ra/fsp/inc/api/r_rtc_api.h Include file: ra/fsp/inc/instances/r_adc.h Include file: ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/renesas.h Source file: ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/startup.c Include file: ra/fsp/inc/api/r_elc_api.h Source file: ra/fsp/src/bsp/mcu/all/bsp_common.c Include file: ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/system.h Include file: ra/fsp/src/bsp/mcu/all/bsp_arm_exceptions.h Source file: ra/fsp/src/bsp/cmsis/Device/RENESAS/Source/system.c Include file: ra/fsp/src/bsp/mcu/all/bsp_clocks.h Include file: ra/fsp/src/bsp/mcu/all/bsp_common.h Source file: ra/fsp/src/bsp/mcu/all/bsp_delay.c Include file: ra/fsp/inc/fsp_features.h Include file: ra/fsp/src/bsp/mcu/all/bsp_delay.h Include file: ra/fsp/inc/fsp_version.h Source file: ra/fsp/src/bsp/mcu/all/bsp_group_irq.c Include file: ra/fsp/src/bsp/mcu/all/bsp_group_irq.h Source file: ra/fsp/src/bsp/mcu/all/bsp_guard.c Include file: ra/fsp/inc/instances/r_ioport.h Include file: ra/fsp/inc/api/r_cgc_api.h Include file: ra/fsp/inc/api/r_uart_api.h Include file: ra/fsp/inc/instances/r_rtc.h Include file: ra/fsp/inc/instances/r_sci_uart.h Include file: ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA2E1A9.h Source file: ra/fsp/src/bsp/mcu/all/bsp_clocks.c Include file: ra/fsp/inc/api/r_transfer_api.h Include file: ra/fsp/src/bsp/mcu/all/bsp_compiler_support.h Include file: ra/fsp/src/bsp/mcu/all/bsp_guard.h Source file: ra/fsp/src/bsp/mcu/all/bsp_io.c Include file: ra/fsp/src/bsp/mcu/all/bsp_io.h Source file: ra/fsp/src/bsp/mcu/all/bsp_irq.c Include file: ra/fsp/inc/api/r_ioport_api.h Source file: ra/fsp/src/r_ioport/r_ioport.c Include file: ra/fsp/src/bsp/mcu/all/bsp_register_protection.h Source file: ra/fsp/src/bsp/mcu/all/bsp_rom_registers.c Source file: ra/fsp/src/bsp/mcu/all/bsp_security.c Include file: ra/fsp/src/bsp/mcu/all/bsp_tfu.h Include file: ra/fsp/src/bsp/mcu/all/bsp_security.h Include file: ra/fsp/src/bsp/mcu/ra2e1/bsp_elc.h Source file: ra/fsp/src/r_adc/r_adc.c Source file: ra/fsp/src/r_sci_uart/r_sci_uart.c Include file: ra/fsp/src/bsp/mcu/ra2e1/bsp_mcu_info.h Source file: ra/fsp/src/bsp/mcu/all/bsp_sbrk.c Include file: ra/fsp/src/bsp/mcu/all/bsp_module_stop.h Source file: ra/fsp/src/bsp/mcu/all/bsp_register_protection.c Include file: ra/fsp/src/bsp/mcu/all/bsp_irq.h Include file: ra/fsp/src/bsp/mcu/ra2e1/bsp_feature.h Include file: ra/fsp/src/bsp/mcu/ra2e1/bsp_icu.h Include file: ra/fsp/src/bsp/mcu/all/bsp_mcu_api.h Source file: ra/fsp/src/r_rtc/r_rtc.c * Component: Renesas::Flex Software:Generated Data Include file: ra_gen/common_data.h Source file: ra_gen/common_data.c Include file: ra_gen/hal_data.h Source file: ra_gen/main.c Source file: ra_gen/vector_data.c Source file: ra_gen/hal_data.c Include file: ra_gen/vector_data.h Include file: ra_gen/bsp_clock_cfg.h Source file: ra_gen/pin_data.c * Component: Renesas::Flex Software:Linker Script * Component: Renesas::Flex Software:RA Configuration:1.0.0 Build Time Elapsed: 00:00:01