Question about the FreeRTOS

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
RoFr_4201436
Level 3
Level 3
50 sign-ins 25 sign-ins 10 replies posted

Hello there,

I want to create a interrupt botton in my project, using FreeRTOS, but the botton is not working. Someone can help me?

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @RoFr_4201436

Can you please include FreeRTOS.h and task.h? I added the includes and then modified few tasks to just blink the LED and it seems to work for me.

Also, one of the tasks does not have a forever loop. Is that intended? 

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
3 Replies
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @RoFr_4201436

Can you please include FreeRTOS.h and task.h? I added the includes and then modified few tasks to just blink the LED and it seems to work for me.

Also, one of the tasks does not have a forever loop. Is that intended? 

Thanks and Regards,
Rakshith M B
0 Likes

Also, one of the tasks does not have a forever loop. Is that intended? 

NO. I was just testing.

 

Can you send me the project that you changed? Because the botton task is not working for me, only the task of the led. I don't know how to put a botton interrupt in the psoc 6 project, and I need to do this with freeRTOS.

 

I included the libraries FreeRTOS.h and task.h, but this not solved my problem.

0 Likes
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi @RoFr_4201436

From your other thread - Question about the uC/COS, I believe you were able to get the interrupt to work. The interrupt was not enabled.  

Please let me know if you still have issues getting the interrupt to work.

Thanks and Regards,
Rakshith M B
0 Likes