Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
2f228290
Commit
2f228290
authored
May 10, 2014
by
kyab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update example build_config to include host build setting
parent
2d8db3c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
3 deletions
+51
-3
examples/targets/build_config_ArduinoDue.rb
examples/targets/build_config_ArduinoDue.rb
+17
-1
examples/targets/build_config_IntelGalileo.rb
examples/targets/build_config_IntelGalileo.rb
+17
-1
examples/targets/build_config_chipKITMax32.rb
examples/targets/build_config_chipKITMax32.rb
+17
-1
No files found.
examples/targets/ArduinoDue.rb
→
examples/targets/
build_config_
ArduinoDue.rb
View file @
2f228290
MRuby
::
Build
.
new
do
|
conf
|
# Gets set by the VS command prompts.
if
ENV
[
'VisualStudioVersion'
]
||
ENV
[
'VSINSTALLDIR'
]
toolchain
:visualcpp
else
toolchain
:gcc
end
enable_debug
# include the default GEMs
conf
.
gembox
'default'
end
# Cross Compiling configuration for Arduino Due
# http://arduino.cc/en/Main/ArduinoBoardDue
#
# Requires Arduino IDE >= 1.5
MRuby
::
CrossBuild
.
new
(
"Arduino
Due"
)
do
|
conf
|
MRuby
::
CrossBuild
.
new
(
"ArduinoDue"
)
do
|
conf
|
toolchain
:gcc
# Mac OS X
...
...
examples/targets/IntelGalileo.rb
→
examples/targets/
build_config_
IntelGalileo.rb
View file @
2f228290
MRuby
::
Build
.
new
do
|
conf
|
# Gets set by the VS command prompts.
if
ENV
[
'VisualStudioVersion'
]
||
ENV
[
'VSINSTALLDIR'
]
toolchain
:visualcpp
else
toolchain
:gcc
end
enable_debug
# include the default GEMs
conf
.
gembox
'default'
end
# Cross Compiling configuration for Intel Galileo on Arduino environment
# http://arduino.cc/en/ArduinoCertified/IntelGalileo
#
# Requires Arduino IDE for Intel Galileo
MRuby
::
CrossBuild
.
new
(
"Galileo"
)
do
|
conf
|
toolchain
:gcc
...
...
examples/targets/
chipKit
Max32.rb
→
examples/targets/
build_config_chipKIT
Max32.rb
View file @
2f228290
MRuby
::
Build
.
new
do
|
conf
|
# Gets set by the VS command prompts.
if
ENV
[
'VisualStudioVersion'
]
||
ENV
[
'VSINSTALLDIR'
]
toolchain
:visualcpp
else
toolchain
:gcc
end
enable_debug
# include the default GEMs
conf
.
gembox
'default'
end
# Cross Compiling configuration for Digilent chipKIT Max32
# http://www.digilentinc.com/Products/Detail.cfm?Prod=CHIPKIT-MAX32
#
...
...
@@ -5,7 +21,7 @@
#
# This configuration is based on @kyab's version
# http://d.hatena.ne.jp/kyab/20130201
MRuby
::
CrossBuild
.
new
(
"chipK
it
Max32"
)
do
|
conf
|
MRuby
::
CrossBuild
.
new
(
"chipK
IT
Max32"
)
do
|
conf
|
toolchain
:gcc
# Mac OS X
...
...
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