diff --git a/CHANGELOG.md b/CHANGELOG.md index f893249..cef8c7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +## v1.0.1 - 2024-12-11 + +### Bug Fixes: + +* fix(repo): compile *.cpp files on MicroPython + ## v1.0.0 - 2024-12-06 ### Enhancements: diff --git a/idf_component.yml b/idf_component.yml index 5d75262..f4b137c 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.0.0" +version: "1.0.1" description: ESP32_IO_Expander is a library designed for driving IO expander chips using ESP SoCs url: https://github.com/esp-arduino-libs/ESP32_IO_Expander repository: https://github.com/esp-arduino-libs/ESP32_IO_Expander.git diff --git a/library.properties b/library.properties index b15e1ee..df3c950 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESP32_IO_Expander -version=1.0.0 +version=1.0.1 author=espressif maintainer=espressif sentence=ESP32_IO_Expander is a library designed for driving IO expander chips using ESP SoCs diff --git a/micropython.cmake b/micropython.cmake index 207fc55..ed63811 100644 --- a/micropython.cmake +++ b/micropython.cmake @@ -4,10 +4,11 @@ add_library(usermod_esp_io_expander INTERFACE) # Set the source directorya and find all source files. set(SRC_DIR ${CMAKE_CURRENT_LIST_DIR}/src) -file(GLOB_RECURSE SRCS ${SRC_DIR}/*.c) +file(GLOB_RECURSE SRCS_C ${SRC_DIR}/*.c) +file(GLOB_RECURSE SRCS_CXX ${SRC_DIR}/*.cpp) # Add our source files to the library. -target_sources(usermod_esp_io_expander INTERFACE ${SRCS}) +target_sources(usermod_esp_io_expander INTERFACE ${SRCS_C} ${SRCS_CXX}) # Add the current directory as an include directory. target_include_directories(usermod_esp_io_expander INTERFACE ${SRC_DIR})