Announcement

Collapse
No announcement yet.

Moodz' Awesome Gold Pulse Induction Version 3 - MAGPI V3 Project

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by moodz View Post

    ... OK looking at that log there is some error not visible ... should be listed higher up in the log.
    Hi Moodz,
    Here is the complete ouput below.

    make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
    make[1]: Entering directory 'D:/Documents/My Projects/PI_Detector/Moodz MAGPI008/PIC32MX150 Source/MAGPI008_2023_05_12_V1.3_RELEASE/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_05_12_V1.3_RELEASE.X'
    make -f nbproject/Makefile-default.mk dist/default/production/MAGPI008_2023_05_12_V1.3_RELEASE.X.production.hex
    make[2]: Entering directory 'D:/Documents/My Projects/PI_Detector/Moodz MAGPI008/PIC32MX150 Source/MAGPI008_2023_05_12_V1.3_RELEASE/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_05_12_V1.3_RELEASE.X'
    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -I"C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include" -I"../userlib.X" -MP -MMD -MF "build/default/production/serial.o.d" -o build/default/production/serial.o serial.c -DXPRJ_default=default -legacy-libc
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/adc10.h:45:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:49,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/int.h:49:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/int.h:82:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/adc10.h:45,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:49,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/int_1xx_2xx.h:64:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/int_1xx_2xx.h:75:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/int.h:82,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/adc10.h:45,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:49,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/int_1xx_2xx_legacy.h:47:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/int.h:96:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/adc10.h:45,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:49,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/int_legacy.h:47:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:49:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/adc10.h:54:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:49:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/adc10.h:332:6: warning: #warning "Warning: configport argument for OpenADC10 only works for Port B." [-Wcpp]
    #warning "Warning: configport argument for OpenADC10 only works for Port B."
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:50:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/bmx.h:51:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:51:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/cmp.h:52:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:52:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/cvref.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:53:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/dma.h:46:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/dma.h:70:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:53,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/dma_1xx_2xx.h:54:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/dma_1xx_2xx.h:2155:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/dma.h:70,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:53,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/dma_legacy.h:58:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:54:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/i2c.h:59:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/i2c.h:64:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:54,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/i2c_legacy.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:55:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/incap.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:57:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/nvm.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:58:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/outcompare.h:54:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:59:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/pcache.h:50:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:60:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/pmp.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/ports.h:46:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:61,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/SPI_Port_Mappings.h:11:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/ports.h:47:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:61,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/Ethernet_Port_Mappings.h:11:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:61:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/ports.h:56:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:62:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/pps.h:13:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:63:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/power.h:52:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/reset.h:45:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:64,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/lock.h:47:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:64:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/reset.h:54:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:65:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/rtcc.h:51:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/rtcc.h:1320:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:65,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/rtcc_legacy.h:55:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:66:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/spi.h:50:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/spi.h:74:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:66,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/spi_1xx_2xx.h:52:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/spi_1xx_2xx.h:1041:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/spi.h:74,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:66,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/spi_legacy.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/system.h:58:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:67,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/osc.h:53:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:67:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/system.h:74:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:68:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/timer.h:52:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/uart.h:59:0,
    from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:69,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/legacy/uart_legacy.h:49:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:69:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/uart.h:74:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:70:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/wdt.h:54:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:71:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/eth.h:59:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    In file included from C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/plib.h:72:0,
    from ../userlib.X/userLib.h:5,
    from serial.c:4:
    C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/peripheral/CAN.h:60:4: warning: #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases [-Wcpp]
    #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    ^
    serial.c:69:1: error: unknown type name 'uint16_t'
    uint16_t fletcher16( uint8_t const *data, size_t bytes );
    ^
    serial.c:69:30: error: expected ')' before 'const'
    uint16_t fletcher16( uint8_t const *data, size_t bytes );
    ^
    serial.c:527:6: warning: conflicting types for 'sendData' [enabled by default]
    void sendData() //REMOTE CONTROL APP DATA PACKET SEND //
    ^
    serial.c:519:18: note: previous implicit declaration of 'sendData' was here
    sendData();
    ^
    serial.c:611:1: error: unknown type name 'uint16_t'
    uint16_t fletcher16( uint8_t const *data, size_t bytes )
    ^
    serial.c:611:30: error: expected ')' before 'const'
    uint16_t fletcher16( uint8_t const *data, size_t bytes )
    ^
    serial.c:784:1: warning: Interrupt priority IPL2 is deprecated. Specify as 'IPL2{AUTO|SOFT|SRS|SAVEALL}' instead. [enabled by default]
    {
    ^
    make[2]: *** [build/default/production/serial.o] Error 255
    make[1]: *** [.build-conf] Error 2
    make: *** [.build-impl] Error 2
    nbproject/Makefile-default.mk:160: recipe for target 'build/default/production/serial.o' failed
    make[2]: Leaving directory 'D:/Documents/My Projects/PI_Detector/Moodz MAGPI008/PIC32MX150 Source/MAGPI008_2023_05_12_V1.3_RELEASE/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_05_12_V1.3_RELEASE.X'
    nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
    make[1]: Leaving directory 'D:/Documents/My Projects/PI_Detector/Moodz MAGPI008/PIC32MX150 Source/MAGPI008_2023_05_12_V1.3_RELEASE/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_05_12_V1.3_RELEASE.X'
    nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

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

    Comment


    • #=(4/5)=20:2+1=11:65=?drla baba lan da joj prodje dan.

      Comment


      • In the translation, so many pages without anything concrete​.

        Comment


        • Hey Dean. ...

          serial.c:69:30: error: expected ')' before 'const'
          uint16_t fletcher16( uint8_t const *data, size_t bytes );​

          This error is in your output log ... There is a syntax error somewhere.

          Comment


          • Originally posted by moodz View Post
            Hey Dean. ...

            serial.c:69:30: error: expected ')' before 'const'
            uint16_t fletcher16( uint8_t const *data, size_t bytes );​

            This error is in your output log ... There is a syntax error somewhere.
            Hi Moodz,
            Before I decide to throw in the towel and code it up from scratch could you check my configuration please.
            Click image for larger version

Name:	image.png
Views:	485
Size:	62.6 KB
ID:	412943
            Click image for larger version

Name:	image.png
Views:	479
Size:	29.2 KB
ID:	412944
            Click image for larger version

Name:	image.png
Views:	478
Size:	40.9 KB
ID:	412945
            Click image for larger version

Name:	image.png
Views:	478
Size:	29.4 KB
ID:	412946
            Click image for larger version

Name:	image.png
Views:	479
Size:	59.6 KB
ID:	412947
            Click image for larger version

Name:	image.png
Views:	480
Size:	62.8 KB
ID:	412948​​​
            ​​

            Comment


            • Hey Dean ...

              Just to make sure on a clean machine ...

              I loaded up a clean Ubuntu 22.04 virtual machine hosted on Virtualbox .

              Installed MPLABX 6.10
              Installed XC32 v2.15
              Installed PLIB legacy on the compiler location.

              Downloaded the V1.3 I posted ... and it did not compile .

              So there is something wrong with that source package ... it only builds on my workstation ( regular machine ).

              I then downloaded the MX150 package from post #16 ....

              That builds OK.

              In summary ... something IS wrong with the V1.3 package. dont use it till I investigate it.

              moodz.

              Comment


              • Originally posted by moodz View Post
                Hey Dean ...

                Just to make sure on a clean machine ...

                I loaded up a clean Ubuntu 22.04 virtual machine hosted on Virtualbox .

                Installed MPLABX 6.10
                Installed XC32 v2.15
                Installed PLIB legacy on the compiler location.

                Downloaded the V1.3 I posted ... and it did not compile .

                So there is something wrong with that source package ... it only builds on my workstation ( regular machine ).

                I then downloaded the MX150 package from post #16 ....

                That builds OK.

                In summary ... something IS wrong with the V1.3 package. dont use it till I investigate it.

                moodz.
                Thanks Moodz,
                Really appreciate your help.
                Will let you know how I go with V1.2.
                Cheers

                Comment


                • Here is sourcecode for version 1.4.

                  The userlib is no longer required to compile.

                  should compile with no errors or warnings ( using X32 v2.15 and PLIB )

                  MAGPI008_2023_06_07_V1.4_RELEASE.zip


                  Below is the firmware ....

                  MAGPI008_2023_06_07_V1.4_RELEASE.X.production.zip


                  CLEAN SUCCESSFUL (total time: 0ms)
                  make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
                  make[1]: Entering directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'
                  make -f nbproject/Makefile-default.mk dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.hex
                  make[2]: Entering directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/main.o.d" -o build/default/production/main.o main.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/my_main.o.d" -o build/default/production/my_main.o my_main.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/serial.o.d" -o build/default/production/serial.o serial.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/I2C_UTILS.o.d" -o build/default/production/I2C_UTILS.o I2C_UTILS.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/DELAY.o.d" -o build/default/production/DELAY.o DELAY.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/PIC32MX250pins.o.d" -o build/default/production/PIC32MX250pins.o PIC32MX250pins.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/LCD_I2C_PCF8574.o.d" -o build/default/production/LCD_I2C_PCF8574.o LCD_I2C_PCF8574.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/flash.o.d" -o build/default/production/flash.o flash.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/uart.o.d" -o build/default/production/uart.o uart.c -DXPRJ_default=default -legacy-libc
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -mprocessor=32MX150F128B -o dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.elf build/default/production/main.o build/default/production/my_main.o build/default/production/serial.o build/default/production/I2C_UTILS.o build/default/production/LCD_I2C_PCF8574.o build/default/production/DELAY.o build/default/production/flash.o build/default/production/PIC32MX250pins.o build/default/production/uart.o -DXPRJ_default=default -legacy-libc -Wl,--defsym=__MPLAB_BUILD=1,--defsym=_min_heap_size=4000,--defsym=_min_stack_size=1000,--no-code-in-dinit,--no-dinit-in-serial-mem,-Map="dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.map" ,--memorysummary,dist/default/production/memoryfile.xml
                  "C:\Program Files (x86)\Microchip\xc32\v2.15\bin"\\xc32-bin2hex dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.elf
                  make[2]: Leaving directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'
                  make[1]: Leaving directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'

                  BUILD SUCCESSFUL (total time: 2s)
                  Loading code from C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X/dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.hex. ..
                  Program loaded with pack,PIC32MX_DFP,1.5.259,Microchip
                  Loading completed​

                  Comment


                  • Originally posted by moodz View Post
                    Here is sourcecode for version 1.4.

                    The userlib is no longer required to compile.

                    should compile with no errors or warnings ( using X32 v2.15 and PLIB )

                    [ATTACH]n412965[/ATTACH]


                    Below is the firmware ....

                    [ATTACH]n412966[/ATTACH]


                    CLEAN SUCCESSFUL (total time: 0ms)
                    make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
                    make[1]: Entering directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'
                    make -f nbproject/Makefile-default.mk dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.hex
                    make[2]: Entering directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/main.o.d" -o build/default/production/main.o main.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/my_main.o.d" -o build/default/production/my_main.o my_main.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/serial.o.d" -o build/default/production/serial.o serial.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/I2C_UTILS.o.d" -o build/default/production/I2C_UTILS.o I2C_UTILS.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/DELAY.o.d" -o build/default/production/DELAY.o DELAY.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/PIC32MX250pins.o.d" -o build/default/production/PIC32MX250pins.o PIC32MX250pins.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/LCD_I2C_PCF8574.o.d" -o build/default/production/LCD_I2C_PCF8574.o LCD_I2C_PCF8574.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/flash.o.d" -o build/default/production/flash.o flash.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX150F128B -MP -MMD -MF "build/default/production/uart.o.d" -o build/default/production/uart.o uart.c -DXPRJ_default=default -legacy-libc
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -mprocessor=32MX150F128B -o dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.elf build/default/production/main.o build/default/production/my_main.o build/default/production/serial.o build/default/production/I2C_UTILS.o build/default/production/LCD_I2C_PCF8574.o build/default/production/DELAY.o build/default/production/flash.o build/default/production/PIC32MX250pins.o build/default/production/uart.o -DXPRJ_default=default -legacy-libc -Wl,--defsym=__MPLAB_BUILD=1,--defsym=_min_heap_size=4000,--defsym=_min_stack_size=1000,--no-code-in-dinit,--no-dinit-in-serial-mem,-Map="dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.map" ,--memorysummary,dist/default/production/memoryfile.xml
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin"\\xc32-bin2hex dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.elf
                    make[2]: Leaving directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'
                    make[1]: Leaving directory 'C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X'

                    BUILD SUCCESSFUL (total time: 2s)
                    Loading code from C:/WORK/MAGPI008/DEVEL/MAGPI008_2022_11_17_MX150/MPLABXProjects/MAGPI008_2023_06_07_V1.4_RELEASE.X/dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.hex. ..
                    Program loaded with pack,PIC32MX_DFP,1.5.259,Microchip
                    Loading completed​
                    Hi Moodz,
                    I am still unable to compile fully and I think it is because I am missing some arguments in my compiler setup.
                    Here is a copy of my compiler output below and when you compare it to yours I can see that you have additional -g -x c -c
                    "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -mprocessor=32MX150F128B -o dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.elf

                    Would you know how to setup these arguements in the compiler..?

                    I have been playing around with the Compiler options fields and checking the Generated Command Line to see if I can get it to match but without any luck..?

                    Click image for larger version

Name:	image.png
Views:	453
Size:	47.9 KB
ID:	412971

                    Comment


                    • Originally posted by moodz View Post
                      ...the case fitted with a handmade 18650 battery pack ( 2 cells in series - 8.4 volts ) which is good for hours of detecting joy @ 230 mA draw.

                      I am just figuring out if I can make a QADCC ( quick and dirty charging function) with some spare ports on the CPU.

                      moodz

                      Click image for larger version  Name:	batt.jpg Views:	1149 Size:	389.7 KB ID:	409718



                      I have finished with the assembly of this project and carried out the first tests and it seems to work well, however I have a big doubt with the D3 diode (BYV79-200) since mouser sent me a TO220 assembly diode instead of the one I see in your photos that looks like a diode with DO41 packaging. What diode are you using in your project?

                      Dario​

                      Comment


                      • Originally posted by darov922 View Post

                        I have finished with the assembly of this project and carried out the first tests and it seems to work well, however I have a big doubt with the D3 diode (BYV79-200) since mouser sent me a TO220 assembly diode instead of the one I see in your photos that looks like a diode with DO41 packaging. What diode are you using in your project?

                        Dario​
                        Hey Dario ... good work ... try a MUR160 diode.

                        Comment


                        • Originally posted by Dean Sarelius View Post

                          Hi Moodz,
                          I am still unable to compile fully and I think it is because I am missing some arguments in my compiler setup.
                          Here is a copy of my compiler output below and when you compare it to yours I can see that you have additional -g -x c -c
                          "C:\Program Files (x86)\Microchip\xc32\v2.15\bin\xc32-gcc.exe" -mprocessor=32MX150F128B -o dist/default/production/MAGPI008_2023_06_07_V1.4_RELEASE.X.production.elf

                          Would you know how to setup these arguements in the compiler..?

                          I have been playing around with the Compiler options fields and checking the Generated Command Line to see if I can get it to match but without any luck..?

                          Click image for larger version  Name:	image.png Views:	0 Size:	47.9 KB ID:	412971


                          Hi Dean ... I downloaded the source zipfile I posted earlier and it compiles fine on a new machine setup ( defaults - did not change any configs ).

                          the command line option is -g .... see below. ( default setting )

                          I notice that your generated command line for the compiler is referring to v1.4 XC32 .... you need version 2.15.

                          I install version 2.15 XC32 then install the legacy PLIB on that ( it should ask you to specify the location of the compiler during install )

                          Also note that Microchip refer to PLIB for later support libs ( like Harmony etc ) ... this is WRONG. You need the legacy PLIB installer. ( login to Microchip and access the PLIB in the legacy file area )

                          moodz

                          Click image for larger version  Name:	config.jpg Views:	0 Size:	89.1 KB ID:	412991

                          Click image for larger version

Name:	conifg2.jpg
Views:	439
Size:	96.2 KB
ID:	412994
                          Attached Files
                          Last edited by moodz; 06-08-2023, 06:19 AM. Reason: additional info

                          Comment


                          • Paul ,

                            Have you done the version V1.4 for the PIC32MX250 yet if so I will try that and see how I get on.

                            Regards, Ian.

                            Comment


                            • Originally posted by IBGold View Post
                              Paul ,

                              Have you done the version V1.4 for the PIC32MX250 yet if so I will try that and see how I get on.

                              Regards, Ian.
                              Hi the firmware is below ...

                              https://www.geotech1.com/forums/foru...964#post412964

                              Comment


                              • Originally posted by moodz View Post



                                Hi Dean ... I downloaded the source zipfile I posted earlier and it compiles fine on a new machine setup ( defaults - did not change any configs ).

                                the command line option is -g .... see below. ( default setting )

                                I notice that your generated command line for the compiler is referring to v1.4 XC32 .... you need version 2.15.

                                I install version 2.15 XC32 then install the legacy PLIB on that ( it should ask you to specify the location of the compiler during install )

                                Also note that Microchip refer to PLIB for later support libs ( like Harmony etc ) ... this is WRONG. You need the legacy PLIB installer. ( login to Microchip and access the PLIB in the legacy file area )

                                moodz

                                Click image for larger version Name:	config.jpg Views:	0 Size:	89.1 KB ID:	412991

                                Click image for larger version

Name:	conifg2.jpg
Views:	439
Size:	96.2 KB
ID:	412994
                                Hi Moodz,
                                Great news..after installing the legacy peripheral libraries into the V2.15 libraries path it succesfully compiled and downloaded to the PIC.
                                This verfies the fact that the display is not initialising properly as this was the same behaviour I was seeing from the hex file also.
                                Thanks again for all your help and will let you know when I have it working.
                                Cheers

                                Comment

                                Working...