diff --git a/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewd b/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewd index fcb909d3f..c8337cd83 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewd +++ b/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewd @@ -399,7 +399,7 @@ GoToEnable - 0 + 1 GoToName diff --git a/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp b/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp index 1262bc5cb..5411070b8 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp +++ b/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp @@ -1856,9 +1856,6 @@ $PROJ_DIR$\ParTest.c - - $PROJ_DIR$\readme.txt - $PROJ_DIR$\RegTest.s43 diff --git a/Demo/MSP430X_MSP430F5438_IAR/lnk430F5438A_mod.xcl b/Demo/MSP430X_MSP430F5438_IAR/lnk430F5438A_mod.xcl index 332a19594..99dc499d9 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/lnk430F5438A_mod.xcl +++ b/Demo/MSP430X_MSP430F5438_IAR/lnk430F5438A_mod.xcl @@ -195,9 +195,9 @@ // *** Modified to place code in high memory and insodoing, testing the port. // Original code --P(CODE)CODE=5C00-FF7F,10000-45BFF +//-P(CODE)CODE=5C00-FF7F,10000-45BFF // Modified code -//-P(CODE)CODE=10000-45BFF +-P(CODE)CODE=10000-45BFF -Z(CODE)CODE_ID diff --git a/Demo/MSP430X_MSP430F5438_IAR/main.c b/Demo/MSP430X_MSP430F5438_IAR/main.c index fe5e57fd2..def4554a5 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/main.c +++ b/Demo/MSP430X_MSP430F5438_IAR/main.c @@ -179,7 +179,7 @@ information. */ #define mainCOM_TEST_LED ( 1 ) /* The baud rate used by the comtest tasks described at the top of this file. */ -#define mainCOM_TEST_BAUD_RATE ( 115200 ) +#define mainCOM_TEST_BAUD_RATE ( 38400 ) /* The maximum number of lines of text that can be displayed on the LCD. */ #define mainMAX_LCD_LINES ( 8 ) @@ -236,6 +236,11 @@ typedef struct /*-----------------------------------------------------------*/ +/* The linker script tests the FreeRTOS ports use of 20bit addresses by +locating all code in high memory. The following pragma ensures that main +remains in low memory. The ISR_CODE segment is used for convenience as ISR +functions are always placed in low memory. */ +#pragma location="ISR_CODE" void main( void ) { /* Configure the peripherals used by this demo application. This includes @@ -263,8 +268,8 @@ void main( void ) the top of this file. */ xTaskCreate( prvLCDTask, ( signed char * ) "LCD", configMINIMAL_STACK_SIZE * 2, NULL, mainLCD_TASK_PRIORITY, NULL ); xTaskCreate( prvButtonPollTask, ( signed char * ) "BPoll", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); - xTaskCreate( vRegTest1Task, "Reg1", configMINIMAL_STACK_SIZE, NULL, 0, NULL ); - xTaskCreate( vRegTest2Task, "Reg2", configMINIMAL_STACK_SIZE, NULL, 0, NULL ); + xTaskCreate( vRegTest1Task, ( signed char * ) "Reg1", configMINIMAL_STACK_SIZE, NULL, 0, NULL ); + xTaskCreate( vRegTest2Task, ( signed char * ) "Reg2", configMINIMAL_STACK_SIZE, NULL, 0, NULL ); /* Start the scheduler. */ vTaskStartScheduler(); diff --git a/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dbgdt b/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dbgdt index ebf6bdf20..539f51b5b 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dbgdt +++ b/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dbgdt @@ -43,20 +43,20 @@ - 0TabID-12395-27916Terminal I/OTerminalIO0TabID-28694-31512Debug LogDebug-Log0 + 0TabID-12395-27916Terminal I/OTerminalIO0TabID-28694-31512Debug LogDebug-Log0 - TextEditor$WS_DIR$\main.c0237126301263000100000010000001 + TextEditor$WS_DIR$\main.c0420192461924600100000010000001 - iaridepm.enu1430fet1debuggergui.enu1-2-2716321-2-212115072024152749192262731161-2-2716399-2-212115072024152749238690731161-2-21981682-2-216842001002381203666119048203666 + iaridepm.enu1430fet1debuggergui.enu1-2-2716321-2-212115072024152749192262731161-2-2716399-2-212115072024152749238690731161-2-21981682-2-216842001002381203666119048203666 diff --git a/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dni b/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dni index 10b76323c..497f846d6 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dni +++ b/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.dni @@ -1,5 +1,5 @@ [DebugChecksum] -Checksum=283457804 +Checksum=1076418874 [DisAssemblyWindow] NumStates=_ 1 State 1=_ 1 @@ -14,7 +14,7 @@ Control Register=0 NextState0=0 NextState1=0 [Action Register] -Break=6 +Break=1 State Storage=0 [Profiling] Enabled=0 @@ -39,7 +39,7 @@ LogFile=_ "" Enabled=0 [DriverProfiling] Enabled=0 -Mode=123810376 +Mode=11405262 Graph=0 Symbiont=0 [Breakpoints] diff --git a/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.wsdt b/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.wsdt index 35acd8698..184264a30 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.wsdt +++ b/Demo/MSP430X_MSP430F5438_IAR/settings/RTOSDemo.wsdt @@ -33,7 +33,7 @@ Workspace - RTOSDemoRTOSDemo/UserExperienceDemo + RTOSDemoRTOSDemo/OutputRTOSDemo/UserExperienceDemo @@ -53,14 +53,14 @@ - TextEditor$WS_DIR$\main.c042117771177700100000010000001 + TextEditor$WS_DIR$\main.c0420192461924600100000010000001 - iaridepm.enu1-2-2645475-2-2331267197024271894283929658859-2-22931682-2-216842951002381300407197024271894 + iaridepm.enu1-2-2645475-2-2331267197024271894283929658859-2-22931682-2-216842951002381300407197024271894