emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/arduino-mode 01cb165 096/107: plan to support "arduino-cli


From: ELPA Syncer
Subject: [nongnu] elpa/arduino-mode 01cb165 096/107: plan to support "arduino-cli" command-line tools
Date: Sun, 29 Aug 2021 10:58:23 -0400 (EDT)

branch: elpa/arduino-mode
commit 01cb165931d0a4b0f27756c05438fa0e7894c236
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    plan to support "arduino-cli" command-line tools
---
 flycheck-arduino.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flycheck-arduino.el b/flycheck-arduino.el
index 9e20bd2..d246174 100644
--- a/flycheck-arduino.el
+++ b/flycheck-arduino.el
@@ -9,11 +9,15 @@
 (require 'flycheck)
 (require 'arduino-mode)
 
+(defvar flycheck-arduino-board nil
+  "The Arduino board to be used for debugging Sketch.")
+
 (flycheck-define-checker arduino
   "Arduino checker using Arduino IDE. (This requires higher than version 1.5+).
 See 
`https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc'."
   ;; source, source-inplace, source-original
   :command ("arduino" "--verify" source)
+  ;; :command `("arduino-cli" "debug" "-b" ,flycheck-arduino-board 
,(projectile-project-root))
   :error-patterns
   (;; I don't make sure about this warning... How to emit a warning?
    (warning line-start (file-name) ":" line ":" column ": warning: " (message) 
line-end)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]