freertos error on atmel studio 7

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

i got that error ( ld returned 1 exit status collect2.exe 0 Build ) when i build freertos project on atmel studio 7

 

Last Edited: Thu. May 7, 2020 - 06:14 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That tells us very little. Paste the build output. We recently had a similar question. You might want to search out freertos build errors.

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

Kartman wrote:
That tells us very little

Indeed.

 

Only 5 minutes ago: https://www.avrfreaks.net/commen...

 

How to find the Atmel Studio 'Output' Window: https://www.avrfreaks.net/commen...

 

and see Tip #1 for how to properly put an image in your post - where we can see it.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Tue. May 5, 2020 - 07:49 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
Paste the build output.
Well, technically, he already did!

 

Try doing a "Rebuild solution" and then pasting the contents of "Output"

 

(the fact is that if you build once, a load of errors are reported and then you build again it may just show a shortened "not possible" (as here) without redoing all the steps that lead to the condition - a "rebuild" will force the entire build to be reattempted so that all the original errors should be shown once again)

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

In another recent thread, earlier today, jgmdesign wrote:
What the heck.....  has the RTOS damn burst and the threads are a flooding on teh subject

 

https://www.avrfreaks.net/commen...

 

Surely, anyone who's got as far as RTOS projects should be experienced enough to at least find & post the relevant error messages from the build ?

 

frown

 

Or conversely, if you can't find & post the relevant error messages from the build, you probably need to gain some more experience before jumping into RTOS projects ?

 

EDIT

 

Links to Atmel Studio 'Getting Started' videos: https://www.avrfreaks.net/commen...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Tue. May 5, 2020 - 08:47 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I wonder if there's some kind of rumour sweeping the internet that is saying "micro programs are easier, faster, more efficient if you use an RTOS"? It just takes one "wonky article" or "dodgy youtube video" to start this kind of thing, suddenly everyone wants to "get on board" without really understanding why.

 

I suppose it's true that the picture in #1 does show a 32K micro and maybe that is just about at the boundary where things may have got so complex that an RTOS could help things out?

 

(but then the code in #1 just shows a single test task so "no" in this particular case so far!)

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

clawson wrote:
I wonder if there's some kind of rumour sweeping the internet that is saying "micro programs are easier, faster, more efficient if you use an RTOS"? 

Probably spread by RTOS vendors ...

 

frown

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

Again, this tells us very little - refer to posts #3 and #4 to show us something we can make sense of.