diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-17 22:09:04 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-17 22:09:04 +0000 |
commit | 1dd5442c8c6c3b7d77133825abf147501de36093 (patch) | |
tree | c09e96c7c821d8c6b48eea4e21b684709d6345b4 /demos/ARMCM3-STM32F103-GCC | |
parent | ea7ffbbbc0d052c5fe36014b9f18b47961c9e614 (diff) | |
download | ChibiOS-1dd5442c8c6c3b7d77133825abf147501de36093.tar.gz ChibiOS-1dd5442c8c6c3b7d77133825abf147501de36093.tar.bz2 ChibiOS-1dd5442c8c6c3b7d77133825abf147501de36093.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1313 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103-GCC')
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/board.h | 3 | ||||
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/main.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/board.h b/demos/ARMCM3-STM32F103-GCC/board.h index ac936f2a1..0f53e5b0e 100644 --- a/demos/ARMCM3-STM32F103-GCC/board.h +++ b/demos/ARMCM3-STM32F103-GCC/board.h @@ -83,6 +83,9 @@ * IO pins assignments.
*/
#define GPIOA_BUTTON 0
+#define GPIOA_SPI1NSS 4
+
+#define GPIOB_SPI2NSS 12
#define GPIOC_MMCWP 6
#define GPIOC_MMCCP 7
diff --git a/demos/ARMCM3-STM32F103-GCC/main.c b/demos/ARMCM3-STM32F103-GCC/main.c index 116a0aaf1..46d947696 100644 --- a/demos/ARMCM3-STM32F103-GCC/main.c +++ b/demos/ARMCM3-STM32F103-GCC/main.c @@ -28,7 +28,7 @@ /*
* Red LEDs blinker thread, times are in milliseconds.
*/
-static WORKING_AREA(waThread1, 512);
+static WORKING_AREA(waThread1, 128);
static msg_t Thread1(void *arg) {
(void)arg;
|