blob: cc9659d8efd2cf15287b2e1d78b0d8a05191b826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
*****************************************************************************
** ChibiOS/RT + FatFS demo for SAM7. **
*****************************************************************************
** TARGET **
The demo runs on an Olimex SAM-P256 board. The port on other boards or other
members of the SAM7 family should be an easy task.
** The Demo **
This demo shows how to integrate the FatFs file system and use the SPI and MMC
drivers.
The demo flashes the board LEDs using two threads and monitors the MMC slot for
a card insertion. When a card is inserted then the file system is mounted
and the LED1 flashes faster.
A command line shell is spawned on SD1, all the interaction with the demo is
performed using the command shell, type "help" for a list of the available
commands.
** Build Procedure **
The demo was built using the YAGARTO toolchain but any toolchain based on GCC
and GNU userspace programs will work.
|