Commit Graph

13 Commits (cmakeImage)

Author SHA1 Message Date
Daniele Lacamera fce6149cf8 Update license GPL2 -> GPL3 2024-04-16 16:46:15 +02:00
Daniele Lacamera 23894d31c6 Adjust mock in unit tests: fixed image_type field 2023-11-17 15:15:18 +01:00
Daniele Lacamera da43c99993 Added more unit tests. Added 'make cov'.
Fixed checks for invalid partition id
2023-10-13 14:30:45 +02:00
Marco Oliverio 4ebd48fcd8 unit-tests: add pci config read/write unit test 2023-08-25 18:43:50 +02:00
David Garske b9949b0a0c For the hal_flash API's make the change to uintptr_t to support 64-bit explicit using `ARCH_64BIT` or known 64-bit architectures. 2023-08-07 20:54:18 +02:00
David Garske 7190392245 Simulator fixes and support for using MacOS:
* Added simulator support for Mac.
* Fix for simulator to properly assemble wolfboot.bin + signedtestapp + update + swap.
* Fixes for handling 64-bit assigned mmap virtual addresses. Added hal_flash_write and hal_flash_erase support for 64-bit address using uintptr_t. Enabled if platform is 64-bit and `FORCE_32BIT` is not defined
* Fix simulator conflict with src/libwolfboot.o object in test-app.
* Cleanup test-app linker flags.
2023-08-07 20:54:18 +02:00
Daniele Lacamera cd7e4e10fc Fixed after reviewer's comments 2023-03-14 16:12:40 +01:00
Daniele Lacamera c36819ad0b Run 4 unit tests made out of unit-extflash.c
- clear text test of ext_flash_check r/w/erase
- Aes128
- Aes256
- ChaCha
2023-03-14 08:57:15 +01:00
Daniele Lacamera 0b06efd347 Added unit test for encrypted external flash 2023-03-14 08:57:14 +01:00
David Garske d38de3b432 Update copyright year 2021-07-19 07:50:02 -07:00
David Garske c30d675e38 Fix for building on Mac. Added README.md. 2020-08-13 13:02:59 -07:00
Daniele Lacamera 5ad13dbac0 unit-parser.c: Added (c) and short description 2020-08-13 14:01:18 +02:00
Daniele Lacamera 4d93c68542 Added unit test for wolfBoot_find_header 2020-08-13 13:57:32 +02:00