Merge in upstream changes

Merge upstream changes and expand example support to hid examples.
This commit is contained in:
Gordon McNab
2021-12-08 10:05:32 +00:00
parent 45869958f6
commit fa06bd01c9
6 changed files with 270 additions and 3 deletions

View File

@@ -104,10 +104,11 @@ CFLAGS += \
-Wmissing-format-attribute \
-Wunreachable-code \
-Wcast-align \
-Wcast-function-type \
-Wcast-qual \
-Wnull-dereference
# -Wcast-function-type \
# Debugging/Optimization
ifeq ($(DEBUG), 1)
CFLAGS += -Og

View File

@@ -84,7 +84,7 @@ OBJ_DIRS = $(sort $(dir $(OBJ)))
$(OBJ): | $(OBJ_DIRS)
$(OBJ_DIRS):
ifeq ($(CMDEXE),1)
@$(MKDIR) $(subst /,\,$@)
-@$(MKDIR) $(subst /,\,$@)
else
@$(MKDIR) -p $@
endif
@@ -207,7 +207,7 @@ debug-bmp: $(BUILD)/$(PROJECT).elf
# Create binary directory
$(BIN):
@$(MKDIR) -p $@
-@$(MKDIR) -p $@
# Copy binaries .elf, .bin, .hex, .uf2 to BIN for upload
# due to large size of combined artifacts, only uf2 is uploaded for now