summaryrefslogtreecommitdiffhomepage
path: root/examples/targets/chipKitMax32.rb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/targets/chipKitMax32.rb')
-rw-r--r--examples/targets/chipKitMax32.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/targets/chipKitMax32.rb b/examples/targets/chipKitMax32.rb
index 5c3a30a2b..b3a7c7c7d 100644
--- a/examples/targets/chipKitMax32.rb
+++ b/examples/targets/chipKitMax32.rb
@@ -13,15 +13,15 @@ MRuby::CrossBuild.new("chipKitMax32") do |conf|
# GNU Linux
MPIDE_PATH = '/opt/mpide-0023-linux-20120903'
- PIC32_PATH = "#{MPIDE_PATH}/hardware/pic32"
+ PIC32_PATH = "#{MPIDE_PATH}/hardware/pic32"
conf.cc do |cc|
cc.command = "#{PIC32_PATH}/compiler/pic32-tools/bin/pic32-gcc"
cc.include_paths << ["#{PIC32_PATH}/cores/pic32",
"#{PIC32_PATH}/variants/Max32",
"#{PIC32_PATH}/libraries"]
- cc.flags = %w(-O2 -mno-smart-io -w -ffunction-sections -fdata-sections -g -mdebugger -Wcast-align
- -fno-short-double -mprocessor=32MX795F512L -DF_CPU=80000000L -DARDUINO=23 -D_BOARD_MEGA_
+ cc.flags = %w(-O2 -mno-smart-io -w -ffunction-sections -fdata-sections -g -mdebugger -Wcast-align
+ -fno-short-double -mprocessor=32MX795F512L -DF_CPU=80000000L -DARDUINO=23 -D_BOARD_MEGA_
-DMPIDEVER=0x01000202 -DMPIDE=23)
cc.compile_options = "%{flags} -o %{outfile} -c %{infile}"
@@ -51,16 +51,16 @@ MRuby::CrossBuild.new("chipKitMax32") do |conf|
#no executables
conf.bins = []
- #do not build test executable
+ #do not build test executable
conf.build_mrbtest_lib_only
#gems from core
- conf.gem :core => "mruby-print"
+ conf.gem :core => "mruby-print"
conf.gem :core => "mruby-math"
conf.gem :core => "mruby-enum-ext"
#light-weight regular expression
- conf.gem :github => "masamitsu-murase/mruby-hs-regexp", :branch => "master"
+ conf.gem :github => "masamitsu-murase/mruby-hs-regexp", :branch => "master"
#Arduino API
#conf.gem :github =>"kyab/mruby-arduino", :branch => "master"