mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
5681befe75
This will play a raw audio (8kHz, 8 Bit) snipped from the 1961 synthesized speech demo. (Can be disabled since the file is rather large with 17k) It will also play sine, square and sawtooth waves with frequencies that can be set on the command line. I tested this with the on-board speaker (connected to P0.26) of the mcb2388 as well as with hooking up a headphone to the ANALOG (PA02) header of the same54-xpro.
16 lines
313 B
Makefile
16 lines
313 B
Makefile
BOARD ?= mcb2388
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
BLOBS += hello.raw
|
|
|
|
USEMODULE += dac_dds
|
|
USEMODULE += shell
|
|
|
|
# Disable the greeting sample if the board has too little memory
|
|
# or flashing takes too long
|
|
ENABLE_GREETING ?= 1
|
|
CFLAGS += -DENABLE_GREETING=$(ENABLE_GREETING)
|
|
|
|
include $(RIOTBASE)/Makefile.include
|