FreeRTOS users,
I just updated my public git tree with some FreeRTOS related code that people may be interested in:
a) A simple to understand SPI driver without too many layers of abstraction or binary blob libraries
I use this code to drive the LCD and Micron PCM flash.
I need to do a little more work on locking for when two tasks want to use the SPI bus at the same time (stay tuned or subscribe to my github tree).
https://github.com/Zizzle/FreeRTOS-brewbot-rx62n/blob/master/brewbot/spi.c
b) A simple driver for the P5Q Micron PCM, using the above.
https://github.com/Zizzle/FreeRTOS-brewbot-rx62n/blob/master/brewbot/p5q.c
c) A fat fs on top of the P5Q PCM, using the above.
https://github.com/Zizzle/FreeRTOS-brewbot-rx62n/tree/master/brewbot/fatfs
d) Mods to the FreeTCP implementation so that the uIP telnetd and shell is running along side the HTTPd.
TODO:
get the HTTPd reading from the fat fs
finish a FTPD for getting at the fat fs
more fs related shell commands (ls, cat, mv)
maybe a Lua port for rapid prototyping
Unfortunately, I haven't received any word on a redpine WiFi card, so no driver there
Enjoy.
Some updates:
a) The SPI code now has some FreeRTOS locking primitives so that applications can better share the Micron PCM flash and LCD.
b) A really basic ADC example. Just set it up con continuous scan mode on a couple of input pins.
https://github.com/Zizzle/FreeRTOS-brewbot-rx62n/blob/master/brewbot/level_probes.c
c) The telnet shell has some bash-like commands for exploring the Fat FS.
mkdir,cd,cat,pwd,ls
https://github.com/Zizzle/FreeRTOS-brewbot-rx62n/blob/master/brewbot/network-apps/shell.c
d) Got the FTPD code I found on the internet working. Yet to hook it up the Fat FS code.