From: richardbarry Date: Tue, 25 Jan 2011 15:56:09 +0000 (+0000) Subject: Update the dsPIC MPLAB demo for use with the latest 3.25 version of the compiler. X-Git-Tag: V7.0.0~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9d711cbea401f1d573cac8cb31d2943b1738d769;p=freertos Update the dsPIC MPLAB demo for use with the latest 3.25 version of the compiler. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1265 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/dsPIC_MPLAB/RTOSDemo.mcw b/Demo/dsPIC_MPLAB/RTOSDemo.mcw index 69316a669..6a2a4ff05 100644 Binary files a/Demo/dsPIC_MPLAB/RTOSDemo.mcw and b/Demo/dsPIC_MPLAB/RTOSDemo.mcw differ diff --git a/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcp b/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcp index 3baeb6fd5..d422901dd 100644 --- a/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcp +++ b/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcp @@ -1,6 +1,7 @@ [HEADER] magic_cookie={66E99B07-E706-4689-9E80-9B2582898A13} file_version=1.0 +device=dsPIC33FJ256GP710 [PATH_INFO] BuildDirPolicy=BuildDirIsSourceDir dir_src= @@ -17,7 +18,7 @@ filter_obj=*.o filter_lib=*.a filter_lkr=*.gld [CAT_SUBFOLDERS] -subfolder_src= +subfolder_src=FreeRTOS Source;Standard Demo Source subfolder_inc= subfolder_obj= subfolder_lib= @@ -28,18 +29,18 @@ 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_005=Standard Demo Source +file_006=Standard Demo Source +file_007=Standard Demo Source +file_008=Standard Demo Source +file_009=FreeRTOS Source +file_010=FreeRTOS Source +file_011=Standard Demo Source +file_012=FreeRTOS Source +file_013=FreeRTOS Source +file_014=FreeRTOS Source +file_015=FreeRTOS Source +file_016=FreeRTOS Source file_017=. file_018=. file_019=. @@ -96,22 +97,22 @@ file_021=no file_022=no [FILE_INFO] file_000=main.c -file_001=..\..\source\list.c -file_002=..\..\source\queue.c -file_003=..\..\source\tasks.c -file_004=..\..\source\portable\MPLAB\PIC24_dsPIC\port.c -file_005=..\..\source\portable\MemMang\heap_1.c -file_006=..\Common\Minimal\BlockQ.c -file_007=..\..\source\croutine.c +file_001=ParTest\ParTest.c +file_002=serial\serial.c +file_003=timertest.c +file_004=lcd.c +file_005=..\Common\Minimal\BlockQ.c +file_006=..\Common\Minimal\blocktim.c +file_007=..\Common\Minimal\comtest.c file_008=..\Common\Minimal\crflash.c -file_009=ParTest\ParTest.c -file_010=..\Common\Minimal\blocktim.c +file_009=..\..\source\croutine.c +file_010=..\..\source\portable\MemMang\heap_1.c file_011=..\Common\Minimal\integer.c -file_012=..\Common\Minimal\comtest.c -file_013=serial\serial.c -file_014=timertest.c -file_015=lcd.c -file_016=..\..\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S +file_012=..\..\source\list.c +file_013=..\..\source\portable\MPLAB\PIC24_dsPIC\port.c +file_014=..\..\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S +file_015=..\..\source\queue.c +file_016=..\..\source\tasks.c file_017=..\..\source\include\semphr.h file_018=..\..\source\include\task.h file_019=..\..\source\include\croutine.h @@ -125,7 +126,7 @@ suite_state= TS{7D9C6ECE-785D-44CB-BA22-17BF2E119622}=-g TS{25AC22BD-2378-4FDB-BFB6-7345A15512D3}=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 TS{25AC22BD-2378-4FDB-BFB6-7345A15512D3}_alt=yes -TS{7DAC9A1D-4C45-45D6-B25A-D117C74E8F5A}=--defsym=__ICD2RAM=1 -Map="$(TARGETBASE).map" -o"$(TARGETBASE).$(TARGETSUFFIX)" +TS{7DAC9A1D-4C45-45D6-B25A-D117C74E8F5A}=--heap=0 --defsym=__ICD2RAM=1 -o"$(BINDIR_)$(TARGETBASE).$(TARGETSUFFIX)" TS{509E5861-1E2A-483B-8B6B-CA8DB7F2DD78}= [INSTRUMENTED_TRACE] enable=0 diff --git a/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcs b/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcs index 30ac2b2ea..2b67bf159 100644 --- a/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcs +++ b/Demo/dsPIC_MPLAB/RTOSDemo_dsPIC.mcs @@ -1,254 +1,7 @@ [Header] MagicCookie={0b13fe8c-dfe0-40eb-8900-6712719559a7} Version=1.0 -[File000] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\main.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File001] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\source\list.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File002] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\source\queue.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File003] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\source\tasks.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File004] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\source\portable\MPLAB\PIC24_dsPIC\port.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File005] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\source\portable\MemMang\heap_1.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File006] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\Common\Minimal\BlockQ.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File007] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\source\croutine.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File008] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\Common\Minimal\crflash.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File009] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\ParTest\ParTest.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File010] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\Common\Minimal\blocktim.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File011] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\Common\Minimal\integer.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File012] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\Common\Minimal\comtest.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File013] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\serial\serial.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File014] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\timertest.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File015] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\lcd.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={069BD372-6CA0-40D4-BF2F-5DC806D05083} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-gcc.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-fno-omit-frame-pointer -g -Wall -DMPLAB_DSPIC_PORT -O2 -fno-schedule-insns -fno-schedule-insns2 -TraceCmdString= -DebugOptions=-D__DEBUG -[File016] -Location=C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.o -Folder=Intermediary -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={DE18EB1A-B46B-486B-B96F-A811A635DFAC} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-as.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=-g -TraceCmdString= -DebugOptions=--defsym=__DEBUG=1 -[File017] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\RTOSDemo_dsPIC.cof -Folder=Output -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={433C3D55-811D-409D-A6BF-159CF9355B42} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-ld.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=--defsym=__ICD2RAM=1 -Map="$(TARGETBASE).map" -o"$(TARGETBASE).$(TARGETSUFFIX)" -TraceCmdString= -DebugOptions=--defsym=__MPLAB_DEBUG=1 --defsym=__MPLAB_DEBUGGER_REAL_ICE=1 --defsym=__ICD2RAM=1 -[File018] -Location=C:\E\temp\rc\4\V5.0.3\FreeRTOS\Demo\dsPIC_MPLAB\RTOSDemo_dsPIC.hex -Folder=Output -DeviceName=dsPIC33FJ256GP710 -LanguageToolSuiteID={479DDE59-4D56-455E-855E-FFF59A3DB57E} -LanguageToolID={433C3D55-811D-409D-A6BF-159CF9355B42} -LanguageToolLocation=C:\Devtools\Microchip\MPLAB C30\bin\pic30-ld.exe -PPAD=$(BINDIR)||$(TMPDIR)||$(AINDIR)||$(INCDIR)|.;.\include;..\include;..\..\include;..\..\..\include;..\..\Source\include;..\..\..\Source\include;..\Demo\dsPIC_MPLAB;..\..\..\Demo\dsPIC_MPLAB;..\..\..\..\Demo\dsPIC_MPLAB;.\FileSystem;..\Common\include;..\..\Common\include||$(LIBDIR)||$(LKRDIR)|| -SOLK=|main.c|..\..\source\list.c|..\..\source\queue.c|..\..\source\tasks.c|..\..\source\portable\MPLAB\PIC24_dsPIC\port.c|..\..\source\portable\MemMang\heap_1.c|..\Common\Minimal\BlockQ.c|..\..\source\croutine.c|..\Common\Minimal\crflash.c|ParTest\ParTest.c|..\Common\Minimal\blocktim.c|..\Common\Minimal\integer.c|..\Common\Minimal\comtest.c|serial\serial.c|timertest.c|lcd.c|C:\E\Dev\FreeRTOS\WorkingCopy2\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.S|||||||p33FJ256GP710.gld|| -SuiteArgsString= -ToolArgsString=--defsym=__ICD2RAM=1 -Map="$(TARGETBASE).map" -o"$(TARGETBASE).$(TARGETSUFFIX)" -TraceCmdString= -DebugOptions=--defsym=__MPLAB_DEBUG=1 --defsym=__MPLAB_DEBUGGER_REAL_ICE=1 --defsym=__ICD2RAM=1 [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 +tool_loc{DE18EB1A-B46B-486B-B96F-A811A635DFAC}=C:\devtools\Microchip\mplabc30\v3.25\bin\pic30-as.exe +tool_loc{069BD372-6CA0-40D4-BF2F-5DC806D05083}=C:\devtools\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe +tool_loc{433C3D55-811D-409D-A6BF-159CF9355B42}=C:\devtools\Microchip\mplabc30\v3.25\bin\pic30-ld.exe diff --git a/Demo/dsPIC_MPLAB/p33FJ256GP710.gld b/Demo/dsPIC_MPLAB/p33FJ256GP710.gld index c5e6cffae..637c0995c 100644 --- a/Demo/dsPIC_MPLAB/p33FJ256GP710.gld +++ b/Demo/dsPIC_MPLAB/p33FJ256GP710.gld @@ -3,33 +3,48 @@ */ OUTPUT_ARCH("33FJ256GP710") -EXTERN(__resetPRI) -EXTERN(__resetALT) +CRT0_STARTUP(crt0_standard.o) +CRT1_STARTUP(crt1_standard.o) +OPTIONAL(-lp33FJ256GP710) /* ** Memory Regions */ MEMORY { - data (a!xr) : ORIGIN = 0x800, LENGTH = 0x7800 - reset : ORIGIN = 0x0, LENGTH = 0x4 - ivt : ORIGIN = 0x4, LENGTH = 0xFC - aivt : ORIGIN = 0x104, LENGTH = 0xFC - program (xr) : ORIGIN = 0x200, LENGTH = 0x2AA00 - FBS : ORIGIN = 0xF80000, LENGTH = 0x2 - FSS : ORIGIN = 0xF80002, LENGTH = 0x2 - FGS : ORIGIN = 0xF80004, LENGTH = 0x2 - FOSCSEL : ORIGIN = 0xF80006, LENGTH = 0x2 - FOSC : ORIGIN = 0xF80008, LENGTH = 0x2 - FWDT : ORIGIN = 0xF8000A, LENGTH = 0x2 - FPOR : ORIGIN = 0xF8000C, LENGTH = 0x2 - CONFIG3 : ORIGIN = 0xF8000E, LENGTH = 0x2 - FUID0 : ORIGIN = 0xF80010, LENGTH = 0x2 - FUID1 : ORIGIN = 0xF80012, LENGTH = 0x2 - FUID2 : ORIGIN = 0xF80014, LENGTH = 0x2 - FUID3 : ORIGIN = 0xF80016, LENGTH = 0x2 + data (a!xr) : ORIGIN = 0x800, LENGTH = 0x7800 + reset : ORIGIN = 0x0, LENGTH = 0x4 + ivt : ORIGIN = 0x4, LENGTH = 0xFC + aivt : ORIGIN = 0x104, LENGTH = 0xFC + program (xr) : ORIGIN = 0x200, LENGTH = 0x2AA00 + FBS : ORIGIN = 0xF80000, LENGTH = 0x2 + FSS : ORIGIN = 0xF80002, LENGTH = 0x2 + FGS : ORIGIN = 0xF80004, LENGTH = 0x2 + FOSCSEL : ORIGIN = 0xF80006, LENGTH = 0x2 + FOSC : ORIGIN = 0xF80008, LENGTH = 0x2 + FWDT : ORIGIN = 0xF8000A, LENGTH = 0x2 + FPOR : ORIGIN = 0xF8000C, LENGTH = 0x2 + FICD : ORIGIN = 0xF8000E, LENGTH = 0x2 + FUID0 : ORIGIN = 0xF80010, LENGTH = 0x2 + FUID1 : ORIGIN = 0xF80012, LENGTH = 0x2 + FUID2 : ORIGIN = 0xF80014, LENGTH = 0x2 + FUID3 : ORIGIN = 0xF80016, LENGTH = 0x2 } + +__FBS = 0xF80000; +__FSS = 0xF80002; +__FGS = 0xF80004; +__FOSCSEL = 0xF80006; +__FOSC = 0xF80008; +__FWDT = 0xF8000A; +__FPOR = 0xF8000C; +__FICD = 0xF8000E; +__FUID0 = 0xF80010; +__FUID1 = 0xF80012; +__FUID2 = 0xF80014; +__FUID3 = 0xF80016; + __IVT_BASE = 0x4; __AIVT_BASE = 0x104; __DATA_BASE = 0x800; @@ -72,16 +87,65 @@ SECTIONS /* ** User Code and Library Code + ** + ** This section must not be assigned to __CODE_BASE, + ** because CodeGuard(tm) sections may be located there. + ** + ** Note that input sections *(.text) are not mapped here. + ** The best-fit allocator locates them, so that .text + ** may flow around PSV sections as needed. */ - .text __CODE_BASE : + .text : { + *(.init); + *(.user_init); *(.handle); *(.libc) *(.libm) *(.libdsp); /* keep together in this order */ *(.lib*); - *(.text); } >program + /* + ** User-Defined Section in Program Memory + ** + ** note: can specify an address using + ** the following syntax: + ** + ** usercode 0x1234 : + ** { + ** *(usercode); + ** } >program + */ + usercode : + { + *(usercode); + } >program + + + /* + ** User-Defined Constants in Program Memory + ** + ** For PSV type sections, the Load Memory Address (LMA) + ** should be specified as follows: + ** + ** userconst : AT(0x1234) + ** { + ** *(userconst); + ** } >program + ** + ** Note that mapping PSV sections in linker scripts + ** is not generally recommended. + ** + ** Because of page alignment restrictions, memory is + ** often used more efficiently when PSV sections + ** do not appear in the linker script. + ** + ** For more information on memory allocation, + ** please refer to chapter 10, 'Linker Processing' + ** in the Assembler, Linker manual (DS51317). + */ + + /* ** Configuration Words */ @@ -99,6 +163,8 @@ SECTIONS { *(__FWDT.sec) } >FWDT __FPOR : { *(__FPOR.sec) } >FPOR + __FICD : + { *(__FICD.sec) } >FICD __FUID0 : { *(__FUID0.sec) } >FUID0 __FUID1 : @@ -329,7 +395,7 @@ SECTIONS ABSOLUTE(__DefaultInterrupt)); LONG( DEFINED(__U2ErrInterrupt) ? ABSOLUTE(__U2ErrInterrupt) : ABSOLUTE(__DefaultInterrupt)); - LONG( DEFINED(__Interrupt68) ? ABSOLUTE(__Interrupt68) : + LONG( DEFINED(__Interrupt67) ? ABSOLUTE(__Interrupt67) : ABSOLUTE(__DefaultInterrupt)); LONG( DEFINED(__DMA6Interrupt) ? ABSOLUTE(__DMA6Interrupt) : ABSOLUTE(__DefaultInterrupt)); @@ -665,8 +731,8 @@ SECTIONS LONG( DEFINED(__AltU2ErrInterrupt) ? ABSOLUTE(__AltU2ErrInterrupt) : (DEFINED(__U2ErrInterrupt) ? ABSOLUTE(__U2ErrInterrupt) : ABSOLUTE(__DefaultInterrupt))); - LONG( DEFINED(__AltInterrupt68) ? ABSOLUTE(__AltInterrupt68) : - (DEFINED(__Interrupt68) ? ABSOLUTE(__Interrupt68) : + LONG( DEFINED(__AltInterrupt67) ? ABSOLUTE(__AltInterrupt67) : + (DEFINED(__Interrupt67) ? ABSOLUTE(__Interrupt67) : ABSOLUTE(__DefaultInterrupt))); LONG( DEFINED(__AltDMA6Interrupt) ? ABSOLUTE(__AltDMA6Interrupt) : (DEFINED(__DMA6Interrupt) ? ABSOLUTE(__DMA6Interrupt) : @@ -1188,18 +1254,28 @@ _OC8CON = 0x1AE; _OC8CONbits = 0x1AE; I2C1RCV = 0x200; _I2C1RCV = 0x200; + I2CRCV = 0x200; +_I2CRCV = 0x200; I2C1TRN = 0x202; _I2C1TRN = 0x202; + I2CTRN = 0x202; +_I2CTRN = 0x202; I2C1BRG = 0x204; _I2C1BRG = 0x204; I2C1CON = 0x206; _I2C1CON = 0x206; _I2C1CONbits = 0x206; + I2CCON = 0x206; +_I2CCON = 0x206; I2C1STAT = 0x208; _I2C1STAT = 0x208; _I2C1STATbits = 0x208; + I2CSTAT = 0x208; +_I2CSTAT = 0x208; I2C1ADD = 0x20A; _I2C1ADD = 0x20A; + I2CADD = 0x20A; +_I2CADD = 0x20A; I2C1MSK = 0x20C; _I2C1MSK = 0x20C; I2C2RCV = 0x210; @@ -1367,6 +1443,8 @@ _LATG = 0x2E8; _LATGbits = 0x2E8; ADC1BUF0 = 0x300; _ADC1BUF0 = 0x300; + ADCBUF0 = 0x300; +_ADCBUF0 = 0x300; AD1CON1 = 0x320; _AD1CON1 = 0x320; _AD1CON1bits = 0x320; @@ -1388,6 +1466,8 @@ _AD1PCFGHbits = 0x32A; AD1PCFGL = 0x32C; _AD1PCFGL = 0x32C; _AD1PCFGLbits = 0x32C; + ADPCFG = 0x32C; +_ADPCFG = 0x32C; AD1CSSH = 0x32E; _AD1CSSH = 0x32E; _AD1CSSHbits = 0x32E; @@ -1955,6 +2035,10 @@ _RCONbits = 0x740; OSCCON = 0x742; _OSCCON = 0x742; _OSCCONbits = 0x742; + OSCCONL = 0x742; +_OSCCONL = 0x742; + OSCCONH = 0x743; +_OSCCONH = 0x743; CLKDIV = 0x744; _CLKDIV = 0x744; _CLKDIVbits = 0x744; @@ -1984,3 +2068,47 @@ _PMD2bits = 0x772; PMD3 = 0x774; _PMD3 = 0x774; _PMD3bits = 0x774; +/* +** ======= Base Addresses for Various Peripherals ====== +*/ + + IC1 = 0x140; +_IC1 = 0x140; + IC2 = 0x144; +_IC2 = 0x144; + IC3 = 0x148; +_IC3 = 0x148; + IC4 = 0x14C; +_IC4 = 0x14C; + IC5 = 0x150; +_IC5 = 0x150; + IC6 = 0x154; +_IC6 = 0x154; + IC7 = 0x158; +_IC7 = 0x158; + IC8 = 0x15C; +_IC8 = 0x15C; + OC1 = 0x180; +_OC1 = 0x180; + OC2 = 0x186; +_OC2 = 0x186; + OC3 = 0x18C; +_OC3 = 0x18C; + OC4 = 0x192; +_OC4 = 0x192; + OC5 = 0x198; +_OC5 = 0x198; + OC6 = 0x19E; +_OC6 = 0x19E; + OC7 = 0x1A4; +_OC7 = 0x1A4; + OC8 = 0x1AA; +_OC8 = 0x1AA; + SPI1 = 0x240; +_SPI1 = 0x240; + SPI2 = 0x260; +_SPI2 = 0x260; + UART1 = 0x220; +_UART1 = 0x220; + UART2 = 0x230; +_UART2 = 0x230;