Hello,
This is my first time trying freeRTOS, I am trying to use it on my atmega32 AVR microcontroller, I am using Atmel Studio as my IDE.
I get these errors when i try to compile my project
Author : Matt Belle
*/ #define F_CPU 8000000UL #include <avr/io.h>
#include “FreeRTOS.h” #include “task.h”
TaskHandle_t ledBlinkTaskHandler = NULL;
void ledBlink(void* p){
/* Define all variables related to ledBlinkingtask1*/
const uint8_t blinkDelay = 50 ;
/* make PB0 work as output*/
DDRB |= (1<<PB0);
/* Start the infinite task 1 loop */
while (1)
{
PORTB ^= (1<<PB0); //toggle PB0
vTaskDelay(blinkDelay); //wait some time
}
}
Thank you for your fast and helpful reply Richard. @rtel
Can I ask you one more thing
What do you recommend me to do to better understanding freeRTOS and learn how to use it ?