MQX 4.1.1: which startup file to use to build application with GCC

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

MQX 4.1.1: which startup file to use to build application with GCC

Jump to solution
499 Views
gaetancarlier
Contributor I

Hi,

Now that building MQX 4.1.1 can be easily built using gcc under command line Linux, I would like to build my application/project against MQX 4.1.1. but I don't which startup file to use.

Could you tell me which assembler file generic do I have to compile with my application to run on a K70 or K60, please ?

I have searched for .S files in MQX 4.1.1 directory but I didn not find any of them with a reference to main entry point.

Thank you.

Best regards,

Gaëtan.

0 Kudos
1 Solution
348 Views
Carlos_Musich
NXP Employee
NXP Employee

There are no stupid questions Gaetan, thanks for sharing your findings :smileyhappy:

By the way, you can find boot.S in the following path:

C:\Freescale\Freescale_MQX_4_1\mqx\source\psp\cortex_m\core\M4

Regards,

Carlos

View solution in original post

0 Kudos
2 Replies
348 Views
gaetancarlier
Contributor I

Hi,

I found the solution in MQX_4_1_1_LINUX_GA/demo/hvac/build/make/hvac_twrk70f120m/build_gcc_arm.sh

There is no need of assembly file with main entry point as this belong to MQX core.

Sorry for my stupid question :smileygrin:

Best regards,

Gaëtan?

0 Kudos
349 Views
Carlos_Musich
NXP Employee
NXP Employee

There are no stupid questions Gaetan, thanks for sharing your findings :smileyhappy:

By the way, you can find boot.S in the following path:

C:\Freescale\Freescale_MQX_4_1\mqx\source\psp\cortex_m\core\M4

Regards,

Carlos

0 Kudos