buzzer: C implementation; C++ wraps C

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-10-28 16:47:01 -06:00
parent f623414c04
commit 7b9fbd8738
16 changed files with 461 additions and 154 deletions

View File

@@ -1,5 +1,9 @@
set (libname "buzzer")
set (libdescription "Buzzer")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
upm_module_init()
upm_mixed_module_init (NAME buzzer
DESCRIPTION "Buzzer"
C_HDR buzzer.h buzzer_tones.h
C_SRC buzzer.c
CPP_HDR buzzer.hpp
CPP_SRC buzzer.cxx
# FTI_SRC buzzer_fti.c
CPP_WRAPS_C
REQUIRES mraa)