Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
[submodule "micropython-nostr"]
path = micropython-nostr
url = https://github.com/MicroPythonOS/micropython-nostr
[submodule "esp32-component-rvswd"]
path = esp32-component-rvswd
url = https://github.com/Fri3dCamp/esp32-component-rvswd.git
9 changes: 8 additions & 1 deletion c_mpos/micropython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ set(MPOS_C_INCLUDES)
set(MPOS_C_INCLUDES
${CMAKE_CURRENT_LIST_DIR}/../lvgl_micropython/lib/micropython/ports/esp32/managed_components/espressif__esp_codec_dev/include/
${CMAKE_CURRENT_LIST_DIR}/../lvgl_micropython/lib/micropython/ports/esp32/managed_components/espressif__esp_codec_dev/interface/
# RVSWD programmer component headers
${CMAKE_CURRENT_LIST_DIR}/../esp32-component-rvswd/include/
)

set(MPOS_C_SOURCES
Expand All @@ -20,6 +22,12 @@ set(MPOS_C_SOURCES
${CMAKE_CURRENT_LIST_DIR}/quirc/lib/quirc.c
# ${CMAKE_CURRENT_LIST_DIR}/../lvgl_micropython/lib/micropython/extmod/modwebrepl.c
# ${CMAKE_CURRENT_LIST_DIR}/src/font_Noto_Sans_sat_emojis_compressed.c
# RVSWD programmer component sources
${CMAKE_CURRENT_LIST_DIR}/src/rvswd_module.c
${CMAKE_CURRENT_LIST_DIR}/../esp32-component-rvswd/src/rvswd.c
${CMAKE_CURRENT_LIST_DIR}/../esp32-component-rvswd/src/rvswd_ch32.c
${CMAKE_CURRENT_LIST_DIR}/../esp32-component-rvswd/src/rvswd_ch32v20x.c
${CMAKE_CURRENT_LIST_DIR}/../esp32-component-rvswd/src/rvswd_ch32x03x.c
)

# Add our source files to the lib
Expand All @@ -42,4 +50,3 @@ target_compile_options(usermod_c_mpos INTERFACE

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

Loading
Loading