16 lines
303 B
Markdown
16 lines
303 B
Markdown
# DI-Net Common Firmware Library
|
|
|
|
# Build and run tests (dncm_main CPU)
|
|
|
|
Run openocd: `make gdb-openocd`
|
|
|
|
Then build the firmware in debug mode and
|
|
execute gdb on the test file.
|
|
|
|
```
|
|
cd tests; make
|
|
cd tests; DEBUG=1 make
|
|
cd tests; DEBUG=1 TEST=blinky.c make
|
|
cd tests; DEBUG=1 TEST=blinky.c make gdb
|
|
```
|