https://github.com/cbaurtx/ESP32_keypad_rotdecode
The directory structure is like this:
main
components/keypad_rotdecode
components/keypad_rotdecode/include
components/keypad_rotdecode/ulp
build
Root CMakeLists.txt
Code: Select all
cmake_minimum_required(VERSION 3.5)
set(SUPPORTED_TARGETS esp32)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(keypad_rotdecode)
Code: Select all
idf_component_register(SRCS "keypad_rotdecode.c"
INCLUDE_DIRS "include"
REQUIRES ulp)
set(ulp_app_name "ulp_debounce_decode")
set(ulp_s_sources "ulp/debounce_decode.S")
set(ulp_exp_dep_srcs "keypad_rotdecode.c")
ulp_embed_binary(${ulp_app_name} "${ulp_s_sources}" "${ulp_exp_dep_srcs}")
and later missing symbols defined in the header of the component include file.Linking CXX executable keypad_rotdecode.elf
FAILED: keypad_rotdecode.elf
This may be a similar case:
https://forums.freertos.org/t/integrati ... rtos/11822
I am clueless....