Open jmanning2k opened 3 years ago
Appending artifact-name as an explicit command line arg works.
mbed compile --flash --artifact-name bar
So this issue is that the value in mbed_app.json is not overriding artifact-name when building the fw_name for this phase.
When using
mbed compile --flash
, it uses the default binary name for flashing (the parent directory) instead of the one given by the mbed_app.json parameterartifact_name
. It correctly generates a binary with the artifact_name during linking.mbed --version: 1.10.5
mbed_app.json
:{ artifact_name: "bar", ... }
mbed compile --flash
output:Where foo-cwd is the parent directory name and the default name, and bar is the name given by artifact_name in mbed_app.json.