Re: Removing padding from generated hex files

Sebastian Boe

Okay, if I was you I would have a look at the map file and try to figure out what it's putting there and why.

From: Jamie Mccrae <Jamie.Mccrae@...>
Sent: Thursday, April 4, 2019 2:34 PM
To: Bøe, Sebastian; devel@...
Subject: RE: Removing padding from generated hex files

I have tried that but it still pads the first section with 0x00 bytes. I'm using a custom board file and project so tried switched to trying it with the hello world sample using the nrf52840_pca10059 board file and enabled the option there, the area where the MBR is, is filled with 0x00 inside the hex file.

-----Original Message-----


try enabling


IMHO this should be the default. Needing to fill the gaps is indicative of a problem
elsewhere, e.g. in the linker scripts.

Join { to automatically receive all group messages.