From b381314ac47f37b3d9d0c38f6b5f9136fc46812b Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 5 Oct 2009 12:17:50 +0000 Subject: [PATCH] Add portBYTE_ALIGNMENT definition to PC demos. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@908 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/portable/BCC/16BitDOS/PC/prtmacro.h | 1 + Source/portable/oWatcom/16BitDOS/PC/portmacro.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/portable/BCC/16BitDOS/PC/prtmacro.h b/Source/portable/BCC/16BitDOS/PC/prtmacro.h index 7b74af5ed..103417f71 100644 --- a/Source/portable/BCC/16BitDOS/PC/prtmacro.h +++ b/Source/portable/BCC/16BitDOS/PC/prtmacro.h @@ -97,6 +97,7 @@ #define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ ) #define portTICKS_PER_DOS_TICK ( ( unsigned portSHORT ) ( ( ( portDOUBLE ) configTICK_RATE_HZ / portDOS_TICK_RATE ) + 0.5 ) ) #define portINITIAL_SW ( ( portSTACK_TYPE ) 0x0202 ) /* Start the tasks with interrupts enabled. */ +#define portBYTE_ALIGNMENT ( 2 ) /*-----------------------------------------------------------*/ /* Compiler specifics. */ diff --git a/Source/portable/oWatcom/16BitDOS/PC/portmacro.h b/Source/portable/oWatcom/16BitDOS/PC/portmacro.h index 7457de95b..0178a8c46 100644 --- a/Source/portable/oWatcom/16BitDOS/PC/portmacro.h +++ b/Source/portable/oWatcom/16BitDOS/PC/portmacro.h @@ -106,6 +106,7 @@ void portENABLE_INTERRUPTS( void ); #define portTICK_RATE_MS ( ( portTickType ) 1000 / configTICK_RATE_HZ ) #define portTICKS_PER_DOS_TICK ( ( unsigned portSHORT ) ( ( ( portDOUBLE ) configTICK_RATE_HZ / portDOS_TICK_RATE ) + 0.5 ) ) #define portINITIAL_SW ( ( portSTACK_TYPE ) 0x0202 ) /* Start the tasks with interrupts enabled. */ +#define portBYTE_ALIGNMENT ( 2 ) /*-----------------------------------------------------------*/ /* Compiler specifics. */ -- 2.39.5