µVision Build Log

Tool Versions:

IDE-Version: ¦ÌVision V5.37.0.0 Copyright (C) 2022 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: liu chengzhang, 1313, LIC=YA39H-WSAQ3-QDBKD-84P0Y-HBEKU-8WE4C Tool Versions: Toolchain: MDK-ARM Plus Version: 5.37.0.0 Toolchain Path: D:\Keil_v5\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.18 Assembler: Armasm.exe V6.18 Linker/Locator: ArmLink.exe V6.18 Library Manager: ArmAr.exe V6.18 Hex Converter: FromElf.exe V6.18 CPU DLL: Dialog DLL: Target DLL: Segger\JL2CM3.dll V2.99.42.0 Dialog DLL: TCM.DLL V1.56.1.0

Project:

D:\LCZ\work\MCU\demo\XIST_STAR_Demo_2025_1226\ex4_uart\MCU_Prj\MDK\STAR.uvprojx Project File Date: 09/15/2025

Output:

*** Using Compiler 'V6.18', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin' Build target 'STAR' ../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(108): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_conf.h(11): warning: // comments are not allowed in this language [-Wcomment] //#include "STAR_gpio.h" ^ ../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 { ^ ../Lib/CMSIS/Device/Include\STAR.h(267): warning: // comments are not allowed in this language [-Wcomment] typedef struct // Document DDI0194G_ssp_pl022_r1p3_trm.pdf ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_rcc.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(41): warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] APB_FREQ, ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_rcc.c(7): warning: // comments are not allowed in this language [-Wcomment] #define PCLK_DIV 0 //PCLK分频系数 该系数需与FPGA工程例化CM33时的PCLK_DIV参数一致 ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_rcc.c(63): warning: default label in switch which covers all enumeration values [-Wcovered-switch-default] default: ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_rcc.c(69): warning: no newline at end of file [-Wnewline-eof] } ^ 10 warnings generated. compiling STAR_rcc.c... ../Lib/CMSIS/Device/Source/system_ARMCM33.c(37): warning: // comments are not allowed in this language [-Wcomment] // #include "ARMCM33_DSP_FP_TZ.h" ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(38): warning: In file included from... ../Lib/CMSIS/Core/Include\ARMv8MML_SP.h(36): warning: // comments are not allowed in this language [-Wcomment] //mod by sdfu,useless ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(1): warning: // comments are not allowed in this language [-Wcomment] //crate at 22.3.1 by sdfu ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(3): warning: In file included from... ../Lib/CMSIS/Core/Include\exectb_mcu.h(1): warning: // comments are not allowed in this language [-Wcomment] //------------------------------------------------------------------------------ ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(3): warning: In file included from... ../Lib/CMSIS/Core/Include\exectb_mcu.h(40): warning: In file included from... ../Lib/CMSIS/Core/Include/system_exectb_mcu.h(1): warning: // comments are not allowed in this language [-Wcomment] //------------------------------------------------------------------------------ ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(4): warning: In file included from... ../Lib/CMSIS/Core/Include\EXECTB_tests.h(1): warning: // comments are not allowed in this language [-Wcomment] //------------------------------------------------------------------------------ ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(4): warning: In file included from... ../Lib/CMSIS/Core/Include\EXECTB_tests.h(27): warning: In file included from... ../Lib/CMSIS/Core/Include/EXECTB_Config.h(1): warning: // comments are not allowed in this language [-Wcomment] //------------------------------------------------------------------------------ ^ ../Lib/CMSIS/Device/Source/system_ARMCM33.c(40): warning: In file included from... ../Lib/CMSIS/Device/Source/star_mpu.h(4): warning: In file included from... ../Lib/CMSIS/Core/Include\EXECTB_tests.h(29): warning: In file included from... ../Lib/CMSIS/Core/Include/debugdriver_functions.h(1): warning: // comments are not allowed in this language [-Wcomment] //------------------------------------------------------------------------------ ^ ../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 9 warnings generated. compiling system_ARMCM33.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(108): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_conf.h(11): warning: // comments are not allowed in this language [-Wcomment] //#include "STAR_gpio.h" ^ ../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/Include\STAR.h(267): warning: // comments are not allowed in this language [-Wcomment] typedef struct // Document DDI0194G_ssp_pl022_r1p3_trm.pdf ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_uart.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(102): warning: // comments are not allowed in this language [-Wcomment] #define UART_TxInterrupt 0x04 //(0x1UL<<2) ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_uart.c(2): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(41): warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] APB_FREQ, ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_uart.c(55): warning: // comments are not allowed in this language [-Wcomment] //Baud rate divider. The minimum number is 16. ^ ../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 3 bytes to alignment boundary [-Wpadded] typedef struct ^ 10 warnings generated. compiling STAR_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(108): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_conf.h(11): warning: // comments are not allowed in this language [-Wcomment] //#include "STAR_gpio.h" ^ ../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/Include\STAR.h(267): warning: // comments are not allowed in this language [-Wcomment] typedef struct // Document DDI0194G_ssp_pl022_r1p3_trm.pdf ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(2): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(41): warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] APB_FREQ, ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(3): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(102): warning: // comments are not allowed in this language [-Wcomment] #define UART_TxInterrupt 0x04 //(0x1UL<<2) ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_retarget.c(8): warning: // comments are not allowed in this language [-Wcomment] //struct __FILE { int handle; /* Add whatever you need here */ }; ^ ../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) { ^ 12 warnings generated. compiling STAR_retarget.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(108): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_conf.h(11): warning: // comments are not allowed in this language [-Wcomment] //#include "STAR_gpio.h" ^ ../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 { ^ ../Lib/CMSIS/Device/Include\STAR.h(267): warning: // comments are not allowed in this language [-Wcomment] typedef struct // Document DDI0194G_ssp_pl022_r1p3_trm.pdf ^ ../User/main.c(7): warning: // comments are not allowed in this language [-Wcomment] //LED2 GPIO0_0 ^ ../User/main.c(22): warning: no previous prototype for function 'delay_ms' [-Wmissing-prototypes] void delay_ms(uint16_t dly) ^ ../User/main.c(22): note: declare 'static' if the function is not intended to be used outside of this translation unit void delay_ms(uint16_t dly) ^ static ../User/main.c(53): warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] ;//主函数循环不做其他业务,等待用户通过uart发送数据,echo在接收中断中实现 ^ 9 warnings generated. compiling main.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(8): 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(8): warning: In file included from... ../Lib/CMSIS/Device/Include\STAR.h(108): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_conf.h(11): warning: // comments are not allowed in this language [-Wcomment] //#include "STAR_gpio.h" ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(1): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_gpio.h(8): 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/Include\STAR.h(267): warning: // comments are not allowed in this language [-Wcomment] typedef struct // Document DDI0194G_ssp_pl022_r1p3_trm.pdf ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(74): warning: // comments are not allowed in this language [-Wcomment] //GPIOx->ALTFUNCCLR = ( 1 << GPIO_Pin_x ); ^ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(100): 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(250): 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(254): 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(311): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTENSET = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(315): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTTYPECLR = (Interrupt_ENABLE<< GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(316): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTPOLCLR = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(319): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTTYPECLR = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(320): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTPOLSET = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(323): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTTYPESET = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(324): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTPOLCLR = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(327): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTTYPESET = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(328): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTPOLSET = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ../Lib/CMSIS/Device/StdPeriph_Driver/src/STAR_gpio.c(334): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion] GPIOx->INTENCLR = (Interrupt_ENABLE << GPIO_Pin_x); ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 20 warnings generated. compiling STAR_gpio.c... assembling startup_ARMCM33.s... ../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(108): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_conf.h(11): warning: // comments are not allowed in this language [-Wcomment] //#include "STAR_gpio.h" ^ ../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 { ^ ../Lib/CMSIS/Device/Include\STAR.h(267): warning: // comments are not allowed in this language [-Wcomment] typedef struct // Document DDI0194G_ssp_pl022_r1p3_trm.pdf ^ ../User/uart.c(3): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_uart.h(102): warning: // comments are not allowed in this language [-Wcomment] #define UART_TxInterrupt 0x04 //(0x1UL<<2) ^ ../User/uart.c(4): warning: In file included from... ../Lib/CMSIS/Device/StdPeriph_Driver/inc\STAR_rcc.h(41): warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] APB_FREQ, ^ ../User/uart.c(39): warning: // comments are not allowed in this language [-Wcomment] GPIO_AF_Config(STAR_GPIO0, GPIO_AF_USART0_RXD, ENABLE); //GPIO[2] ^ ../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 3 bytes to alignment boundary [-Wpadded] typedef struct ^ ../User/uart.c(62): warning: no previous prototype for function 'uart_init' [-Wmissing-prototypes] void uart_init(uint32_t BundRate) ^ ../User/uart.c(62): 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(71): warning: no previous prototype for function 'UART0_Handler' [-Wmissing-prototypes] void UART0_Handler(void) ^ ../User/uart.c(71): 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(87): warning: no previous prototype for function 'UART1_Handler' [-Wmissing-prototypes] void UART1_Handler(void) ^ ../User/uart.c(87): 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(103): warning: no previous prototype for function 'UART2_Handler' [-Wmissing-prototypes] void UART2_Handler(void) ^ ../User/uart.c(103): note: declare 'static' if the function is not intended to be used outside of this translation unit void UART2_Handler(void) ^ static 14 warnings generated. compiling uart.c... linking... Program Size: Code=9284 RO-data=2816 RW-data=4 ZI-data=3260 After Build - User command #1: fromelf.exe D:\LCZ\work\MCU\demo\XIST_STAR_Demo_2025_1226\ex4_uart\MCU_Prj\MDK\Objects\uart.axf --bin -o uart.bin After Build - User command #2: mergeBinFileAndProgram.bat 2025-11-21 11:31:15 : XiST USB Cable v5.2 MCU version : v4.4 ********************************************* file path:D:\LCZ\work\MCU\demo\XIST_STAR_Demo_2025_1226\ex4_uart\FPGA_Prj\hq_prj\hq_run\hq_prj.bin Design name: demo_top Device: SA5Z-50-D0-7F484C Date: Thu Nov 6 10:22:38 2025 ********************************************* output bin file: D:\LCZ\work\MCU\demo\XIST_STAR_Demo_2025_1226\ex4_uart\FPGA_Prj\hq_prj\hq_run\hq_prj_uart.bin merge bin file complete. 2025-11-21 11:31:16 : XiST USB Cable v5.2 MCU version : v4.4 ********************************************* file path:D:\LCZ\work\MCU\demo\XIST_STAR_Demo_2025_1226\ex4_uart\FPGA_Prj\hq_prj\hq_run\hq_prj_uart.bin Design name: demo_top Device: SA5Z-50-D0-7F484C Date: Thu Nov 6 10:22:38 2025 ********************************************* Device ID : 0C3147FD ...detect Device Model : SA50K 2025-11-21 11:31:16 : JTAG PROGRAMING... .............................................................................2025-11-21 11:31:24 : Task completed. ".\Objects\uart.axf" - 0 Error(s), 84 Warning(s).

Software Packages used:

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

Collection of Component include folders:

D:/Users/LCZ/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/Device/ARM/ARMCM33/Include

Collection of Component Files used:

Build Time Elapsed: 00:00:10