DECwiz (Fred van Kempen) <decwiz@...> schrieb am Wed, 20 Jul 2005 14:26:01 -0700 (PDT): > Further checking revealed, that something else was wrong: I was > > using bitfield structures to reference (and initialize) the BCFG2 > register. A printf() on its contents (both in the GNUARM and IAR > versions) showed a major difference. I changed that code to just > ... > > So... the bitfield structures don't seem to work with GCC, which I can > live with now I know it... The order how the bits are stored in a bitfield is not defined by standard. This might be the reason, why gcc writes a different value than IAR. -- 42Bastian Schick
Message
Re: SOLVED! Re: [lpc2000] GNUARM weirdness ?
2005-07-21 by 42Bastian Schick