WiFi library integration

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

cross mob
Anonymous
Not applicable

Getting error "MBEDTLS_HAVE_INT32/MBEDTLS_HAVE_INT64 and MBEDTLS_HAVE_ASM cannot be defined simultaneously" on build .Included WPA3 external supplicant library

0 Likes
5 Replies
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @Anonymous :

Could you inform me which sample code project you're working on?

I will check this error and reply to you.

Best Regards,

Colin

0 Likes
Anonymous
Not applicable

Its a AWS OTA with all the AWS libraries removed only using freeRtoS,light weight IP sockets, and all the middle ware libraries

0 Likes
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @Anonymous :

These definitions are defined in the library "mbedtls".

Could you check whether it is enable in Library Manager or not?

Best Regards,

Colin

0 Likes
Anonymous
Not applicable

Hi, Included that library. Getting Error-

../mtb_shared/mbedtls/mbedtls-2.25.0/include/mbedtls/check_config.h:853:2: error: #error "MBEDTLS_HAVE_INT32/MBEDTLS_HAVE_INT64 and MBEDTLS_HAVE_ASM cannot be defined simultaneously"
853 | #error "MBEDTLS_HAVE_INT32/MBEDTLS_HAVE_INT64 and MBEDTLS_HAVE_ASM cannot be defined simultaneously"
| ^~~~~

0 Likes
Qi_Colin
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 5 questions asked

Hi @Anonymous :

This error means your code define MBEDTLS_HAVE_INT32/MBEDTLS_HAVE_INT64 and MBEDTLS_HAVE_ASM simultaneously.

I build the original CE of AWS_IoT_OTA_Using_MQTT, and don't find this error.

I think maybe it's happened after you removed some library.

Could you add the library back one by one to find out which one cause this error?

Best Regards,

Colin

0 Likes