~/talk

mruby/c: Running on Less Than 64KB RAM Microcontroller

Talkat RubyConf 2019 · 2019-11-18..11-20· [ruby]
slides:none on file

A one‑chip IoT sensor suite for a Japanese Sake brewery actually ships and runs Ruby bytecode on microcontrollers: mruby/c compiles mRuby bytecode into a tiny VM that fits less than 64KB RAM devices (example: PSoC5LP with 65KB RAM) and runs bare‑metal without RTOS; the deployed device (delivered Jan 2018) reads thermistors, CO2 and posts to a server, drives LEDs, and the demo uses ESP32 too. Development uses C glue, mrubyc bytecode toolchain and mrubyc test and debugger to unit test and inspect tasks.

AI-written summary · about

  1. 0:00Start
  2. 1:53Terminology
  3. 3:13Why microcontroller?
  4. 5:10Which microcontroller?
  5. 9:19Demo
  6. 11:01Bugaboos in IoT
  7. 11:36Peripheral equipments
  8. 12:17CRuby and serial port
  9. 13:14Soldering
  10. 14:08What is mruby?
  11. 16:08HEX dump of bytecode
  12. 16:38mruby/c on microcontroller
  13. 18:15How less? - For example
  14. 19:29How does mruby/c work
  15. 21:37Application code
  16. 28:03Dev tools for mruby/c
  17. 29:03mrubyc-utils
  18. 29:48mrubyc-test
  19. 33:02Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.