mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: Add m8c-serial.
Use serial port as backend. * gnu/packages/electronics.scm (m8c-serial): New variable. Change-Id: If66e93efb4d21aa3b147d415ed15041b24ec8323
This commit is contained in:
parent
feb258fda2
commit
ecc22040d9
1 changed files with 14 additions and 0 deletions
|
|
@ -1274,6 +1274,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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue