µVision Build Log

Tool Versions:

IDE-Version: ¦ÌVision V5.35.0.0 Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: 123 Administrator, 123, LIC=21E4T-RN5YP-45KT5-GTNJ0-PT15F-5N3IJ Tool Versions: Toolchain: MDK-ARM Plus Version: 5.35.0.2 Toolchain Path: H:\keil\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.16 Assembler: Armasm.exe V6.16 Linker/Locator: ArmLink.exe V6.16 Library Manager: ArmAr.exe V6.16 Hex Converter: FromElf.exe V6.16 CPU DLL: Dialog DLL: Target DLL: CMSIS_AGDI_V8M.DLL V1.7.0.0 Dialog DLL: TCM.DLL V1.53.0.0

Project:

I:\ac201_sa5z_50\01_ok_project\cm33_ahb\MCU_Prj\MDK\STAR.uvprojx Project File Date: 06/03/2025

Output:

*** Using Compiler 'V6.16', folder: 'H:\keil\ARM\ARMCLANG\Bin' Rebuild target 'STAR' ../User/uart.c(1): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../User/uart.c(1): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../User/uart.c(2): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(186): warning: no newline at end of file [-Wnewline-eof] #endif /* __STAR_GPIO_H */ ^ ../User/uart.c(3): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(27): warning: padding size of 'UART_InitTypeDef' with 1 byte to alignment boundary [-Wpadded] typedef struct ^ ../User/uart.c(65): warning: no previous prototype for function 'uart_init' [-Wmissing-prototypes] void uart_init(uint32_t BundRate) ^ ../User/uart.c(65): note: declare 'static' if the function is not intended to be used outside of this translation unit void uart_init(uint32_t BundRate) ^ static ../User/uart.c(76): warning: no previous prototype for function 'UART0_Handler' [-Wmissing-prototypes] void UART0_Handler(void) ^ ../User/uart.c(76): note: declare 'static' if the function is not intended to be used outside of this translation unit void UART0_Handler(void) ^ static ../User/uart.c(95): warning: no previous prototype for function 'UART1_Handler' [-Wmissing-prototypes] void UART1_Handler(void) ^ ../User/uart.c(95): note: declare 'static' if the function is not intended to be used outside of this translation unit void UART1_Handler(void) ^ static ../User/uart.c(114): warning: no previous prototype for function 'UART2_Handler' [-Wmissing-prototypes] void UART2_Handler(void) ^ ../User/uart.c(114): note: declare 'static' if the function is not intended to be used outside of this translation unit void UART2_Handler(void) ^ static 10 warnings generated. compiling uart.c... ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(2): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(9): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(2): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(9): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(4): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(186): warning: no newline at end of file [-Wnewline-eof] #endif /* __STAR_GPIO_H */ ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(16): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion] return (UartPutc(ch)); ~~~~~~~~ ^~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(15): warning: unused parameter 'f' [-Wunused-parameter] int fputc(int ch, FILE *f) { ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(18): warning: unused parameter 'f' [-Wunused-parameter] int fgetc(FILE *f) { ^ 8 warnings generated. compiling STAR_retarget.c... ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_uart.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(10): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_uart.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(10): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_uart.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(27): warning: padding size of 'UART_InitTypeDef' with 1 byte to alignment boundary [-Wpadded] typedef struct ^ 5 warnings generated. compiling STAR_uart.c... ../User/ahb.c(1): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../User/ahb.c(1): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../User/ahb.c(13): warning: no previous prototype for function 'delay_ms_soft' [-Wmissing-prototypes] int delay_ms_soft(int ms) ^ ../User/ahb.c(13): note: declare 'static' if the function is not intended to be used outside of this translation unit int delay_ms_soft(int ms) ^ static ../User/ahb.c(77): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] ahbslave_write((uint32_t *)(STAR_TARGEXP0_BASE + WR_ADDR_OFFSET), i); ~~~~~~~~~~~~~~ ^ ../User/ahb.c(78): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] ahbslave_write((uint32_t *)(STAR_TARGEXP0_BASE + WR_DATA_OFFSET), i); ~~~~~~~~~~~~~~ ^ ../User/ahb.c(85): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] ahbslave_write((uint32_t *)(STAR_TARGEXP0_BASE + RD_ADDR_OFFSET), i); ~~~~~~~~~~~~~~ ^ ../User/ahb.c(90): warning: no newline at end of file [-Wnewline-eof] } ^ ../User/ahb.c(57): warning: unused variable 'id_ok' [-Wunused-variable] int id_ok = 0; ^ ../User/ahb.c(55): warning: no previous prototype for function 'AHB_readWrite_test' [-Wmissing-prototypes] void AHB_readWrite_test(void) ^ ../User/ahb.c(55): note: declare 'static' if the function is not intended to be used outside of this translation unit void AHB_readWrite_test(void) ^ static ../User/ahb.c(75): warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < rwNum; i++) ~ ^ ~~~~~ ../User/ahb.c(83): warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < rwNum; i++) ~ ^ ~~~~~ ../User/ahb.c(25): warning: unused function 'ahbslave_id_check' [-Wunused-function] static int ahbslave_id_check(void) ^ 14 warnings generated. compiling ahb.c... assembling startup_ARMCM33.s... ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(60): warning: this function declaration is not a prototype [-Wstrict-prototypes] void mpu_enable(); ^ void ../Lib/CMSIS/Device/Source/system_ARMCM33.c(70): warning: no previous extern declaration for non-static variable 'PCLK_DIV' [-Wmissing-variable-declarations] uint8_t PCLK_DIV = 1; //PCLK_DIV = 2^(MC1_PCLK_DIV); FPGA工程中MC1_PCLK_DIV设置为0ï¼› ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(70): note: declare 'static' if the variable is not intended to be used outside of this translation unit uint8_t PCLK_DIV = 1; //PCLK_DIV = 2^(MC1_PCLK_DIV); FPGA工程中MC1_PCLK_DIV设置为0ï¼› ^ 2 warnings generated. compiling system_ARMCM33.c... ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_rcc.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(9): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_rcc.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(9): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ 4 warnings generated. compiling STAR_rcc.c... ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(9): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(9): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(186): warning: no newline at end of file [-Wnewline-eof] #endif /* __STAR_GPIO_H */ ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(47): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if((GPIOx->DATA &(Bit_SET << GPIO_Pin_x)) == Bit_RESET) ~ ~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(70): warning: unused variable 'gpioDatamask' [-Wunused-variable] uint32_t gpioDatamask = 0x00; ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(119): warning: unused variable 'gpioDatamask' [-Wunused-variable] uint32_t gpioDatamask = 0x00; ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(180): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->DATAOUT |= (Bit_SET << GPIO_Pin_x ); ~~ ~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(184): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->DATAOUT &= (~(Bit_SET << GPIO_Pin_x )); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(211): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->DATA ^= (Bit_SET << GPIO_Pin_x ); ~~ ~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(199): warning: unused variable 'gpioDatamask' [-Wunused-variable] uint32_t gpioDatamask = 0x00; ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(294): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTENSET |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(298): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTTYPECLR |= (Interrupt_ENABLE<< GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(299): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTPOLCLR |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(302): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTTYPECLR |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(303): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTPOLSET |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(306): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTTYPESET |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(307): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTPOLCLR |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(310): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTTYPESET |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(311): warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] GPIOx->INTPOLSET |= (Interrupt_ENABLE << GPIO_Pin_x); ~~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 21 warnings generated. compiling STAR_gpio.c... ../User/main.c(3): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(106): warning: In file included from... ../Lib/CMSIS/Core/Include\core_cm33.h(106): warning: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" [-W#warnings] #warning "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" ^ ../User/main.c(3): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(174): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(192): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../Lib/CMSIS/Device/Include\STAR.h(214): warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ ../User/main.c(4): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(186): warning: no newline at end of file [-Wnewline-eof] #endif /* __STAR_GPIO_H */ ^ ../User/main.c(34): warning: incompatible integer to pointer conversion passing 'unsigned long' to parameter of type 'uint32_t *' (aka 'unsigned int *') [-Wint-conversion] ahbslave_write(STAR_TARGEXP0_BASE+4*ts, ts); ^~~~~~~~~~~~~~~~~~~~~~~ ../Lib/CMSIS/Device/Include\STAR.h(646): note: expanded from macro 'STAR_TARGEXP0_BASE' #define STAR_TARGEXP0_BASE (0x60000000UL) /*!< (TARGEXP0 ) Base Address */ ^ ../User/main.c(9): note: passing argument to parameter 'address' here static void ahbslave_write(uint32_t *address, uint32_t data) ^ ../User/main.c(58): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] return errorCount; // شʾд ~~~~~~ ^~~~~~~~~~ 7 warnings generated. compiling main.c... linking... Program Size: Code=8364 RO-data=2928 RW-data=8 ZI-data=3256 After Build - User command #1: fromelf.exe I:\ac201_sa5z_50\01_ok_project\cm33_ahb\MCU_Prj\MDK\Objects\ahb.axf --bin -o ahb.bin After Build - User command #2: mergeBinFileAndProgram.bat ϵͳÕÒ²»µ½Ö¸¶¨µÄ·¾¶¡£ 'cable.exe' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò »òÅú´¦ÀíÎļþ¡£ 'cable.exe' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò »òÅú´¦ÀíÎļþ¡£ ".\Objects\ahb.axf" - 0 Error(s), 71 Warning(s).

Software Packages used:

Package Vendor: ARM http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack ARM.CMSIS.5.8.0 CMSIS (Common Microcontroller Software Interface Standard)

Collection of Component include folders:

H:\keil\ARM\CMSIS\5.8.0\Device\ARM\ARMCM33\Include

Collection of Component Files used:

Build Time Elapsed: 00:00:02