forked from semaf/MFRC522_I2C_Library
Fixed linker bugs somehow?!
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user