We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurator in Manual Mode accepts user defines.
If Manual Mode selected, passed to textarea user defines ignored, and options from Standard mode used instead
src/api/src/services/BinaryFlashingStrategy/index.ts
async buildFlashFirmware() { ... flasherArgs = this.binaryConfigurator.buildBinaryConfigFlags()
src/api/src/services/BinaryFlashingStrategy/BinaryConfigurator/index.ts
buildBinaryConfigFlags( outputDirectory: string, firmwareBinaryPath: string, hardwareDefinitionsPath: string | null, firmwareArtifactsDirPath: string, params: BuildFlashFirmwareParams ): string[][] { ... flags.push(...this.userDefinesToFlags(params.userDefines));
As i understand, params.userDefinesTxt ignored, and params.userDefines contains options from Standart mode. So next parameters passed to configurator:
{ context: { flags: [ [ '--dir', '/home/user/.config/ExpressLRS Configurator/firmwares/binary-targets' ], [ '--fdir', '/src/ELRS/src' ], [ '--target', 'happymodel.rx_900.es900' ], [ '--phrase', '***' ], [ '--domain', 'au_915' ], [ '--auto-wifi', '20' ], [ '--flash', 'bf' ], [ '/tmp/happymodel.rx_900.es900.betaflight_q3taLO/firmware.bin' ] ], flasherPath: '/src/ELRS/src/python/binary_configurator.py' }, level: 'info', message: 'flags', timestamp: '2024-05-01T12:31:46.061Z' }
Manual mode usefull due to simplifying configuration by passing user defines from file.
The text was updated successfully, but these errors were encountered:
7ce7725
No branches or pull requests
Expected Behavior
Configurator in Manual Mode accepts user defines.
Current Behavior
If Manual Mode selected, passed to textarea user defines ignored, and options from Standard mode used instead
Steps to Reproduce
Possible Solution
src/api/src/services/BinaryFlashingStrategy/index.ts
src/api/src/services/BinaryFlashingStrategy/BinaryConfigurator/index.ts
As i understand, params.userDefinesTxt ignored, and params.userDefines contains options from Standart mode.
So next parameters passed to configurator:
Context
Manual mode usefull due to simplifying configuration by passing user defines from file.
Your Environment
The text was updated successfully, but these errors were encountered: