rtel wrote on Wednesday, March 23, 2005:
When I started the Cygnal port I emailed Cygnal technical support with a similar question. They were good enough to send me a sample project that demonstrated how to use the IDE with SDCC. You can use the FreeRTOS Cygnal project for the same purpose. It is best to download the FreeRTOS source code, open the project file within the IDE and copy it!
Basically you setup a batch file to perform the build, then setup the IDE to call the batch file. You have to ensure the compiler flags are configured to generate debug information that the IDE can understand (this can be seen from the FreeRTOS source code and makefile).
Here is a section of the email I received from Cygnal (point 2 is the most important for you):
"1. Open the project and select Project->Target Build Configuration. Choose Execute batch file on Build Command. Select the batch file "build.bat" from the attached project. This batch file can be modified to build any project by changing the paths to point at that project. Clicking the build button in the IDE will build the project.
2. To use the watch window with SDCC, the IDE must be configured to use the Dunfield tool chain. This can be done by opening Project->Tool Chain Integration and selecting Dunfield from the vendor pull down list.
After completing these steps you will be able to build and fully debug your project through the IDE."