The actual crt0.s being used

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm having trouble finding the precise version of crt0.s being used with AVR32 Studio 2.5, and the GNU Toolchain 2.4.2 There are several versions of crt0.s floating around in my system from previous installs of AVR32 Studio (1.0, 2.0 & 2.4) but they do not match the objdump disassembly of my project.

Why all the heavy mystery?

We never have time to do it right,
but we always have time to do it over

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The way in which the project is created appears to have an effect on the startup sequence. Using the "New > AVR32 C Project From Template" appears to be the way to get a startup file that matches the crt0.s file in:
C:\Program Files\Atmel\AVR Tools\AVR32 Studio\plugins\com.atmel.avr32.sf.uc3_1.6.0.201002231031\framework\1.6.0-AT32UC3\UTILS\STARTUP_FILES\GCC

I don't know where the EVK1100 Examples are getting their startup file but the one above is not it.

We never have time to do it right,
but we always have time to do it over

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

probably because of use the crt0.s from the Newlib (in the gnu toolchain)

-sma

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sma wrote:
probably because of use the crt0.s from the Newlib (in the gnu toolchain)

-sma


Can the crt0.s from the Newlib be located?

We never have time to do it right,
but we always have time to do it over

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No idea.
You can reuse the one from the ASF and link with the no startup files option.

-sma

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sma wrote:
No idea.
You can reuse the one from the ASF and link with the no startup files option.

-sma


...and ASF would refer to..?

We never have time to do it right,
but we always have time to do it over

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AVR software framework (www.atmel.no/asf)

-sma