- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are trying to create a build environment for a project which uses PSoC 4 4100. We want to be able to use Modus Toolbox IDE for development. We also would like the project have a cmake build if we need to continue application development of the project outside of Modus Toolbox IDE.
From our exploration, we find that Modus Toolbox supports toolchain to be used with cmake but does not use cmake inside of the IDE.
1. Can we use Modus Toolbox IDE with cmake build environment instead of auto generated make file?
2. If we need to setup a cmake build environment, do we need to manually write a cmake file? are there any resources to generate cmake from Modus Toolbox project?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bharath_tf ,
Unfortunately, ModusToolbox does not have a provision for CMake as I have mentioned before and as for the Eclipse IDE, we have not tested the possiblity to hook in a CMake based flow into eclipse (there may be some plugins) but it probably won't integrate well with the quick panel of ModusToolbox.
As an alternative you maybe can take a look at the following github link for refernce to CMake based projects for PSoC:
http://github.com/medvid/psoc4.cmake
It is compatible with all ModusToolbox BSPs, middleware and code examples.
It integrates nicely with Visual Studio code and its great CMake plugin. Program/Debug also works with both OpenOCD and JLink.
Of course there is zero integration with ModusToolbox “make” targets, Eclipse quick launch panel shortcuts etc..
Maybe this is useful for you.
Note it is provided as “open-source” with zero support.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bharath_tf ,
As you already know, ModusToolbox uses GNU Make and many operations in the ModusToolbox™ ecosystem are built upon the GNU Make system (https://www.gnu.org/software/make/), so it is a fundamental part of the ecosystem. In fact, even when you use the IDE, many operations just call the underlying make operation so that you get the same behaviour no matter how you run the operation. Hence using CMake inside ModusToolbox will be difficult since its based on GNU Make.
I will check on this more internally and get back to you if the CMake environment can be setup inside ModusToolbox IDE.
Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AlenAn14
Thank you for the response. Do let us know if you have any update from your internal team on using CMake environment inside of Modus Toolbox.
Best regards,
Bharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bharath_tf ,
Unfortunately, ModusToolbox does not have a provision for CMake as I have mentioned before and as for the Eclipse IDE, we have not tested the possiblity to hook in a CMake based flow into eclipse (there may be some plugins) but it probably won't integrate well with the quick panel of ModusToolbox.
As an alternative you maybe can take a look at the following github link for refernce to CMake based projects for PSoC:
http://github.com/medvid/psoc4.cmake
It is compatible with all ModusToolbox BSPs, middleware and code examples.
It integrates nicely with Visual Studio code and its great CMake plugin. Program/Debug also works with both OpenOCD and JLink.
Of course there is zero integration with ModusToolbox “make” targets, Eclipse quick launch panel shortcuts etc..
Maybe this is useful for you.
Note it is provided as “open-source” with zero support.
Warm Regards
Alen