Skip to content

Commit

Permalink
feat(repo): support micropython
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzw655 committed Dec 6, 2024
1 parent a227c60 commit 2af3967
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# ChangeLog

## v1.0.0 - 2024-12-06

### Enhancements:

* feat(repo): refactor with esp-lib-utils
* feat(repo): support micropython

## v0.1.0 - 2024-11-05

### Enhancements:
Expand Down
16 changes: 16 additions & 0 deletions micropython.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is to be given as "make USER_C_MODULES=..." when building Micropython port

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)

# Add our source files to the library.
target_sources(usermod_esp_io_expander INTERFACE ${SRCS})

# Add the current directory as an include directory.
target_include_directories(usermod_esp_io_expander INTERFACE ${SRC_DIR})

# Link our INTERFACE library to the usermod target.
target_link_libraries(usermod INTERFACE usermod_esp_io_expander)

0 comments on commit 2af3967

Please sign in to comment.