Skip to content

Commit

Permalink
module rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvenn committed Nov 13, 2017
1 parent c48767b commit 72f7ff5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/arduino_leonardo_serial_usb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,15 @@ ${arduino_builder}:
${firmware}: ${arduino_builder}
./arduino-1.8.5/arduino-builder -build-options-file ./build.options.json -build-path ${CURDIR}/output test/test.ino

test:
-sudo insmod ../vhci/vhci-hcd-1.14/usb-vhci-iocifc.ko
modules:
-sudo insmod ../vhci/vhci-hcd-1.14/usb-vhci-hcd.ko
-sudo insmod ../vhci/vhci-hcd-1.14/usb-vhci-iocifc.ko

rmmodules:
-sudo rmmod usb-vhci-iocifc
-sudo rmmod usb-vhci-hcd

test: modules
@echo "-----------------------------------"
@echo "start something listening on the new serial port: miniterm.py /dev/ttyACM0 115200"
sudo ${board}
Expand Down

0 comments on commit 72f7ff5

Please sign in to comment.