make[1]:***[.o] Error 1 issue when using SDK Component Manager

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

make[1]:***[.o] Error 1 issue when using SDK Component Manager

528 次查看
Kbrannan
Contributor II

I'm trying to combine Edgefast BLE SDK examples. I begin with evkbmimxrt1170_peripheral_beacon and test. Next, I attempt to add a bluetooth profile using the SDK component manager and add middleware.edgefast_bluetooth.profile.hts. After adding, I get build errors without changing any includes or anything in source. 

A couple of Template folders are downloaded and I can delete those, but I cannot tell what other changes are being made to cause an issue.

The only files that prompt for Compare/Keep/Replace are from the Source folder (main.c and others). 

What else is the import tool changing? Is there a better way to add the driver files I need?

Kbrannan_0-1713908566747.png

 

 

 

0 项奖励
回复
2 回复数

341 次查看
AdrianOltean
NXP Employee
NXP Employee

You add/remove components by using the Manage SDK Components button from Project Explorer, so you got this right. Regarding the extra "template" folders you see after updating the project, they shouldn't be there in most of the cases. Long story short, the example project you started with, already has most (if not all) the files you'll also notice in the "template" folders. So it should be safe to delete the files once you confirm that the same files are found outside the "template" folders. This is something fixed in the upcoming IDE v11.10.0.

Thanks,

Adrian

498 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

When adding middleware, drivers or any king of SW using Manage SDK components (which is the tool you are using as far as I understand), some compile errors might appear since it can create conflicts in the project. Actually, this is explained in the MCUXpresso IDE User Guide in section 8.

 

One possible workaround is to manually add the drivers, middleware, etc. For instance, if you would like to use the HTS profile, you can import the HTS example and copy the corresponding files into your project.

 

I hope this helps,

Daniel.

0 项奖励
回复