Help - Tutorial for cross-compilation makefile

CodeLite installation/troubleshooting forum
Velero
CodeLite Curious
Posts: 1
Joined: Fri Sep 18, 2020 12:04 pm
Genuine User: Yes
IDE Question: C++
Contact:

Help - Tutorial for cross-compilation makefile

Post by Velero »

Hi!

Where could I find a tutorial for using a makefile to cross-compile against a Cortex-M MCU?

I followed the wiki page for CustomMakefiles but it wasn't of much help.

Similarly, I performed a search on the forum and the topics I've found are either very old or unanswered.

Thank you an best regards,
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Help - Tutorial for cross-compilation makefile

Post by eranif »

The recommended way is to create a "File System Workspace"
When you can simply enter the command to build in the project settings
You can also add multiple targets

see this wiki page:
https://wiki.codelite.org/pmwiki.php/Ma ... mWorkspace
Make sure you have read the HOW TO POST thread
Post Reply