Skip to content

Commit 2af3967

Browse files
committed
feat(repo): support micropython
1 parent a227c60 commit 2af3967

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# ChangeLog
22

3+
## v1.0.0 - 2024-12-06
4+
5+
### Enhancements:
6+
7+
* feat(repo): refactor with esp-lib-utils
8+
* feat(repo): support micropython
9+
310
## v0.1.0 - 2024-11-05
411

512
### Enhancements:

micropython.cmake

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is to be given as "make USER_C_MODULES=..." when building Micropython port
2+
3+
add_library(usermod_esp_io_expander INTERFACE)
4+
5+
# Set the source directorya and find all source files.
6+
set(SRC_DIR ${CMAKE_CURRENT_LIST_DIR}/src)
7+
file(GLOB_RECURSE SRCS ${SRC_DIR}/*.c)
8+
9+
# Add our source files to the library.
10+
target_sources(usermod_esp_io_expander INTERFACE ${SRCS})
11+
12+
# Add the current directory as an include directory.
13+
target_include_directories(usermod_esp_io_expander INTERFACE ${SRC_DIR})
14+
15+
# Link our INTERFACE library to the usermod target.
16+
target_link_libraries(usermod INTERFACE usermod_esp_io_expander)

0 commit comments

Comments
 (0)