Announcement

Collapse
No announcement yet.

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

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

  • Dean Sarelius
    replied
    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:	633
Size:	62.6 KB
ID:	412943
    Click image for larger version

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

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

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

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

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

    Leave a comment:


  • moodz
    replied
    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.

    Leave a comment:


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

    Leave a comment:


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

    Leave a comment:


  • Dean Sarelius
    replied
    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)​

    Leave a comment:


  • moodz
    replied
    Originally posted by Dean Sarelius View Post

    Hi Moodz,
    Thats because I am using an MX150.....?
    ... OK looking at that log there is some error not visible ... should be listed higher up in the log.

    Leave a comment:


  • Dean Sarelius
    replied
    Originally posted by moodz View Post

    The V1.3 source project I posted last was set for a MX250 device .... your error message is saying you have it set to a MX150 device ??
    Hi Moodz,
    Thats because I am using an MX150.....?

    Leave a comment:


  • moodz
    replied
    Originally posted by Dean Sarelius View Post

    Hi Moodz,
    I managed to install the peripherals library >>> C:\Program Files (x86)\Microchip\xc32\v1.40\pic32-libs\include\peripheral
    Lots of warnings when compiling such as >>> #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    There are only the below 2 issues I need to figure out which I hope when sorted will be able to compile.

    Click image for larger version  Name:	image.png Views:	0 Size:	24.1 KB ID:	412837​
    ​
    The V1.3 source project I posted last was set for a MX250 device .... your error message is saying you have it set to a MX150 device ??

    Leave a comment:


  • Dean Sarelius
    replied
    Originally posted by moodz View Post

    From what I can see ... the bmx.h file is provided by older versions of the XC32 compiler ( so its a microchip file not mine ).
    I am not on my regular machine here .but I do have V1.4 installed here and the bmx.h file is sitting in C:\Program Files (x86)\Microchip\xc32\v1.40\pic32-libs\include\peripheral

    here it is anyway ...

    [ATTACH]n412828[/ATTACH]
    Hi Moodz,
    I managed to install the peripherals library >>> C:\Program Files (x86)\Microchip\xc32\v1.40\pic32-libs\include\peripheral
    Lots of warnings when compiling such as >>> #warning The PLIB functions and macros in this file will be removed from the MPLAB XC32 C/C++ Compiler in future releases
    There are only the below 2 issues I need to figure out which I hope when sorted will be able to compile.

    Click image for larger version

Name:	image.png
Views:	542
Size:	24.1 KB
ID:	412837​
    ​
    Attached Files

    Leave a comment:


  • moodz
    replied
    Originally posted by Dean Sarelius View Post

    Hi Moodz,
    Thank you for your help.
    I have installed the V2.15 toolchain onto my V6.00 IDE essentially it looks exactly as per your screen shot same Pack version etc.
    There is only one file missing when I try to compile and that is bmx.h..?
    The directory I installed the V2.15 toolchain is from the link below "PIC32 Legacy Peripheral Libraries"


    Click image for larger version

Name:	image.png
Views:	555
Size:	8.6 KB
ID:	412809​
    From what I can see ... the bmx.h file is provided by older versions of the XC32 compiler ( so its a microchip file not mine ).
    I am not on my regular machine here .but I do have V1.4 installed here and the bmx.h file is sitting in C:\Program Files (x86)\Microchip\xc32\v1.40\pic32-libs\include\peripheral

    here it is anyway ...

    bmx.zip

    Leave a comment:


  • Dean Sarelius
    replied
    Originally posted by moodz View Post

    Attached is v1.3 source.

    The C compiler must be v2.15 to support PLIB functions.

    You have to install PLIB after installing the compiler.

    The IDE I use is version 6.05

    Not sure why you have to rewrite the driver ... the library IS for the HD44780 controller and it works fine.

    [ATTACH]n412787[/ATTACH]

    Click image for larger version  Name:	compiler.jpg Views:	0 Size:	80.2 KB ID:	412786
    Hi Moodz,
    Thank you for your help.
    I have installed the V2.15 toolchain onto my V6.00 IDE essentially it looks exactly as per your screen shot same Pack version etc.
    There is only one file missing when I try to compile and that is bmx.h..?
    The directory I installed the V2.15 toolchain is from the link below "PIC32 Legacy Peripheral Libraries"


    Click image for larger version

Name:	image.png
Views:	555
Size:	8.6 KB
ID:	412809​

    Leave a comment:


  • moodz
    replied
    Originally posted by Dean Sarelius View Post


    Trying to compile V1.2 but it appears I am missing some system files <peripheral/bmx.h> <peripheral/adc10.h>
    My make files directory is C:\Program Files\Microchip\xc32\v4.21\pic32mx\include\pic32m-libs
    My MPLAB X IDE is V6.00
    Below is screen shot of the default compilers.
    Also it appears that my 20 x 4 character display is using Hitachi HD44780 controller so will likely need to re-write the driver.
    Attached is v1.3 source.

    The C compiler must be v2.15 to support PLIB functions.

    You have to install PLIB after installing the compiler.

    The IDE I use is version 6.05

    Not sure why you have to rewrite the driver ... the library IS for the HD44780 controller and it works fine.

    [ATTACH]n412787[/ATTACH]

    Click image for larger version

Name:	compiler.jpg
Views:	571
Size:	80.2 KB
ID:	412786
    Attached Files

    Leave a comment:


  • Dean Sarelius
    replied
    Originally posted by moodz View Post

    Hmmm ... OK I will check that out .. thanks Ian.
    Hi Moodz,
    Trying to compile V1.2 but it appears I am missing some system files <peripheral/bmx.h> <peripheral/adc10.h>
    My make files directory is C:\Program Files\Microchip\xc32\v4.21\pic32mx\include\pic32m-libs
    My MPLAB X IDE is V6.00
    Below is screen shot of the default compilers.
    Also it appears that my 20 x 4 character display is using Hitachi HD44780 controller so will likely need to re-write the driver.

    Click image for larger version

Name:	image.png
Views:	581
Size:	61.6 KB
ID:	412772​

    Leave a comment:


  • moodz
    replied
    Originally posted by IBGold View Post

    Hi Paul,

    I have done these changes and grounded the 7805 and as you say smooths out the audio with V1.2 code but when using the V1.3 code it all falls apart sensitivity down encoder very scratchy its as though there is a loose wire somewhere but that is not the case at first I thought the code was corrupt so I reprogramed it and no change so I have reverted back to V1.2 for now.

    Regards, Ian.
    Hmmm ... OK I will check that out .. thanks Ian.

    Leave a comment:


  • IBGold
    replied
    Originally posted by moodz View Post

    Looking at the original schematic.

    Change R11 and R16 to 5.6 mH neosid or similiar inductors.
    Change c9 and c16 to 10uF electrolytic.

    Change R13 to 100k
    Change R14 to 100k

    Change C4 to 1uF
    Change C5 to 1uF

    Result = supersmooth audio tone :-)

    Easily drives a 4 ohm speaker to 250 mW at full volume ( ... approx ) with V1.2 firmware

    moodz
    Hi Paul,

    I have done these changes and grounded the 7805 and as you say smooths out the audio with V1.2 code but when using the V1.3 code it all falls apart sensitivity down encoder very scratchy its as though there is a loose wire somewhere but that is not the case at first I thought the code was corrupt so I reprogramed it and no change so I have reverted back to V1.2 for now.

    Regards, Ian.
    Last edited by IBGold; 05-26-2023, 05:16 AM. Reason: Fixed grammatical error.

    Leave a comment:

Working...
X