Skip to content

Commit 750c8f6

Browse files
committed
Define a generic max OTP size to appease otp_keystore.h
1 parent ace95cc commit 750c8f6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tools/keytools/otp/otp-keystore-gen.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <unistd.h>
3131
#include <errno.h>
3232

33+
/* Define a generic max OTP size to appease otp_keystore.h */
34+
#ifndef OTP_SIZE
35+
#define OTP_SIZE 4096
36+
#endif
37+
3338
#include "wolfboot/wolfboot.h"
3439
#include "keystore.h"
3540
#include "otp_keystore.h"

0 commit comments

Comments
 (0)