0

I am researching about different IoT development boards and found that espressif uses IDF framework. When looked at the source code it uses FreeRTOS libraries. I have Arduino Uno and i wanted to use FreeRTOS for programming Arduino Uno. After search i found that FreeRTOS has multiple libraries that supports different micro controllers. Arduino Uno has ATMega328P and FreeRTOS has libraries for ATMega328P (link below)

https://github.com/FreeRTOS/FreeRTOS/tree/master/FreeRTOS/Demo/AVR_ATmega328PB_Xplained_mini_GCC

I also found that libraries created for Arduino family of boards (link below) https://www.arduino.cc/reference/en/libraries/freertos/

I just wanted to what is the difference between these two libraries?

2
  • 1
    One is a demo, the other is a library. One is not for Arduino but for "bare metal" programming, the other is for Arduino. They're both FreeRTOS.
    – Majenko
    Dec 11 '20 at 11:10
  • Thank you Majenko for the clarification Dec 12 '20 at 9:30
0

ATmega328PB is not the same MCU as used by Arduino boards. Those use ATmega328P (no B). ATmega328PB is a mostly compatible successor and offers more timers, built-in touch functionality and more but does not come in large DIP packages. Arduino uses the older ATmega328P.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.