Add in support for MX1/MX2 PIC32 processors #281

Merged
merged 25 commits into from Oct 1, 2012

Projects

None yet

2 participants

@EmbeddedMan
Owner

This code came from Gene, and has been modified by me. It adds support for the Fubarino Mini board as well. It needs testing, but does compile and run.

EmbeddedMan added some commits Aug 19, 2012
@EmbeddedMan EmbeddedMan Initial tests (blink LED) work now. Got Fubarino Mini support into al…
…l the right places. Still need to review many changes and double check that nothing has been missed, as well as testing out PPS support.
aaae4fa
@EmbeddedMan EmbeddedMan Built MX1-MX2 windows zip file. Gonna give this upload thing a try. 7002728
@EmbeddedMan EmbeddedMan Merge branch 'master' of https://github.com/chipKIT32/chipKIT32-MAX i…
…nto MX1_MX2

Conflicts:
	hardware/pic32/cores/pic32/chipKIT-application-32MX120F032D.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX250F128D.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX320F128L.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX340F512H.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX360F512L.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX440F128H.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX440F256H.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX440F512H.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX460F512L.ld
	hardware/pic32/cores/pic32/chipKIT-application-32MX795F512L.ld
e6aa1ff
@EmbeddedMan EmbeddedMan Merge branch 'master' into MX1_MX2
Conflicts:
	hardware/pic32/variants/fubarino_sd_v11/Board_Defs.h
6180678
@EmbeddedMan EmbeddedMan Merge branch 'master' of https://github.com/chipKIT32/chipKIT32-MAX i…
…nto MX1_MX2
24953aa
@EmbeddedMan EmbeddedMan In process of merging in current master changes into MX1_MX2 branch. …
…Fubarino Mini compiles at this point.
8cf1a38
@EmbeddedMan EmbeddedMan Working through cleaning up linker script stuff. 1b678e3
@EmbeddedMan EmbeddedMan Merge branch 'master' into MX1_MX2 d2a0dbe
@EmbeddedMan EmbeddedMan Found problem with MX2 (Fubarino Mini) USB Serial. Fixed. We were not…
… accurately clearing the USB interrupt. USB serial now works properly.

Also included in this commit is boards.txt support for a Fubarino Mini debug target for those that need to debug under MPLAB.
9a55621
@EmbeddedMan EmbeddedMan Removed huge zip file - not needed in repo as we keep them separately…
… in downloads section.
4d04da8
@EmbeddedMan EmbeddedMan Fixed USB serial zero length string bug.
Added proper MPLAB debug support for MAX32.
c950a69
@EmbeddedMan EmbeddedMan Merge branch 'master' of https://github.com/chipKIT32/chipKIT32-MAX i…
…nto MX1_MX2

Conflicts:
	hardware/pic32/cores/pic32/HardwareSerial.cpp
	hardware/pic32/cores/pic32/HardwareSerial_cdcacm.c
60671d4
@EmbeddedMan EmbeddedMan Merge branch 'master' of github.com:EmbeddedMan/chipKIT32-MAX into MX…
…1_MX2
fba0808
@EmbeddedMan EmbeddedMan Working on testing out PPS support for Fubarino Mini
Also updating FB Mini varient files.
b13d49d
@EmbeddedMan EmbeddedMan Forgot to include this debug linker script. 0567531
@EmbeddedMan EmbeddedMan Got Fubarino Mini analog inputs straightened out and working. 3fe7fcd
@EmbeddedMan EmbeddedMan Found a bug in PPS support for input pins, fixed it. We now have prop…
…erly working UARTS (both 1 and 2) on PPS (tested).

Also added new #define macros for assigning peripherals to outputs and inputs.
365d876
@EmbeddedMan EmbeddedMan Updated PPS support by backing out my changes - turns out there were …
…already public API functions that I just didn't see.
a598a11
@EmbeddedMan EmbeddedMan Minor update to FB Mini analog function. 26b3720
@EmbeddedMan EmbeddedMan Updated PPS support to include a single enum for the peripheral funct…
…ion, and a single function (mapPps()) to do the mapping. This allows for better error checking and a slightly simpler API.
83c8f68
@EmbeddedMan EmbeddedMan Merge branch 'master' of https://github.com/chipKIT32/chipKIT32-MAX i…
…nto MX1_MX2
d1334be
@EmbeddedMan EmbeddedMan Fixed logic bug with ppsFuncIsOutput() macro. a8df270
@EmbeddedMan EmbeddedMan Merge branch 'master' into MX1_MX2 c9192ee
Owner
ricklon commented Sep 21, 2012

It's got windows avrdude update. I can add the mac and linux if you want.

--Rick

Owner

Yes please. Sorry, I forgot to do all 3.

*Brian
On Sep 20, 2012 11:44 PM, "Ricklon" notifications@github.com wrote:

It's got windows avrdude update. I can add the mac and linux if you want.

--Rick


Reply to this email directly or view it on GitHub.

@ricklon ricklon merged commit f4f5abd into chipKIT32:master Oct 1, 2012
Owner
ricklon commented Oct 1, 2012

I figured I'd merge and then add the other avrdude.conf files.

Owner

Cool. Let me know if there's anything I can do to help the process along.

*Brian

On Mon, Oct 1, 2012 at 12:42 PM, Ricklon notifications@github.com wrote:

I figured I'd merge and then add the other avrdude.conf files.


Reply to this email directly or view it on GitHubhttps://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9042418.

Owner
ricklon commented Oct 1, 2012

If you could grab the latest changes and take them for a spin. That would
be really useful. I'll be making a build as soon as I can.

-Rick

On Mon, Oct 1, 2012 at 2:31 PM, Brian Schmalz notifications@github.comwrote:

Cool. Let me know if there's anything I can do to help the process along.

*Brian

On Mon, Oct 1, 2012 at 12:42 PM, Ricklon notifications@github.com
wrote:

I figured I'd merge and then add the other avrdude.conf files.


Reply to this email directly or view it on GitHub<
https://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9042418>.


Reply to this email directly or view it on GitHubhttps://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9044165.

Co-founder
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org

Owner

Will do.

*Brian

On Mon, Oct 1, 2012 at 1:42 PM, Ricklon notifications@github.com wrote:

If you could grab the latest changes and take them for a spin. That would
be really useful. I'll be making a build as soon as I can.

-Rick

On Mon, Oct 1, 2012 at 2:31 PM, Brian Schmalz notifications@github.comwrote:

Cool. Let me know if there's anything I can do to help the process
along.

*Brian

On Mon, Oct 1, 2012 at 12:42 PM, Ricklon notifications@github.com
wrote:

I figured I'd merge and then add the other avrdude.conf files.


Reply to this email directly or view it on GitHub<
https://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9042418>.


Reply to this email directly or view it on GitHub<
https://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9044165>.

Co-founder
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org


Reply to this email directly or view it on GitHubhttps://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9044548.

Owner

I see one thing we need to change - we need to remove the 'debug' boards
from boards.txt. I'll take care of that.

*Brian

On Mon, Oct 1, 2012 at 1:42 PM, Brian Schmalz brian@schmalzhaus.com wrote:

Will do.

*Brian

On Mon, Oct 1, 2012 at 1:42 PM, Ricklon notifications@github.com wrote:

If you could grab the latest changes and take them for a spin. That would
be really useful. I'll be making a build as soon as I can.

-Rick

On Mon, Oct 1, 2012 at 2:31 PM, Brian Schmalz notifications@github.comwrote:

Cool. Let me know if there's anything I can do to help the process
along.

*Brian

On Mon, Oct 1, 2012 at 12:42 PM, Ricklon notifications@github.com
wrote:

I figured I'd merge and then add the other avrdude.conf files.


Reply to this email directly or view it on GitHub<

https://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9042418>.


Reply to this email directly or view it on GitHub<
https://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9044165>.

Co-founder
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org


Reply to this email directly or view it on GitHubhttps://github.com/chipKIT32/chipKIT32-MAX/pull/281#issuecomment-9044548.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment