Skip to content

tana/mruby-mbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-mbed: mruby binding of mbed library

about

mruby-mbed is a mruby binding of mbed library. It currently supports only STM32 Nucleo F401RE board.

examples

LED blink

led = Mbed::DigitalOut.new(Mbed::LED1)
while true
  led.write 1
  wait 1
  led.write 0
  wait 1
end

how to build

  1. clone and build mbed-sdk
  2. edit mrbgem.rake
  3. change MBED_DIR variable (/path/to/mbed) into your mbed-sdk directory
  4. change CTAGS_BIN variable (/path/to/ctags) into the path of your Exuberant Ctags binary
  5. add conf.gem "/path/to/mruby-mbed" into your mruby directory
  6. make

TODO

  • documentation

About

mruby binding of mbed library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published