Skip to content

Commit 6b20276

Browse files
committed
Fix for missing target.h.
1 parent 79927b5 commit 6b20276

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/build-keytools-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
- name: Build Solution
2727
shell: cmd
2828
run: |
29-
MSBuild.exe tools\keytools\wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64"
29+
echo "#define WOLFBOOT_SECTOR_SIZE 1024" > include/target.h
30+
MSBuild.exe tools\keytools\wolfBootKeyTools.sln /m /p:Configuration=Release /p:Platform="x64"
3031
3132
# Step 4: Upload executables as artifacts
3233
- name: Upload EXE Artifacts

include/delta.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#ifndef WOLFBOOT_DELTA_H
3636
#define WOLFBOOT_DELTA_H
3737

38+
#include <stdint.h>
39+
3840
#ifndef DELTA_PATCH_BLOCK_SIZE
3941
#define DELTA_PATCH_BLOCK_SIZE 1024
4042
#endif

src/delta.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <stdint.h>
2323
#include <string.h>
2424
#include <delta.h>
25+
#include <target.h> /* WOLFBOOT_SECTOR_SIZE */
2526

2627

2728
#define ESC 0x7f

0 commit comments

Comments
 (0)