for using malloc before mqxinit
proposed solution was to
Initialize the constructors from (in init_bsp.c), which MQX calls after it initializes the memory management component. is the solution that u proposed .
I tried to edit the start up .c but couldn't . eventhough I edited ,saved and build BSP ,PSP and project. while debugging it again goes to static initializer for cpp which I had commented . so could u share the steps to edit the startup.c in mqx project and bring it to effect .
I also tried to allocate static heap in linker, can this problem be over come by that method . can u share the steps while using fresscale compiler and ewl lib
Hi joseph xavier,
Which processor are you using? i.MX series products?
Have a nice day.
Best Regards
Dan
kinetics k20d72m with mqx 4.0
Hi Joseph,
can you please explain and provide more details about what you are trying to achieve? This ways we can understand and provide some alternatives.
Best regards,
Carlos
Can startup be edited in mqx project .
The detail query is posted as “how to use new in a constructor then create a global object of class<https://community.freescale.com/message/515129#515129>”