Status and Todo
tested and working
- HardwareSerial: Standard UART interface with Print functions
- Print: Formatting functions to be used with the other output libraries
- SPI: working, no interrupt support
- LiquidCrystal: Text LCD based on the HD44780 controller
- PCD8544: Nokia 5110 type displays
- Mini_SSD1306: Monochrome OLED displays based on the SSD1306 controller
- Stepper: Multi-instance design for more than one stepper at a time
- Servo: Multi-instance design for more than one servo at a time)
implemented and partly working
tested, but not working
- handling of write error in
- module WCharacter
- module WString
Interesting libraries that might be worth porting
cI2C: Arduino Hardware I2C for AVR (plain c)
SimpleDHT: Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 and DHT22. It started out as plain C code (v1.0.0), but was converted to (simple) C++ with v1.0.1
cQueue: Queue handling library (written in plain c). But maybe too high-level to be worth using on very small devices.
RTCtime: This library makes
using modules based on the DS1307 and DS3231 RTC really easy. It is
compatible with and is meant to leverage the standard C time library
time.h API (datatypes and functions) as defined in ISO/IEC 9899 (C90) and
implemented in the AVR Std C runtime libray since version 2.0.0.
FatFS: FatFs is a generic FAT file system module for small embedded systems. The FatFs is written in compliance with ANSI C and completely separated from the disk I/O layer. Therefore it is independent of hardware architecture. stm32duino port of FatFS by elm-chan. A stripped down version exists as Petit FAT File System Module for very small CPU. Only 2..4kB flash usage.
The compile environment needs to detect which interrupts are actively used and link only the needed ones into the binary. See test/digitalWrite: Compiling with the straight Makefile.classic does not add UART interrupt routines. But when using the sduino.mk Makefile the two UART interrupt routines are pulled into the binary by the interrupt table in main.c.