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

Can't understand PIC32M variable visibility (davepl)

Hi, in xc8 if I wanted a particular function,variable, bit structure or array visible to another source file in the project I simply included the header file that I declared the variable etc in.With...

View Article


Compile for debug issue after last W10 version upgrade (MaccorFW)

Recently, two PCs were upgraded over a weekend to the latest version of W10:W10 Pro ver 2004OS build 19041.388Afterwards, projects do not compile for debugging on either PC. Building for no debugging...

View Article


Is there a Proper way to write a C function the returns with an eret (NKurzman)

The NMI requires an "eret" to return instead of an "ret".Is there a correct way to get it to do that without inline ASM?..

View Article

Licence Check operation timed out (marelcom)

Hi since a few weeks thers shows up this popup message: - MPLABX: v5.40- XC32: v2.20 (free) / v2.40 (free)- XC8: v2.05 (pro) For XC8 i have a pro licences. But XC32 I use only as free version. Does...

View Article

Redefining SPI2 on a PIC32MM0064GPL020 (Bad Steve)

Good Afternoon, I have never run into this situation before and I am just looking for some clarification. I want to use the SPI2 function in the PIC32MM0064GPL020 and connect it to AD7398 D/A. The...

View Article


Can no longer compiler a SAMD21 project with XC32 (v2.10 -> v2.40) (onnimikki)

Hi, I'm on MPLAB X 5.35 and updated from XC32 v2.10 to v2.40. Previously, my SAMD21 project compiled but now it doesn't.// main_SAMD21_Xplained_led_flash_once.c#include int main (void) { //...

View Article

XC32 - VERY LONG Compile time (RickUK)

Hi,I downloaded the latest MPLAB and XC32 just now and installed them both on a client's PC which has no internet connection. The PC is powerful but the compile time of a MPLAB auto-generated project...

View Article

incorrect result of division of an unsigned int and a sign int. (caesun)

compiler: 2.40, optimization: 0/1 example: { int ii=-8; unsigned int uii=2; int ii2; ii2 = ii/uii; TX3_printf("%i/%i=%i, %i, %i \n", ii, uii, ii2, ii/uii, ii/(int)uii); } output:-8/2=2147483644,...

View Article


MCC Coretimer implementation for PIC32MM: potential dangerous bug (jesselackey)

Hi all, after spending 4-ish hours on this, I wanted to warn anyone looking for Coretimer support with MCC that Microchip's implementation is dangerously naive. I configured MCC to give me an interrupt...

View Article


MPLAB XC32 v2.50 Released (DevMod1)

MPLAB XC32 C-Compiler v2.50 is now available for download here. This release includes:Stack Smashing Protector for ARM targets Path to Linker Script in useCode size improvements CMSE import libraries...

View Article

Is there a way to place a library at a specific memory location? (rangeck)

With XC32, is there a way to place a library's program code at a specific flash memory location? Using MPLAB X, I pull up the top level project properties and click libraries. I add my library...

View Article

Initialization discards 'volatile' qualifier from pointer target type (poross)

Hi,I am a newcomer to the PIC32mx and XC32. I am using XC32 v2.41, MPLABX v5.40, and the pic32mx570f512l. I want to make a cable tester. It will have 50 pins for output data. I am using sample code at...

View Article

Where I can switch XC32 to C99 mode? (kaamil1984)

Hi guys, When I worked in XC8 I could set C standard to C99 somewhere in the project options. Is C99 missing in XC32 or I just can't find it?..

View Article


Compiler "Coffee Break" Live stream (JasonK)

FYI - Microchip has a "Coffee Break" Live stream coming up next week.https://youtu.be/U5OBqMO-LJQ A few of us from the team will be trying to answer questions in the chat during the live stream...

View Article

Newer C++ Standards (JasonK)

Hi jdeguire - Thanks for stopping by the Coffee Break live stream this morning. You asked a question about XC32 supporting newer C++ standards. I assume you were talking about PIC32M targets? We are...

View Article


Error compile PIC32MZ2048EFH064 - undefined reference to `_dstrtod' (dobrosoft)

Hello, I need to continue work with old project. Project has been created in harmony 2.06, Mplab X 5.20., macOS. There was not problem. But in year I update system and mplab/xs32 too.I have update to...

View Article

Problem with atof() - error compiling with XC32 2.20 and higher (dobrosoft)

Hello. Tested in macOS and Windows, XC32 compiller 2.20 and higher when using PIC32MZ - and function atof() - compiler will show error in function _datof - undefined reference to _dstrtod Compiler 2.15...

View Article


PIC32MX, PIC32MM, MPLAB/MCC, Harmony (MJordan)

I am new to PIC32's and I cannot get MPLAB 5.40/MCC 4.02 to support the PIC32MX110F016B. It is supposed to be supported by "pic32mx-1.35", but is that only MPLAB that supports it and not MCC? I am...

View Article

XC32 compiler source (rlkeck)

The XC32 compiler, linker and assembler are all I believe GPL software. I am unable to find anything documenting the source location in the compiler download, nor have I found it by searching the...

View Article

sercom0 (aNDRE2018)

Hi.If I want send 16 bits by sercom0 what I can do?Sure I can sen 2 time hex by SERCOM0_USART_WriteByte(mydata);delay();SERCOM0_USART_WriteByte(mydata1); its work function sercom0 generated by harmony3...

View Article
Browsing all 1537 articles
Browse latest View live


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