Continuing with the previous topic, the other way to utilize the Code::Block IDE, for ARM based development is using the Customized makefile. Many sample application or sample codes for different ARM controller are available for download. These sample projects can be used as it is with Code::Blocks IDE.
Requirements
Assembler/Compiler required by makefile.
Code::Blocks IDE.
Start New Project
Go to File -> New -> Project.
Select Empty Project.
Add all files in the downloaded project including makefile.
Open Project Properties, and enter Makefile and tick the “This is a custom Makefile” option.
In Project Build option, set Selected Compiler as “GNU GCC Compiler” or select compiler, which can execute the makefile.
Try to build the project, if everything is OK, the Build Log shows “Process terminated with status 0”.
If failed, check the make command, open Project Build Options, open the “Make” Commands” tab. Insert the proper commands, used to build from makefile.
Note:The project directory should be managed as per the makefile.
No comments:
Post a Comment