diff options
| author | kyab <[email protected]> | 2013-06-27 19:29:27 +0900 |
|---|---|---|
| committer | kyab <[email protected]> | 2013-06-27 19:29:27 +0900 |
| commit | c23068e68f0adfb718a504032dfc30d2e7d9dbdb (patch) | |
| tree | 7b58b04cf8623761d8c062aa04fefa7938d778d2 /examples | |
| parent | b44309b4b208a7649a4e3bfb02b2ae353a3c83fc (diff) | |
| download | mruby-c23068e68f0adfb718a504032dfc30d2e7d9dbdb.tar.gz mruby-c23068e68f0adfb718a504032dfc30d2e7d9dbdb.zip | |
Fix include path of ArduinoDue example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/targets/ArduinoDue.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/targets/ArduinoDue.rb b/examples/targets/ArduinoDue.rb index 762236f3b..a4af4a926 100644 --- a/examples/targets/ArduinoDue.rb +++ b/examples/targets/ArduinoDue.rb @@ -15,9 +15,9 @@ MRuby::CrossBuild.new("Arduino Due") do |conf| conf.cc do |cc| cc.command = "#{BIN_PATH}/arm-none-eabi-gcc" - cc.include_paths << ["#{SAM_PATH}/system/libsam -I#{SAM_PATH}/system/CMSIS/CMSIS/Include/", + cc.include_paths << ["#{SAM_PATH}/system/libsam", "#{SAM_PATH}/system/CMSIS/CMSIS/Include/", "#{SAM_PATH}/system/CMSIS/Device/ATMEL/", - "#{SAM_PATH}/cores/arduino -I#{TARGET_PATH}"] + "#{SAM_PATH}/cores/arduino", "#{SAM_PATH}/libraries","#{TARGET_PATH}"] cc.flags = %w(-g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=152 -D__SAM3X8E__ -mthumb -DUSB_PID=0x003e -DUSB_VID=0x2341 -DUSBCON) cc.compile_options = "%{flags} -o %{outfile} -c %{infile}" |
