added openocd support (#211)

openocd needs a visible uxTopUsedPriority symbol for freertos, but freertos is discarding it in v7, so I add the helper file manually
This commit is contained in:
DrZlo13
2020-10-29 08:41:44 +03:00
committed by GitHub
parent de968b13b4
commit c9b921f6ce
2 changed files with 22 additions and 1 deletions

View File

@@ -23,4 +23,4 @@ endif
CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)"
CPPFLAGS = -fno-threadsafe-statics
LDFLAGS += -Wl,-Map=$(OBJ_DIR)/$(PROJECT).map,--cref -Wl,--gc-sections
LDFLAGS += -Wl,-Map=$(OBJ_DIR)/$(PROJECT).map,--cref -Wl,--gc-sections -Wl,--undefined=uxTopUsedPriority