diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-02-21 13:31:30 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-02-21 13:31:30 +0000 |
commit | 05c3be1b2c214a8dd8dcb47c5a615fb1b6406719 (patch) | |
tree | 1c73ffe378b22989fcc81bd09a3c5a6f4abce0c9 /demos/ARM7-AT91SAM7X-GCC | |
parent | f87e32d85c6fc2b400c4dc8db15af1cb4c626907 (diff) | |
download | ChibiOS-05c3be1b2c214a8dd8dcb47c5a615fb1b6406719.tar.gz ChibiOS-05c3be1b2c214a8dd8dcb47c5a615fb1b6406719.tar.bz2 ChibiOS-05c3be1b2c214a8dd8dcb47c5a615fb1b6406719.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@198 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-GCC')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 2 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/readme.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index 4231780bf..3a5539587 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -40,8 +40,8 @@ static void SYSIrqHandler(void) { chSysIRQEnterI();
if (AT91C_BASE_PITC->PITC_PISR & AT91C_PITC_PITS) {
- chSysTimerHandlerI();
(void) AT91C_BASE_PITC->PITC_PIVR;
+ chSysTimerHandlerI();
}
chSysIRQExitI();
diff --git a/demos/ARM7-AT91SAM7X-GCC/readme.txt b/demos/ARM7-AT91SAM7X-GCC/readme.txt index 71f8ee51a..986d5ec7c 100644 --- a/demos/ARM7-AT91SAM7X-GCC/readme.txt +++ b/demos/ARM7-AT91SAM7X-GCC/readme.txt @@ -9,6 +9,8 @@ The demo runs on an Olimex SAM7-EX256 board. ** The Demo **
The demo currently just flashes the LCD background using a thread.
+The button SW1 prints an "Hello World!" string on COM1, the button SW2
+activates che ChibiOS/RT test suite, output on COM1.
** Build Procedure **
|