Memory footprint of MQX+MSF+RTCS on MCF51CN ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Memory footprint of MQX+MSF+RTCS on MCF51CN ?

932 Views
cocheca
Contributor I

Hi,

I want design an application with MCF51CN. And I need use MQX-OS with MSF and RTCS. But, the built of the basic project became in more than 100KB of flash memory.
- That is correct ?
- Is possible to reduce the memory footprint ? (MCF51CN has only 128KB)
- Any recommendations for me ?
I saw that other OS, like FreeRTOS plus LwIP have lower memory footprint. But, I would like to use the MQX.
Thanks for your help
Regards, Jose.-

 

 

0 Kudos
1 Reply

282 Views
PetrL
NXP Employee
NXP Employee

Hi, MQX has lot of conditionally compilable parts which can save your Flash space.

 

I would suggest to disable off all:

  • kernel features you do not use
  • drivers you will not use in your application ( GPIO and ADC are quite big, better to write your custom implementation if you need small footprint BSPCFG_ENABLE_GPIODEV, BSPCFG_ENABLE_ADC 

 set to 0)

  • RTCS services you don't need in your application. (RTCSCFG_ENABLE_ICMP, RTCSCFG_ENABLE_UDP)

 

Also you can see MQX kernel components and diver sizes in the :

"c:\Program Files\Freescale\Freescale MQX 3.6\mqx\examples\benchmrk\codesize\results\twrmcf51cn_cwmcu63_regabi.html"

 

Regards,

Petr

 

 

 

 

0 Kudos