UC3 lib 1.1.0 Hello World

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

Hi All,

While I've got a decent amount of experience with the AP7s, I got myself an EVK1100 yesterday and am now looking for a little help myself ^^

Just trying to get the Hello World project which comes with the UC3 lib 1.1.0 working is proving to be a challenge. First, it says that once you've imported the src from .docsrc/TUTORIAL/whereever it should autobuild and all will be right with the world. It doesn't.

First no attempt is made to autobuild but that's fine, I've got no objections to clicking build myself. But the project doesn't know anything about any of the drivers so all those have to be imported manually (PM, PWM etc) as does the board headers etc. Everything which is referenced with a relative include path. OK, no probs.

Final problem though, the INTC driver references ipr_val which is defined in exception.S. For some reason though the managed makefile will not tell the world about this .S file (despite it being in my project) so, predictably enough, the whole build fails with a link error.

People who read this forum regularly will know that I haven't used AVR32Studio before so it may be that this post is more suited to the Software Tools forum, I don't know. It seems though that there is at least one step (probably small and obvious) missing from the tutorial.

btw, same results on Windoze and Linux, both running latest avr32studio (downloaded this morning) with the latest toolchain (downloaded this morning) and uc3[ab] firmware library (downloaded, you guessed it, this morning).

Cheers,
-S.

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

Hello (world),

indeed this tutorial was mistakenly broken in the 1.1.0 version. I join here a zip file that solves the issue: the content should be unzipped under the folder .docsrc/TUTORIALS/AVR32Studio/ManagedMake/src.

Cyrille.
.

Attachment(s): 

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

Thanks very much indeed, good to know it isn't just me ;)

Though it kinda gets around the faults I was seeing above by not having any of that functionality, I 'spose that's for more advanced tutorials :)

-S.