If you want a binary file which is an exact byte-for-byte copy of the
microcontroller ROM you can use objcopy to convert from ELF to raw binary.
The RIOT build system also produces a HEX file for flashing, which is a
plain-text variant of the raw binary.

arm-none-eabi-objcopy -O binary myprog.elf myprog.bin

You will not, however, need any of this manual handling for flashing the
supported boards, `make flash` is all you need.

Best regards,
Joakim

On Fri, Oct 7, 2016 at 3:35 PM, Oleg Hahm <[email protected]> wrote:

> Hi Ilias!
>
> On Fri, Oct 07, 2016 at 03:29:38PM +0200, Ilias Seitanidis wrote:
> > Is it possible to create a bin file, which includes everything and then
> > flash the .bin file
> > on the board? (From what I've seen RIOT OS doesn't support this,
> right????)
>
> What exactly do you mean by ".bin" file? By default RIOT produces an ELF
> [1] file
> for most platforms that contain the full binary that is flashed onto the
> device.
>
> Cheers,
> Oleg
>
> [1] https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
> --
> Chuck Norris doesn't do TCP handshake - he does TCP roundhouse-kick to
> initiate
> the connection.
>
> _______________________________________________
> devel mailing list
> [email protected]
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to