From 616d1d32f1af3c3641cbfcb399b67a147207eb3b Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 14 Dec 2016 14:25:42 +0800 Subject: [PATCH] ulp: add missing component.mk for tests --- components/ulp/test/component.mk | 1 + components/ulp/test/test_ulp.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 components/ulp/test/component.mk diff --git a/components/ulp/test/component.mk b/components/ulp/test/component.mk new file mode 100644 index 000000000..ce464a212 --- /dev/null +++ b/components/ulp/test/component.mk @@ -0,0 +1 @@ +COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive diff --git a/components/ulp/test/test_ulp.c b/components/ulp/test/test_ulp.c index f8dc174dc..f0000e1aa 100644 --- a/components/ulp/test/test_ulp.c +++ b/components/ulp/test/test_ulp.c @@ -27,7 +27,7 @@ #include "soc/soc.h" #include "soc/rtc_cntl_reg.h" -#include "soc/saradc_reg.h" +#include "soc/sens_reg.h" #include "sdkconfig.h"