µVision 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: xu kaiming, HP Inc., LIC=65ISZ-J98KT-Z9PG9-4EL3Q-RM73N-3K9AU Tool Versions: Toolchain: MDK-ARM Plus Version: 5.38.0.0 Toolchain Path: d:\Keil\ARM\ARM_Compiler_5.06u7\Bin C Compiler: Armcc.exe V5.06 update 7 (build 960) Assembler: Armasm.exe V5.06 update 7 (build 960) Linker/Locator: ArmLink.exe V5.06 update 7 (build 960) Library Manager: ArmAr.exe V5.06 update 7 (build 960) Hex Converter: FromElf.exe V5.06 update 7 (build 960) CPU DLL: SARMCM3.DLL V5.38.0.0 Dialog DLL: DCM.DLL V1.17.5.0 Target DLL: Segger\JL2CM3.dll V2.99.42.0 Dialog DLL: TCM.DLL V1.56.4.0

Project:

D:\1.Project\git\RFRmtCtrlHost\RT-Thread\RT-Thread.uvprojx Project File Date: 07/08/2024

Output:

*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'd:\Keil\ARM\ARM_Compiler_5.06u7\Bin' Build target 'SWM320' compiling V2RFEncoding.c... ..\LT8900\V2RFEncoding.c(54): error: #254: type name is not allowed for (uint8_t i = 1; i <= 8; i++) { ..\LT8900\V2RFEncoding.c(54): error: #65: expected a ";" for (uint8_t i = 1; i <= 8; i++) { ..\LT8900\V2RFEncoding.c(54): error: #20: identifier "i" is undefined for (uint8_t i = 1; i <= 8; i++) { ..\LT8900\V2RFEncoding.c(63): error: #254: type name is not allowed for (uint8_t i = 1; i <= 7; i++) { ..\LT8900\V2RFEncoding.c(63): error: #65: expected a ";" for (uint8_t i = 1; i <= 7; i++) { ..\LT8900\V2RFEncoding.c(63): error: #20: identifier "i" is undefined for (uint8_t i = 1; i <= 7; i++) { ..\LT8900\V2RFEncoding.c(78): warning: #223-D: function "memcpy" declared implicitly memcpy(Package, defaultPackage, V2_PACKET_LEN); ..\LT8900\V2RFEncoding.c(97): warning: #1-D: last line of file ends without a newline */ ..\LT8900\V2RFEncoding.c: 2 warnings, 6 errors compiling lt89xx_rf.c... ..\LT8900\lt89xx_rf.c(9): error: #5: cannot open source input file "task.h": No such file or directory #include "task.h" ..\LT8900\lt89xx_rf.c: 0 warnings, 1 error compiling spi.c... ..\LT8900\cpu_port\SWM320\spi.c(10): error: #77-D: this declaration has no storage class or type specifier AL_INLINE void CS_HIGH(void) ..\LT8900\cpu_port\SWM320\spi.c(10): error: #65: expected a ";" AL_INLINE void CS_HIGH(void) ..\LT8900\cpu_port\SWM320\spi.c(54): warning: #12-D: parsing restarts here after previous syntax error GPIO_WriteLow(GPIO_SPI, PORT_MOSI); ..\LT8900\cpu_port\SWM320\spi.c(55): error: #169: expected a declaration } ..\LT8900\cpu_port\SWM320\spi.c(57): warning: #1295-D: Deprecated declaration Delay10us - give arg types Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(57): warning: #77-D: this declaration has no storage class or type specifier Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(57): error: #147: declaration is incompatible with "void Delay10us(void)" (declared at line 8 of "..\LT8900\cpu_port\SWM320\spi.h") Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(59): error: #79: expected a type specifier GPIO_WriteLow(GPIO_SPI, PORT_SCLK); ..\LT8900\cpu_port\SWM320\spi.c(59): error: #79: expected a type specifier GPIO_WriteLow(GPIO_SPI, PORT_SCLK); ..\LT8900\cpu_port\SWM320\spi.c(59): warning: #77-D: this declaration has no storage class or type specifier GPIO_WriteLow(GPIO_SPI, PORT_SCLK); ..\LT8900\cpu_port\SWM320\spi.c(59): error: #147: declaration is incompatible with "void GPIO_ClrBit(GPIO_TypeDef *, uint32_t)" (declared at line 16 of "..\SWM320_StdPeriph_Driver\CSL\SWM320_StdPeriph_Driver\SWM320_gpio.h") GPIO_WriteLow(GPIO_SPI, PORT_SCLK); ..\LT8900\cpu_port\SWM320\spi.c(60): error: #77-D: this declaration has no storage class or type specifier Byte <<= 1; ..\LT8900\cpu_port\SWM320\spi.c(60): error: #65: expected a ";" Byte <<= 1; ..\LT8900\cpu_port\SWM320\spi.c(61): error: #77-D: this declaration has no storage class or type specifier Byte1 <<= 1; ..\LT8900\cpu_port\SWM320\spi.c(61): error: #65: expected a ";" Byte1 <<= 1; ..\LT8900\cpu_port\SWM320\spi.c(62): warning: #1295-D: Deprecated declaration Delay10us - give arg types Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(62): warning: #77-D: this declaration has no storage class or type specifier Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(63): error: #77-D: this declaration has no storage class or type specifier cMISO = GPIO_ReadPin(GPIO_SPI, PORT_MISO); ..\LT8900\cpu_port\SWM320\spi.c(63): error: #59: function call is not allowed in a constant expression cMISO = GPIO_ReadPin(GPIO_SPI, PORT_MISO); ..\LT8900\cpu_port\SWM320\spi.c(64): error: #77-D: this declaration has no storage class or type specifier Byte1 |= cMISO; ..\LT8900\cpu_port\SWM320\spi.c(64): error: #65: expected a ";" Byte1 |= cMISO; ..\LT8900\cpu_port\SWM320\spi.c(65): error: #169: expected a declaration } ..\LT8900\cpu_port\SWM320\spi.c(67): warning: #1295-D: Deprecated declaration Delay10us - give arg types Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(67): warning: #77-D: this declaration has no storage class or type specifier Delay10us(); ..\LT8900\cpu_port\SWM320\spi.c(68): warning: #77-D: this declaration has no storage class or type specifier Enable(); ..\LT8900\cpu_port\SWM320\spi.c(68): error: #92: identifier-list parameters may only be used in a function definition Enable(); ..\LT8900\cpu_port\SWM320\spi.c(68): error: #147: declaration is incompatible with "void __set_PRIMASK(uint32_t)" (declared at line 194 of "..\SWM320_StdPeriph_Driver\CSL\CMSIS\CoreSupport\core_cmFunc.h") Enable(); ..\LT8900\cpu_port\SWM320\spi.c(68): error: #169: expected a declaration Enable(); ..\LT8900\cpu_port\SWM320\spi.c(69): error: #169: expected a declaration return (Byte1); ..\LT8900\cpu_port\SWM320\spi.c(70): error: #169: expected a declaration } ..\LT8900\cpu_port\SWM320\spi.c(93): warning: #12-D: parsing restarts here after previous syntax error extern void delay_us(int32_t nUs); ..\LT8900\cpu_port\SWM320\spi.c(94): error: #147: declaration is incompatible with "int Delay10us()" (declared at line 57) void Delay10us(void) ..\LT8900\cpu_port\SWM320\spi.c: 10 warnings, 22 errors compiling lt89xx.c... ..\LT8900\lt89xx.c(48): warning: #223-D: function "delay_ms" declared implicitly delay_ms(1); ..\LT8900\lt89xx.c(85): warning: #223-D: function "UNUSED_PARAM" declared implicitly UNUSED_PARAM(KPT); ..\LT8900\lt89xx.c(135): warning: #223-D: function "UNUSED_PARAM" declared implicitly UNUSED_PARAM(v1); ..\LT8900\lt89xx.c(182): error: #140: too many arguments in function call GPIO_Init (GPIO_RST_RF, PIN_RST_RF,GPIO_MODE_OUT_PP,1,0,1); ..\LT8900\lt89xx.c(185): error: #140: too many arguments in function call GPIO_Init (GPIO_PKT, PIN_PKT, GPIO_MODE_IN_PU,1,0,1); ..\LT8900\lt89xx.c(192): warning: #223-D: function "UNUSED_PARAM" declared implicitly UNUSED_PARAM(KPT); ..\LT8900\lt89xx.c(197): warning: #223-D: function "delay_ms" declared implicitly GPIO_WriteLow (GPIO_RST_RF, PIN_RST_RF); delay_ms(100); ..\LT8900\lt89xx.c(247): warning: #223-D: function "delay_ms" declared implicitly delay_ms(5); //SS拉低è¦å¤§äº?2ms ..\LT8900\lt89xx.c(18): warning: #550-D: variable "bConnected" was set but never used static uint8_t bConnected = false; ..\LT8900\lt89xx.c: 7 warnings, 2 errors ".\out\RT-Thread.axf" - 31 Error(s), 19 Warning(s).

Software Packages used:

Package Vendor: Synwit http://www.synwit.com/pack/Synwit.SWM32_DFP.2.0.6.pack Synwit.SWM32_DFP.2.0.6 Synwit 32bit MCU Device Support

Collection of Component include folders:

D:/Keil/ARM/Packs/Synwit/SWM32_DFP/2.0.6/CSL/SWM320/CMSIS/DeviceSupport

Collection of Component Files used:

Target not created. Build Time Elapsed: 00:00:01