Fixed linker bugs somehow?!

This commit is contained in:
2021-04-27 14:22:20 +02:00
parent 524b678bc0
commit 8484436335
3 changed files with 18 additions and 1 deletions

View File

@ -1,2 +1,19 @@
idf_component_register(SRCS MFRC522_I2C.cpp INCLUDE_DIRS . REQUIRES arduino-esp32)
set(headers
src/MFRC522_I2C.h
)
set(sources
src/MFRC522_I2C.cpp
)
idf_component_register(
INCLUDE_DIRS
src
SRCS
${headers}
${sources}
REQUIRES
arduino-esp32
)
target_compile_options(${COMPONENT_TARGET} PRIVATE -Wno-unused-but-set-variable)