FreeRTOS CubeMX project doesn't build when imported into CrossWorks

Comments

1 comment

  • Avatar
    Jennifer Gunn

    I figured it out.  The rule is not to use the version provided by CubeMX, but instead use the official version and don't forget to either pick or modify one of the heap_xx.c files, choose the correct port.c and portmacro.h for your MCU and rob then modify a FreeRTOSConfig.h or it'll not build.  More confusingly, there's a world of configuration to wade through, which I'm still experimenting with so that I can get better insight into what the various tasks are doing etc.

    I don't think I missed any steps I shared, but feel free to correct me if I forgot something.

    CTL is the easier path in CrossWorks unless you need your code to support FreeRTOS but as I code for fun and learning, I'll be using both.

    0
    Comment actions Permalink

Please sign in to leave a comment.