This in turn requires that you have the utility makedepend installed. If you start tinkering with the code, and especially if you add new files, you will want to rebuild the dependencies by running make depend. A basic cross-platform dependencies file is provided. The makefiles also include a dependencies file, called "p". The file makefile.cfg is not in this repository it should be written by you (unless the defaults are fine for your workstation setup). Each makefile has a short section near the top to document which macros you can put in makefile.cfg. Most makefiles include a file called "makefile.cfg" for configuration. It is most convenient if you rename the correct makefile (for your system) to Makefile, so that you don't have to specify it on the command line each time you run make. Use the one that is appropriate for your system. Several makefiles are provided for various compilers. All have been tested under Microsoft Windows and Linux.įor the purpose of troubleshooting, pre-build versions of the "hosted" variant of the Black Magic firmware are also available for Windows and Linux (see Releases). There are GUI utilities and text-mode utilities. Another is a helper tool for a specific family of micro-controllers ( elf-postlink). Some are small, such as bmscan to locate the (virtual) serial port at which the Black Magic Probe is found (or scans the local network for ctxLink). Later, I also added specific notes on ctxLink, a derivative of the Black Magic Probe that offers a WiFi connection. With this guide, I set out to give a more comprehensive account. While setting up and using the Black Magic Probe has also been covered in wikis and blogs, I found that those description often only scratched the surface of the subject. As a result, the GNU Debugger can directly connect to the Black Magic Probe. A distinguishing feature of the Black Magic Probe is that it embeds a GDB server. The Black Magic Probe is a relatively cheap JTAG/SWD probe for ARM Cortex micro-controllers. This guide covers setting up and using the Black Magic Probe. Embedded Debugging with the Black Magic Probe
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |