~/talk

Performance and program size disadvantages of Arduino on AVR and reducing them using LLVM

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [embedded-and-hardware]
links:none on file
slides:none on file

Implements a custom LLVM pass that resolves Arduino digitalWrite/digitalRead pin-number math into direct AVR port writes at compile time, using Clang/LLVM for AVR but linking with AVR‑GCC because the AVR backend is experimental; repository contains an Arduino hardware folder configured for Clang and the optimization pass. Benchmarks use a blink test and show frequency rising from ~144 kHz -> ~2 MHz. Notes disabled LTO, removed interrupt-table use of function-pointer arrays, and reports I/O and size win.

AI-written summary · about

  1. 0:00Introduction
  2. 0:43What is Arduino
  3. 1:50Advantages
  4. 3:10Disadvantages
  5. 4:04Why use LLVM
  6. 5:15Limitations
  7. 5:55Optimization
  8. 6:43Testing
  9. 7:32Other opportunities
~/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.