Skip to content

[MAKE EXPORTER] - Signal that srec_cat has to be present if used. #2962

Closed
@pan-

Description

@pan-

Description

Indicate to the user which have exported its project with a makefile exporter that he needs to install srec_cat to build its project if their is hex files to merge in it.

  • Type: Enhancement

Enhancement

On some targets like the NRF5 family an hex file is merged with the binary as a post build process. While the user doesn't have to install anything special when a project is compiled with mbed cli, it is not the case if the project is exported with the make family exporters.

In this setup, the makefile use a program named srec_cat to merge the hex file(s) and the application, if srec_cat is not present on the system, the build end badly like here.

Instead of an obscure failure it would be better to signal to the user that srecord have to be installed on its system.

srec_cat is only used at this place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions