Chapter Support#
All sample code can be fetched exactly as the book describes. It lives in
docs/os-on-arduino/code/
of learning-os-from-arduino:
git clone https://github.com/iory/learning-os-from-arduino.git
cd learning-os-from-arduino/docs/os-on-arduino/code
The sample code is licensed under the Apache License 2.0 — feel free to use it in your own projects, including commercially.
Main chapters#
- Checking every chapter on your own board
- Chapter 1: Boot Sequence
- Chapter 2: Starting from Bare Metal
- Chapter 3: Implementing Context Switching
- Chapter 4: The Preemptive Scheduler
- Chapter 5: An Interactive Shell
- Chapter 6: Memory Protection
- Chapter 7: LED Matrix Visualization
- Chapter 8: A Tiny Interpreter
- Chapter 9: Integration and Robot Control
- Chapter 10: The Same Thing with FreeRTOS
- Chapter 11: TinyPython — Python on a Microcontroller
- Chapter 12: Hardware Deep Dive — PWM and ADC
- Chapter 13: Walking a Quadruped