Skip to content

Commit 076cd1d

Browse files
committed
Fix for unit test failing
1 parent 07ef67b commit 076cd1d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

include/image.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ int wolfBot_get_dts_size(void *dts_addr);
8989
#else
9090
#define XALIGNED(x) /* null expansion */
9191
#endif
92+
#endif
9293

94+
#ifndef XALIGNED_STACK
9395
/* Don't enforce stack alignment on IAR */
9496
#if defined (__IAR_SYSTEMS_ICC__)
9597
#define XALIGNED_STACK(x)

tools/unit-tests/unit-extflash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include <stdlib.h>
4848
#include <string.h>
4949
#include "user_settings.h"
50+
#include "image.h"
5051

5152
#include "libwolfboot.c"
5253

0 commit comments

Comments
 (0)