礦ision 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: a b, c, LIC=X9E4T-RDAFG-05DTZ-J9UHD-0QQ6Q-6D00B Tool Versions: Toolchain: PK251 Prof. Developers Kit Version: 5.60.0.0 Toolchain Path: D:\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:

D:\2025\2.27大二下资料\单片机(要抄题)\单片机\期末实验\1\2.uvproj Project File Date: 06/22/2025

Output:

Build target 'Target 1' compiling 2.c... 2.c(1): error C318: can't open file 'stc8h.h' 2.c(29): error C67: 'P3': undefined identifier 2.c(30): error C67: 'P3': undefined identifier 2.c(56): error C67: 'P5': undefined identifier 2.c(68): error C67: 'P2': undefined identifier 2.c(85): warning C140: 'gpio' undefined; assuming 'extern int gpio()' 2.c(89): error C67: 'ADCCFG': undefined identifier 2.c(89): error C67: 'ADCCFG': undefined identifier 2.c(90): error C67: 'ADC_CONTR': undefined identifier 2.c(92): error C67: 'ET0': undefined identifier 2.c(93): error C67: 'EA': undefined identifier 2.c(95): error C67: 'P40': undefined identifier 2.c(96): error C67: 'P_IR_TX': undefined identifier 2.c(98): error C67: 'P7': undefined identifier 2.c(112): error C67: 'BEEP': undefined identifier 2.c(113): error C67: 'P7': undefined identifier 2.c(114): error C67: 'P6': undefined identifier 2.c(115): error C67: 'P40': undefined identifier 2.c(125): error C67: 'BEEP': undefined identifier 2.c(126): error C67: 'P40': undefined identifier 2.c(139): error C67: 'BEEP': undefined identifier 2.c(140): error C67: 'P40': undefined identifier 2.c(153): error C67: 'P1M1': undefined identifier 2.c(153): error C67: 'P1M1': undefined identifier 2.c(154): error C67: 'P40': undefined identifier 2.c(155): error C67: 'BEEP': undefined identifier 2.c(204): error C67: 'P7': undefined identifier 2.c(205): error C67: 'P40': undefined identifier 2.c(206): error C67: 'P6': undefined identifier 2.c(211): error C67: 'BEEP': undefined identifier 2.c(211): error C67: 'BEEP': undefined identifier 2.c(216): error C67: 'BEEP': undefined identifier 2.c(217): error C67: 'P40': undefined identifier 2.c(230): error C67: 'BEEP': undefined identifier 2.c(231): error C67: 'P7': undefined identifier 2.c(232): error C67: 'P40': undefined identifier 2.c(233): error C67: 'P_IR_TX': undefined identifier 2.c(240): error C67: 'P_IR_TX': undefined identifier 2.c(244): error C67: 'BEEP': undefined identifier 2.c(245): error C67: 'P7': undefined identifier 2.c(246): error C67: 'P40': undefined identifier 2.c(258): error C67: 'P6': undefined identifier 2.c(264): error C67: 'P7': undefined identifier 2.c(265): error C67: 'P6': undefined identifier 2.c(266): error C67: 'P7': undefined identifier 2.c(273): error C67: 'ADC_RES': undefined identifier 2.c(274): error C67: 'ADC_RESL': undefined identifier 2.c(279): error C67: 'ADC_CONTR': undefined identifier 2.c(279): error C67: 'ADC_CONTR': undefined identifier 2.c(281): error C67: 'ADC_CONTR': undefined identifier 2.c(282): error C67: 'ADC_CONTR': undefined identifier 2.c(283): error C67: 'ADC_RES': undefined identifier 2.c(283): error C67: 'ADC_RESL': undefined identifier 2.c(302): error C67: 'SCON': undefined identifier 2.c(303): error C67: 'T2L': undefined identifier 2.c(304): error C67: 'T2H': undefined identifier 2.c(305): error C67: 'AUXR': undefined identifier 2.c(306): error C67: 'AUXR': undefined identifier 2.c(311): error C67: 'EA': undefined identifier 2.c(312): error C67: 'TI': undefined identifier 2.c(313): error C67: 'TI': undefined identifier 2.c(314): error C67: 'SBUF': undefined identifier 2.c(315): error C67: 'EA': undefined identifier 2.c(339): error C67: 'key0': undefined identifier 2.c(346): error C67: 'key0': undefined identifier 2.c(350): error C67: 'key0': undefined identifier 2.c(357): error C67: 'key0': undefined identifier 2.c(363): error C67: 'key1': undefined identifier 2.c(370): error C67: 'key1': undefined identifier 2.c(374): error C67: 'key1': undefined identifier 2.c(381): error C67: 'key1': undefined identifier 2.c(399): error C67: 'AUXR': undefined identifier 2.c(400): error C67: 'TMOD': undefined identifier 2.c(403): error C67: 'TL0': undefined identifier 2.c(404): error C67: 'TH0': undefined identifier 2.c(405): error C67: 'TF0': undefined identifier 2.c(406): error C67: 'TR0': undefined identifier 2.c(440): error C67: 'P0': undefined identifier 2.c(442): error C67: 'P0': undefined identifier 2.c(443): error C67: 'P0': undefined identifier 2.c(445): error C67: 'P0': undefined identifier 2.c(453): error C67: 'F0': undefined identifier 2.c(454): error C67: 'F0': undefined identifier 2.c(460): error C67: 'F0': undefined identifier 2.c(463): error C67: 'F0': undefined identifier 2.c(475): error C67: 'P0': undefined identifier 2.c(483): error C67: 'PWMA_CCER2': undefined identifier 2.c(484): error C67: 'PWMA_CCMR4': undefined identifier 2.c(485): error C67: 'PWMA_CCER2': undefined identifier 2.c(486): error C67: 'PWMA_IER': undefined identifier 2.c(494): error C67: 'PWMA_CCER2': undefined identifier 2.c(495): error C67: 'PWMA_CCMR4': undefined identifier 2.c(496): error C67: 'PWMA_CCER2': undefined identifier 2.c(497): error C67: 'PWMA_IER': undefined identifier 2.c(517): error C67: 'PWMA_CCER2': undefined identifier 2.c(518): error C67: 'PWMA_CCMR4': undefined identifier 2.c(519): error C67: 'PWMA_ARRH': undefined identifier 2.c(520): error C67: 'PWMA_ARRL': undefined identifier 2.c(521): error C67: 'PWMA_CCR4H': undefined identifier 2.c(522): error C67: 'PWMA_CCR4L': undefined identifier 2.c(524): error C67: 'PWMA_PS': undefined identifier 2.c(526): error C67: 'PWMA_ENO': undefined identifier C251 FATAL-ERROR - ACTION: PARSING SOURCE-FILE ERROR: (LINE 526), MORE THAN 400 ERRORS IN SOURCE-FILE C251 TERMINATED. Target not created. Build Time Elapsed: 00:00:00