Commit dffad542 authored by carlosperate's avatar carlosperate

Add Arduino Yun board.

parent 4ee72983
......@@ -55,6 +55,7 @@ class ServerCompilerSettings(object):
# Class dictionary to define Arduino board types, static content
__arduino_types = {'Uno': 'arduino:avr:uno',
'Leonardo': 'arduino:avr:leonardo',
'Yun': 'arduino:avr:leonardo',
'Mega': 'arduino:avr:mega',
'Duemilanove_328p': 'arduino:avr:diecimila',
'Duemilanove_168p':
......
......@@ -43,7 +43,7 @@ Blockly.Arduino.Boards.generateAnalogIo = function(pinStart, pinEnd) {
return analogIo;
};
/**
/**
* A list of types tasks that the pins can be assigned. This is used to keep
* track of which pins have been assigned and be able to warn the user if the
* same pin has been assigned more than one different task
......@@ -173,6 +173,9 @@ Blockly.Arduino.Boards.leonardo = {
['interrupt3', '1'], ['interrupt4', '17']]
};
/** Arduino Yun board profile is identical to Leonardo. */
Blockly.Arduino.Boards.yun = Blockly.Arduino.Boards.leonardo;
/** Set default profile to Arduino standard-compatible board */
Blockly.Arduino.Boards.selected = Blockly.Arduino.Boards.uno;
......
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