GCC and FreeRTOS

Comments

9 comments

  • Avatar
    Paul Curtis

    1. Only in the case of ARM, not for AVR.  For AVR we use our own compiler.

    2. Not really; you will need to port the project to CrossWorks.  This will, most likely, require source changes, but not very many, to deal with interrupts and the like.  I ported the SparkFun Button Pad firmware to CrossWorks in about 90 seconds.  Very simple.

    3. Nope.  WinAVR is not our target market.

    4. The JavaScript extends the deugger to populate the Threads window.  I believe there is something written for FreeRTOS, but you may have a time finding it.  I'm not sure Richard keeps it up to date or even maintains it, it may well be for ARM and user-contributed to FreeRTOS.

    You have to love CTL.  I do.  Can't get enough of it for the moment!

    0
    Comment actions Permalink
  • Avatar
    Bill Landolina

    Any improvement on this front?  I have a customer using IAR and FreeRTOS (FreeRTOS today, headed towards SafeRTOS) and I'd like to get them to move to Crossworks.  They hate IAR's licensing dongles, but changing out the tasker for a proprietary one bothers them.

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    Which target processor?  We have a plan for FreeRTOS and it's not that difficult to integrate FreeRTOS anyway.

    0
    Comment actions Permalink
  • Avatar
    Bill Landolina

    Paul - The immediate need is for NXP ARM Cortex CPUs.- The legacy products are on Cortex M3 (LPC17xx) and we are discussing a move to M4 CPUs (LPC43xx which is M4/M0).  

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    Bill,

    There are examples on the FreeRTOS website already that work with CrossWorks.  Porting FreeRTOS is not that difficult, it's just a bunch of source code and #defines, and the only tricky bit is getting the tick to tick.  You don't need to move to CTL.  If you require assistance getting FreeRTOS on an LPC1700 then tell us which board you'd like it on and we can simply produce you an example that does it.

    0
    Comment actions Permalink
  • Avatar
    Bill Landolina

    Understood - I've gotten FreeRTOS running on several ARM variants without much difficulty - the only area that concerns me is making sure the debugger' understands the threading.  I saw that there are versions of thread.js for FreeRTOS but it isn't clear if they are current.  I'll move forward with getting the customer on board with Crossworks and if we come up with a specific issue I'll be back in touch.

    ..and I like CTL just fine too - it's just not where my customer is at the moment.

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    The thread-awareness looks pretty good to me when Jon demonstrated what was happening in a FreeRTOS project.  It's on our list of things to do, and the fact it's not welded into the GUI is a plus...

    0
    Comment actions Permalink
  • Avatar
    Robert Wood

    FWIW I've ported a couple of gcc based projects for Cortex devices to Crossworks and it's  easy. I did it by creating a new project and added all the files, updated paths for headers etc until it worked. I find debugging FreeRTOS in Crossworks easy even without thread windows.

    0
    Comment actions Permalink
  • Avatar
    Bill Landolina

    I've had the same experience porting FreeRTOS on several CPUs, a little path and header wrangling and things just work - at the moment I'm trying to move a customer from IAR to Rowley and thread windows are a feature they specifically asked about.  IAR provides factory support for FreeRTOS integration.  Paul Curtis has indicated that Rowley will help us make it work - I'll be working on that next week and when it works (as I expect it to) I'll post about it.

    0
    Comment actions Permalink

Please sign in to leave a comment.