Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

jali_3846906
Level 3
Level 3
First like received

       我有一个旧项目使用PDL 3.0.1,因为PDL 3.0.1存在一些问题,我更新搭配PDL3.1.0后,发现之前正常使用的crypto库,现在无法正常运行。具体表现为:我想用crypto生成一个真随机数,但当我进行编译的时候,发现以下错误:undefine reference "cryptoConfig"。经过我查看后可以知道是IDE没有加入一个文件做成的,本以为加入该文件后就可以正常编译,然而加入后也无法正常编译,并且出现了更多的依赖关系的错误。我在build settings发现原来的crfypto库版本是2.0.0,在更新PDL库后也只能选择crypto库版本是2.1.0。请问该如何解决这个问题?或者给一个基于PDL 3.1.0的crypto库的生成一个真随机数的例程进行参考,谢谢。

1 Solution
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

我们有基于PDL3.1.0 / Crypto v2.10 产生true random number的demo。

请参考 - https://www.cypress.com/documentation/code-examples/ce221295-psoc-6-mcu-cryptography-true-random-num...

View solution in original post

0 Likes
3 Replies
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

我们有基于PDL3.1.0 / Crypto v2.10 产生true random number的demo。

请参考 - https://www.cypress.com/documentation/code-examples/ce221295-psoc-6-mcu-cryptography-true-random-num...

0 Likes

不知道是不是我的操作问题,但是我下载下来是基于PDL3.0.1和Crypto V2.0.0的。

0 Likes

这个code example文档没有及时更新,显示还是PDL3.0.1,但实际上code是基于3.1.0.

0 Likes