Re: [PATCH rtems-tools] bin2c: Add option for alignment

2022-02-15 Thread Christian MAUDERER
Thanks. I pushed it. I'll update the RTEMS source builder as soon as I have tested whether I get the hash right. Am 14.02.22 um 17:06 schrieb Joel Sherrill: I think this looks ok On Mon, Feb 14, 2022, 9:44 AM Christian Mauderer > wrote: Some

Re: [PATCH rtems-tools] bin2c: Add option for alignment

2022-02-14 Thread Joel Sherrill
I think this looks ok On Mon, Feb 14, 2022, 9:44 AM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Sometimes it's useful if structures are aligned. This patch add a > > -A alignment > > option. Note that this doesn't check for valid alignments. It accepts > any positive nu

[PATCH rtems-tools] bin2c: Add option for alignment

2022-02-14 Thread Christian Mauderer
Sometimes it's useful if structures are aligned. This patch add a -A alignment option. Note that this doesn't check for valid alignments. It accepts any positive number in decimal or hex format. If for example an alignment of 7 is specified, the compiler will complain that it is not a power of