MPIDE 20120601 What's happening next

Announcements for new builds and MPIDE enhancements
Post Reply
ricklon
Posts: 178
Joined: Sun May 22, 2011 6:59 am

MPIDE 20120601 What's happening next

Post by ricklon » Fri Jun 01, 2012 6:44 pm

Hi All,

There has been a lot of positive feedback on the inclusion of the newlib in the latest test builds. I'm prepping a release candidate 1 this weekend. Next weekend I should have a release candidate 2. If all feedback is positive we will our new official out the door directly afterwards.

I'm working on adding a preference for auto generating a makefile for projects. This won't make it in this release, but it will evolve shortly there after.

The other big goal is that once this release is out we can focus on updating to Arduino 1.0.x compatibility. I'll set up a code matrix with the API documentation for that and we can track progress from that matrix.

The task for me after that is to split the project into the GUI components, and the ChipKit core components. The ChipKit core project will also have a standard Makefile to help people use it to run and compile sketches.

I'm open to feedback so please comment here so I can incorporate that into these plans.

Thanks,
--Rick

avenue33
Site Admin
Posts: 298
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE 20120601 What's happening next

Post by avenue33 » Fri Jun 01, 2012 7:44 pm

Rick,
I'm working on adding a preference for auto generating a makefile for projects. This won't make it in this release, but it will evolve shortly there after.
I've been working on a makefile for MPIDE, part of a set of makefiles for the main Processing-based IDEs and platforms.

As at today, the set of makefiles manages Arduino (0023 and 1.0), chipKIT MPIDE, LeafLabs Maple, Wiring and LaunchPad MSP430 Energia.

This set of makefiles is part of a template initially aimed at Xcode, the IDE on Mac OS X — hence the name embedXcode —, but I tested it on NetBeans successfully — see embedNetBeansProject.

Documentation is :arrow: here and repository :arrow: there.

Feel free to include it on the auto-generating makefile option of the coming release of MPIDE.

User avatar
Demolishun
Posts: 31
Joined: Sun May 27, 2012 6:48 pm
Location: USA
Contact:

Re: MPIDE 20120601 What's happening next

Post by Demolishun » Sun Jun 03, 2012 2:12 pm

How does one go about getting code changes into a release?

I want to help out, and the way I have been trying to help out is contribute to fixing the existing code base. Do I need to post it to a certain forum thread? Or mention it here?

BTW, I am impressed by this board. I just looked at the schematic and found I can disable the reset input from the FTDI by cutting a trace and also have the ability to install a jumper. That is really forward thinking because I need that feature! Thanks.

ricklon
Posts: 178
Joined: Sun May 22, 2011 6:59 am

Re: MPIDE 20120601 What's happening next

Post by ricklon » Mon Jun 04, 2012 7:21 pm

Avenue33 thanks for the work on the makefiles. I'm reviewing them. I've been collecting the various makefiles for Arduino/ChipKit and comparing their behaviors and seeing how they work. Looks like your set up is really comprehensive. Cool!

Demolishun, posting to the forums is good. If you want to check out the nitty gritty, take a look at https://github.com/chipKIT32/chipKIT32-MAX/issues these are the current project issues and enhancements. To get code changes into the the releases you need to fork the project in git/Github and the issue a pull request so the change can be merged. General info is here: https://help.github.com/articles/fork-a-repo

User avatar
Demolishun
Posts: 31
Joined: Sun May 27, 2012 6:48 pm
Location: USA
Contact:

Re: MPIDE 20120601 What's happening next

Post by Demolishun » Mon Jun 04, 2012 11:34 pm

@ricklon,
Thanks for the information. It looks like I have implemented issue #229 already. Now I need to figure out how to setup a fork on my machine.

avenue33
Site Admin
Posts: 298
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE 20120601 What's happening next

Post by avenue33 » Tue Jun 05, 2012 10:42 pm

@ricklon
Avenue33 thanks for the work on the makefiles. I'm reviewing them. I've been collecting the various makefiles for Arduino/ChipKit and comparing their behaviors and seeing how they work. Looks like your set up is really comprehensive. Cool!
You're welcome :)

Each Processing-based Wiring-derived IDE has its own specific framework, with small but cumbersome differences.

That's a real challenge for tools like embedXcode and make them really hard to configure... Obviously, hardware considerations apart as 8-, 16- and 32-bit MCUs aren't the same.

Good luck ;)

User avatar
Demolishun
Posts: 31
Joined: Sun May 27, 2012 6:48 pm
Location: USA
Contact:

Re: MPIDE 20120601 What's happening next

Post by Demolishun » Wed Jun 06, 2012 4:26 am

I started the Github download, but it crapped out after downloading 300Meg or so. I have a low bandwidth connection so I commented on the Issues on the https://github.com/chipKIT32/chipKIT32-MAX site. I provided links to the code. I am in the middle of a project and I just don't have time to mess with the repo or the pull request right now. I will address this later if needed.

avenue33
Site Admin
Posts: 298
Joined: Sat Jul 16, 2011 10:19 am
Contact:

Re: MPIDE 20120601 What's happening next

Post by avenue33 » Thu Jun 28, 2012 5:49 pm

@ricklon

The latest release of embedXcode version 14 delivers a more compact HEX file compared to previous ones.
Framework: chipKIT MPIDE
Board: chipKIT Uno32
Maximum: 126 976
IDE: 5 928
Version 13: 8 892
Version 14: 5 928
I get those better results adding a new step and building an .a archive:
• first, gcc and g++ are used with -ffunction-sections -fdata-sections flags
• then, all .o objects are put into an .a archive with ar rcs file.a *.o
• finally, the linker is called with -Wl,-gc-sections,-u,main options
• for all, optimisation is set to -Os.

Learn more at :arrow: HEX and BIN Files Size.

User avatar
Jacob Christ
Posts: 723
Joined: Sat May 28, 2011 6:34 am
Location: Southern California
Contact:

Re: MPIDE 20120601 What's happening next

Post by Jacob Christ » Sun Jul 01, 2012 6:54 am

Demolishun wrote:I started the Github download, but it crapped out after downloading 300Meg or so. I have a low bandwidth connection so I commented on the Issues on the https://github.com/chipKIT32/chipKIT32-MAX site. I provided links to the code. I am in the middle of a project and I just don't have time to mess with the repo or the pull request right now. I will address this later if needed.
Often, if the change is small, all you need to do is submit the code in the issue comment and it will get picked up. I've submitted a few changes and have never created a patch.

Jacob
PONTECH Quick240 an industrial form factor platform for chipKIT and Arduino users.

ricklon
Posts: 178
Joined: Sun May 22, 2011 6:59 am

Re: MPIDE 20120601 What's happening next

Post by ricklon » Fri Jul 06, 2012 4:18 pm

To save time and space on the getting the source code do the follwing:
git clone https://github.com/chipKIT32/chipKIT32-MAX.git --depth 1

This will reduce the file size immensely. Only latest changes will be included. Not the entire history.

--Rick

Post Reply