CrossWorks - CrossStudio for ARM "Build" question
Release) where STARTUP_FROM_RESET is defined.
I figure I could either modify the startup.s file to include something like
but I would prefer not to change the startup file just because of this.
Is there an easier/cleaner way to get the same result?
> -----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
> #ifdef NDEBUG
> #define STARTUP_FROM_RESET
> 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
You can do the same for ARM Release Auto Startup and so on.