[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode 41789bc 006/107: Add convenience function ard
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode 41789bc 006/107: Add convenience function arduino-upload to flash a chip. |
Date: |
Sun, 29 Aug 2021 10:58:06 -0400 (EDT) |
branch: elpa/arduino-mode
commit 41789bcdd88e171b198b112398dd14458d991717
Author: Peter Oliver <git@mavit.org.uk>
Commit: Peter Oliver <git@mavit.org.uk>
Add convenience function arduino-upload to flash a chip.
---
arduino-mode.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arduino-mode.el b/arduino-mode.el
index d6291b4..d3a6c50 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -109,6 +109,15 @@ Each list item should be a regexp matching a single
identifier." :group 'arduino
(easy-menu-define arduino-menu arduino-mode-map "Arduino Mode Commands"
(cons "Arduino" (c-lang-const c-mode-menu arduino)))
+(defun arduino-upload ()
+ "Upload a sketch to an Arduino board.
+
+You will need a suitable Makefile. See URL
+`http://mjo.tc/atelier/2009/02/arduino-cli.html'."
+ (interactive)
+ (make-local-variable 'compile-command)
+ (compile "make -k upload"))
+
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.pde\\'" . arduino-mode))
- [nongnu] elpa/arduino-mode e8fa204 054/107: add file meta-data headers, (continued)
- [nongnu] elpa/arduino-mode e8fa204 054/107: add file meta-data headers, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 9b45a04 022/107: Merge pull request #4 from milkypostman/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b08dcbb 037/107: Warn if project loading/creation files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode c5af9a6 055/107: add keybinding for open source file with Arduino IDE, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode edf56c2 049/107: add two more commands to install boards and libraries, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 8881f12 062/107: fix void variable ede-arduino-preferences-file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode fe17c8d 070/107: minor updates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 8159916 074/107: [feature] display spinner for Arduino processes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 47a0689 075/107: bump version, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d70f0cc 077/107: Merge tag 'v1.2' into develop, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 41789bc 006/107: Add convenience function arduino-upload to flash a chip.,
ELPA Syncer <=
- [nongnu] elpa/arduino-mode a409aa0 008/107: Automatically create a skeleton Makefile., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 2a71e75 012/107: Use correct version of compiled code for GNU Emacs., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3cc39d9 013/107: Add bindings for arduino-upload., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 5d10eca 002/107: add imenu support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0f73f82 004/107: highlight builtins for serial communication, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode dbb523c 005/107: Include additional keywords found in Arduino version 0018., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 16e1d57 010/107: Add init file., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode f4fd0e8 017/107: added autoload on .ino files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 68c1661 019/107: Add Version header., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1fc4b2a 020/107: Add missing autoload cookie, ELPA Syncer, 2021/08/29