summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc_hid/Makefile
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-03-22 22:06:48 +0700
committerhathach <[email protected]>2019-03-22 22:06:48 +0700
commitba1bea5d536d232cd5e535ff33ac372f7dd9a575 (patch)
treefeef6ec32375ce3c0eb96006b9560476b5ab4a11 /examples/device/cdc_msc_hid/Makefile
parent2533f4004eb936cde565b58ea747dd90f981b8c5 (diff)
simplify board API, adding stm32f3 discovery
- remove board header since it is not used
Diffstat (limited to 'examples/device/cdc_msc_hid/Makefile')
-rw-r--r--examples/device/cdc_msc_hid/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/cdc_msc_hid/Makefile b/examples/device/cdc_msc_hid/Makefile
index fffabee9d..a2156e1b1 100644
--- a/examples/device/cdc_msc_hid/Makefile
+++ b/examples/device/cdc_msc_hid/Makefile
@@ -69,7 +69,7 @@ else
CFLAGS += -flto -Os
endif
-CFLAGS += $(INC) -Wall -Werror -std=gnu11 -DBOARD_$(shell echo $(BOARD) | tr a-z\- A-Z_)
+CFLAGS += $(INC) -Wall -Werror -std=gnu11 -DBOARD_$(shell echo $(BOARD) | tr '[:lower:]' '[:upper:]')
LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections -specs=nosys.specs -specs=nano.specs
ifeq ("$(V)","1")
@@ -161,7 +161,7 @@ $(BUILD)/obj/%.o: %.S
@echo AS $(notdir $@)
$(QUIET)$(CC) -x assembler-with-cpp $(ASFLAGS) -c -o $@ $<
-# Flash binary using Jlink
+# Flash binary using Jlink, should be added into system path
ifeq ($(OS),Windows_NT)
JLINKEXE = JLink.exe
else