Aalt Lokhorst <lokhorst@...> schrieb am Wed, 27 Jul 2005 17:48:53 +0200: > I have a startup.s file which contains the vectors, PLL and VPBDIV init > etc. > If you use .S as extension, gcc will first pre-process your file before handing it over to as. This allows to use all CPP things. I normaly use common (chip)header-files and simply put some #ifdef __ASM_INCLUDED__ #endif around C/C++ code like structure or typedefS. -- 42Bastian Schick
Message
Re: [lpc2000] Common definitions for Assembler and C-source
2005-07-28 by 42Bastian Schick