MQX serialization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
440件の閲覧回数
oscargarciaabad
Contributor III

Hello all,

I'm working with a MK60FN1M0VLQ12 microcontroller. I'm running MQX 4.1 in a custom board. I'm using

codewarrior 10.5.

I want to put a serial code in flash at an absolute address. I will do so with cyclone MAX. I know how to make the cyclone part.

But when I wanted to define my serial code in my code I found that the gcc doesn't support the following code:

char Serial[SERIAL_LENGTH]@Address;

I found that with gcc this is made as you can see in the following link:

Defining Variables at Absolute Addresses with gcc | MCU on Eclipse

But my problem comes when I want to locate the MQX linker script.

Where can I find it?

Thanks in advance.

Oscar.

0 件の賞賛
1 解決策
360件の閲覧回数
RadekS
NXP Employee
NXP Employee

Liker file is placed in your BSP source directory.

For example: c:\Freescale\Freescale_MQX_4_1\mqx\source\bsp\twrk60f120m\gcc_cw\intflash.ld


Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
361件の閲覧回数
RadekS
NXP Employee
NXP Employee

Liker file is placed in your BSP source directory.

For example: c:\Freescale\Freescale_MQX_4_1\mqx\source\bsp\twrk60f120m\gcc_cw\intflash.ld


Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
360件の閲覧回数
oscargarciaabad
Contributor III

Hi Radek,

Many thanks for your help!

Óscar.

0 件の賞賛