-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
executable file
·45 lines (35 loc) · 1.5 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
This is a short setup guide for linux and mac:
you need to have installed:
avr-gcc (or gcc-avr on mac)
avr-libc
avrdude
you need to be part of the dialout group
Linux:
01: clone/fork this repo
02: compile serial_monitor/termios_monitor_linux.cpp
03: name the binary termios
04: move termios to ~/bin
05: log out and in again
06: termios should now be a valid command in the terminal
07: run ./rename_path.sh
08: goto program/empty_template
09: now call make with an arduino attached and everything should work
10: in order not to open ports with sudo all the time, add yourself to the dialout group: "sudo adduser username dialout" and check if it worked "groups username"
Mac:
01: clone/fork this repo
02: compile serial_monitor/termios_monitor_mac.cpp
03: name the binary termios
04: move termios to ~/bin
05: open ~/.bash_profile or if there is no ~/.bash_profile just open ~/.profile
06: add somewhere the line:
export PATH = /Users/your_user_name/bin:$PATH
07: log out and in again
08: termios should now be a valid command in the terminal
09: run ./rename_path.sh
10: if the avr tools aren't in /opt/local/bin
10.5: change the file mac_only.sh by changing the line NEW_DIR="/opt/local/bin" to the right path
11: if the Arduino serial port isn't something like /dev/tty.usbmodem*
11.5: change the file mac_only.sh by changing the line NEW_PORT="/dev/tty.usbmodem*" to the right port
12: run ./mac_only.sh
13: goto program/empty_template
14: now call make with an arduino attached and everything should work