Skip to content
Discussion options

You must be logged in to vote

Hey!
This is some kind of starting point for how a openocd + lldb-dap could look like (have not test it).

(add-to-list
 'dape-configs
 `(lldb-dap-openocd
   ,@(alist-get 'lldb-dap dape-configs)
   fn (lambda (config)
        (let* ((default-directory (dape--guess-root config))
               (openocd
                ;; Run openocd with config files from `openocd-files' property
                (start-process-shell-command
                 "openocd" "*openocd*"
                 (concat "openocd"
                         (mapconcat (lambda (file)
                                      (concat " -f " (shell-quote-argument file)))
                                    (append (dape-config-get co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ssilnicki-dev
Comment options

Answer selected by ssilnicki-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants