target/adiv5: add missing include in hosted build

Signed-off-by: Rafael Silva <perigoso@riseup.net>
This commit is contained in:
Rafael Silva 2022-07-25 22:35:37 +01:00 committed by Rachel Mant
parent 8b5206fb8d
commit bf30580330
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@
#include "jtag_scan.h"
#if PC_HOSTED == 1
#include "platform.h"
#endif
#define ADIV5_APnDP 0x100U
#define ADIV5_DP_REG(x) (x)
#define ADIV5_AP_REG(x) (ADIV5_APnDP | (x))