diff options
| author | hathach <[email protected]> | 2020-07-16 00:44:09 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-07-16 00:44:09 +0700 |
| commit | 706413f7510a78e262cf3cb398256e06fadbd500 (patch) | |
| tree | 74a1ffa8ce636ef970316a4c70e4bf945bb61d42 /examples/rules.mk | |
| parent | e1b3fe81c41d67ed033841a758c7e3b4d217a52b (diff) | |
add tud_speed_get()
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
Diffstat (limited to 'examples/rules.mk')
| -rw-r--r-- | examples/rules.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index eeb548d08..dacb81363 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -131,8 +131,14 @@ size: $(BUILD)/$(BOARD)-firmware.elf @$(SIZE) $< -@echo '' +.PHONY: clean clean: - rm -rf $(BUILD) + $(RM) -rf $(BUILD) + +# Print out the value of a make variable. +# https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile +print-%: + @echo $* = $($*) # Flash binary using Jlink ifeq ($(OS),Windows_NT) |
