ESP-IDF platformio 构建:SHA256 摘要偏移 0xb0 处的段内容不全为零

问题描述 投票:0回答:1

我正在尝试使用 platformio 运行来自 ESP-IDF 的 led-blink 示例。我的目标板是 esp32-c6-devkitc-1。

按照 platformio 文档,我通过下载并复制

espressif_led_strip_2.4.3
下的
components
文件夹添加了 led_strip 组件,并将
idf_component.yml
添加到我的
src
文件夹中。然而在编译结束时我收到了这个错误消息:

A fatal error occurred: Contents of segment at SHA256 digest offset 0xb0 are not all zero. Refusing to overwrite.
*** [.pio\build\esp32-c6-devkitc-1\firmware.bin] Error 2

我对此一无所知。有什么建议我可能做错了什么吗?

esp32 esp-idf platformio
1个回答
0
投票

最终放弃了 Platform.io 并使用 IDF 包提供的 idf.py 进行编译,一切都按预期进行。

© www.soinside.com 2019 - 2024. All rights reserved.