在尝试用vsc编写调试灵动MM32F3277G9P,用的是DAP下载器
使用了灵动提供的keil pack
在keil里面能编译也能下载
在EIDE里面编译报错如下
`[ INFO ] start building at 2022-03-23 12:14:58
[ TOOL ] ARM Compiler 6.12
[ INFO ] file statistics (incremental compilation mode)
+---------+-----------+-----------+-----------+--------+
| C Files | Cpp Files | Asm Files | Lib Files | Totals |
+---------+-----------+-----------+-----------+--------+
| 63 | 0 | 1 | 0 | 64 |
+---------+-----------+-----------+-----------+--------+
[ INFO ] start compilation (jobs: 6) ...
[ 1%] CC '../../Libraries/Device/MM32F327x/HAL_Lib/Src/hal_adc.c'
[ 3%] CC '../../Libraries/seekfree_libraries/zf_spi.c'
[ 4%] CC '../../Libraries/Device/MM32F327x/HAL_Lib/Src/hal_exti.c'
[ 6%] CC '../../Libraries/Device/MM32F327x/HAL_Lib/Src/hal_sdio.c'
[ 7%] CC '../../Libraries/seekfree_peripheral/SEEKFREE_IPS114_SPI.c'
[ 9%] CC '../../Libraries/seekfree_libraries/common/SEEKFREE_PRINTF.c'
error: use of LTO is disallowed in this variant of ARM Compiler
error: use of LTO is disallowed in this variant of ARM Compiler
error: use of LTO is disallowed in this variant of ARM Compiler
error: use of LTO is disallowed in this variant of ARM Compiler
error: use of LTO is disallowed in this variant of ARM Compiler
error: use of LTO is disallowed in this variant of ARM Compiler`
(所以怎么附图片...弄不来)
在keil assistant里面编译正常但是烧录报错:
Internal DLL Error
Error: Flash Download failed - Target DLL has been cancelled
另外pyocd识别不到下载器,openocd没有我用的这个芯片,想问问怎么解决
(因为刚接触没多久,感觉好多问题,抱歉) @admin