nxp-mcuxpresso / mcux-sdk

MCUXpresso SDK
BSD 3-Clause "New" or "Revised" License
323 stars 142 forks source link

cmake: make include CMSIS component as optional #147

Closed mcuxsusan closed 10 months ago

mcuxsusan commented 10 months ago

Prerequisites

Describe the pull request This PR want to improve the #126. Background: since MCUX_2.13.0 release, the cmsis folder is put in a separate repository. In case user does not pull the CMSIS repository and use his own implementation of CMSIS, the cmake build system should also work, zephyr is one of the cases. This PR makes the include of CMSIS components as OPTIONAL, thus the cmake build system could also work with user provided CMSIS files smoothly.

mcuxsusan commented 10 months ago

@mmahadevan108, could you please help check this pr? This aims to improve your previous pr https://github.com/nxp-mcuxpresso/mcux-sdk/pull/126. Sorry for the late update.

mcuxsusan commented 10 months ago

mistakenly be merged by a fast-forward update, let me know if you have any concern.