diff options
author | FreeArtMan <dos21h@gmail.com> | 2016-05-08 16:02:01 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2016-05-08 16:02:01 +0100 |
commit | e42911405c4bc2f8c097f47d4598baf8522ef3da (patch) | |
tree | 9eb767c5e6a4443e8773b18ea76cf4216f6c8758 /src/mod | |
parent | 9b95088bddcf1f83e3a8f73f08f49b38ecb0f500 (diff) | |
download | radiola-master.tar.gz radiola-master.zip |
Diffstat (limited to 'src/mod')
-rw-r--r-- | src/mod/Kconfig | 51 | ||||
-rw-r--r-- | src/mod/make.mk | 11 | ||||
-rw-r--r-- | src/mod/mod.h | 11 | ||||
-rw-r--r-- | src/mod/mod_fm.c | 12 |
4 files changed, 85 insertions, 0 deletions
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 <stdio.h> +#include <stdlib.h> +#include <stdint.h> + +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() +{ + +} |