a sample of the errors I see is;
Code: Select all
: undefined reference to `_FC_CAL_ADC_Disable'
H:\01JLRP~1\REMOTE~1\FlowCode\MIAC_dsPIC_Control_Test.o(.text+0xda4): In function `_FCD_08f41_adc_base__RawDisable':
: undefined reference to `_FC_CAL_ADC_Disable'
H:\01JLRP~1\REMOTE~1\FlowCode\MIAC_dsPIC_Control_Test.o(.text+0xdb0): In function `_FCD_08f41_adc_base__GetByte':
: undefined reference to `_FC_CAL_ADC_Enable'
H:\01JLRP~1\REMOTE~1\FlowCode\MIAC_dsPIC_Control_Test.o(.text+0xdb4): In function `_FCD_08f41_adc_base__GetByte':
: undefined reference to `_FC_CAL_ADC_Sample'
H:\01JLRP~1\REMOTE~1\FlowCode\MIAC_dsPIC_Control_Test.o(.text+0xdb8): In function `_FCD_08f41_adc_base__GetByte':
: undefined reference to `_FC_CAL_ADC_Disable'
Error returned from [xc16-gcc.exe]
C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_link.bat reported error code 1
I know i'm just missing something simple.