LPC mcuxpresso LOOSES master slave link upon renaming projects

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

LPC mcuxpresso LOOSES master slave link upon renaming projects

1,461 次查看
EinHexenMeister
Contributor I

i have a working lpc55s69 master slave project and as its design progresses i like to spawn new milestones to add some functionality.

usual automatic procedure : after a "clean" command the core_0 master project builds followed by the core_1 slave project build.
same applies to debug, one core loads 1st followed by the other.

now i rename the core0 and core1 projects.

i.e. adc_test_core0_m and adc_test_core1_s names being changed to
adc_usb_core0_m and adc_usb_core1_s within mcuxpresso.

now the slave does not automatically build after the master and only the master get loaded, NOT being followed by the slave

i did update the "project -> c/c++ build -> settings -> multicore -> multicore slaves" entry.

i do not know where to fix the now disturbed link connections to get both cores build and debug-loaded in an automatic fashion as before the projects name change.

it is extremely cumbersome to create a new mcuxpresso project with default "hello world" master slaves to create a working multi core setup, followed by adding all the code to main and all the other project files including all the references to project -> c/c++ build -> setup -> includes.

where are those lost links and are they easy to fix / restore.

0 项奖励
回复
3 回复数

1,427 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @EinHexenMeister 

Refer to your description, test on my side, use hello_world demo, project  original name as below:

Alice_Yang_0-1667789248708.png

After change:

Alice_Yang_1-1667789333028.png

you can see there is no error in Console.

 

Steps as below:

1) Change master and slave project name:

Alice_Yang_2-1667789394653.png

 

2) Re-build slave project,

3)Change Slave object in Master project:

Alice_Yang_3-1667789418358.png

4) Build Master project.

 

BR

Alice

 

 

0 项奖励
回复

1,437 次查看
EinHexenMeister
Contributor I

thanks for the advise at the BOTTOM of this writing, but this was already done and indicated in my original problem description as below

" i did update the "project -> c/c++ build -> settings -> multicore -> multicore slaves" entry. "

as originally indicated, the following does no longer work after renaming both project files

" usual automatic procedure : after a "clean" command the core_0 master project builds followed by the core_1 slave project build.
same applies to debug, one core loads 1st, automatically followed by the other. "

what makes it fail is the following rename procedure indicated below

" now i rename the core0 and core1 projects.

i.e. adc_test_core0_m and adc_test_core1_s names being changed to
adc_usb_core0_m and adc_usb_core1_s within mcuxpresso. "


BOTTOM :

advise :

" 1) After change slave project name, please clean this project, then build again. "

" 2) In Master project, refer to below picture change to your new named .axf.o file "

0 项奖励
回复

1,447 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @EinHexenMeister 

 

1) After change slave project name, please clean this project, then build again.

2) In Master project, refer to below picture change to your new named .axf.o file :

 

Alice_Yang_0-1667443457655.png

 

BR

Alice

 

0 项奖励
回复