diff --git a/c_mpos/micropython.cmake b/c_mpos/micropython.cmake deleted file mode 100644 index 18f6e45a..00000000 --- a/c_mpos/micropython.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright (c) 2024 - 2025 Kevin G. Schlosser - -# Create an INTERFACE library for our C module. - -add_library(usermod_c_mpos INTERFACE) - -set(MPOS_C_INCLUDES) - -set(MPOS_C_SOURCES - ${CMAKE_CURRENT_LIST_DIR}/src/hello_world.c - ${CMAKE_CURRENT_LIST_DIR}/src/quirc_decode.c - ${CMAKE_CURRENT_LIST_DIR}/quirc/lib/identify.c - ${CMAKE_CURRENT_LIST_DIR}/quirc/lib/version_db.c - ${CMAKE_CURRENT_LIST_DIR}/quirc/lib/decode.c - ${CMAKE_CURRENT_LIST_DIR}/quirc/lib/quirc.c -) - -# Add our source files to the lib -target_sources(usermod_c_mpos INTERFACE ${MPOS_C_SOURCES}) - -# Add include directories. -target_include_directories(usermod_c_mpos INTERFACE ${MPOS_C_INCLUDES}) - -# Link our INTERFACE library to the usermod target. -target_link_libraries(usermod INTERFACE usermod_c_mpos) diff --git a/c_mpos/micropython.mk b/c_mpos/micropython.mk index 80386a60..656c623f 100644 --- a/c_mpos/micropython.mk +++ b/c_mpos/micropython.mk @@ -1,8 +1,3 @@ -# Copyright (c) 2024 - 2025 Kevin G. Schlosser - -################################################################################ -# lcd_bus build rules - MOD_DIR := $(USERMOD_DIR) ifneq (,$(findstring -Wno-missing-field-initializers, $(CFLAGS_USERMOD))) @@ -17,7 +12,7 @@ SRC_USERMOD_C += $(MOD_DIR)/quirc/lib/identify.c SRC_USERMOD_C += $(MOD_DIR)/quirc/lib/version_db.c SRC_USERMOD_C += $(MOD_DIR)/quirc/lib/decode.c SRC_USERMOD_C += $(MOD_DIR)/quirc/lib/quirc.c -#SRC_USERMOD_C += $(MOD_DIR)/quirc/openmv/collections.c CFLAGS+= -I/usr/include + LDFLAGS+= -lv4l2 diff --git a/internal_filesystem/apps/com.example.btcticker/assets/echo.py b/internal_filesystem/apps/com.example.btcticker/assets/echo.py index 947ea2ef..4ead11e4 100644 --- a/internal_filesystem/apps/com.example.btcticker/assets/echo.py +++ b/internal_filesystem/apps/com.example.btcticker/assets/echo.py @@ -1,9 +1,3 @@ -# example from https://github.com/micropython/micropython-lib/blob/master/python-ecosys/aiohttp/examples/ws.py -# works with: -# import mip -# mip.install("aiohttp") -# but only on esp32 target, not unix?! - import sys import ssl