aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MSP430-MSP430x1611-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 11:07:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 11:07:15 +0000
commite9d7b9de5705a3b5c0b822077fbd165c86087481 (patch)
treefc6a51fec7f88d34acfeb79df63cc8a4d9a10f54 /demos/MSP430-MSP430x1611-GCC
parent26ed3732876a649fb02a83e768e4392034d65653 (diff)
downloadChibiOS-e9d7b9de5705a3b5c0b822077fbd165c86087481.tar.gz
ChibiOS-e9d7b9de5705a3b5c0b822077fbd165c86087481.tar.bz2
ChibiOS-e9d7b9de5705a3b5c0b822077fbd165c86087481.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1230 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC')
-rw-r--r--demos/MSP430-MSP430x1611-GCC/Makefile4
-rw-r--r--demos/MSP430-MSP430x1611-GCC/main.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/Makefile b/demos/MSP430-MSP430x1611-GCC/Makefile
index dc3747875..7a7a720a8 100644
--- a/demos/MSP430-MSP430x1611-GCC/Makefile
+++ b/demos/MSP430-MSP430x1611-GCC/Makefile
@@ -91,10 +91,10 @@ HEX = $(CP) -O ihex
BIN = $(CP) -O binary
# Define C warning options here
-CWARN = -Wall -Wstrict-prototypes
+CWARN = -Wall -Wextra -Wstrict-prototypes
# Define C++ warning options here
-CPPWARN = -Wall
+CPPWARN = -Wall -Wextra
#
# Compiler settings
diff --git a/demos/MSP430-MSP430x1611-GCC/main.c b/demos/MSP430-MSP430x1611-GCC/main.c
index 02622e817..3e729296b 100644
--- a/demos/MSP430-MSP430x1611-GCC/main.c
+++ b/demos/MSP430-MSP430x1611-GCC/main.c
@@ -30,6 +30,7 @@
static WORKING_AREA(waThread1, 64);
static msg_t Thread1(void *arg) {
+ (void)arg;
while (TRUE) {
palSetPad(IOPORT6, P6_O_LED);
chThdSleepMilliseconds(500);
@@ -44,6 +45,9 @@ static msg_t Thread1(void *arg) {
*/
int main(int argc, char **argv) {
+ (void)argc;
+ (void)argv;
+
/*
* Hardware initialization, see board.c.
*/