Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

components\esp_peripherals\lib\blufi\blufi_security.c部分头文件包含芯片型号写死 (AUD-6060) #1368

Open
zz6zz666 opened this issue Feb 12, 2025 · 3 comments

Comments

@zz6zz666
Copy link

\esp-adf\components\esp_peripherals\lib\blufi\blufi_security.c
文件中,开头部分有:

#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 0, 0))
#include "esp32/rom/crc.h"
#else
#include "rom/crc.h"
#endif

这部分头文件包含将芯片型号esp32写死,并没有根据用户配置的芯片型号动态变化,导致使用其他芯片(例如esp32s3)时编译报错,手动改为#include "esp32s3/rom/crc.h"后可以编译通过。

@github-actions github-actions bot changed the title components\esp_peripherals\lib\blufi\blufi_security.c部分头文件包含芯片型号写死 components\esp_peripherals\lib\blufi\blufi_security.c部分头文件包含芯片型号写死 (AUD-6060) Feb 12, 2025
@shootao
Copy link

shootao commented Feb 12, 2025

你现在使用的 ADF 版本 和 IDF版本是多少 ?

@zz6zz666 zz6zz666 reopened this Feb 12, 2025
@zz6zz666
Copy link
Author

idf-v5.4, adf-v2.7,都是最新的

@shootao
Copy link

shootao commented Feb 14, 2025

ESP-ADF 的 master已经修复了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants