.\Objects\GD32F450.axf: Error: L6218E: Undefined symbol pwm_breathing_lamp (referred from bsp_key.o).
时间: 2023-11-12 11:36:04 浏览: 127
This error message is indicating that the linker is unable to find a definition for the symbol "pwm_breathing_lamp" that is referenced in the object file "bsp_key.o".
To resolve this issue, you will need to ensure that the definition for "pwm_breathing_lamp" is included in your project and is being linked correctly. This could involve adding the appropriate source code file or library to your project, or modifying your linker script to include the necessary symbols.
You may also want to check that the symbol name is spelled correctly and that any necessary header files are included in your source code.
相关问题
.\Objects\GD32F450.axf: Error: L6218E: Undefined symbol nvic_irq_enable (referred from bsp_usart_1.o).
这是一个链接错误,说明在编译链接过程中找不到 `nvic_irq_enable` 函数的定义。可能是您没有正确包含相关的头文件或库文件。
您可以检查以下几个方面:
1. 检查是否正确包含了相关的头文件和库文件;
2. 检查是否正确链接了相关的库文件;
3. 检查您的代码中是否存在语法错误或逻辑错误。
如果您无法解决该问题,请在编译器或IDE的官方文档中搜索相关的信息,或者咨询相关的技术支持人员。
GD32F450VIT6与GD32F450ZGT6参数对比
GD32F450VIT6和GD32F450ZGT6都是GigaDevice推出的32位ARM Cortex-M4芯片,主要参数对比如下:
1. 内存大小:
- GD32F450VIT6: Flash 1024 KB,SRAM 128 KB
- GD32F450ZGT6: Flash 512 KB,SRAM 128 KB
2. 工作频率:
- GD32F450VIT6: 最高主频为 168 MHz
- GD32F450ZGT6: 最高主频为 120 MHz
3. 外设资源:
- GD32F450VIT6: 支持USB OTG、CAN、SDIO、QSPI等外设
- GD32F450ZGT6: 支持USB OTG、CAN、SDIO、QSPI等外设
4. 封装:
- GD32F450VIT6: LQFP100
- GD32F450ZGT6: LQFP144
需要注意的是,GD32F450VIT6和GD32F450ZGT6虽然有些参数不同,但是它们都具有较高的性价比和较好的性能表现,可以满足各种应用需求。
阅读全文