From 64b106c13e18c33be0f2b0de532054e0ed3f731d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 13 Dec 2023 16:10:08 +1100 Subject: add a cool lua repl --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f5dde9e..82f1ffe7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,14 @@ list(APPEND EXTRA_COMPONENT_DIRS "$ENV{PROJ_PATH}/src") project(tangara) +# /lua partition on internal flash, for storing the lua application spiffs_create_partition_image(lua lua FLASH_IN_PROJECT) +# /repl partition on internal flash, for storing the developer repl and its deps. +file(COPY lib/lua-repl/repl DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/repl) +file(COPY lib/lua-term/term DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/repl) +spiffs_create_partition_image(repl ${CMAKE_CURRENT_BINARY_DIR}/repl FLASH_IN_PROJECT) + add_custom_target(check-for-sdkconfig-changes ALL COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake/check-for-sdkconfig-changes.sh ) -- cgit v1.2.3