礦ision Build Log

Tool Versions:

IDE-Version: μVision V5.27.1.0 Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: 1 1, 1, LIC=9W1BF-6RF4D-C7SR1-CFZJT-WSZ4Z-XRYWQ Tool Versions: Toolchain: PK51 Prof. Developers Kit Version: 9.60.0.0 Toolchain Path: C:\Keil_v5\C51\BIN C Compiler: C51.exe V9.60.0.0 Assembler: A51.exe V8.2.7.0 Linker/Locator: BL51.exe V6.22.2.0 Library Manager: LIB51.exe V4.30.1.0 Hex Converter: OH51.exe V2.7.0.0 CPU DLL: S8051.DLL V3.122.0.0 Dialog DLL: DP51.DLL V2.67.0.0

Project:

C:\Users\BJF\Desktop\基于AI8051U开发板实验例程\例程03--轻触按键\key.uvproj Project File Date: 11/24/2024

Output:

Rebuild target 'Target 1' compiling bee.c... compiling gpio.c... compiling led.c... compiling main.c... Cource\key.h(5): error C231: 'KEY_S1': redefinition Cource\key.h(6): error C231: 'KEY_S2': redefinition Cource\key.h(7): error C231: 'KEY_S3': redefinition Cource\key.h(8): error C231: 'KEY_S4': redefinition Cource\main.c(34): error C211: call not to a function compiling key.c... Cource\key.h(5): error C231: 'KEY_S1': redefinition Cource\key.h(6): error C231: 'KEY_S2': redefinition Cource\key.h(7): error C231: 'KEY_S3': redefinition Cource\key.h(8): error C231: 'KEY_S4': redefinition Cource\key.c(15): error C231: 'KEY_S1': redefinition Cource\key.c(21): error C202: 'LED': undefined identifier Cource\key.c(21): error C141: syntax error near '~', expected ';' Cource\key.c(21): error C141: syntax error near '=', expected 'sizeof' Cource\key.c(25): error C231: 'KEY_S1': redefinition Cource\key.c(46): error C132: 'KEY_S3': not in formal parameter list Cource\key.c(46): error C141: syntax error near 'void', expected ';' Cource\key.c(46): error C132: 'KEY_S4': not in formal parameter list Cource\key.c(46): error C141: syntax error near '', expected ';' Target not created. Build Time Elapsed: 00:00:00