-
Notifications
You must be signed in to change notification settings - Fork 837
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
Possible use word32 before define when use in Contiki-NG #3117
Comments
Going deeper:
|
Hello @kam193 - thanks for reporting this. There is a patch we maintain on top of contiki-os/contiki, but I did not look into a port for contiki-ng yet. On contiki-os we created this glue module that can be used to initialize and connect TLS and DTLS sockets on top of Contiki's uIP sockets, which you can find here. Is there a way to include third-party modules like in the original contiki-os? What would be the best way to propose a wolfSSL module for inclusion there? I see that the directory structure is different than the original contiki-os, and there is no apps/ directory. Would you mind sharing with us more details about your current configuration and environment setup? We'll be happy to help defining a generic platform for TLS/DTLS sockets, and make the required configuration options available in the library for proper integration in the OS. Thanks, -- |
Hello, I'm currently during investigation how to integrate wolfSSL and Contiki-NG in the clean way in my project (but I probably will need only a wolfcrypt, so maybe my integration will contain only part). I'm basing e.g. on PR with your module (contiki-os/contiki#2500). Unfortunately I cannot answer your questions with 100% sure. Currently, to compile Contiki-NG with wolfSSL I use extending The main problem I reported - redefining For now, I see a few other small incompatibilities with Contiki-NG caused by missed including headers. I think I'll prepare a PR with required changes after successfully integration. |
Thanks for the clarification! We'll be looking forward to receiving your proposed changes. Best Regards, -- |
Hi @kam193 Best Regards, -- |
When use on Contiki-NG (define
WOLFSSL_CONTIKI
) ,word32
is used before defined because of use insettings.h
.word32
is defined intypes.h
wolfssl/wolfssl/wolfcrypt/types.h
Line 29 in 6196698
wolfssl/wolfssl/wolfcrypt/types.h
Line 68 in 6196698
But it first includes
settings.h
which contains following define:wolfssl/wolfssl/wolfcrypt/settings.h
Lines 316 to 330 in 80246df
This results in following error:
The text was updated successfully, but these errors were encountered: