Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
dffad542
Commit
dffad542
authored
Jul 14, 2015
by
carlosperate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Arduino Yun board.
parent
4ee72983
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ardublocklyserver/compilersettings.py
ardublocklyserver/compilersettings.py
+1
-0
blockly/generators/arduino/boards.js
blockly/generators/arduino/boards.js
+4
-1
No files found.
ardublocklyserver/compilersettings.py
View file @
dffad542
...
...
@@ -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'
:
...
...
blockly/generators/arduino/boards.js
View file @
dffad542
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment