Update such that tests pass for v1.2

This includes minor updates for the th different MCU variant, and bugfixes.

Resolves #7
This commit is contained in:
2020-06-03 04:51:19 +00:00
parent 0f0cb73fa5
commit cdf0f4ffc9
22 changed files with 649 additions and 57 deletions

View File

@@ -1,7 +1,12 @@
(;; Tell projectile about how to compile this project
(nil . ((projectile-project-compilation-cmd . "make -C firmware/ BOARD=devboard")
(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 . "arm-none-eabi-gdb -i=mi")))
(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)))))