Quantcast
Channel: MPLAB XC32
Browsing all 1537 articles
Browse latest View live
↧

error: storage class specified for parameter (grahamst)

Hi, I have a project which was building and running just fine - but needed some changes. I re-arranged some config code into its own config.c file, and all hell broke loose. Can someone please explain...

View Article


UART and special characters (Pierre Malherbe)

hello, I am using a PIC32MX795F512L and I need to use the UART to send command to a screen from Demmel product. The command I have to send is "\iOE\D5". In order to do so, I use the command:...

View Article


Declare extern const struct error (Chaabane)

Hello,I'm trying to declare a constant structor as an extern but i get this error"error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AT' " here is my code in the c filetypedef struct {...

View Article

Array of constant physical address. (s.virojanadara)

Hello,I try to create array of physical address in flash for DMA purpose. However, i got an "error: initializer element is not constant." Here is what I am trying to do. const int a[]...

View Article

Compiling C library with C++ compiler -- "does not name a type" error...

I am wondering if anyone can give me some pointers (no pun intended) on why the declared pointers are not being recognized within _CLIENT_DRIVER_TABLE.Is the type not a pointer to a function? BOOL_MOD...

View Article


Malloc & Free Hook's (JasonCA)

I'm running under the Pic32MX and XC32 compiler with MPLAB X. Is there a way to provide hook functions to Malloc and Free? I've not been able to find a way to do this? Or, is there a way to override...

View Article

Preserve a variable after reset (Miki Lauda)

Hi! I would like to count program resets. I thought it a good idea to declare a variable in the program memory and increment it after reset. But when I increment resetcounter variable, program halt....

View Article

Code Size Increase from XC32 V1.20 to XC32 V1.31 (floatingpoint)

Following upgrade from XC32 V1.20 to XC32 V1.31, I notice that on optimize level 1, code size has increased from Total Program Memory used : 0x5f06c 389228 73.2% of 0x81e00toTotal Program Memory used :...

View Article


4x4 keypad matrix (sebastien.decorme)

Is there a lib from microchip to read a 4x4 keypad matrix ?Thanks you..

View Article


Funny debug code output (s.virojanadara)

MPLAB X IDE: http://www.microchip.com/forums/fb.ashx?m=796534..

View Article

PIC32MZ SPI1 bug (cwillems)

General PIC32 Topics: http://www.microchip.com/forums/fb.ashx?m=796666..

View Article

printf for floats and doubles no longer working with V1.31 compiler (Darrell...

I just switched from the XC32 V1.00 compiler to version 1.31 and all of my printf output is now invalid.The ONLY change to my (MPLABX) build is to select the v1.31 instead of the v1.00 compiler.Note...

View Article

PIC32MX150F128B variable overflow check (dXri)

Hello,When I used the PIC16F628 and I wrote assembly code I could check a bit from the status register if a register overflows. In C at XC32 compiler can I check with a way if a float variable "x" is...

View Article


C32 hex file works but XC32 doesn't? (empnik)

Hello everone.I am using board with PIC32MX5 microcontroller and bootloader, which is called MINI32.When I build my code with C32 compiler bootloader accepts it with no problem and start executing, but...

View Article

std::vector push_back operation causes device reset (nholthaus)

I'm developing an application using MPLAB X IDE with the XC32 compiler, targeting the PIC32MX795F512L. I'd like to use the std::vector container, but whenever I push_back to it, the device resets...

View Article


Using network license as workstation license (takataka)

Hello, I purchased XC32 Pro compiler with network license.But, the setting of license server is very hard.Sometimes I cannot get the network license by 'rom out' operation. So, I gave up to use as...

View Article

#include files can't be found anymore (Kentj)

#include <> files can't be found anymore in all projects. Why would they suddenly disappear? How do get them back? #include "" files have no problem...

View Article


Problems with #if (andync)

Hi, I'm not getting the expected results using #if statement. This could simple be that I've got the wrong end of the stick.I'm using the XC32 v1.31 under MPLAB X and I'm using a project under the...

View Article

Using multiple ++ operator in a statement. (andync)

Hi, I've a bit of a problem and can't work out whether it's my understanding of c or the compiler.The following code has various declarations to allow debugging. volatile unsigned char testarray;...

View Article

Posting code problem (Kentj)

Hello, I'm having trouble posting a new thread that contains code. I'm getting the following error. An error has occured on the page you were visiting. You may have received this error if you are...

View Article
Browsing all 1537 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>