-
-
Notifications
You must be signed in to change notification settings - Fork 842
Closed
Labels
BMD AppBlack Magic Debug App (aka. PC hosted) (not firmware)Black Magic Debug App (aka. PC hosted) (not firmware)BugConfirmed bugConfirmed bug
Milestone
Description
I encountered a build error while trying to build commit cae88d6 on main for the hosted platform.
I used:
make PROBE_HOST=hosted
Returns:
GEN include/version.h
CC target/adiv5.c
target/adiv5.c:530:83: error: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Werror,-Wformat]
"Patching Designer code 0x%03" PRIx16 " -> 0x%03" PRIx16 "\n", designer_code, JEP106_MANUFACTURER_STM);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
./target/jep106.h:60:42: note: expanded from macro 'JEP106_MANUFACTURER_STM'
#define JEP106_MANUFACTURER_STM 0x020U /* STMicroelectronics */
^~~~~~
include/general.h:107:41: note: expanded from macro 'DEBUG_WARN'
#define DEBUG_WARN(...) debug_warning(__VA_ARGS__)
^~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:128: adiv5.o] Error 1
make: *** [Makefile:22: all] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BMD AppBlack Magic Debug App (aka. PC hosted) (not firmware)Black Magic Debug App (aka. PC hosted) (not firmware)BugConfirmed bugConfirmed bug