Results 49 comments of KojiYoshioka

Compilation look like fine so we are proceeding :-). Next is linking. Some math functions are cause of errors. You don't specify libm for linker, so set `linker.libraries = %w(m)`...

Do not include mruby-arduino for host configuration because it wont compile for Host machine, use only for target(STM32F4). In contrast mruby-bin-mirb-hostbased is only for host ``` ruby #configuration for host...

Yes getting closer. remove `/usr/include` from `@@crosscompilation_include_paths` . /usr/include is for headers for Host compiler. And paster build_config.rb again. I will refine it.

Try with this. ``` ruby MRuby::Build.new do |conf| toolchain :gcc conf.gembox 'default' CFLAGS = "-O3 -iquote -fpermissive -std=gnu99" conf.cc do |cc| cc.include_paths

build/STMF34/lib/libmruby.a includes mruby-arduino.o. I'm embarrassment little. Basically mruby is a library which allow your main program to execute Ruby. library name is libmruby.a. You need your main program written in...

@eugenio You could not see any serial output from board? I think you should first try to able to use libmaple , then with libmruby. I could check you entire...

@marcel12bell Could you tell me below information? 1. Your target(board name). Arduino Due or chipKIT Max32 or else? 2. Full contents of your build_config.rb for cross compile mruby. 3. full...

@marcel12bell Good news. I think changing -DMCU_STM32F406VG to something like -DMCU_STM32F407VG is not good idea and won't compile. Because there are no specific check for xxF407VG currently in AeroQuard's libmaple....

Thanks for interested in mruby-bin-mirb-hostbased. I did not try with stm32f4 yet, but I believe It should be easy to copy many parts of https://github.com/kyab/mruby-bin-mirb-hostbased/blob/master/samples/target/chipKITMax32_ArduinoDue_runner/chipKITMax32_ArduinoDue_runner.pde to your *.cpp, then make...

Uhmm, I'm currently working with my slightly modified version of AeroQuad https://github.com/kyab/AeroQuad Not much change from original, most important change was linker script(ld). I changed RAM usage to maximum(128kb) in...