dsPIC33Fj64GP802 を使った SSBジェネレーター を実験しょうとしましたがコンパイルエラーでストップしていましたが、ハム三昧さんのブログに出会いエラー回避の方法で解決しました。
CCI 準拠ですが、XC16-GCCの Option categorise:の中にあるPreprocessing and messagesを開き、その中にある、Use CCI syntaxにチェックマークを入れます
次に、XC16(Global Options)を開き、Additonal options:の枠に -menable-fixed の文字を追加し、最後に下の方にある [Apply]を押します。
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/info/MPLABXProjects/SDR.X'
make -f nbproject/Makefile-default.mk dist/default/production/SDR.X.production.hex
make[2]: Entering directory 'C:/Users/info/MPLABXProjects/SDR.X'
"C:\Program Files\Microchip\xc16\v2.00\bin\xc16-gcc.exe" ../../Documents/PIC/SDR/SSB_generator_3.c -o build/default/production/_ext/1461558299/SSB_generator_3.o -c -mcpu=33FJ64GP802 -MP -MMD -MF "build/default/production/_ext/1461558299/SSB_generator_3.o.d" -g -omf=elf -DXPRJ_default=default -menable-fixed -O0 -mcci -msmart-io=1 -Wall -msfr-warn=off -mdfp="C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/dsPIC33F-GP-MC_DFP/1.3.64/xc16"
../../Documents/PIC/SDR/float_Tap10kLSB_BPF.h:4:12: warning: 'Tap10kL_Num' defined but not used
"C:\Program Files\Microchip\xc16\v2.00\bin\xc16-gcc.exe" -o dist/default/production/SDR.X.production.elf build/default/production/_ext/1461558299/SSB_generator_3.o -mcpu=33FJ64GP802 -omf=elf -DXPRJ_default=default -menable-fixed -Wl,,,--defsym=__MPLAB_BUILD=1,,--script=p33FJ64GP802.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/SDR.X.production.map",--report-mem,--memorysummary,dist/default/production/memoryfile.xml -mdfp="C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/dsPIC33F-GP-MC_DFP/1.3.64/xc16"
Info: Loading file: C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/dsPIC33F-GP-MC_DFP/1.3.64/xc16/bin/../support/dsPIC33F/gld\\p33FJ64GP802.gld
xc16-ld 2.00 (B)
Default Code Model: Small
Default Data Model: Large
Default Scalar Model: Small
"program" Memory [Origin = 0x200, Length = 0xaa00]
section address length (PC units) length (bytes) (dec)
------- ------- ----------------- --------------------
.text 0x200 0x5b6 0x891 (2193)
.const 0x7b6 0xbc4 0x11a6 (4518)
.text 0x137a 0x460 0x690 (1680)
.dinit 0x17da 0x2a 0x3f (63)
.init.delay32 0x1804 0x1c 0x2a (42)
Total "program" memory used (bytes): 0x2130 (8496) 13%
"data" Memory [Origin = 0x800, Length = 0x4000]
section address alignment gaps total length (dec)
------- ------- -------------- -------------------
.nbss 0x800 0 0x26 (38)
.ndata 0x826 0 0x6 (6)
.xbss 0x82c 0 0x1000 (4096)
.data 0x182c 0 0x8 (8)
.ybss 0x3800 0 0x1000 (4096)
Total "data" memory used (bytes): 0x2034 (8244) 50%
Dynamic Memory Usage
region address maximum length (dec)
------ ------- ---------------------
heap 0 0 (0)
stack 0x1834 0x1fcc (8140)
Maximum dynamic memory (bytes): 0x1fcc (8140)
"C:\Program Files\Microchip\xc16\v2.00\bin"\\xc16-bin2hex dist/default/production/SDR.X.production.elf -a -omf=elf -mdfp="C:/Program Files/Microchip/MPLABX/v6.00/packs/Microchip/dsPIC33F-GP-MC_DFP/1.3.64/xc16"
make[2]: Leaving directory 'C:/Users/info/MPLABXProjects/SDR.X'
make[1]: Leaving directory 'C:/Users/info/MPLABXProjects/SDR.X'
BUILD SUCCESSFUL (total time: 7s)
Loading code from C:/Users/info/MPLABXProjects/SDR.X/dist/default/production/SDR.X.production.hex...
Program loaded with pack,dsPIC33F-GP-MC_DFP,1.3.64,Microchip
Loading completed