Skip to content
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

Added 32bit simulator via TARGET=sim FORCE_32BIT=1 #485

Merged
merged 11 commits into from
Aug 9, 2024

Conversation

danielinux
Copy link
Member

@danielinux danielinux commented Aug 9, 2024

  • Changed default for all simulator configuration to SP_MATH
  • Simulator can now be compiled into 32bit executable (requires libc6-i386)
  • Added tests to verify xmalloc.c pool fixed sizes in both 32bit and 64bit mode
  • Fixed FASTMATH allocation sizes with WOLFBOOT_SMALL_STACK for 64bit simulator

Tests now also run on 32bit simulator (e.g. to match XMALLOC fixed sizes with sp_math and WOLFBOOT_SMALL_STACK).

The new workflow will be able to detect size mismatches if any heap object size changes in wolfCrypt if wolfBoot is compiled with WOLFBOOT_SMALL_STACK=1 (e.g. when updating to a new wolfSSL submodule).

@dgarske dgarske merged commit 30a1f67 into wolfSSL:master Aug 9, 2024
95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants