Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collaboration: get this to compile with a free XC32 compiler that you compile #1

Open
ElectricRCAircraftGuy opened this issue Dec 29, 2023 · 3 comments

Comments

@ElectricRCAircraftGuy
Copy link

ElectricRCAircraftGuy commented Dec 29, 2023

Would you like to compile the XC32 compiler from source and then use that custom xc32 compiler to compile your project? I've compiled the XC32 compiler from source in both Windows 11 and Ubuntu 22.04, license-free, legally since it's GPL, but need some help with many other areas, like makefiles and MPLABX stuff.

@ElectricRCAircraftGuy ElectricRCAircraftGuy changed the title Get this to compile with a free XC32 compiler that you compile Collaboration: get this to compile with a free XC32 compiler that you compile Dec 29, 2023
@brunoleppe
Copy link
Owner

brunoleppe commented Dec 30, 2023 via email

@ElectricRCAircraftGuy
Copy link
Author

To make sure we are talking about the same thing, here's the project: https://github.com/ElectricRCAircraftGuy/Microchip_XC32_Compiler

What's the patch you're talking about?

@brunoleppe
Copy link
Owner

Hi, I built the compiler and it really works! But I have a question regarding include files. I noticed the include path of the compiler is /opt/lib/gcc/pic32mx/8.3.1/include for both gcc and g++. How do you set all the include headers? I'm trying to compile a personal project but I have problems with the include files.
I copied the include files provided by microchip to the include directory but still got some problems.

This is the patch: https://github.com/cv007/XC3216

P.S: I have newer CMakeLists.txt files for pic32 projects, I also stopped using Make and Makefiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants