2. Who am I ?
☆ http://www.masterq.net/
☆ Twitter: @master_q
☆ Organizer of Metasepi Project
☆ A developer of Ajhc Haskell compiler
☆ A Debian Maintainer
☆ 10 years' experience in developing
OS using NetBSD.
3. Why functional lang for MCU?
☆ We will live in IoT world
☆ Can't debug IoT device on field
☆ Should avoid runtime error
☆ We need strong type !
10. Cross compiler: (A)jhc
http://ajhc.metasepi.org/
☆ Language: Haskell
☆ Haskell is major !
☆ Need GC heap = Need more memory
☆ Experience running on MCU
ARM Cortex-M
https://github.com/ajhc/demo-cortex-m3
12. Cross compiler: Rust
http://www.rust-lang.org/
☆ Language: Own syntax like C or JS
☆ Optional GC = Need low memory
☆ Experience running on MCU
ARM Cortex-M
https://github.com/neykov/armboot
☆ @pirapira knows detail of it
13. gdbserver (Debugger)
☆ Gdb is major debugger
☆ But gdb is only for the program
running on your PC
☆ How debug program running on
MCU ?
☆ Gdbserver is good for the use case
☆ There are many implementation
15. gdbserver: pyOCD
https://github.com/mbedmicro/pyOCD
☆ Only for MCU using CMSIS-DAP
☆ But now support only mbed LPC1768
☆ In future, support more board ?
Seeeduino Arch Pro ($43.41)
http://www.seeedstudio.com/depot/arch-pro-p-1677.html
FRDM-KL46Z (1,634 YEN)
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?
code=FRDM-KL46Z