fossasia / pslab-firmware

Firmware for PSLab Open Hardware Platform https://pslab.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility issues with MPLab IDE v5.45

CloudyPadmal opened this issue · comments

Deprecated packages had been now removed from MPLab IDE and the current build fails. The error log is as follows.

PSLAB_UART.c: In function 'initUART':
PSLAB_UART.c:50:5: warning: implicit declaration of function 'Nop'
/tmp/ccukwRIO.00008891.s: Assembler messages:
/tmp/ccukwRIO.00008891.s:310: Error: rcall cannot follow a REPEAT.
/tmp/ccukwRIO.00008891.s:581: Error: rcall cannot follow a REPEAT.
make[2]: *** [nbproject/Makefile-default.mk:169: build/default/production/PSLAB_UART.o] Error 255
make[2]: *** Waiting for unfinished jobs....
proto2_main.c: In function 'main':
proto2_main.c:111:25: warning: '_flash_helper1' is deprecated (declared at /opt/microchip/xc16/v1.60/bin/bin/../../support/generic/h/libpic30.h:393): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc
proto2_main.c:116:29: warning: '_flash_helper10' is deprecated (declared at /opt/microchip/xc16/v1.60/bin/bin/../../support/generic/h/libpic30.h:411): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc
proto2_main.c:1095:31: warning: assignment makes pointer from integer without a cast
proto2_main.c:1102:31: warning: assignment makes pointer from integer without a cast
PSLAB_NRF.c: In function 'nRF_Setup':
PSLAB_NRF.c:39:5: warning: implicit declaration of function 'Nop'
Function.c: In function 'read_all_from_flash':
Function.c:308:5: warning: implicit declaration of function 'Nop'
Function.c: In function 'load_to_flash':
Function.c:331:5: warning: '_flash_helper1' is deprecated (declared at /opt/microchip/xc16/v1.60/bin/bin/../../support/generic/h/libpic30.h:393): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc
Function.c:336:9: warning: '_flash_helper10' is deprecated (declared at /opt/microchip/xc16/v1.60/bin/bin/../../support/generic/h/libpic30.h:411): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc
Measurements.c: In function 'set_cap_voltage':
Measurements.c:22:5: warning: implicit declaration of function 'Nop'
proto2_main.c: At top level:
proto2_main.c:1383:1: warning: '_FUID0' definition has been deprecated: consider migrating to #pragma config
proto2_main.c:1383:1: warning: '_FUID1' definition has been deprecated: consider migrating to #pragma config
proto2_main.c:1383:1: warning: '_FUID2' definition has been deprecated: consider migrating to #pragma config
proto2_main.c:1383:1: warning: '_FUID3' definition has been deprecated: consider migrating to #pragma config
make[1]: *** [nbproject/Makefile-default.mk:91: .build-conf] Error 2
make: *** [nbproject/Makefile-impl.mk:39: .build-impl] Error 2
make[2]: Leaving directory '/home/Padmal/FOSSASIA/pslab-firmware/PSLab_Original'
make[1]: Leaving directory '/home/Padmal/FOSSASIA/pslab-firmware/PSLab_Original'

BUILD FAILED (exit value 2, total time: 4s)