summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFreeArtMan <=>2015-09-22 21:37:16 +0100
committerFreeArtMan <=>2015-09-22 21:37:16 +0100
commit6b85a7d453414d31432e63045581b2602d4abf45 (patch)
treeb99a04923dda28ff9d4607df09179f1f8bd26529 /test
parentfa74c1448e236995a34d767a6e76c3055698fb60 (diff)
downloadradiola-6b85a7d453414d31432e63045581b2602d4abf45.tar.gz
radiola-6b85a7d453414d31432e63045581b2602d4abf45.zip
Added tui interface, updated gitignores, updated makefiles
Diffstat (limited to 'test')
-rw-r--r--test/.gitignore3
-rw-r--r--test/Makefile5
-rw-r--r--test/get_device_list.c2
-rw-r--r--test/read_samples.c2
-rw-r--r--test/ui_tui_waterfall.c11
5 files changed, 17 insertions, 6 deletions
diff --git a/test/.gitignore b/test/.gitignore
index 3fc1845..bc5e3c4 100644
--- a/test/.gitignore
+++ b/test/.gitignore
@@ -1,3 +1,4 @@
get_device_list
read_samples
-*.o \ No newline at end of file
+ui_tui_waterfall
+*.o
diff --git a/test/Makefile b/test/Makefile
index 5ee5a91..7fb106d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,7 +1,7 @@
CC=gcc
-CFLAGS=
+CFLAGS=-I../
#LDFLAGS= `pkg-config --libs libusb` -L../../../r820t -lr820t -Wl,-rpath=../../../r820t
-LDFLAGS=`pkg-config --libs libusb` -lrtlsdr
+LDFLAGS=`pkg-config --libs libusb` -lrtlsdr ../radiola.o
SOURCE = $(wildcard *.c)
OBJECTS =
BIN = $(SOURCE:.c=)
@@ -15,6 +15,5 @@ BIN = $(SOURCE:.c=)
make: $(BIN)
-
clean:
rm -f $(BIN) \ No newline at end of file
diff --git a/test/get_device_list.c b/test/get_device_list.c
index f65c551..867929a 100644
--- a/test/get_device_list.c
+++ b/test/get_device_list.c
@@ -3,7 +3,7 @@
#include <stdint.h>
//rtlsdr
-#include <rtl-sdr.h>
+#include <hw/hw.h>
int main( )
{
diff --git a/test/read_samples.c b/test/read_samples.c
index 4ecf7be..2234cb8 100644
--- a/test/read_samples.c
+++ b/test/read_samples.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
//r820t
-#include <rtl-sdr.h>
+#include <hw/hw.h>
void read_samples( uint32_t dev_index )
{
diff --git a/test/ui_tui_waterfall.c b/test/ui_tui_waterfall.c
new file mode 100644
index 0000000..a0a83bc
--- /dev/null
+++ b/test/ui_tui_waterfall.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+//radiola
+#include <draw/tui.h>
+
+int main()
+{
+
+ return 0;
+} \ No newline at end of file