Skip to content

tasks.json file does not get updated when selecting different settings and start build #332

Description

@ReinhardKeil

Current behavior, Steps to reproduce and Expected behavior

csolution 1.68.0

Test-Project: https://github.com/Arm-Examples/SDS-Examples

When changing the setting (in this case from DataTest to Algorithm) and click "Build", the args in the tasks.json file does not get updated. It still contains previous settings as shown below.

WORK AROUND: Using the Save button with Manage Solution produces the expected result.

Image
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "CMSIS Load+Run",
            "type": "shell",
            "command": "FVP_Corstone_SSE-300_Ethos-U55",
            "options": {
                "cwd": "${workspaceFolder}/ST/B-U585I-IOT02A/MotionRecognition",
                "shell": {
                    "executable": "cmd.exe",
                    "args": [
                        "/d",
                        "/c"
                    ]
                }
            },
            "args": [
                "-f",
                "Board/Corstone-300/fvp_config.txt",
                "-a",
                "out/DataTest/SSE-300-U55/Debug/DataTest.hex",   # WRONG
                ""
            ],
            "problemMatcher": []
        }
    ]
}

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions