µVision Build Log
Tool Versions:
IDE-Version: ¦ÌVision V5.36.0.0
Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: 1 2, 1, LIC=76F5U-SJEFT-KP0ZY-ILYRT-02QWL-LDLC1
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.36.0.0
Toolchain Path: D:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler: ArmClang.exe V6.16
Assembler: Armasm.exe V6.16
Linker/Locator: ArmLink.exe V6.16
Library Manager: ArmAr.exe V6.16
Hex Converter: FromElf.exe V6.16
CPU DLL:
Dialog DLL:
Target DLL: UL2V8M.DLL V1.7.0.0
Dialog DLL: TCM.DLL V1.53.0.0
Project:
C:\Users\Gowon\Desktop\controller\prj\ctrl_board.uvprojx
Project File Date: 04/08/2025
Output:
*** Using Compiler 'V6.16', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'Target 1'
../modbus/BARE/port/port.c(50): error: use of undeclared identifier 'AC3PPDU_Modbus_RegStAd'
static USHORT usRegHoldStart = REG_HOLD_START;
^
../modbus/BARE/port/port.c(35): note: expanded from macro 'REG_HOLD_START'
#define REG_HOLD_START AC3PPDU_Modbus_RegStAd
^
../modbus/BARE/port/port.c(118): error: use of undeclared identifier 'Mb_Wcmd_Width'
uint32_t Modbus_Wr_buff[Mb_Wcmd_Width][Mb_Wcmd_len] = {0};
^
../modbus/BARE/port/port.c(118): error: use of undeclared identifier 'Mb_Wcmd_len'
uint32_t Modbus_Wr_buff[Mb_Wcmd_Width][Mb_Wcmd_len] = {0};
^
../modbus/BARE/port/port.c(124): error: use of undeclared identifier 'AC3PPDU_Modbus_Reg_len'
extern uint32_t AC3PPDU_Modbus_Reg[AC3PPDU_Modbus_Reg_len];
^
../modbus/BARE/port/port.c(125): error: unknown type name 'information_t'
extern information_t infomation;
^
../modbus/BARE/port/port.c(134): error: use of undeclared identifier 'AC3PPDU_Modbus_RegStAd'
if((usAddress >= REG_HOLD_START) && ((usAddress+usNRegs) <= (REG_HOLD_START + REG_HOLD_NREGS)))
^
../modbus/BARE/port/port.c(35): note: expanded from macro 'REG_HOLD_START'
#define REG_HOLD_START AC3PPDU_Modbus_RegStAd
^
../modbus/BARE/port/port.c(134): error: use of undeclared identifier 'AC3PPDU_Modbus_RegStAd'
if((usAddress >= REG_HOLD_START) && ((usAddress+usNRegs) <= (REG_HOLD_START + REG_HOLD_NREGS)))
^
../modbus/BARE/port/port.c(35): note: expanded from macro 'REG_HOLD_START'
#define REG_HOLD_START AC3PPDU_Modbus_RegStAd
^
../modbus/BARE/port/port.c(142): error: use of undeclared identifier 'Devid_ChalNumAddr'
if((usAddress == Devid_ChalNumAddr)&&(usNRegs == Devid_ChalNumQua)) //ȡ豸ͺͨ
^
../modbus/BARE/port/port.c(142): error: use of undeclared identifier 'Devid_ChalNumQua'
if((usAddress == Devid_ChalNumAddr)&&(usNRegs == Devid_ChalNumQua)) //ȡ豸ͺͨ
^
../modbus/BARE/port/port.c(144): error: use of undeclared identifier 'Mb_Dbuff_DevAddr'
usRegHoldBuf[iRegIndex]= AC3PPDU_Modbus_Reg[Mb_Dbuff_DevAddr];
^
../modbus/BARE/port/port.c(148): error: use of undeclared identifier 'AC3PPDU_VAP_Addr'
else if((usAddress >= AC3PPDU_VAP_Addr)&&(usAddress <= AC3PPDU_RL_Over_Ch9_Addr))//È¡
^
../modbus/BARE/port/port.c(148): error: use of undeclared identifier 'AC3PPDU_RL_Over_Ch9_Addr'
else if((usAddress >= AC3PPDU_VAP_Addr)&&(usAddress <= AC3PPDU_RL_Over_Ch9_Addr))//È¡
^
../modbus/BARE/port/port.c(150): error: use of undeclared identifier 'AC3PPDU_Modbus_RegStAd'
T_cnt = usAddress - AC3PPDU_Modbus_RegStAd;
^
../modbus/BARE/port/port.c(153): error: use of undeclared identifier 'AC3PPDU_INFOMATION'
else if(usAddress == AC3PPDU_INFOMATION)
^
../modbus/BARE/port/port.c(181): error: use of undeclared identifier 'AC3PPDU_ViLit_max_Addr'
if((usAddress >= AC3PPDU_ViLit_max_Addr)&&(usAddress <= AC3PPDU_BREAK_UPGRADE))
^
../modbus/BARE/port/port.c(181): error: use of undeclared identifier 'AC3PPDU_BREAK_UPGRADE'
if((usAddress >= AC3PPDU_ViLit_max_Addr)&&(usAddress <= AC3PPDU_BREAK_UPGRADE))
^
../modbus/BARE/port/port.c(185): error: use of undeclared identifier 'AC3PPDU_Modbus_RegStAd'
T_cnt = usAddress - AC3PPDU_Modbus_RegStAd;
^
../modbus/BARE/port/port.c(191): error: use of undeclared identifier 'Mb_Wcmd_Width'
if(cmd_cnt >= Mb_Wcmd_Width)
^
18 errors generated.
compiling port.c...
".\Objects\ctrl_board.axf" - 18 Error(s), 0 Warning(s).
Software Packages used:
Package Vendor: ARM
http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack
ARM.CMSIS.5.8.0
CMSIS (Common Microcontroller Software Interface Standard)
* Component: CORE Version: 5.5.0
Package Vendor: GigaDevice
http://gd32mcu.com/data/documents/pack/GigaDevice.GD32E23x_DFP.2.2.1.pack
GigaDevice.GD32E23x_DFP.2.2.1
GigaDevice GD32E23x Series Device Support and Examples
Collection of Component include folders:
.\RTE\_Target_1
D:\Keil_v5\pack\ARM\CMSIS\5.8.0\CMSIS\Core\Include
D:\Keil_v5\pack\GigaDevice\GD32E23x_DFP\2.2.1\Device\Include
Collection of Component Files used:
* Component: ARM::CMSIS:CORE:5.5.0
Target not created.
Build Time Elapsed: 00:00:01