µVision Build Log

Tool Versions:

IDE-Version: ¦ÌVision V5.14.1 Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: A B, A, LIC=QFHV2-9QU8H-VPBZ0-BF5R3-FA8N8-D6DFR Tool Versions: Toolchain: PK51 Prof. Developers Kit Version: 9.54 Toolchain Path: C:\Keil_v5\C51\BIN C Compiler: C51.exe V9.54 Assembler: A51.exe V8.02c Linker/Locator: BL51.exe V6.22 Library Manager: LIB51.exe V4.30.1.0 Hex Converter: OH51.exe V2.7.0.0 CPU DLL: S8051.DLL V3.100.0.0 Dialog DLL: DP51.DLL V2.62.0.1

Project:

D:\ç³Ïë½£-µçÔ´°åMCU³ÌÐò\Project.uvproj Project File Date: 12/08/2023

Output:

Rebuild target 'Target 1' compiling main.c... PPM.h(6): error C132: '_PPM_3V3SW': not in formal parameter list PPM.h(6): error C141: syntax error near 'void' PPM.h(7): error C132: '_PPM_CHGSW': not in formal parameter list PPM.h(7): error C141: syntax error near 'void' main.c(10): error C132: '_PPM_USBOUTSW': not in formal parameter list main.c(10): error C141: syntax error near 'bit' main.c(10): error C136: 'sta_chg': 'void' on variable main.c(10): error C244: 'sta_chg': can't initialize, bad type or class main.c(10): error C136: 'sta_chg': 'void' on variable main.c(10): error C132: 'sta_chg': not in formal parameter list main.c(11): error C244: 'sta_on': can't initialize, bad type or class main.c(11): error C132: 'sta_on': not in formal parameter list main.c(12): error C244: 'sta_batavail': can't initialize, bad type or class main.c(12): error C132: 'sta_batavail': not in formal parameter list main.c(13): error C244: 'sta_12Vavail': can't initialize, bad type or class main.c(13): error C132: 'sta_12Vavail': not in formal parameter list main.c(14): error C244: 'sta_USBavail': can't initialize, bad type or class main.c(14): error C132: 'sta_USBavail': not in formal parameter list main.c(15): error C244: 'sta_lowbat': can't initialize, bad type or class main.c(15): error C132: 'sta_lowbat': not in formal parameter list main.c(17): error C244: 'prevsta_chg': can't initialize, bad type or class main.c(17): error C132: 'prevsta_chg': not in formal parameter list main.c(18): error C244: 'prevsta_on': can't initialize, bad type or class main.c(18): error C132: 'prevsta_on': not in formal parameter list main.c(19): error C244: 'prevsta_batavail': can't initialize, bad type or class main.c(19): error C132: 'prevsta_batavail': not in formal parameter list main.c(20): error C244: 'prevsta_12Vavail': can't initialize, bad type or class main.c(20): error C132: 'prevsta_12Vavail': not in formal parameter list main.c(21): error C244: 'prevsta_USBavail': can't initialize, bad type or class main.c(21): error C132: 'prevsta_USBavail': not in formal parameter list main.c(22): error C244: 'prevsta_lowbat': can't initialize, bad type or class main.c(22): error C132: 'prevsta_lowbat': not in formal parameter list main.c(24): error C244: 'status': can't initialize, bad type or class main.c(24): error C132: 'status': not in formal parameter list main.c(26): error C244: 'isda': can't initialize, bad type or class main.c(26): error C132: 'isda': not in formal parameter list main.c(27): error C244: 'isma': can't initialize, bad type or class main.c(27): error C132: 'isma': not in formal parameter list main.c(28): error C244: 'addr': can't initialize, bad type or class main.c(28): error C132: 'addr': not in formal parameter list main.c(31): error C132: 'GPIO_Init': not in formal parameter list main.c(31): error C141: syntax error near '{' main.c(32): error C136: 'P0M0': 'void' on variable main.c(32): error C132: 'P0M0': not in formal parameter list main.c(32): error C136: 'P0M1': 'void' on variable main.c(32): error C132: 'P0M1': not in formal parameter list main.c(33): error C136: 'P1M0': 'void' on variable main.c(33): error C132: 'P1M0': not in formal parameter list main.c(33): error C136: 'P1M1': 'void' on variable main.c(33): error C132: 'P1M1': not in formal parameter list main.c(34): error C136: 'P2M0': 'void' on variable main.c(34): error C244: 'P2M0': can't initialize, bad type or class main.c(34): error C136: 'P2M0': 'void' on variable main.c(34): error C132: 'P2M0': not in formal parameter list main.c(34): error C244: 'P2M1': can't initialize, bad type or class main.c(34): error C132: 'P2M1': not in formal parameter list main.c(35): error C132: 'P3M0': not in formal parameter list main.c(35): error C141: syntax error near '|=' main.c(35): error C132: 'P3M1': not in formal parameter list main.c(39): error C132: 'I2C_Init': not in formal parameter list main.c(39): error C141: syntax error near '{' main.c(40): error C141: syntax error near 'unsigned' main.c(41): error C141: syntax error near 'unsigned' main.c(42): error C141: syntax error near 'unsigned' main.c(43): error C141: syntax error near 'unsigned' main.c(44): error C244: 'EA': can't initialize, bad type or class main.c(44): error C132: 'EA': not in formal parameter list main.c(45): error C141: syntax error near '}' main.c(53): error C202: 'isda': undefined identifier main.c(53): error C202: 'isma': undefined identifier main.c(57): error C202: 'isda': undefined identifier main.c(57): error C202: 'isda': undefined identifier main.c(58): error C202: 'isma': undefined identifier main.c(60): error C202: 'isma': undefined identifier main.c(61): error C202: 'addr': undefined identifier main.c(62): error C202: 'addr': undefined identifier main.c(62): error C202: 'status': undefined identifier main.c(67): error C202: 'addr': undefined identifier compiling Delayms.c... compiling ADC.c... compiling PPM.c... Target not created.