OCaml on ESP32: a tale of cross-compilation
2018: University of Cambridge - OCamlLabs internship, under the supervision of Anil Madhavapeddy
During my Master's degree internship at OCamlLabs - Cambridge, I've been working on porting the OCaml compiler to the ESP32 microcontroller. It's a low-budget, high-connectivity chipset which embeds a dual-core 240MHz processor along with Wifi and Bluetooth networking. It's an ideal platform for small connected devices that require low-cost, low-power but sufficient computing capabilities.
I've been able to add a new native compilation backend for the OCaml compiler, and successfully ported the base layer of MirageOS, along with the networking layer.