diff --git a/src/adiv5.c b/src/adiv5.c index b8bff89..478f5be 100644 --- a/src/adiv5.c +++ b/src/adiv5.c @@ -295,7 +295,7 @@ static void adiv5_component_probe(ADIv5_AP_t *ap, uint32_t addr) * any components by other designers. */ if ((pidr & ~(PIDR_REV_MASK | PIDR_PN_MASK)) != PIDR_ARM_BITS) { - DEBUG("0x%X: 0x%llX <- does not match ARM JEP-106\n", addr, pidr); + DEBUG("0x%X: 0x%"PRIx64" <- does not match ARM JEP-106\n", addr, pidr); return; } diff --git a/src/platforms/libftdi/platform.h b/src/platforms/libftdi/platform.h index 757e3b5..56064fc 100644 --- a/src/platforms/libftdi/platform.h +++ b/src/platforms/libftdi/platform.h @@ -34,6 +34,8 @@ #define FT2232_VID 0x0403 #define FT2232_PID 0x6010 +#define PLATFORM_HAS_DEBUG + #define SET_RUN_STATE(state) #define SET_IDLE_STATE(state) #define SET_ERROR_STATE(state)