完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
ESP-IDF v4.1.3
CPU:ESP32 Rev 3 我正在将使用 makefile 在 Linux 中构建的应用程序移植到使用 cmake 的 Windows。除了无法诱导 ESP-IDF mbedcrypto 库找到位于我们的 cryptoauthlib 组件中的函数外,构建几乎成功了。 应用程序 CMakeLists.txt 文件包含此开关:add_compile_definitions(MBEDTLS_ECDSA_SIGN_ALT) 告诉 mbedtls 使用 cryptoauthlib 提供的替代签名功能。我使用 objdump 验证 cryptoauthlib 中是否存在函数“mbedtls_ecdsa_sign”。 构建以失败告终: 代码: cmd.exe /C "cd . && C:Userswesd.espressiftoolsxtensa-esp32-elfesp-2020r3-8.4.0xtensa-esp32-elfbinxtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address @CMakeFilesww-halo.elf.rsp -o ww-halo.elf && cd ." c:/users/wesd/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(ecdsa.c.obj):(.literal.ecdsa_sign_det_restartable+0x8): undefined reference to `mbedtls_ecdsa_sign' c:/users/wesd/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(ecdsa.c.obj): in function `ecdsa_sign_det_restartable': C:/Users/wesd/dev/ww_halo/halo_fw/esp-idf/components/mbedtls/mbedtls/library/ecdsa.c:489: undefined reference to `mbedtls_ecdsa_sign' collect2.exe: error: ld returned 1 exit status 我是使用 cmake 的新手 - 我需要做些什么来诱导 ESP mbedcrypto 库来搜索 cryptoauthlib?我试图避免更改 IDF 树中的任何 CMakeLists.txt 文件,但也许这是必要的? |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
944 浏览 0 评论
1671 浏览 0 评论
请问一下我想用ESP8685直接替换ESP8266而不用写程序,可以让ESP8685直接通过之前ESP8266的外挂的flash运行程序吗
1330 浏览 1 评论
1233 浏览 1 评论
5015 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
1250浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
927浏览 3评论
2330浏览 3评论
ESP-IDF的VScode插件的build按钮点击会报错的原因?
2526浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
1051浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 21:51 , Processed in 0.573438 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
393
