Skip to content

Commit

Permalink
fix(repo): compile *.cpp files on MicroPython
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzw655 committed Dec 11, 2024
1 parent 76d7ee4 commit 7433f98
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion idf_component.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions micropython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 7433f98

Please sign in to comment.