VECENT_LIN 发表于 2025-1-4 12:28:02

大力支持!

yzhkpli 发表于 2025-1-4 17:53:05

如果开源。或者开放思路,做成web版。或者小程序形式,那就方便太多了。

VECENT_LIN 发表于 2025-1-4 21:48:42

生成的时候加载库就编译不了,不加载就可以

缺少这个STC32G_LCM.h


xinxinsky 发表于 2025-1-5 09:57:03

VECENT_LIN 发表于 2025-1-4 21:48
生成的时候加载库就编译不了,不加载就可以

缺少这个STC32G_LCM.h

您好, 麻烦您将配置的工程sxprj文件发上来我看下

VECENT_LIN 发表于 2025-1-5 10:09:55

xinxinsky 发表于 2025-1-5 09:57
您好, 麻烦您将配置的工程sxprj文件发上来我看下

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生成项目就不会有问题


xinxinsky 发表于 2025-1-5 10:33:55

VECENT_LIN 发表于 2025-1-5 10:09
compiling STC32G_Soft_SPI.c...
../Drivers/STC32/Src/STC32G_Soft_SPI.c(19): error C318: can't open...

好, 等我回去看看哈{:hanxiao:}

LoveAmanda 发表于 2025-1-5 10:56:10

期待官方能健全stc的生态,不会咱可以学习{:4_165:}

waltze 发表于 2025-1-5 13:06:42

<p>希望各位大佬能完善,这工具想法特别棒<img src="data/attachment/forum/202501/05/130633xzg4q0ss0ihghbtt.gif" alt="11.png" /><img src="data/attachment/forum/202501/05/130637yv7el1e8v3jtokec.gif" alt="11.png" /><img src="data/attachment/forum/202501/05/130637waokqipyuoaya21y.gif" alt="11.png" /><img src="data/attachment/forum/202501/05/130637zyylz8408wmfomr6.gif" alt="11.png" /></p>

xinxinsky 发表于 2025-1-5 17:52:30

VECENT_LIN 发表于 2025-1-5 10:09
compiling STC32G_Soft_SPI.c...
../Drivers/STC32/Src/STC32G_Soft_SPI.c(19): error C318: can't open...

BUG已修复, 附件已更新{:shengli:}

VECENT_LIN 发表于 2025-1-5 19:04:24

使用LCM控制脚设置,文件里面都是P6.6



没有按照设定的脚位分配。
页: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16
查看完整版本: STC32Cube, AI8051U工程创建工具 | 大家帮测试