#\r
# CFLAGS common to both the THUMB and ARM mode builds\r
#\r
-CFLAGS=-Wall -D $(RUN_MODE) -D GCC_AT91FR40008 -I. -I../../Source/include \\r
+CFLAGS=-Wall -Wextra -D $(RUN_MODE) -D GCC_AT91FR40008 -I. -I../../Source/include \\r
-I../Common/include $(DEBUG) -mcpu=arm7tdmi -T$(LDSCRIPT) \\r
- -Wcast-align $(OPTIM) -fomit-frame-pointer -fno-strict-aliasing\r
+ -Wcast-align $(OPTIM) -fomit-frame-pointer -fno-strict-aliasing \\r
+ -fno-dwarf2-cfi-asm\r
\r
ifeq ($(USE_THUMB_MODE),YES)\r
CFLAGS += -mthumb-interwork -D THUMB_INTERWORK\r
\r
clean :\r
touch Makefile\r
+ rm $(ARM_OBJ)\r
+ rm $(THUMB_OBJ)\r
\r
\r
/* The port handle is not required as this driver only supports UART0. */\r
( void ) pxPort;\r
+ ( void ) usStringLength;\r
\r
/* Send each character in the string, one at a time. */\r
pxNext = ( signed portCHAR * ) pcString;\r
\r
signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed portCHAR cOutChar, portTickType xBlockTime )\r
{\r
+ ( void ) pxPort;\r
+\r
/* Place the character in the queue of characters to be transmitted. */\r
if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS )\r
{\r
void vSerialClose( xComPortHandle xPort )\r
{\r
/* Not supported as not required by the demo application. */\r
+ ( void ) xPort;\r
}\r
/*-----------------------------------------------------------*/\r
\r