when I promgram mqx ,I found something wrong in the keil project( see attatched file ),but I do not know how to rectify it .
I will appreciate if you can help me !!!!
Hello feng ming,
what I spot immediately, your application invoked a couple of functions from timer code file, _timer_cancel is one of them. If you check the source code, entire file is conditionally compiled with condition MQX_USE_TIMER.
Had you set it to 1 in user_config and recompiled libraries?
Thank you for your swift reply.
Following your step:
1.add #define MQX_USE_TIMER 1 in user_config.h,
2.recompile the bsp and psp libraries,
3.recompile the timer project. 0 error
The problem has solved, thank you very much.
I perform the timer project in MQX and found 2 errors below:
1 I compiled timer project in ram model,it is ok.but when I compile it in flash model ,
there are 3errors,why???
2 I running timer project use COM5, because my computer do not have COM1,
Do I need modify the source code??
Hello feng mind,
I can't answer 1st question. In order to proceed, please post here errors you received, more information available, higher chance you will get the right answer. Let me guess, you created your own application? When you change your target, it changes its properties, therefore you have to set again everything. Please revise your project settings.
2. No you don't need to.
The error picture below:
"int ram debug" the error never happened,
and when I download this project in "int ram debug" model, using COM5,
but I can not receive any information, must I use "int flash debug" model ?
I can not solve this problem and need your help.
Thank you !!!!
I use TWR-K60N512 tower system module,
and want to see the MQX( timer project ) working process,
but it is not give me any information through COM5,
I am looking forward to your response .
Retrieving data ...