KEIL with MQX initialization

Hi,

I generated this project witch KSDK Project-Generator.

Selecting

BOARD: FRDM-K64

RTOS: MQX

TOOLCHAIN: KEIL MDK-ARM

How can I start from void Main_Task(uint32_t param) instead int main(void) ?

FSL_RTOS_MQX=1

If I don't put int main(void) the following error appears:

Build started: Project: lwip_httpserver_demo_mqx
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build Project 'lwip_httpserver_demo_mqx' - Target 'lwip_httpserver_demo_mqx Debug'
linking...
debug\lwip_httpserver_demo_mqx.out: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
"debug\lwip_httpserver_demo_mqx.out" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:02

More questions in this forum