forked from particle-iot/tinydtls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added check_stack() to determine stack usage with Contiki
tinydtls uses some stack space for HMAC calculations etc. This may cause trouble on platforms where the stack is very small. For example, the platform mbxxx (using an STM32 CPU) has reserved 1280 bytes for this. During tests, I found that this is too limited for a complete handshake. check_stack() shows that around 2 KiB should work.
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters