- 打卡等级:以坛为家I
- 打卡总天数:301
- 最近打卡:2025-05-01 08:32:20
已绑定手机
金牌会员
- 积分
- 1185
|
发表于 2025-1-5 10:09:55
|
显示全部楼层
compiling STC32G_Soft_SPI.c...
../Drivers/STC32/Src/STC32G_Soft_SPI.c(19): error C318: can't open file 'Config.c'
../Drivers/STC32/Src/STC32G_Soft_SPI.c(20): error C318: can't open file 'STC32G_Soft_SPI.h'
../Drivers/STC32/Src/STC32G_Soft_SPI.c(22): error C25: syntax error near 'aCount'
../Drivers/STC32/Src/STC32G_Soft_SPI.c(23): error C42: 'Delay': not in formal parameter list
../Drivers/STC32/Src/STC32G_Soft_SPI.c(68): error C7: compilation aborted
compiling STC32G_QSPI.c...
compiling STC32G_I2C.c...
compiling STC32G_I2C_Isr.c...
../Drivers/STC32/Src/STC32G_I2C_Isr.c(63): error C67: 'I2C_Buffer': undefined identifier
../Drivers/STC32/Src/STC32G_I2C_Isr.c(67): error C67: 'I2C_Buffer': undefined identifier
../Drivers/STC32/Src/STC32G_I2C_Isr.c(79): error C67: 'I2C_Buffer': undefined identifier
compiling STC32G_GPIO_Isr.c...
compiling STC32G_LCM.c...
../Drivers/STC32/Src/STC32G_LCM.c(14): error C318: can't open file 'STC32G_LCM.h'
../Drivers/STC32/Src/STC32G_LCM.c(23): error C25: syntax error near '*'
../Drivers/STC32/Src/STC32G_LCM.c(24): warning C35: 'LCM_Inilize': uses old-style declarator
../Drivers/STC32/Src/STC32G_LCM.c(25): error C67: 'LCMIFSTA': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(26): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(26): error C67: 'MODE_M6800': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(26): error C67: 'LCMIFCFG': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(26): error C67: 'MODE_M6800': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(27): error C67: 'LCMIFCFG': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(27): error C67: 'MODE_M6800': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(29): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(29): error C67: 'BIT_WIDE_16': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(29): error C67: 'LCMIFCFG': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(29): error C67: 'BIT_WIDE_16': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(30): error C67: 'LCMIFCFG': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(30): error C67: 'BIT_WIDE_16': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(32): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(32): error C67: 'LCMIFCFG2': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(32): error C67: 'LCMIFCFG2': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(32): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(33): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(33): error C67: 'LCMIFCFG2': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(33): error C67: 'LCMIFCFG2': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(33): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(35): error C67: 'LCM': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(35): error C67: 'ENABLE': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(35): error C67: 'LCMIFCR': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(36): error C67: 'LCMIFCR': undefined identifier
../Drivers/STC32/Src/STC32G_LCM.c(23): warning C47: 'LCM_InitTypeDef': unreferenced parameter
compiling STC32G_LCM_Isr.c...
../Drivers/STC32/Src/STC32G_LCM_Isr.c(13): error C318: can't open file 'STC32G_LCM.h'
../Drivers/STC32/Src/STC32G_LCM_Isr.c(24): error C25: syntax error near 'LCM_VECTOR'
../Drivers/STC32/Src/STC32G_LCM_Isr.c(25): warning C34: 'LCM_VECTOR': missing declaration specifiers
../Drivers/STC32/Src/STC32G_LCM_Isr.c(25): error C42: 'LCM_VECTOR': not in formal parameter list
../Drivers/STC32/Src/STC32G_LCM_Isr.c(25): error C25: syntax error near '{'
../Drivers/STC32/Src/STC32G_LCM_Isr.c(34): error C7: compilation aborted
compiling STC32G_I2S.c...
compiling STC32G_DMA.c...
Target not created.
Build Time Elapsed: 00:00:16
这个是加载了库文件的编译结果
如果改为FLASE生成项目就不会有问题
|
|