mios_c_simulator_-_debugger
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mios_c_simulator_-_debugger [2007/01/26 22:52] – updated to v 0.0.7 audiocommander | mios_c_simulator_-_debugger [2008/05/21 02:13] (current) – Testing stryd_one | ||
---|---|---|---|
Line 37: | Line 37: | ||
| [[acmididefines|ACMidiDefines.h]] | | [[acmididefines|ACMidiDefines.h]] | ||
+ | You can download the files in a {{acsim.zip|.zip file here}}. If you make any updates, please send them to sstryd_one and he will update the zip for you. | ||
+ | |||
+ | |||
+ | <box 75% left bluelight|SCM Code News>I created a SCM page for ACSim, but as the current SCM-implementation of Xcode is quite lousy, I will wait for the Leopard version to complete this step. That means the next update 0.0.8 will follow in the near future and will contain some major changes. I am happy for anyone joining the dev team! | ||
+ | http:// | ||
+ | // | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | \\ | ||
To implement the ACSim files into your applicaton, you just have to follow the [[mios_c_simulator_-_debugger# | To implement the ACSim files into your applicaton, you just have to follow the [[mios_c_simulator_-_debugger# | ||
Line 93: | Line 103: | ||
\\ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
====== Setup Guide ====== | ====== Setup Guide ====== | ||
Line 99: | Line 113: | ||
[[how_to_use_xcode2_as_ide_on_a_mac|Setup Guide for XCode on Mac]]\\ | [[how_to_use_xcode2_as_ide_on_a_mac|Setup Guide for XCode on Mac]]\\ | ||
- | [[stryd_one_codeblocks|Setup Guide for Code:: | + | [[windows_toolchain_codeblocks|Extend your toolchain with Code:: |
[[application_development|General Development Info]] | [[application_development|General Development Info]] | ||
Line 106: | Line 120: | ||
\\ | \\ | ||
\\ | \\ | ||
- | Then proceed by configuring your main.h and main.c files: | + | Then proceed by configuring your main.c, and .h files: |
- | \\ | ||
- | == main.h == | ||
- | * you need to add some lines at the bottom of your main.h (or, if you don't have one, main.c ) - this is because debug_mios.c calls " | ||
- | |||
- | <code c> | ||
- | #ifdef _DEBUG_C | ||
- | // export functions that are called from within debug_mios.c | ||
- | // (e.g. to trigger DISPLAY_Init after sending...) | ||
- | extern void DISPLAY_Init(void); | ||
- | #endif | ||
- | </ | ||
- | |||
- | \\ | ||
== main.c == | == main.c == | ||
- | Minor modifications are required to your MIOS Application' | + | Minor modifications are required to your MIOS Application' |
- | * You need to add some lines at the top of your main.c - this is to avoid including headers for the PIC/MIOS Core module, when compiling a console app for debugging. Because of the #ifndef statement this does not change your syx-project code, so your app will compile as normal for the PIC! | + | * You need to edit some lines at the top of your main.c - this is to avoid including headers for the PIC/MIOS Core module, when compiling a console app for debugging. Because of the #ifndef statement this does not change your syx-project code, so your app will compile as normal for the PIC! |
Before: | Before: | ||
Line 140: | Line 141: | ||
#endif | #endif | ||
</ | </ | ||
+ | |||
+ | == main.h == | ||
+ | |||
+ | * you need to add some lines at the bottom of your main.h, or, if you don't have one, main.c - this is because debug_mios.c calls " | ||
+ | |||
+ | <code c> | ||
+ | #ifdef _DEBUG_C | ||
+ | // export functions that are called from within debug_mios.c | ||
+ | // (e.g. to trigger DISPLAY_Init after sending...) | ||
+ | extern void DISPLAY_Init(void); | ||
+ | #endif | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
\\ | \\ | ||
== ACSim_console.h == | == ACSim_console.h == | ||
- | * Choose your OS | + | * Choose your OS by enusering that only one of these lines is remarked (the one you DON'T want!) |
+ | * //#define _DEBUG_OS_WIN | ||
+ | * //#define _DEBUG_OS_MAC | ||
+ | | ||
* Select the LCD-Size | * Select the LCD-Size | ||
* Set the number of AIN-Lines | * Set the number of AIN-Lines |
mios_c_simulator_-_debugger.1169851962.txt.gz · Last modified: 2007/10/05 23:19 (external edit)