Two questions for MQX versions

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

Two questions for MQX versions

跳至解决方案
1,263 次查看
huishao2
Contributor IV

1. Where can I find the version number of my MQX being  used?

2. After upgrading to MQX 4.1.1, the data type like uint_8 are all changed to something like uint8_t. Where is the proper place to resolve such backward compatibility issues?

Thanks!

Hui

标记 (4)
0 项奖励
回复
1 解答
987 次查看
LuisCasado
NXP Employee
NXP Employee

Hello,

For the #2, check the Getting started guide :

3 Porting User Applications to MQX RTOS version 4.1.0

Starting with the MQX RTOS version 4.1.0, the standard C99 integer and boolean types (from stdlib.h and stdbool.h) are

used instead of the proprietary MQX types. When porting the application to the MQX RTOS version 4.1.0, compilation

issues could occur. The psptypes_legacy.h header file is available and contains the definition of the MQX legacy types. This

file can be included in the MQX application to overcome most of the compilation problems caused by the change of types.

To avoid potential problems, adopt the C99 types in your application.

For the #1 I use to check the release notes version in the installed folder. But perhaps there is other place to look at.

Luis

在原帖中查看解决方案

0 项奖励
回复
2 回复数
987 次查看
nitinharish
Contributor V

For #1:

See the "_mqx_version" string in here for e.g.:

C:\Freescale\Freescale_MQX_4_1\mqx\source\kernel\mqx.c

This will give you the exact build.

988 次查看
LuisCasado
NXP Employee
NXP Employee

Hello,

For the #2, check the Getting started guide :

3 Porting User Applications to MQX RTOS version 4.1.0

Starting with the MQX RTOS version 4.1.0, the standard C99 integer and boolean types (from stdlib.h and stdbool.h) are

used instead of the proprietary MQX types. When porting the application to the MQX RTOS version 4.1.0, compilation

issues could occur. The psptypes_legacy.h header file is available and contains the definition of the MQX legacy types. This

file can be included in the MQX application to overcome most of the compilation problems caused by the change of types.

To avoid potential problems, adopt the C99 types in your application.

For the #1 I use to check the release notes version in the installed folder. But perhaps there is other place to look at.

Luis

0 项奖励
回复