Can't find a source file at "/opt/jenkins/workspace....

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

Can't find a source file at "/opt/jenkins/workspace....

1,998 次查看
ve3id
Contributor III

Full error message:  Can't find a source file at "/opt/jenkins/workspace/Libraries_RedEye_24_9/Redlib/redlib_clib/armv7e-m_fpu/../src/printf.c"

I am building a system using mcuexpresso IDE v24.9 and  Brennan Ball's nrf24l01 device-specific code. O/S is OpenSuSE Leap 15.6

Running at full speed, I can see it sending from MOSI and driving CSN, CE, and SCK correctly. No MISO though, which is expected if it is not driving the nrf24l01 as it expects.

When i go down to single-step mode in the iDE,  I am getting the above error when it is trying to use a printf function!

1) I have #include stdio.h, which should handle references to printf

2) I have used printf and sprintf previously in other projects without this problem

3) I have never knowingly used jenkins, and any searches  done here only give me Codewarrior references and KDS, but nothing for mucexpresso.

Am I missing something in my configuration?

Any help appreciated!

cheers,

Nigel

 

 

 

0 项奖励
回复
6 回复数

1,958 次查看
ve3id
Contributor III

Thanks for your reply.

I am using the FRDM-K64F, which uses the MK64FN1MOVLL12 chip.

 Yes, I have heard the recommendatuion to go to Ubuntu, most recently form the supplier of my logic analysrer!

I am going to try setting it up in a VM, have too much on this laptop to change all!

 

 

 

 

0 项奖励
回复

1,941 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello ve3id,

There might be new issues when using a VM. However, you can have a try. Still, we highly recommend using Ubuntu.

Please let us know if the issue persists. We'll further assist you based on that.

Have a nice day!

Celeste

0 项奖励
回复

1,925 次查看
ve3id
Contributor III

Well Celeste, I have just dug myself out of that rabbit hole.  You are right, ubuntu has issues with VMs, like it won't boot after install! I also tried installing it on my backup laptop, and seemed OK there but MCUExpresso gave me an error missing libncursesw, but after trying to fix that it would not boot. Running their boot repair said it worked but didn't, so I am presently loading OpenSuSE back onto that machine.  So I am back to the original problem of missing jenkins - if nobody can help me with that I guess I'm on my own!  I've managed to use MCUExpresso for a few years under openSuSE and KDS before that, so my fifty years of hacking may let me fix that too!

 

0 项奖励
回复

1,912 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hi ve3id, I don't really have any good ideas on my side. Let's see if any other contributors have new insights. Also looking forward to a good result from you. You are welcome to share your experience in the community after you succeed.

0 项奖励
回复

1,890 次查看
ve3id
Contributor III

Well, upon further examination it seems that the library function call that I was single-stepping was put in there by the driver writer for debugging purposes - I didn't need it in the first place!  I now have mcuexpresso running on the ubuntu 24 system but it takes 7 minutes to do a compile and hangs forever trying to connect to the debugger - then I found out that mcuexpresso is not supported under ubuntu v24, a fact which I would have appreciated knowing two days ago!

I have now switched back to using it under OpenSuSE leap 15.6 which I have been doing before and am happily continuing on with my project.  I don't have time to play with ubuntu!

 

0 项奖励
回复

1,962 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello @ve3id ,

Would you please confirm which MCU you are using?

Also I would recommend switching to Ubuntu, as it's the only supported distribution and that may be causing issues.

Regards,
Gustavo

0 项奖励
回复