Skip to content

Commit

Permalink
Fix for missing target.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Nov 25, 2024
1 parent 79927b5 commit 6b20276
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-keytools-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Build Solution
shell: cmd
run: |
MSBuild.exe tools\keytools\wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64"
echo "#define WOLFBOOT_SECTOR_SIZE 1024" > include/target.h
MSBuild.exe tools\keytools\wolfBootKeyTools.sln /m /p:Configuration=Release /p:Platform="x64"
# Step 4: Upload executables as artifacts
- name: Upload EXE Artifacts
Expand Down
2 changes: 2 additions & 0 deletions include/delta.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#ifndef WOLFBOOT_DELTA_H
#define WOLFBOOT_DELTA_H

#include <stdint.h>

#ifndef DELTA_PATCH_BLOCK_SIZE
#define DELTA_PATCH_BLOCK_SIZE 1024
#endif
Expand Down
1 change: 1 addition & 0 deletions src/delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <stdint.h>
#include <string.h>
#include <delta.h>
#include <target.h> /* WOLFBOOT_SECTOR_SIZE */


#define ESC 0x7f
Expand Down

0 comments on commit 6b20276

Please sign in to comment.