From 132ed46d3e97b74e202d114bfbf56d1c18700cfe Mon Sep 17 00:00:00 2001 From: richardbarry Date: Wed, 16 Jul 2008 09:55:52 +0000 Subject: [PATCH] Update project to use the new asm file for the port yield function, and remove the "user frame pointer" optimisation option. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@410 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/PIC24_MPLAB/RTOSDemo.mcw | Bin 154624 -> 156160 bytes Demo/PIC24_MPLAB/RTOSDemo_PIC24.mcp | 76 +++++++++++++++++++++++++--- Demo/PIC24_MPLAB/RTOSDemo_PIC24.mcs | 4 ++ Demo/PIC24_MPLAB/serial/serial.c | 6 +-- 4 files changed, 76 insertions(+), 10 deletions(-) diff --git a/Demo/PIC24_MPLAB/RTOSDemo.mcw b/Demo/PIC24_MPLAB/RTOSDemo.mcw index 61dc2e940e5bdfad3faa94c8b4487bdb46a5ac43..be6548079a4b8bd03604ca1af04e61a8de144855 100644 GIT binary patch literal 156160 zcmeHQ3w)bZ-9Bk|Edxf`#s(XPG1w-oORww3Hrl4`R$15Bgl$S;&60OrSek?+T{^5| z%0*B<9G6c~0f*NiiYQY-@B>9~d=8lkI_}dC1z{rK(1FOl=Xo#5o2FgUvI4^Y^!Mak z-v2rObDr}*m-kKH(_If8wdcm~9s38>%Pm%g>dgaV)hJtfA;JzTK3=H;ghv2x9yoBo zN_HV|AAlrr{{amA8+BwKe+gh;js(U4qk#_sbATe?Fkl>TIB*1TBmfgoM*+pa(ZB>? zA}|R!2AB*?0geTZ1EvDgfa8G=08ZcpU^;LjFatOVI2o7;%mQWu6JT_wz&{oEEKmZ> z1-1aJ|DEv5feN4!r~>8z)xdmU0dN|y5Lg5(22KZRfLfpqa0B%~1JDR80hR(yz=wb{ zfMq~4upDRsJiv#6R=^ARfHQ#=z)D~h@Dbpnz*#^Wa5iubuo`Fw{Jwpk&F0dX51D!wwhypR-JRlAvfF#fbYyeU~H?R>nANUy11AH9V1Y7`Y23k>46giz} zc?5o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p @@ -2,6 +2,7 @@ magic_cookie={66E99B07-E706-4689-9E80-9B2582898A13} file_version=1.0 [PATH_INFO] +BuildDirPolicy=BuildDirIsSourceDir dir_src= dir_bin= dir_tmp= @@ -15,6 +16,60 @@ filter_inc=*.h;*.inc filter_obj=*.o filter_lib=*.a filter_lkr=*.gld +[CAT_SUBFOLDERS] +subfolder_src= +subfolder_inc= +subfolder_obj= +subfolder_lib= +subfolder_lkr= +[FILE_SUBFOLDERS] +file_000=. +file_001=. +file_002=. +file_003=. +file_004=. +file_005=. +file_006=. +file_007=. +file_008=. +file_009=. +file_010=. +file_011=. +file_012=. +file_013=. +file_014=. +file_015=. +file_016=. +file_017=. +file_018=. +file_019=. +file_020=. +file_021=. +file_022=. +[GENERATED_FILES] +file_000=no +file_001=no +file_002=no +file_003=no +file_004=no +file_005=no +file_006=no +file_007=no +file_008=no +file_009=no +file_010=no +file_011=no +file_012=no +file_013=no +file_014=no +file_015=no +file_016=no +file_017=no +file_018=no +file_019=no +file_020=no +file_021=no +file_022=no [OTHER_FILES] file_000=no file_001=no @@ -38,6 +93,7 @@ file_018=no file_019=no file_020=no file_021=no +file_022=no [FILE_INFO] file_000=main.c file_001=..\..\source\list.c @@ -55,21 +111,27 @@ file_012=..\Common\Minimal\comtest.c file_013=serial\serial.c file_014=timertest.c file_015=lcd.c -file_016=..\..\source\include\semphr.h -file_017=..\..\source\include\task.h -file_018=..\..\source\include\croutine.h -file_019=..\..\source\include\queue.h -file_020=FreeRTOSConfig.h -file_021=p24FJ128GA010.gld +file_016=C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_PIC24_dsPIC.S +file_017=..\..\source\include\semphr.h +file_018=..\..\source\include\task.h +file_019=..\..\source\include\croutine.h +file_020=..\..\source\include\queue.h +file_021=FreeRTOSConfig.h +file_022=p24FJ128GA010.gld [SUITE_INFO] suite_guid={479DDE59-4D56-455E-855E-FFF59A3DB57E} suite_state= [TOOL_SETTINGS] TS{7D9C6ECE-785D-44CB-BA22-17BF2E119622}=-g -TS{25AC22BD-2378-4FDB-BFB6-7345A15512D3}=-g -Wall -DMPLAB_PIC24_PORT -mlarge-code -fomit-frame-pointer -fno-schedule-insns -fno-schedule-insns2 +TS{25AC22BD-2378-4FDB-BFB6-7345A15512D3}=-g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2 TS{7DAC9A1D-4C45-45D6-B25A-D117C74E8F5A}=--defsym=__ICD2RAM=1 -Map="$(TARGETBASE).map" -o"$(TARGETBASE).$(TARGETSUFFIX)" TS{509E5861-1E2A-483B-8B6B-CA8DB7F2DD78}= [INSTRUMENTED_TRACE] enable=0 transport=0 format=0 +[CUSTOM_BUILD] +Pre-Build= +Pre-BuildEnabled=1 +Post-Build= +Post-BuildEnabled=1 diff --git a/Demo/PIC24_MPLAB/RTOSDemo_PIC24.mcs b/Demo/PIC24_MPLAB/RTOSDemo_PIC24.mcs index ad85eb9d5..d24f9c117 100644 --- a/Demo/PIC24_MPLAB/RTOSDemo_PIC24.mcs +++ b/Demo/PIC24_MPLAB/RTOSDemo_PIC24.mcs @@ -1,3 +1,7 @@ [Header] MagicCookie={0b13fe8c-dfe0-40eb-8900-6712719559a7} Version=1.0 +[TOOL_LOC_STAMPS] +tool_loc{DE18EB1A-B46B-486B-B96F-A811A635DFAC}=C:\Devtools\Microchip\MPLAB C30\bin\pic30-as.exe +tool_loc{069BD372-6CA0-40D4-BF2F-5DC806D05083}=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe +tool_loc{433C3D55-811D-409D-A6BF-159CF9355B42}=C:\Devtools\Microchip\MPLAB C30\bin\pic30-ld.exe diff --git a/Demo/PIC24_MPLAB/serial/serial.c b/Demo/PIC24_MPLAB/serial/serial.c index cb837eb50..a544b1a91 100644 --- a/Demo/PIC24_MPLAB/serial/serial.c +++ b/Demo/PIC24_MPLAB/serial/serial.c @@ -219,7 +219,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; void __attribute__((__interrupt__, auto_psv)) _U2TXInterrupt( void ) { signed portCHAR cChar; -portBASE_TYPE xTaskWoken = pdFALSE; +portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; /* If the transmit buffer is full we cannot get the next character. Another interrupt will occur the next time there is space so this does @@ -227,7 +227,7 @@ portBASE_TYPE xTaskWoken = pdFALSE; IFS1bits.U2TXIF = serCLEAR_FLAG; while( !( U2STAbits.UTXBF ) ) { - if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xTaskWoken ) == pdTRUE ) + if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xHigherPriorityTaskWoken ) == pdTRUE ) { /* Send the next character queued for Tx. */ U2TXREG = cChar; @@ -240,7 +240,7 @@ portBASE_TYPE xTaskWoken = pdFALSE; } } - if( xTaskWoken != pdFALSE ) + if( xHigherPriorityTaskWoken != pdFALSE ) { taskYIELD(); } -- 2.39.5