2022-11-25 21:16:25 +01:00
|
|
|
|
|
|
|
BOARD ?= same54-xpro
|
2023-05-10 10:36:12 +02:00
|
|
|
include ../Makefile.sys_common
|
2022-11-25 21:16:25 +01:00
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
2023-04-04 23:49:27 +02:00
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
2022-11-25 21:16:25 +01:00
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
|
|
|
DEVELHELP ?= 1
|
|
|
|
|
|
|
|
USEMODULE += auto_init_usbus
|
|
|
|
|
|
|
|
USEMODULE += mtd
|
|
|
|
USEMODULE += mtd_write_page
|
|
|
|
USEMODULE += ps
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += usbus_msc
|
|
|
|
USEMODULE += ztimer_msec
|
|
|
|
|
2023-04-04 23:49:27 +02:00
|
|
|
# If your board does not provide a MTD for testing, use the following line
|
|
|
|
# to emulate an MTD with 64 sectors with 4 pages of 128 bytes each in RAM. You
|
|
|
|
# can override these parameters by SECTOR_COUNT, PAGES_PER_SECTOR and PAGE_SIZE.
|
|
|
|
# USEMODULE += mtd_emulated
|
|
|
|
|
2022-11-25 21:16:25 +01:00
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
QUIET ?= 1
|
|
|
|
|
|
|
|
USB_VID ?= $(USB_VID_TESTING)
|
|
|
|
USB_PID ?= $(USB_PID_TESTING)
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|