You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-7Lines changed: 37 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,29 @@ Firmware files, including bootloaders and app hex files for the ATmega16U2 and t
5
5
6
6
As of 8/25/2013, you *MUST* create your own toolchain (avr-gcc, avrdude, etc.) because the Atmega256RFR2 is a fairly new chip and Arduino binaries of these are from 2011 era.
7
7
8
+
--------
9
+
OPTION 1
10
+
--------
11
+
12
+
Download the pre-configured Pinoccio VM. This is a 3.4GB torrent containing a VM template that
13
+
can be imported into either Virtualbox or VMWare Workstation/Fusion.
See "Compiling sketches" later in this README for compiling sketches in the Arduino IDE
20
+
21
+
--------
22
+
OPTION 2
23
+
--------
24
+
25
+
Build the toolchain according to the instructions below:
26
+
27
+
8
28
install-avr-gcc.sh (for OS X) will help you in grabbing and building the newest avr-gcc, avrdude, etc.
9
29
install-avr-gcc-linux.sh has been tested on debian 6.x 'squeeze' and should also work on the current stable 7.x 'wheezy' (but also read below for ready-made Debian packages)
10
30
11
-
--
12
-
13
31
There are a few pieces to the puzzle that need to fit together to make it all play nicely..
14
32
15
33
1) Install Arduino 1.5.4 beta
@@ -33,12 +51,10 @@ There are a few pieces to the puzzle that need to fit together to make it all pl
33
51
34
52
This step is optional if you just want to run a minimal sketch on the Pinoccio, but it adds support for various peripherals.
35
53
36
-
You should then be able to open one of the Pinoccio examples using Open->libraries->Pinoccio->[example] and compile it. Make sure your Board is set to Pinoccio and the Port is set to your serial port.
37
-
38
-
You need to `#include <SPI.h>` and `#include <Wire.h>` at the top of your sketch, since the Arduino IDE does not support libraries depending on other libraries yet.
39
-
54
+
---------
40
55
Toolchain
41
-
=========
56
+
---------
57
+
42
58
For using the atmega256rfr2 target, recent and/or patched versions of
43
59
the avr toolchain are needed. In particular:
44
60
@@ -60,11 +76,25 @@ easier if you replace the linux script's prefix with the one from the
60
76
other script (for OS X). Otherwise, redirect the symlinks manually
61
77
(they're in pinoccio-arduino-library/examples/Shell/Default/build/core).
62
78
79
+
---------------
63
80
Debian / Ubuntu
64
81
---------------
82
+
65
83
If you're on Debian or Ubuntu, you can just grab read-made debs:
66
84
- Avrdude 6.0 is available from Debian jessie
67
85
- bin-utils 2.23.1-1 is available from Debian jessie and includes the
68
86
needed patches
69
87
- avr-libc is [available from here](http://apt.stderr.nl/pool/main/a/avr-libc/).
70
88
- gcc-avr is [available from here](http://apt.stderr.nl/pool/main/g/gcc-avr/).
89
+
90
+
91
+
92
+
------------------
93
+
Compiling Sketches
94
+
------------------
95
+
96
+
You should then be able to open one of the Pinoccio examples using Open->libraries->Pinoccio->[example] and compile it. Make sure your Board is set to Pinoccio and the Port is set to your serial port.
97
+
98
+
You need to `#include <SPI.h>` and `#include <Wire.h>` at the top of your sketch, since the Arduino IDE does not support libraries depending on other libraries yet.
0 commit comments