Doubt about FreeRTOS

 

Hi, I want to get into the Arducopter a FreeRTOS based real time operating system for Arduino compatible boards, I'd thought in DuinOS. But I don't know if I can put it because I've read that does not support ATmega2560. Can anyone tell me if this is so and how I could get this.

 

 Thanks

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

     

    Not sure it would be beneficial to the code efficiency. A task sheduler take some ressources for task switching.

     

    In a AVR realtime design i did a few years ago, i decided to not use a realtime OS for code simplicity and efficiency.

     

    I think that small 8 bits processors are not designed for such OS. One of the benefit could be code profiling, but available tools seems quite limited and anyway activating code profiling is most of the time not possibile because too much ressource hungry.

     

    It would be certainly better to study the actual code, and see if it would be possible to split some parts in the ppm encoder to speed up things with multiprocessing, or eventually for a futur hardware version, think to a parallel processing circuit (FPGA) to put high speed and simple tasks in it.

     

     

  • 3D Robotics
    We'll probably be moving to BeRTOS, which seems to be the preferred Arduino option in the future roadmap:

    http://www.bertos.org/
  • You are aware about the diydrones discussion from 2009?

    FreeRTOS in Gluonpilot:
    http://www.diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A...

    Maybe this could help.
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
More…