Skip to content

Commit

Permalink
micropython.cmake aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadler86 authored Sep 30, 2024
1 parent 7ea38f7 commit 5b5fd11
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/micropython.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
list(APPEND SRC_CAMERA
modcamera.c
modcamera_api.c
)

idf_component_register(
SRCS ${SRC_CAMERA}
INCLUDE_DIRS "."
)

if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/sdkconfig")
message(STATUS "Using custom sdkconfig")
set(SDKCONFIG_DEFAULTS "${CMAKE_CURRENT_SOURCE_DIR}/sdkconfig")
endif()

add_library(usermod_mp_camera INTERFACE)
target_sources(usermod_mp_camera INTERFACE
${CMAKE_CURRENT_LIST_DIR}/modcamera.c
Expand Down

0 comments on commit 5b5fd11

Please sign in to comment.