SPI support for the Teensy port
Posted: Fri Feb 06, 2015 10:56 pm
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?
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?