summaryrefslogtreecommitdiff
path: root/fw/fe310
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-08-04 20:34:46 +0200
committerUros Majstorovic <majstor@majstor.org>2022-08-04 20:34:46 +0200
commitd61f8dd66ff2337319aa61e4ce2fd72a90c20b76 (patch)
tree87fcb5996eeb9c66d2c6c3e7301755c54c0a656a /fw/fe310
parent45f0d9b890b086493f9bb06428c46cd802324223 (diff)
fixed test build
Diffstat (limited to 'fw/fe310')
-rw-r--r--fw/fe310/test/Makefile9
-rw-r--r--fw/fe310/test/main.c2
2 files changed, 6 insertions, 5 deletions
diff --git a/fw/fe310/test/Makefile b/fw/fe310/test/Makefile
index 236217f..dde518c 100644
--- a/fw/fe310/test/Makefile
+++ b/fw/fe310/test/Makefile
@@ -1,9 +1,12 @@
include ../common.mk
-CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers -I$(ext_dir)/crypto -I$(ext_dir)/fsfat -I$(ecp_dir)/src -I$(ecp_dir)/src/platform/fe310 -I..
-LDFLAGS = app/*.o $(CFLAGS) -L.. -L$(ecp_dir)/build-fe310 -Wl,--gc-sections -nostartfiles -nostdlib -Wl,--start-group -lc -lm -lgcc -leos -lecp -lecpcr -lecptr -lecptm -lecpdir -lecpvconn -Wl,--end-group -T../bsp/default.lds
-
DEPS = main.o mem.o cell_dev.o cell_pdp.o phone.o modem.o wifi.o cam.o fs.o test.o
+LIBS_ECP =
+
+# LIBS_ECP += -lecp -lecpcr -lecptr -lecptm -lecpdir -lecpvconn
# DEPS += ecp.o ecp_init.o audio.o
+
+CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers -I$(ext_dir)/crypto -I$(ext_dir)/fsfat -I$(ecp_dir)/src -I$(ecp_dir)/src/platform/fe310 -I..
+LDFLAGS = app/*.o $(CFLAGS) -L.. -L$(ecp_dir)/build-fe310 -Wl,--gc-sections -nostartfiles -nostdlib -Wl,--start-group -lc -lm -lgcc -leos $(LIBS_ECP) -Wl,--end-group -T../bsp/default.lds
TARGET = phone
diff --git a/fw/fe310/test/main.c b/fw/fe310/test/main.c
index 52d281b..ec57b99 100644
--- a/fw/fe310/test/main.c
+++ b/fw/fe310/test/main.c
@@ -28,8 +28,6 @@
#include "wifi.h"
#include "cam.h"
#include "fs.h"
-#include "audio.h"
-#include "ecp.h"
#include "test.h"
void app_home_page(EVEWindow *window, EVEViewStack *stack) {