Please follow the repository commit history for the integration steps.
https://github.com/rkprojects/openlink-v1-cmsis-dap
http://wiki.geniekits.com/usb_express/cmsis-dap
- Goto "Run"->"Debug Configurations..."->"Debugger"
- Add "-s /usr/share/openocd/scripts" to the "OpenOCD Options"
- Set "User Defined" radio button
- Edit *Debug.cfg file and apply below changes
-source [find interface/stlink.cfg]
+source [find interface/cmsis-dap.cfg]
-transport select "hla_swd"
+transport select swd
openocd -f openocd-daplink.cfg -c "program filename.elf verify reset exit"
openocd -f openocd-daplink.cfg -c "program filename.bin exit 0x08000000"