diff --git a/src/api/src/services/BinaryFlashingStrategy/index.ts b/src/api/src/services/BinaryFlashingStrategy/index.ts index 3f7a0a66..9da809cf 100644 --- a/src/api/src/services/BinaryFlashingStrategy/index.ts +++ b/src/api/src/services/BinaryFlashingStrategy/index.ts @@ -560,7 +560,13 @@ export default class BinaryFlashingStrategyService implements FlashingStrategy { ); let flasherArgs: string[][]; - if (gitRepository.hardwareArtifactUrl) { + if ( + gitRepository.hardwareArtifactUrl && + !( + params.firmware.source === FirmwareSource.Local && + fs.existsSync(path.join(firmwareDescriptionsPath, 'hardware')) + ) + ) { flasherArgs = this.binaryConfigurator.buildBinaryConfigFlags( outputDirectory, firmwareBinFile,