How to generate a FreeRTOS app with static allocation?

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

I’ve used Atmel START to create a sample FreeRTOS app. It’s using dynamic allocation, but my application requires static allocation.

  • Is there a way to specify static allocation (e.g. xSemaphoreCreateMutexStatic) in the Atmel START dashboard?
  • The generated project includes rtos_port.c, which has calls to (e.g.) xSemaphoreCreateCounting rather than xSemaphoreCreateCountingStatic. What’s the correct remedy? Should I hand-edit rtos_port.c?
  • (Less important) Atmel START generates FreeRTOS v10000, which is a bit behind the latest release. Is it worth upgrading, and if so, what’s the best way to do that?

- rdp

 

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

Does FreeRTOS itself have that option?

 

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...