aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-08 12:09:18 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-08 12:09:18 +0000
commiteb665ad2407a28c57a6d5802b3bcfa474b8c6e3f (patch)
treeb937607d434f1cb1461b41d7c1cca4cff3a959d8 /demos
parent7dc2098ccdebe3b2f54f1c9a60d3355bf0d59489 (diff)
downloadChibiOS-eb665ad2407a28c57a6d5802b3bcfa474b8c6e3f.tar.gz
ChibiOS-eb665ad2407a28c57a6d5802b3bcfa474b8c6e3f.tar.bz2
ChibiOS-eb665ad2407a28c57a6d5802b3bcfa474b8c6e3f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2615 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM0-LPC1114-LPCXPRESSO/main.c5
-rw-r--r--demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.ewp8
2 files changed, 5 insertions, 8 deletions
diff --git a/demos/ARMCM0-LPC1114-LPCXPRESSO/main.c b/demos/ARMCM0-LPC1114-LPCXPRESSO/main.c
index 6080d1d72..83ea018a3 100644
--- a/demos/ARMCM0-LPC1114-LPCXPRESSO/main.c
+++ b/demos/ARMCM0-LPC1114-LPCXPRESSO/main.c
@@ -33,7 +33,7 @@ static uint8_t digits[32] = {
0x00, 0x02, 0x01, 0x18, 0x54, 0x88, 0x50, 0x51
};
-/*
+/*
* SPI configuration (1MHz, CPHA=0, CPOL=0).
*/
static SPIConfig spicfg = {
@@ -57,7 +57,6 @@ static msg_t Thread1(void *arg) {
palSetPad(GPIO0, GPIO0_LED2);
chThdSleepMilliseconds(500);
}
- return 0;
}
/*
@@ -88,7 +87,6 @@ static msg_t Thread2(void *arg) {
palSetPort(GPIO1, PAL_PORT_BIT(GPIO1_LED3G));
chThdSleepMilliseconds(250);
}
- return 0;
}
/*
@@ -137,5 +135,4 @@ int main(void) {
chThdSleepMilliseconds(500);
i = (i + 1) & 15;
}
- return 0;
}
diff --git a/demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.ewp b/demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.ewp
index 0b9415c78..bfde5a1dc 100644
--- a/demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.ewp
+++ b/demos/ARMCM3-LPC1343-LPCXPRESSO/iar/ch.ewp
@@ -523,8 +523,8 @@
</option>
<option>
<name>AUserIncludes</name>
- <state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx\STM32</state>
- <state>$PROJ_DIR$\..\..\..\boards\OLIMEX_STM32_P103</state>
+ <state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx\LPC13xx</state>
+ <state>$PROJ_DIR$\..\..\..\boards\EA_LPCXPRESSO_BB_1343</state>
</option>
<option>
<name>AExtraOptionsCheckV2</name>
@@ -1387,8 +1387,8 @@
</option>
<option>
<name>AUserIncludes</name>
- <state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx\STM32</state>
- <state>$PROJ_DIR$\..\..\..\boards\OLIMEX_STM32_P103</state>
+ <state>$PROJ_DIR$\..\..\..\os\ports\IAR\ARMCMx\LPC13xx</state>
+ <state>$PROJ_DIR$\..\..\..\boards\EA_LPCXPRESSO_BB_1343</state>
</option>
<option>
<name>AExtraOptionsCheckV2</name>