Hello,
How does one enable lightweight messages in a fresh project? I am using:
CW 10.1
MQX 3.7
Kinetis K40 tower kit
I have loaded in the bsp_twrk40x256 and the lwmsgq_twrk40x256 projects and messaging works fine. However, when I create a new project and try to use messages, the compiler throws errors when including <lwmsgq.h>.
What files/projects have to be modified to include messaging (and other optional components)? The user manual tells that the bsp needs to be modified but it doesn't tell what or how to make the modifications.
Thanks!
已解决! 转到解答。
David,
Thank you for the response. I did find that lightweight messages worked after I added mqx.h and bsp.h in my task header.
#include <mqx.h>
#include <bsp.h>
#include <lwmsgq.h>
Otherwise the compiler threw errors.
Thanks!