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:

  1. include "mbed.h"
  2. 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.

This was a temporary issue in the build system, now you should be able to build the rtos library for the Freescale freedom board using the latest release (Rev 12).

Cheers, Emilio

Accepted Answer

Thanks, Emilio. It works now.

posted by Jorge Hernandez 06 Jun 2013
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 Jorge Hernandez 06 Jun 2013

Hi 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 Nishant Sood 06 Jun 2013