forked from wolfSSL/wolfBoot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 32bit simulator via TARGET=sim FORCE_32BIT=1 (wolfSSL#485)
* Added 32bit simulator via TARGET=sim FORCE_32BIT=1 Tests can now run on 32bit simulator (e.g. to match XMALLOC fixed sizes with sp_math and WOLFBOOT_SMALL_STACK). * Added draft for new workflow: test simulator with different memory config * Fix 64bit, SMALL_STACK xmalloc sizes * Test defaults to SPMATH * Fixed test: defaults to spmath. Added RSA tests (failing) * Fixed RSA allocation sizes for 64bit build * Added 64bit fastmath test (failing) * Fixed ecc_point size for 64bit builds (FASTMATH) * simulator config: use SPMATH by default * Attempt to fix i386 libc dep in workflow * Added HUGE_STACK to silence warning in FASTMATH+RSA4096 tests
- Loading branch information
1 parent
8273575
commit 30a1f67
Showing
9 changed files
with
601 additions
and
9 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ HASH?=SHA256 | |
WOLFBOOT_SMALL_STACK?=1 | ||
SPI_FLASH=0 | ||
DEBUG=1 | ||
SPMATH?=0 | ||
DISABLE_BACKUP=1 | ||
FLAGS_HOME=1 | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ARCH=sim | ||
TARGET=sim | ||
SIGN?=ECC256 | ||
HASH?=SHA256 | ||
WOLFBOOT_SMALL_STACK?=0 | ||
SPI_FLASH=0 | ||
DEBUG=1 | ||
FORCE_32BIT=1 | ||
|
||
# sizes should be multiple of system page size | ||
WOLFBOOT_PARTITION_SIZE=0x40000 | ||
WOLFBOOT_SECTOR_SIZE=0x1000 | ||
WOLFBOOT_PARTITION_BOOT_ADDRESS=0x80000 | ||
# if on external flash, it should be multiple of system page size | ||
WOLFBOOT_PARTITION_UPDATE_ADDRESS=0x100000 | ||
WOLFBOOT_PARTITION_SWAP_ADDRESS=0x180000 | ||
|
||
# required for keytools | ||
WOLFBOOT_FIXED_PARTITIONS=1 | ||
|
||
# For debugging XMALLOC/XFREE | ||
#CFLAGS_EXTRA+=-DWOLFBOOT_DEBUG_MALLOC |
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