ULP ADC undefined reference to _binary_ulp_main_bin_start
Posted: Thu Dec 20, 2018 5:03 pm
Hi all,
i'm trying to add to my iot project the ultra low power coprocessor but it doesn't compile.
This is my component.mk file:
Compiler error is the following:
ULP ADC example provided in espidf works well but this not. Basically I copy and paste that example in my project.. where is the error?
Thank you
i'm trying to add to my iot project the ultra low power coprocessor but it doesn't compile.
This is my component.mk file:
Code: Select all
ULP_APP_NAME ?= ulp_KnobMonitor
ULP_S_SOURCES = $(addprefix $(COMPONENT_PATH)/ULP/, \
KnobMonitor.S \
)
ULP_EXP_DEP_OBJECTS = ULP_KnobMonitor.o
include $(IDF_PATH)/components/ulp/component_ulp_common.mk
COMPONENT_SRCDIRS := . Sleep Application Application/SerialMonitor Application/UserManager Hmi Hmi/Display Hmi/Sound Hmi/Touch Lsi Lsi/ACInput System System/DataProtection System/DataStorage System/MathTools System/RTOSMonitor System/SWTimer System/Version IoT
Code: Select all
[..]/build/main\libmain.a(ULP_KnobMonitor.o):(.literal.ULP_KnobMonitor__Initialize+0x0): undefined reference to `_binary_ulp_main_bin_end'
[..]/build/main\libmain.a(ULP_KnobMonitor.o):(.literal.ULP_KnobMonitor__Initialize+0x4): undefined reference to `_binary_ulp_main_bin_start'
collect2.exe: error: ld returned 1 exit status
make: *** [C:\msys32\home\esp-idf/make/project.mk:407:[..]/build/E0SW.elf] Error 1
Thank you