SDK 2.8.2 lwip alttcp_tls_mbedtls.c does not compile

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SDK 2.8.2 lwip alttcp_tls_mbedtls.c does not compile

1,086件の閲覧回数
michalhojsik
Contributor II

Hi.

I am using i.MX RT 1062 SDK version 2.8.2 and MCUxpresso 11.2.

I have imported an SDK example project lwip-mqtt-freertos and:

1. Added mbedTLS from the SDK using "Manage SDK components" feature

2. Manually added to the project alttcp_tls modules from SDK's directory SDK_2.8.2_EVK-MIMXRT1060\middleware\lwip\src\apps\altcp_tls\

Now, the compilation of the file

altcp_tls_mbedtls.c

fails:

../lwip/src/apps/altcp_tls/altcp_tls_mbedtls.c:1049:29: error: 'struct altcp_tls_config' has no member named 'entropy'
1049 | mbedtls_entropy_free(&conf->entropy);
../lwip/src/apps/altcp_tls/altcp_tls_mbedtls.c:1050:30: error: 'struct altcp_tls_config' has no member named 'ctr_drbg'
1050 | mbedtls_ctr_drbg_free(&conf->ctr_drbg);

It looks like the SDK 2.8.2 has lwip code from lwip's main branch which (in that particular state) contained this error that results in compilation failure. The problem was fixed in a later commit which is in lwip repository, but not in the SDK 2.8.2.

Regards,

Michal

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,079件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Michael:

 

Thank you for your feedback, I will report this to the software team.

 

Regards

Daniel

0 件の賞賛
返信

1,049件の閲覧回数
michalhojsik
Contributor II

Hi Daniel.

Thank you. Can you please let me know if you (NXP) recommend any particular workaround?

Regards,

Michal

0 件の賞賛
返信