mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-11 18:40:45 +00:00
D5035-01: more natural Makefile variable use
This commit is contained in:
parent
a2379060b6
commit
f92fe1e23e
@ -13,11 +13,9 @@ CFLAGS += \
|
|||||||
-DD5035_01=1 \
|
-DD5035_01=1 \
|
||||||
-DBOARD_NAME="\"D5035-01\""
|
-DBOARD_NAME="\"D5035-01\""
|
||||||
|
|
||||||
ifdef HWREV
|
HWREV ?= 1
|
||||||
CFLAGS += -DHWREV=$(HWREV)
|
|
||||||
else
|
CFLAGS += -DHWREV=$(HWREV)
|
||||||
CFLAGS += -DHWREV=1
|
|
||||||
endif
|
|
||||||
|
|
||||||
# All source paths should be relative to the top level.
|
# All source paths should be relative to the top level.
|
||||||
LD_FILE = hw/bsp/$(BOARD)/same51j19a_flash.ld
|
LD_FILE = hw/bsp/$(BOARD)/same51j19a_flash.ld
|
||||||
|
Loading…
x
Reference in New Issue
Block a user