what system calls would you like to see in an RTOS

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

I asked this before but it was moved to the desolate forum, i.e Cortex-A5.  This question is a general question on all microchip MCU/MPU.

Okay, and the question is, what system calls would you like to see in an RTOS?

 

I'm looking to implement things like red/write semaphores that you don't usually have implemented. 

Last Edited: Fri. Jul 3, 2020 - 12:13 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Fianawarrior wrote:
it was moved

To where it belongs!

 

Fianawarrior wrote:
This question is a general question on all microchip MCU/MPU

No it isn't - what appropriate to an MPU (Cortex-A level) is highly unlikely to be applicable to a small MCU like an 8-bit AVR!

 

 

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

awneil wrote:

Fianawarrior wrote:
it was moved

To where it belongs!

 

Fianawarrior wrote:
This question is a general question on all microchip MCU/MPU

No it isn't - what appropriate to an MPU (Cortex-A level) is highly unlikely to be applicable to a small MCU like an 8-bit AVR!

 

 

 

I'm also running it on the UC3.

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

Fianawarrior wrote:
what system calls would you like to see in an RTOS?
Message queues, memory pools

RTOS can block with message queues and memory pools to relieve this, event-driven active object framework

in Beyond the RTOS: A Better Way to Design Real-Time Embedded Software « State Space

 

"Dare to be naïve." - Buckminster Fuller

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

Would a malloc that runs of the task stack be worth implementing?

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

So guys, I've had a break from programming, however I would still like feedback on API calls you would like to see integrated into a RTOS?

For example, I implemented a Semaphore PI for read/writes!

 

Wm.

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

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