From e42911405c4bc2f8c097f47d4598baf8522ef3da Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 8 May 2016 16:02:01 +0100 Subject: Moved source to src directory --- src/mod/Kconfig | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/mod/make.mk | 11 +++++++++++ src/mod/mod.h | 11 +++++++++++ src/mod/mod_fm.c | 12 ++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 src/mod/Kconfig create mode 100644 src/mod/make.mk create mode 100644 src/mod/mod.h create mode 100644 src/mod/mod_fm.c (limited to 'src/mod') diff --git a/src/mod/Kconfig b/src/mod/Kconfig new file mode 100644 index 0000000..50413a0 --- /dev/null +++ b/src/mod/Kconfig @@ -0,0 +1,51 @@ +menuconfig MOD + bool "Modulation support" + default y + +if MOD + config MOD_FM + bool "FM mod" + default n + depends on FUTURE + + config MOD_FM_DEMOD + bool "FM demod" + default n + + config MOD_WBFM_DEMOD + bool "WBFM demod" + default n + depends on FUTURE + + config MOD_AM_DEMOD + bool "AM demod" + default n + depends on FUTURE + + config MOD_PSK_DEMOD + bool "PSK demod" + default n + depends on FUTURE + + config MOD_PSK31_DEMOD + bool "PSK31 demod" + default n + depends on FUTURE + +endif + +menuconfig PROTO + bool "Protocol support" + default n + +if PROTO + config PROTO_AX25 + bool "AX.25 radio packet support" + default n + depends on FUTURE + + config PROTO_NOAA + bool "NOAA satelite recieving" + default n + depends on FUTURE +endif diff --git a/src/mod/make.mk b/src/mod/make.mk new file mode 100644 index 0000000..b00ec90 --- /dev/null +++ b/src/mod/make.mk @@ -0,0 +1,11 @@ +DIR_MOD = mod/ +SOURCES_MOD += $(SRC_DIR)mod/mod_fm.c +OBJECTS_MOD += $(SOURCES_MOD:.c=.o) +LDFLAGS += +LDFLAGS_BSD += + + +OBJECTS_DIR_MOD += $(subst $(SRC_DIR)$(DIR_MOD),$(BUILD_DIR)$(SRC_DIR)$(DIR_MOD),$(OBJECTS_MOD)) + +OBJECTS += $(OBJECTS_MOD) +OBJECTS_FINAL += $(OBJECTS_DIR_MOD) \ No newline at end of file diff --git a/src/mod/mod.h b/src/mod/mod.h new file mode 100644 index 0000000..288d40b --- /dev/null +++ b/src/mod/mod.h @@ -0,0 +1,11 @@ +#ifndef __RADIOLA_MOD_H +#define __RADIOLA_MOD_H + +#include +#include +#include + +void fm_demod(); +void fm_mod(); + +#endif \ No newline at end of file diff --git a/src/mod/mod_fm.c b/src/mod/mod_fm.c new file mode 100644 index 0000000..22b296b --- /dev/null +++ b/src/mod/mod_fm.c @@ -0,0 +1,12 @@ +#include "mod.h" + + +void fm_demod() +{ + +} + +void fm_mod() +{ + +} -- cgit v1.2.3