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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,487件の閲覧回数
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 件の賞賛
返信
4 返答(返信)

1,327件の閲覧回数
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 件の賞賛
返信

1,327件の閲覧回数
josephxavier
Contributor III

kinetics k20d72m with mqx 4.0

0 件の賞賛
返信

1,327件の閲覧回数
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 件の賞賛
返信

1,327件の閲覧回数
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 件の賞賛
返信