Skip to content

Commit

Permalink
hosted: add missing include in adiv5.h
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Silva <[email protected]>
  • Loading branch information
perigoso committed Jun 8, 2022
1 parent 2e53e38 commit 72a2a47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/target/adiv5.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

#include "jtag_scan.h"

#if PC_HOSTED == 1
#include "platform.h"
#endif

#define ADIV5_APnDP 0x100
#define ADIV5_DP_REG(x) (x)
#define ADIV5_AP_REG(x) (ADIV5_APnDP | (x))
Expand Down

0 comments on commit 72a2a47

Please sign in to comment.