PIC32Mx440F256H Compile error
Posted: Sat Dec 24, 2016 10:34 am
Hello. I found a problem with initialization PIC32Mx440F256H
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:821:0,
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_SPI.c:98:11: error: redefinition of 'MX_PRESCALE_VAR_X'
MX_UINT8 MX_PRESCALE_VAR_X = MX_SPI_PR_SCALE_X;
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_SPI.c:98:11: note: previous definition of 'MX_PRESCALE_VAR_X' was here
MX_UINT8 MX_PRESCALE_VAR_X = MX_SPI_PR_SCALE_X;
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:821:0,
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_SPI.c:98:11: error: redefinition of 'MX_PRESCALE_VAR_X'
MX_UINT8 MX_PRESCALE_VAR_X = MX_SPI_PR_SCALE_X;
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_SPI.c:98:11: note: previous definition of 'MX_PRESCALE_VAR_X' was here
MX_UINT8 MX_PRESCALE_VAR_X = MX_SPI_PR_SCALE_X;