Jump to content
 
  • 0

Hexmate question - what is the syntax to replicate what happens when I have a loadable?


Orunmila
 Share

Question

  • Member

I have a MPLAB-X project which uses a loadable (it is combining my program with a bootloader which is in another project). 

I need to compile this project from the command line for CI automation. For the entire build process every command executed is nicely printed in the build window, but for the loadable it claims to be using Hexmate, but the command line to execute it is not shown at all.

Can anyone help me with the syntax using Hexmate to get the same behavior as adding the Loadable from MPLAB-X?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
  • Member

Oh by the way I figured this one out, I am surprized nobody jumped on this easy question!

The syntax for hexmate in this case was simply hexmate <file1> <file2> -o <outputname>

All I had to do was build the project from command line, pass to hexmate the resulting hex file as well as the bootloader hex file and it spits out the combination of the 2.

Hexmate is such a simple little program I felt like just writing a script to do what it is doing, but with the continuation addresses in .hex files it turns out using this versatile tool is by far the best solution!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

 


×
×
  • Create New...