So, you’ve decided to use the Atmel-powered Teensy++ 2.0 (AT90USB1286) in your latest Maker project.
Want to know how you can access more memory? Well, you’re in luck, because xxxajk recently came up with a library that allows the use of significant RAM expansion with the Teensy++ 2.0.
As HackADay’s Brian Benchoff notes, xxxajk’s latest library is actually a port of XMEM2, an earlier project that added RAM expansion and multitasking to the Arduino Mega (ATmega1280). As expected, XMEM2 works with Rugged Circuits QuadRAM and MegaRAM expansions for the Arduino Mega as well as Andy Brown‘s 512 SRAM expansion.
“Up to 255 banks of memory are available and with the supported hardware, the Teensy can address up to 512kB of RAM,” Benchoff explained. ”XMEM2 also features a preemptive multitasking with up to 16 tasks, the ability to pipe messages between tasks and all the fun of malloc().”
Interested in learning more? You can check out xxxajk/xmem2 on Github here, QuadRAM here, MegaRAM here and the 512 SRAM expansion here.