cookiecutter for arduino/teensy projects with platformIO and emacs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Cookiecutter platformio-Emacs

A cookiecutter template for arduino projects using platformIO and Emacs.


Install requirements, I have the following in my Emacs config file

(use-package irony-eldoc)
(use-package irony-mode) 
(use-package platformio-mode)
;; edit ino files with adruino mode. 
(add-to-list 'auto-mode-alist '("\\.ino$" . arduino-mode)) 
;; Enable irony for all c++ files, and platformio-mode only
;; when needed (platformio.ini present in project root).
(add-hook 'c++-mode-hook (lambda ()

;; Use irony's completion functions.
(add-hook 'irony-mode-hook
          (lambda ()
            (define-key irony-mode-map [remap completion-at-point]

            (define-key irony-mode-map [remap complete-symbol]


Largely based on the PlatformIO-mode documentation. See my website for a walk through of PlatformIO and Emacs use.


Install cookiecutter. Either


Or, clone the repo and

cookiecutter cookiecutter-platformio-emacs/

Suggestions welcome!