Hi,
.bd file has the following entry:
sources {
elfFile = extern(0);
}doing this nxpimage expects the name of the input file on the command line.
How can I achieve the same behavior using .yaml files?
regards
Max
Hi @mastupristi ,
The nxpimage -> hab application supports both bd files and YAML configuration files. The bd file support is primarily intended as a backward compatibility solution for customers transitioning from elftosb to spsdk. I recommend using YAML configurations, as this is the standard format across all spsdk applications.
Unfortunately, passing the input image via the command line when using YAML configuration is not currently supported.
However, we are exploring the possibility of allowing users to override any configuration parameter across all spsdk applications. If implemented, this would enable you to specify the elfFile as a command line parameter when using a YAML file. Please note that this feature has not yet been developed.
Let me know if you need any further adjustments!