mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-08 14:10:38 +02:00
gnu: Add m8c-serial.
Use serial port as backend. * gnu/packages/electronics.scm (m8c-serial): New variable. Change-Id: If66e93efb4d21aa3b147d415ed15041b24ec8323 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
committed by
Rutherther
parent
4a3f1ea19a
commit
dfdc319fe0
@@ -1266,6 +1266,20 @@ which allows one to install the M8 firmware on any Teensy.")
|
||||
license:public-domain
|
||||
license:zlib))))
|
||||
|
||||
(define-public m8c-serial
|
||||
(package
|
||||
(inherit m8c)
|
||||
(name "m8c-serial")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments m8c)
|
||||
((#:configure-flags flags)
|
||||
#~(cons* "-DUSE_LIBSERIAL=ON"
|
||||
(delete "-DUSE_LIBUSB=ON" #$flags)))))
|
||||
(inputs
|
||||
(modify-inputs (package-inputs m8c)
|
||||
(replace "libusb" libserialport)))
|
||||
(synopsis "Cross-platform M8 tracker headless client - serial backend")))
|
||||
|
||||
(define-public magic
|
||||
(package
|
||||
(name "magic")
|
||||
|
||||
Reference in New Issue
Block a user