Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 10 months ago.
Rtos won't compile for freescale freedom board
Is anyone else having problems with this? if i import the mbed-rtos library, the program won't compile anymore, even though the program is blank:
- include "mbed.h"
- include "rtos.h"
int main() {
return 0; }
I noticed that this library was modified hours ago. Could this be the cause?
4 Answers
10 years, 10 months ago.
Check if there is an update available. Click in mbed-rtos folder and look at the right panel if the 'Update' button is enabled.
10 years, 10 months ago.
It's not enabled. I believe that when i import a library, it always imports the latest one, right? I do believe the cause of the issue is the newest update; if i import the newest one (Rev 12), and switch back to the previous one (Rev 11) it works.
Thanks for your reply.
10 years, 10 months ago.
@Emilio I'm able to build the RTOS lib for the Kl25z board BUT the threads don't execute if I put in more than ONE thread !
I think your code might be the problem, 'cause in my program i've got 3 threads running it works.
posted by 06 Jun 2013Hi Jorge ,Can you show me your Threading implementation code of how you implemeted threading? here's my code that's provinding problems >> http://mbed.org/forum/mbed/topic/4420/
posted by 06 Jun 2013