@@ -25,7 +25,7 @@ This allows gdb to use our .gdbinit files without specifying them on the command
### OpenOCD
If you want to debug code or replace the bootloader, you need OpenOCD and GDB.
Get OpenOCD from [Maxim](https://github.com/maximmbed/openocd) and checkout the `max32xxx` branch. Run `git submodule init && git submodule update`.
Get OpenOCD from [Maxim](https://github.com/maximmbed/openocd) and checkout the `max32xxx` branch. Run `git submodule update --init`.
Build using `./bootstrap`, `./configure` and 'make'. Make sure that the `CMSIS-DAP Compliant Debugger` is set to `yes(auto)` after running `./configure` (you might need to install libusb and other USB related libaries).
If you get errors making the documentation you can `touch doc/openocd.info` to skip it and continue with 'make'.