From 8ca6c6b39ca77248608ad00c285713af231a18f9 Mon Sep 17 00:00:00 2001 From: lestarch-autobot Date: Tue, 1 Dec 2026 22:00:56 +0000 Subject: [PATCH 1/4] Choose the Python console in project configuration Os::Console is selected at compile time for the whole build (nasa/fprime OSAL common types), so FprimePython_PythonConsole is chosen by a project configuration module and no longer by the deployment. Update fprime-python to the matching commit. Co-authored-by: M Starch --- CMakeLists.txt | 3 +++ .../ReferenceDeployment/CMakeLists.txt | 2 -- config-overrides/CMakeLists.txt | 12 ++++++++++++ lib/fprime-python | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 config-overrides/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index e4a6ff6..98399d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,5 +21,8 @@ include(FprimePython) fprime_setup_included_code() +# Project configuration, including the choice of the Python console +add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/config-overrides") + # This includes project-wide objects add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/FprimePythonReference") diff --git a/FprimePythonReference/ReferenceDeployment/CMakeLists.txt b/FprimePythonReference/ReferenceDeployment/CMakeLists.txt index c56980c..2f05183 100644 --- a/FprimePythonReference/ReferenceDeployment/CMakeLists.txt +++ b/FprimePythonReference/ReferenceDeployment/CMakeLists.txt @@ -13,8 +13,6 @@ register_fprime_deployment( SOURCES "${CMAKE_CURRENT_LIST_DIR}/Main.cpp" # Needed to appease compiler "${CMAKE_CURRENT_LIST_DIR}/fsw_main.py" # Python entrypoint - CHOOSES_IMPLEMENTATIONS - FprimePython_PythonConsole DEPENDS ${FPRIME_CURRENT_MODULE}_Top ) diff --git a/config-overrides/CMakeLists.txt b/config-overrides/CMakeLists.txt new file mode 100644 index 0000000..2598816 --- /dev/null +++ b/config-overrides/CMakeLists.txt @@ -0,0 +1,12 @@ +#### +# Project configuration: choices made for the whole build +# +# Os_Console is selected at compile time for the whole build, so the Python console is chosen here and not by the +# deployment. +#### +register_fprime_config( + FprimePythonReferenceConfig + CHOOSES_IMPLEMENTATIONS + FprimePython_PythonConsole + INTERFACE +) diff --git a/lib/fprime-python b/lib/fprime-python index d973ba3..f829a2f 160000 --- a/lib/fprime-python +++ b/lib/fprime-python @@ -1 +1 @@ -Subproject commit d973ba33cd34fc6ae8b2aa130484dfea5503e890 +Subproject commit f829a2f92e0f7e8ef891d553521e24cf9fa8182c From 9eb832da096cb4b4103132e01fa38c791c9b6b44 Mon Sep 17 00:00:00 2001 From: lestarch-autobot Date: Wed, 2 Dec 2026 01:43:26 +0000 Subject: [PATCH 2/4] Point fprime-python at its updated pr-491 commit Co-authored-by: M Starch --- lib/fprime-python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fprime-python b/lib/fprime-python index f829a2f..fe8e340 160000 --- a/lib/fprime-python +++ b/lib/fprime-python @@ -1 +1 @@ -Subproject commit f829a2f92e0f7e8ef891d553521e24cf9fa8182c +Subproject commit fe8e3407291b4538dcc0dc71342c0f415ca48fdf From 727e32ac7c460725c46db489ae1e076629c39183 Mon Sep 17 00:00:00 2001 From: lestarch-autobot Date: Thu, 3 Dec 2026 22:23:12 +0000 Subject: [PATCH 3/4] Point fprime-python at its merged commit Co-authored-by: M Starch --- lib/fprime-python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fprime-python b/lib/fprime-python index fe8e340..51905ae 160000 --- a/lib/fprime-python +++ b/lib/fprime-python @@ -1 +1 @@ -Subproject commit fe8e3407291b4538dcc0dc71342c0f415ca48fdf +Subproject commit 51905aee4c511197b05949814ef6082da993ff12 From fb09cf11af6c88c6287d9f4fff239a6bbf17f617 Mon Sep 17 00:00:00 2001 From: lestarch-autobot Date: Fri, 4 Dec 2026 00:23:51 +0000 Subject: [PATCH 4/4] Bump fprime to devel with nasa/fprime#6456 Co-authored-by: M Starch --- lib/fprime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fprime b/lib/fprime index 7d8f579..6d76adb 160000 --- a/lib/fprime +++ b/lib/fprime @@ -1 +1 @@ -Subproject commit 7d8f579f159d2f7c2d4984d92828575e37f87fa6 +Subproject commit 6d76adb952ebc56b4c74e629dd9ac8cfa21b8e3b