Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions hal/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
#undef NO_FILESYSTEM
#endif

#ifdef WOLFBOOT_KEYTOOLS
/* this code needs to use the Use ./include/user_settings.h file */
#error "The wrong user_settings.h has been included."
#endif


/* HAL Stubs */
void hal_init(void)
{
Expand Down
5 changes: 5 additions & 0 deletions src/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
#include <stdio.h>
#endif
#include <wolfssl/wolfcrypt/settings.h> /* for wolfCrypt hash/sign routines */
#ifdef WOLFBOOT_KEYTOOLS
/* this code needs to use the Use ./include/user_settings.h, not keytools */
#error "The wrong user_settings.h has been included."
#endif


#include <stddef.h>
#include <string.h>
Expand Down