Markus,
> -----Original Message-----
> From: l... [mailto:l...] On
> Behalf Of Markus Zingg
> Sent: 08 May 2008 16:30
> To: l...
> Subject: [lpc2000] CrossWorks - CrossStudio for ARM "Build" question
>
> I would like to have a build configuration (preferably ARM Flash
> Release) where STARTUP_FROM_RESET is defined.
>
> I figure I could either modify the startup.s file to include something
> like
>
> #ifdef NDEBUG
> #define STARTUP_FROM_RESET
> #endif
>
> but I would prefer not to change the startup file just because of this.
Create a new private configuration, e.g. "Auto Startup". In it set the
pre-processor definitions to "STARTUP_FROM_RESET".
Then create some new configurations, e.g. ARM Debug Auto Startup and inherit
the configuration sets ARM, Debug, and Auto Startup. Now you can build in
that configuration and have it automatically start up. The ARM Debug
configuration won't define STARTUP_FROM_RESET so you'll get
standard
behaviour.
You can do the same for ARM Release Auto Startup and so on.
-- Paul.