~ruther/vhdl-spi-2

vhdl-spi-2/stm_spi_funduino/.dir-locals.el -rw-r--r-- 1.0 KiB
330f5837 — Rutherther docs: add readme 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
((nil . ((dape-configs . ((gdb ensure
      (lambda
        (config)
        (dape-ensure-command config)
        (let*
            ((default-directory
              (or
               (dape-config-get config 'command-cwd)
               default-directory))
             (output
              (shell-command-to-string "arm-none-eabi-gdb --version"))
             (version
              (save-match-data
                (when
                    (string-match "GNU gdb \\(?:(.*) \\)?\\([0-9.]+\\)" output)
                  (string-to-number
                   (match-string 1 output))))))
          (unless
              (>= version 14.1)
            (user-error "Requires gdb version >= 14.1"))))
      modes
      (c-mode c-ts-mode c++-mode c++-ts-mode)
      command-cwd dape-command-cwd command "arm-none-eabi-gdb" command-args
      ("--interpreter=dap" "--x=gdb.script" "bin/spi-num-receiver.elf")
      defer-launch-attach t :request "launch" :program "bin/spi-num-receiver.elf" :args
      []
      :stopAtBeginningOfMainSubprogram nil))))))
Do not follow this link