Merge pull request #478 from JohnieBraaf/patch-1

Update Hardware Debugging.md
This commit is contained in:
Dominic Clifton 2015-02-20 13:42:33 +00:00
commit 1fbc9087a0
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,12 @@
The code can be compiled with debugging information, you can then upload a debug version to a board via a JLink/St-Link debug adapter and step through the code in your IDE. The code can be compiled with debugging information, you can then upload a debug version to a board via a JLink/St-Link debug adapter and step through the code in your IDE.
More information about the necessary hardware can and setting up the eclipse IDE can be found int the wiki:
https://github.com/cleanflight/cleanflight/wiki/Debugging-in-Eclipse
A guide for visual studio can be found here:
http://visualgdb.com/tutorials/arm/st-link/
## Compilation options ## Compilation options
use `DEBUG=GDB` make argument. use `DEBUG=GDB` make argument.