MQX serialization

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MQX serialization

跳至解决方案
1,122 次查看
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 解答
1,042 次查看
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 回复数
1,043 次查看
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 项奖励
回复
1,042 次查看
oscargarciaabad
Contributor III

Hi Radek,

Many thanks for your help!

Óscar.

0 项奖励
回复