tools/firmware-utils/src/srec2bin.c
// Only update RecLength on Byte Writes
// All 32 bit writes will be for Length etc
Only update RecLength on Byte Writes
All 32 bit writes will be for Length etc
Only update RecLength on Byte Writes All 32 bit writes will be for Length etc
void binOut8 ( bit8u Data )
{
    int n;
    dumpfTell("B4Data" , (bit32u) (Data & 0xFF) );
    n = fwrite( &Data, sizeof(bit8u), 1, fOut);
    if (n != 1)
        printf("Error in writing %X for Address 0x%8X\n", Data, AddressCurrent);
    RecLength += 1;
}
void binOut8 ( bit8u Data ) { int n ; dumpfTell ( " " , ( bit32u ) ( Data & 0xFF ) ) ; n = fwrite ( & Data , sizeof ( bit8u ) , 1 , fOut ) ; if ( n != 1 ) printf ( " \n " , Data , AddressCurrent ) ; RecLength += 1 ; }
Only update RecLength on Byte Writes
All 32 bit writes will be for Length etc
Only update RecLength on Byte Writes All 32 bit writes will be for Length etc