I've just started to dig around in the teensy directory, hoping to enable the the SPI class for the board. Actually, I'm hoping to be able to access the SD card and LCD on this Adafruit touchscreen board. Can someone give me an idea as to where I should begin to attempt this?
I've seen the mpconfigport.h and qstrdefsport.h header files, and the make-pins.py script, but I don't see what it would take to support the spi.c file if I dropped it into the directory and added it to the Makefile. Presumably, I would need to define lots of the constants that the implementation needs, but are those supposed to be generated by a script as well?
SPI support for the Teensy port
Re: SPI support for the Teensy port
I haven't gotten around to implementing the SPI stuff on the teensy port yet - patches welcome.
The Teensy doesn't have native SD support. There is support for SPI SD card in the stmhal port now, but my gut tells me that you'll run out of flash by adding the fatfs support.
The Teensy doesn't have native SD support. There is support for SPI SD card in the stmhal port now, but my gut tells me that you'll run out of flash by adding the fatfs support.
Re: SPI support for the Teensy port
I'll look into it a bit more. The fatfs support isn't really important for me, so maybe flash space won't be an issue.
Re: SPI support for the Teensy port
I'll see what I can do. I don't need fatfs support so maybe that will help things fit in the flash.