Commit 9094604f authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Include unit file

parent 90bb5ab3
...@@ -15,6 +15,8 @@ ReadADC.out: ReadADC.c ...@@ -15,6 +15,8 @@ ReadADC.out: ReadADC.c
install: text.bin text1.bin install: text.bin text1.bin
install -d $(DESTDIR)/usr/lib/firmware install -d $(DESTDIR)/usr/lib/firmware
install -m 0644 $? $(DESTDIR)/usr/lib/firmware install -m 0644 $? $(DESTDIR)/usr/lib/firmware
install -d $(DESTDIR)/usr/lib/systemd/system
install -m 0644 a2720-fw.service $(DESTDIR)/usr/lib/systemd/system
clean: clean:
rm -f *.asm *.map *.out *.obj *.bin rm -f *.asm *.map *.out *.obj *.bin
Description=Load A2720 PRU firmware systemd-modules-load.service
ExecStart=/bin/sh -c 'a2720ctl load /usr/lib/firmware/text.bin /usr/lib/firmware/text1.bin'
ExecStart=/bin/sh -c 'a2720ctl file'
ExecStart=/bin/sh -c 'a2720ctl start'
ExecStop=/bin/sh -c 'a2720ctl stop'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment