add schematic pdfs and firmware code

This commit is contained in:
cuu
2021-03-29 19:32:40 +08:00
parent 7c8c69ab83
commit 9278b6bad3
35 changed files with 40112 additions and 6891 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=devterm printer main process
After=devterm-socat
[Service]
Type=simple
ExecStart=/usr/local/bin/devterm_thermal_printer.elf
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,13 @@
[Unit]
Description=socat as virtual serial port
[Service]
Type=simple
ExecStart=socat -d -d pty,link=/tmp/DEVTERM_PRINTER_OUT,raw,echo=0 pty,link=/tmp/DEVTERM_PRINTER_IN,raw,echo=0
ExecStartPost=/usr/local/bin/devterm_socat.sh
Restart=on-failure
RestartSec=2
[Install]
WantedBy=multi-user.target