µ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: 1 Administrator, 2, LIC=58D7S-LXB3L-RE9H4-FIZ59-3KTDN-KDBAD Tool Versions: Toolchain: PK251 Prof. Developers Kit Version: 5.60.0.0 Toolchain Path: C:\Keil_v5\C251\BIN C Compiler: C251.exe V5.60.0.0 Assembler: A251.exe V4.69.13.0 Linker/Locator: L251.exe V4.66.93.0 Library Manager: LIB251.exe V4.30.1.0 Hex Converter: OH251.exe V1.47.0.0 CPU DLL: S251.DLL V3.129.0.0 Dialog DLL: DCORE51.DLL V2.81.6.0

Project:

E:\aiWorkSpace\99.ai8051uTest\AiCubeTest\temp\temp\temp.uvproj Project File Date: 05/14/2025

Output:

Rebuild target 'temp' compiling main.c... Sources\main.c(13): error C318: can't open file 'config.h' Sources\main.c(45): error C67: 'P26': undefined identifier Sources\main.c(45): error C67: 'P27': undefined identifier Sources\main.c(46): error C67: 'P2M0': undefined identifier Sources\main.c(46): error C67: 'P2M1': undefined identifier Sources\main.c(46): error C67: 'P2M0': undefined identifier Sources\main.c(46): error C67: 'P2M1': undefined identifier Sources\main.c(48): error C67: 'P27': undefined identifier Sources\main.c(54): error C67: 'P26': undefined identifier Sources\main.c(54): error C67: 'P27': undefined identifier Sources\main.c(55): error C67: 'P2M0': undefined identifier Sources\main.c(55): error C67: 'P2M1': undefined identifier Sources\main.c(55): error C67: 'P2M0': undefined identifier Sources\main.c(55): error C67: 'P2M1': undefined identifier Sources\main.c(73): warning C140: 'SYS_Init' undefined; assuming 'extern int SYS_Init()' Sources\main.c(88): warning C140: 'delay_ms' undefined; assuming 'extern int delay_ms()' Sources\main.c(88): warning C95: 'delay_ms': too many actual parameters Sources\main.c(99): error C53: redefinition of 'SYS_Init': different return types Sources\main.c(100): warning C140: 'EnableAccessXFR' undefined; assuming 'extern int EnableAccessXFR()' Sources\main.c(101): warning C140: 'AccessCodeFastest' undefined; assuming 'extern int AccessCodeFastest()' Sources\main.c(102): warning C140: 'AccessIXramFastest' undefined; assuming 'extern int AccessIXramFastest()' Sources\main.c(103): warning C140: 'IAP_SetTimeBase' undefined; assuming 'extern int IAP_SetTimeBase()' Sources\main.c(105): error C67: 'P0M0': undefined identifier Sources\main.c(105): error C67: 'P0M1': undefined identifier Sources\main.c(106): error C67: 'P1M0': undefined identifier Sources\main.c(106): error C67: 'P1M1': undefined identifier Sources\main.c(107): error C67: 'P2M0': undefined identifier Sources\main.c(107): error C67: 'P2M1': undefined identifier Sources\main.c(108): error C67: 'P3M0': undefined identifier Sources\main.c(108): error C67: 'P3M1': undefined identifier Sources\main.c(109): error C67: 'P4M0': undefined identifier Sources\main.c(109): error C67: 'P4M1': undefined identifier Sources\main.c(110): error C67: 'P5M0': undefined identifier Sources\main.c(110): error C67: 'P5M1': undefined identifier Sources\main.c(111): error C67: 'P6M0': undefined identifier Sources\main.c(111): error C67: 'P6M1': undefined identifier Sources\main.c(112): error C67: 'P7M0': undefined identifier Sources\main.c(112): error C67: 'P7M1': undefined identifier Sources\main.c(114): warning C140: 'CLK_Init' undefined; assuming 'extern int CLK_Init()' Sources\main.c(115): warning C140: 'PORT2_Init' undefined; assuming 'extern int PORT2_Init()' Sources\main.c(116): warning C140: 'UART2_Init' undefined; assuming 'extern int UART2_Init()' Sources\main.c(123): warning C140: 'EnableGlobalInt' undefined; assuming 'extern int EnableGlobalInt()' Sources\main.c(131): error C25: syntax error near 'us' Sources\main.c(132): warning C35: 'delay_us': uses old-style declarator Sources\main.c(135): warning C140: 'NOP' undefined; assuming 'extern int NOP()' Sources\main.c(135): warning C95: 'NOP': too many actual parameters Sources\main.c(136): error C67: 'us': undefined identifier Sources\main.c(131): warning C47: 'uint16_t': unreferenced parameter Sources\main.c(145): error C25: syntax error near 'ms' Sources\main.c(146): error C53: redefinition of 'delay_ms': different return types Sources\main.c(147): error C25: syntax error near 'i' Sources\main.c(147): warning C34: 'i': missing declaration specifiers Sources\main.c(149): error C25: syntax error near 'do' Sources\main.c(151): error C53: redefinition of 'i' Sources\main.c(151): error C67: 'MAIN_Fosc': undefined identifier Sources\main.c(152): error C25: syntax error near 'while' Sources\main.c(152): error C25: syntax error near '--' Sources\main.c(152): error C25: syntax error near ')' Sources\main.c(153): error C25: syntax error near '--' Sources\main.c(153): error C25: syntax error near ')' compiling clock.c... Sources\clock.c(13): error C318: can't open file 'config.h' Sources\clock.c(34): warning C140: 'CLK_SYSCLK_Divider' undefined; assuming 'extern int CLK_SYSCLK_Divider()' Sources\clock.c(34): warning C95: 'CLK_SYSCLK_Divider': too many actual parameters Sources\clock.c(36): warning C140: 'HIRC_40M' undefined; assuming 'extern int HIRC_40M()' Sources\clock.c(38): warning C140: 'CLK_MCLK_HIRC' undefined; assuming 'extern int CLK_MCLK_HIRC()' Sources\clock.c(39): warning C140: 'CLK_MCLK2_BYPASS' undefined; assuming 'extern int CLK_MCLK2_BYPASS()' Sources\clock.c(41): warning C95: 'CLK_SYSCLK_Divider': too many actual parameters Sources\clock.c(43): warning C140: 'CLK_HSIOCK_MCLK' undefined; assuming 'extern int CLK_HSIOCK_MCLK()' Sources\clock.c(44): warning C140: 'CLK_HSIOCK_Divider' undefined; assuming 'extern int CLK_HSIOCK_Divider()' Sources\clock.c(44): warning C95: 'CLK_HSIOCK_Divider': too many actual parameters Sources\clock.c(46): warning C140: 'CLK_SPICLK_Divider' undefined; assuming 'extern int CLK_SPICLK_Divider()' Sources\clock.c(46): warning C95: 'CLK_SPICLK_Divider': too many actual parameters Sources\clock.c(47): warning C140: 'CLK_I2SCLK_Divider' undefined; assuming 'extern int CLK_I2SCLK_Divider()' Sources\clock.c(47): warning C95: 'CLK_I2SCLK_Divider': too many actual parameters Sources\clock.c(48): warning C140: 'CLK_PWMACLK_Divider' undefined; assuming 'extern int CLK_PWMACLK_Divider()' Sources\clock.c(48): warning C95: 'CLK_PWMACLK_Divider': too many actual parameters Sources\clock.c(49): warning C140: 'CLK_PWMBCLK_Divider' undefined; assuming 'extern int CLK_PWMBCLK_Divider()' Sources\clock.c(49): warning C95: 'CLK_PWMBCLK_Divider': too many actual parameters Sources\clock.c(50): warning C140: 'CLK_TFPUCLK_Divider' undefined; assuming 'extern int CLK_TFPUCLK_Divider()' Sources\clock.c(50): warning C95: 'CLK_TFPUCLK_Divider': too many actual parameters compiling port.c... Sources\port.c(13): error C318: can't open file 'config.h' Sources\port.c(34): warning C140: 'SetP2nQuasiMode' undefined; assuming 'extern int SetP2nQuasiMode()' Sources\port.c(34): warning C95: 'SetP2nQuasiMode': too many actual parameters Sources\port.c(35): warning C140: 'SetP2nHighZInputMode' undefined; assuming 'extern int SetP2nHighZInputMode()' Sources\port.c(35): warning C95: 'SetP2nHighZInputMode': too many actual parameters Sources\port.c(37): error C67: 'BIT_ALL': undefined identifier Sources\port.c(37): warning C140: 'DisableP2nPullUp' undefined; assuming 'extern int DisableP2nPullUp()' Sources\port.c(38): error C67: 'BIT_ALL': undefined identifier Sources\port.c(38): warning C140: 'DisableP2nPullDown' undefined; assuming 'extern int DisableP2nPullDown()' Sources\port.c(39): error C67: 'BIT_ALL': undefined identifier Sources\port.c(39): warning C140: 'DisableP2nSchmitt' undefined; assuming 'extern int DisableP2nSchmitt()' Sources\port.c(40): error C67: 'BIT_ALL': undefined identifier Sources\port.c(40): warning C140: 'SetP2nSlewRateNormal' undefined; assuming 'extern int SetP2nSlewRateNormal()' Sources\port.c(41): error C67: 'BIT_ALL': undefined identifier Sources\port.c(41): warning C140: 'SetP2nDrivingNormal' undefined; assuming 'extern int SetP2nDrivingNormal()' Sources\port.c(42): error C67: 'BIT_ALL': undefined identifier Sources\port.c(42): warning C140: 'SetP2nDigitalInput' undefined; assuming 'extern int SetP2nDigitalInput()' compiling uart.c... Sources\uart.c(13): error C318: can't open file 'config.h' Sources\uart.c(23): warning C34: 'rec_Dat': missing declaration specifiers Sources\uart.c(23): error C42: 'rec_Dat': not in formal parameter list Sources\uart.c(24): warning C34: 'u8': missing declaration specifiers Sources\uart.c(24): error C42: 'u8': not in formal parameter list Sources\uart.c(24): error C25: syntax error near 'rec_num' Sources\uart.c(24): error C142: illegal initialization Sources\uart.c(28): warning C34: 'BOOL': missing declaration specifiers Sources\uart.c(28): error C42: 'BOOL': not in formal parameter list Sources\uart.c(28): error C25: syntax error near 'fPrintfBusy' Sources\uart.c(28): warning C34: 'fPrintfBusy': missing declaration specifiers Sources\uart.c(28): error C42: 'fPrintfBusy': not in formal parameter list Sources\uart.c(35): error C42: 'UART2_ISR': not in formal parameter list Sources\uart.c(35): error C25: syntax error near 'interrupt' Sources\uart.c(132): error C7: compilation aborted Target not created. Build Time Elapsed: 00:00:00