mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Updated for use with latest Yagarto release.
This commit is contained in:
parent
5f896f1640
commit
b04f886ebd
|
@ -53,9 +53,10 @@ CRT0=boot.s
|
||||||
#
|
#
|
||||||
# CFLAGS common to both the THUMB and ARM mode builds
|
# CFLAGS common to both the THUMB and ARM mode builds
|
||||||
#
|
#
|
||||||
CFLAGS=-Wall -D $(RUN_MODE) -D GCC_AT91FR40008 -I. -I../../Source/include \
|
CFLAGS=-Wall -Wextra -D $(RUN_MODE) -D GCC_AT91FR40008 -I. -I../../Source/include \
|
||||||
-I../Common/include $(DEBUG) -mcpu=arm7tdmi -T$(LDSCRIPT) \
|
-I../Common/include $(DEBUG) -mcpu=arm7tdmi -T$(LDSCRIPT) \
|
||||||
-Wcast-align $(OPTIM) -fomit-frame-pointer -fno-strict-aliasing
|
-Wcast-align $(OPTIM) -fomit-frame-pointer -fno-strict-aliasing \
|
||||||
|
-fno-dwarf2-cfi-asm
|
||||||
|
|
||||||
ifeq ($(USE_THUMB_MODE),YES)
|
ifeq ($(USE_THUMB_MODE),YES)
|
||||||
CFLAGS += -mthumb-interwork -D THUMB_INTERWORK
|
CFLAGS += -mthumb-interwork -D THUMB_INTERWORK
|
||||||
|
@ -113,4 +114,6 @@ $(ARM_OBJ) : %.o : %.c $(LDSCRIPT) Makefile
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
touch Makefile
|
touch Makefile
|
||||||
|
rm $(ARM_OBJ)
|
||||||
|
rm $(THUMB_OBJ)
|
||||||
|
|
||||||
|
|
|
@ -206,6 +206,7 @@ signed portCHAR *pxNext;
|
||||||
|
|
||||||
/* The port handle is not required as this driver only supports UART0. */
|
/* The port handle is not required as this driver only supports UART0. */
|
||||||
( void ) pxPort;
|
( void ) pxPort;
|
||||||
|
( void ) usStringLength;
|
||||||
|
|
||||||
/* Send each character in the string, one at a time. */
|
/* Send each character in the string, one at a time. */
|
||||||
pxNext = ( signed portCHAR * ) pcString;
|
pxNext = ( signed portCHAR * ) pcString;
|
||||||
|
@ -219,6 +220,8 @@ signed portCHAR *pxNext;
|
||||||
|
|
||||||
signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed portCHAR cOutChar, portTickType xBlockTime )
|
signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed portCHAR cOutChar, portTickType xBlockTime )
|
||||||
{
|
{
|
||||||
|
( void ) pxPort;
|
||||||
|
|
||||||
/* Place the character in the queue of characters to be transmitted. */
|
/* Place the character in the queue of characters to be transmitted. */
|
||||||
if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS )
|
if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS )
|
||||||
{
|
{
|
||||||
|
@ -238,6 +241,7 @@ signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed portCHAR cOut
|
||||||
void vSerialClose( xComPortHandle xPort )
|
void vSerialClose( xComPortHandle xPort )
|
||||||
{
|
{
|
||||||
/* Not supported as not required by the demo application. */
|
/* Not supported as not required by the demo application. */
|
||||||
|
( void ) xPort;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue