(;; Tell projectile about how to compile this project (nil . ((projectile-project-compilation-cmd . "make -C firmware/ TOOL_PREFIX=/opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-") (projectile-project-test-cmd . "test/src/tr_test/test.py") (python-shell-interpreter . "python3") (gud-gdb-command-name . "/opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gdb -i=mi") (eval . (defun tr-serial() (interactive) (make-serial-process :port "/dev/ttyUSB0" :speed 115200 :name "tr-watch terminal" :stopbits 1 :bytesize 8) (switch-to-buffer "tr-watch terminal"))))) ;; Automatically run python-black on python buffers when they are saved (python-mode . ((eval . (python-black-on-save-mode)))))