MQX build fails in DS-5 -- Error: C9912E: No --cpu selected

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

MQX build fails in DS-5 -- Error: C9912E: No --cpu selected

2,149件の閲覧回数
richard_stulens
NXP Employee
NXP Employee

Building MQX with a non-full DS-5 license can fail with below error:

Error: C9912E: No --cpu selected

Error: L6636E: Pre-processor step failed for .....

The problem is that the linker uses the pre-processor to process the scatter file without specifying what compiler (cpu) to use. This is invoked by the command on the first line of the scatter file:

#! armcc -E

Since only the pre-processor is used, it does not matter what compiler (cpu type) is used. However, the default compiler is not licensed in the limited versions of DS-5 and this causes the error.

To fix the issue, simply add the cpu type to the command line in the scatter file as follows:

#! armcc -E --cpu Cortex-A5.neon

Scatter files (*.scf) in MQX 4.0.x are located at ….\lib\twrvf65gs10_a5.ds5\debug\bsp\

Users with a full DS-5 license will not see this problem since all CPU's are enabled/licensed.

Best regards,

Richard

ラベル(2)
0 件の賞賛
返信
0 返答(返信)