Before you use CoIDE to start your project, you need to config the GCC compiler and debugger at first.
CooCox suggest you to choose ARM GCC as the compiler since it is from ARM official. If you want to know more details about ARM GCC, please click here. In additional, you can also choose the other GCC compiler such as CodeSoucery GCC.
ARM GCC 4.7 Features:
- All GCC 4.7 features, plus latest mainline features
- Additional code size optimizations
- Newlib-nano: newlib branch optimized for code size
Learn more ARM GCC 4.7 function
Download: GCC ARM Embedded
As CoIDE support different GCC compiler, you need to pay attention to the following point when you switch between the compilers:
- The different compilers have different C libraries, for example: ARM GCC have a base C Library and Semihosting Library, Retarget Library. However, Code Soucery GCC only have the base C Library. See: Project Configuration
- ARM GCC and CodeSourcery GCC use different link.ld when they compile the same project. CoIDE will generate different link.ld when you create the project, so it is strongly recommended of you to set the GCC compiler before you start.
- If you want to use ARM GCC to compiler the project you created under Code Sourcery GCC, you need to delete the Build.xml, link.ld, memory.ld. Then check a component and reconfigure the project after setting the GCC.
Then you need to do the following operations.
After set the GCC Toolchain, you can use the CoIDE to create a project and try the other function.
See: CoIDE QuickStart.