I tried to edit the start up .c but couldn't

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

I tried to edit the start up .c but couldn't

577 Views
josephxavier
Contributor III

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

0 Kudos
4 Replies

417 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi joseph xavier,

Which processor are you using? i.MX series products?

Have a nice day.

Best Regards

Dan

0 Kudos

417 Views
josephxavier
Contributor III

kinetics k20d72m with mqx 4.0

0 Kudos

417 Views
Carlos_Musich
NXP Employee
NXP Employee

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

0 Kudos

417 Views
josephxavier
Contributor III

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>”

0 Kudos