Upgrade to SDK 2.7.0 Excludes directories from build

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

Upgrade to SDK 2.7.0 Excludes directories from build

811 次查看
jeffthompson
Contributor V

I have MCUXpresso 11.1.0 and used the "Refresh SDK Components" button in "Project Explorer" to update from SDK 2.6.2 to 2.7.0. My attempt to build produced unusual warnings about things like 'SystemInit' and 'main' being undefined. Tracking down the problem revealed that a LOT of my folders were being excluded from the build. Also, the format of the include directories was changed from '../folder' to '${workspace_loc:/${ProjName}/folder', with the originals still in place. Did I miss some step in doing this update? Is this normal?

标签 (1)
标记 (1)
1 回复

736 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hello Jeff,

 

SDK Project Refresh will only pull in files from a newer SDK than the one they were created with. I tried to replicate this issue by adding a new folder to an SDK project and linking the folder to my project in the Includes and in Paths and Symbols.

pastedImage_2.png

However, after I refreshed SDK components my folder was still included into my project and the include directories remain the same. Please check my snippet below after refresh.

pastedImage_5.png

Maybe you can share steps to replicate your issue on my side? Also I did not face any compiling issues.

 

Best regards,

Felipe

0 项奖励
回复