2020-04-19 16:26:38 +02:00
|
|
|
BOARD ?= mcb2388
|
|
|
|
|
2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2020-04-19 16:26:38 +02:00
|
|
|
|
|
|
|
BLOBS += hello.raw
|
|
|
|
|
|
|
|
USEMODULE += dac_dds
|
|
|
|
USEMODULE += shell
|
|
|
|
|
2020-10-28 00:32:09 +01:00
|
|
|
LOW_MEMORY_BOARDS := samd10-xmini
|
|
|
|
|
2020-04-19 16:26:38 +02:00
|
|
|
# Disable the greeting sample if the board has too little memory
|
|
|
|
# or flashing takes too long
|
2020-10-28 00:32:09 +01:00
|
|
|
ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS)))
|
|
|
|
ENABLE_GREETING ?= 0
|
|
|
|
CFLAGS += -DDAC_BUF_SIZE=1024
|
|
|
|
else
|
|
|
|
ENABLE_GREETING ?= 1
|
|
|
|
endif
|
|
|
|
|
2020-04-19 16:26:38 +02:00
|
|
|
CFLAGS += -DENABLE_GREETING=$(ENABLE_GREETING)
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|