mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-10-24 21:57:46 -04:00 
			
		
		
		
	Update the MSP430X CCS4 port layer.
This commit is contained in:
		
							parent
							
								
									15c46025ab
								
							
						
					
					
						commit
						329c36c6bc
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -126,7 +126,6 @@ unsigned long *pulTopOfStack; | |||
| 		pusTopOfStack--; | ||||
| 		pulTopOfStack = ( unsigned long * ) pusTopOfStack; | ||||
| 		*pulTopOfStack = ( unsigned long ) pxCode; | ||||
| 		pusTopOfStack = ( unsigned short * ) pulTopOfStack; | ||||
| 	} | ||||
| 
 | ||||
| 	pusTopOfStack--; | ||||
|  |  | |||
|  | @ -114,7 +114,7 @@ extern volatile unsigned short usCriticalNesting;								\ | |||
| 
 | ||||
| #define portEXIT_CRITICAL()														\ | ||||
| {																				\ | ||||
| extern volatile unsigned short usCriticalNesting;							\ | ||||
| extern volatile unsigned short usCriticalNesting;								\ | ||||
| 																				\ | ||||
| 	if( usCriticalNesting > portNO_CRITICAL_SECTION_NESTING )					\ | ||||
| 	{																			\ | ||||
|  | @ -141,10 +141,10 @@ extern void vPortYield( void ); | |||
| /*-----------------------------------------------------------*/ | ||||
| 
 | ||||
| /* Hardware specifics. */ | ||||
| #define portBYTE_ALIGNMENT			4 | ||||
| #define portBYTE_ALIGNMENT			2 | ||||
| #define portSTACK_GROWTH			( -1 ) | ||||
| #define portTICK_RATE_MS			( ( portTickType ) 1000 / configTICK_RATE_HZ )	 | ||||
| #define portNOP()	 | ||||
| #define portNOP()					__no_operation()	 | ||||
| /*-----------------------------------------------------------*/ | ||||
| 
 | ||||
| /* Task function macros as described on the FreeRTOS.org WEB site. */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue