I am using MPLab X IDE v.320 for Windows 7.how do I turn off the Warnings?also why do I get this warning : c:\program files (x86)\microchip\xc32\v1.40\pic32mx\include\peripheral\system.h:74:4: warning: #warning The PLIB functions and macros in this file w..
↧
turn off warning (btb4198)
↧
MPLABXCcompilers to acquire a free C++ license not working (btb4198)
I in stalled the MPLABXCcompilers to acquire a free C++ license, but I a, still getting this error nbproject/Makefile-default.mk:111: recipe for target 'build/default/production/main.o' failed
main.cpp:1:0: error: MPLAB XC32 C++ license not activated
/*..
↧
↧
Help with INLINE function (flatbush)
To increase performances, I'd like to inline a function with the XC32 compiler To do that I have a source file where the function is defined like that:inline void foo (void){..} in a header file "foo.h" I have that:extern void foo(void) in a third file I ..
↧
PIC32MZ hardware floating point library bug (swissembedded)
in xc32 lib mz_math.S is a bug in strtodit is declared as double strtod( bla bla bla), but implemented as long double strtod( bla bla bla)In the header _dstrtod is declared, but not implemented..
↧
Need Help with Linker Script for Bootloader (Noggin)
I'm having trouble with getting my bootloader to invoke my application. I can program my application hex file and it will successfully run, but I'm not able to program in my bootloader, bootload in the application, then jump to the application. In general..
↧
↧
Using library containing assembler routines (michjm)
Good afternoon everybody I have created a library containing an assembler routine. When I use the routine from the library in a c main file I always get an "undefined reference to my_subroutine_name". When I do the same with a c function (i.e., create the..
↧
Unable to generate the disassambly file: disassembly file generation hangs MPLABX (carlopallini)
XC32 v1.40 hangs the MPLABX v3.26 IDE while attempting to generate the disassembly file of a very simple project. The attempt never completes...
↧
sizeof nested struct within uinion (luker)
Hello forum, as part of an attempt to pass messages back and forth between two µCs, I created Message_t. To send such a message, user has to tell the sending function, how many bytes to transfer. Consider the different declarations of GeneralMessage_t and..
↧
Help creating a huge array (realexander)
Hi, I'm using a PIC32MZ and I want to create a huge array in RAM - about 100K. But a line likeuint8_t bigArray;produces the errorxc32-ld.exe: small-data section exceeds 64KB; lower small-data size limit (see option -G) I've RTFMed and played around with t..
↧
↧
XC32, double variable, printf (quanghuy_125)
Help mi???
CLEAN SUCCESSFUL (total time: 115ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make: Entering directory 'E:/NGHIENCUU/PIC32MZ/VD01.X'
make -f nbproject/Makefile-default.mk dist/default/production/VD01.X.production.hex
..
↧
serial port sfrs as parameters (atrac)
I have a simple function that puts a char on the serial port#1:void funct1 (unsigned char c) {
while(U1STAbits.TRMT == 0) {
asm("NOP"); // Loop till ready
}
U1TXREG = Byte;
while(U1STAbits.TRMT == 1) {
asm("NOP"); // Lo..
while(U1STAbits.TRMT == 0) {
asm("NOP"); // Loop till ready
}
U1TXREG = Byte;
while(U1STAbits.TRMT == 1) {
asm("NOP"); // Lo..
↧
Importing binary data into a custom section (Lee22)
Hi All, I am trying to import binary data, from an external file, into my firmware image at a known location in a custom section/region.I can import the data from my external file no problems. I do this by inserting the following line into my source code:..
↧
Possible XC32 v 1.40 compiler issue optimizing shadow register set ISRs (Hologram)
I am seeing an issue when compiling an interrupt service routine for a PIC32MX575F512L using PRO-licensed XC32 version 1.40 with MPLABX version 3.15 and Harmony version 1.06 and compiling with optimization level > 0. The ISR simplifies to: void __ISR( _CH..
↧
↧
MPLABX IDE - Where is XC32 (free)? (dslocum)
I've already got the MPLABX IDE running and have XC16 loaded and compiling in a project. No problem with that, but... I installed free XC32 compiler and it does not show in the tool chains of the IDE when trying to create a new project. OK, I'm a noob to ..
↧
warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness (DominusT)
Hi. I'm working with XC32 v1.40, MPLAB X 3.26 and Harmony 1.40. I do the following: if (strncmp(RAM_Message,"Passport.",9))
{
} Where:unsigned char RAM_Message; When you compile the project, I get the following warning: ../src/ModuloEthern..
{
} Where:unsigned char RAM_Message; When you compile the project, I get the following warning: ../src/ModuloEthern..
↧
Blocking the use of branch delay slots in xc32 v1.40 (Mr.Mxyzptlk2620)
I am working on a project where we use a PIC32MZ2048EFM124 processor and an xc32 version 1.40 compiler. I can see that in contrast to the c32 compiler, the xc32 compiler uses branch delay slots for instructions other than NOPs.This leads to some problems ..
↧
Port huge legacy PIC32MX project to PIC32MZ? (crevicedweller)
We have a huge PIC32MX legacy project that we would like to port to an MZ processor, primarily to get more flash space. Has anyone done something like this?Are there documents to guide this process?Thanks..
↧
↧
XC32 Command Line Option -funsigned-char (SteveHageman)
The XC32 compiler defines a char as a int8_t and all the string functions are this way.The USB Device library uses strings as type int8_t I see in the XC32 compiler documentation that I can add a command line option '-funsigned-char' I do that (add to 'ad..
↧
XC32 'C' error message: initializer element is not constant (twgray)
Here is the pertinent part of the code: typedef struct {
uint32_t cbBlRamHeader; // the number of bytes of this header as written by the bootloader
uint32_t rcon; // value of RCON before the bootloader clears it
} RAM_HEADER_INFO;
uint32_t cbBlRamHeader; // the number of bytes of this header as written by the bootloader
uint32_t rcon; // value of RCON before the bootloader clears it
} RAM_HEADER_INFO;
↧
MPLAB X and procdefs.ld issues (dennis_k85)
I have an MPLAB 8.63 prolect I am trying to convert to MPLABx and I am having issues. This code is loaded by a bootloader. It woks in MPLAB 8.63, but when I compile it in MPLABx the generated hex file will not load in our bootloader.The memory map looks t..
↧