-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
| F´ Version | 4.1.1 |
| Affected Component | Build System |
Problem Description
Unable to reconfigure F Prime when setting the config directory to a custom location with the settings.ini file.
Context / Environment
Execute fprime-util version-check and share the output.
Operating System: Linux
CPU Architecture: x86_64
Platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.35
Python version: 3.10.12
CMake version: 3.26.0
Pip version: 25.3
Pip packages:
fprime-tools==4.1.0
fprime-gds==4.1.0
fprime-fpp==3.1.0
Project submodules:
https://github.com/nasa/fprime.git @ v4.1.1
How to Reproduce
fprime-bootstrap project, accept defaultscd my-fprime-projectsource fprime-venv/bin/activatefprime-util new --deployment, accept defaultscp -r lib/fprime/default/config .- make the
settings.inifile look like this:
[fprime]
project_root: .
framework_path: ./lib/fprime
config_directory: ./config
default_cmake_options: FPRIME_ENABLE_FRAMEWORK_UTS=OFF
FPRIME_ENABLE_AUTOCODER_UTS=OFF
fprime-util generate- modify the
config/FpConstants.fppfile to set the following variable:constant FW_CMD_STRING_MAX_SIZE = 100 fprime-util build -j$(nproc)fprime-gds- send this command:
FileHandling.fileDownlink.SendFile, "thisfilepathislongerthanthedefaultof40characters", "dest" - see error:
FileHandling.fileDownlink.SendFile completed with error FORMAT_ERROR
Expected Behavior
The command should not result in a FORMAT_ERROR since the FW_CMD_STRING_MAX_SIZE was set to 100, and the desired file path is only 49 characters.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
CCB