Skip to content

Arduino

Andy Arvanitis edited this page Mar 19, 2019 · 8 revisions

WIP

Example Makefile

Example blink.purs

Example blink_ffi.cpp

Prerequisites

  • Familiarity with Arduino and its IDE
  • Boost libraries installed (using your system's package manager is easiest)
  • This fork of ArduinoSTL cloned somewhere
  • Some of these files copied and others removed:
       $ cp -R $(ARDUINO_SDK_BASE)/Java/hardware/arduino/avr/cores/arduino $(FFI_SRC)/
       $ rm $(FFI_SRC)/arduino/hooks.cpp
       $ rm $(FFI_SRC)/arduino/main.cpp
Clone this wiki locally