New test builds available for 20110813

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

New test builds available for 20110813

Post by ricklon » Mon Aug 15, 2011 1:34 am

New builds available for 20110813

Feauture added: Sketch path is included in compile includes. This enables USB, and Ethernet code from Digilent and Microchip to work.

https://github.com/chipKIT32/chipKIT-builds/downloads

Linux32
https://github.com/downloads/chipKIT32/ ... 3-test.tgz
Mac OS X
https://github.com/downloads/chipKIT32/ ... 3-test.dmg
Windows
https://github.com/downloads/chipKIT32/ ... 3-test.zip

User avatar
Mr_Fixit
Posts: 34
Joined: Sun Jun 19, 2011 12:49 am

Re: Test builds available

Post by Mr_Fixit » Thu Aug 18, 2011 11:21 pm

ricklon wrote:I've refreshed that issue on the issue list. This was fixed, and somehow got unfixed.
I did some test compiles of the sample programs. Neither of the SPI programs compile. Here is the error (DigitalPotControl)... After all, we need to control our Pot, right? ;) All else looks like its working.

Code: Select all

C:\Program Files\chipkit\.\hardware\pic32\libraries\SPI\SPI.cpp:50:6: error: prototype for 'void SPIClass::setClockDivider(WORD)' does not match any in class 'SPIClass'
C:\Program Files\chipkit\.\hardware\pic32\libraries\SPI\/SPI.h:82:15: error: candidate is: static void SPIClass::setClockDivider(BYTE)

lrenaud
Posts: 1
Joined: Thu Aug 18, 2011 5:48 pm

Re: Test builds available

Post by lrenaud » Fri Aug 19, 2011 5:12 pm

Mr_Fixit wrote:I did some test compiles of the sample programs. Neither of the SPI programs compile. Here is the error (DigitalPotControl)... After all, we need to control our Pot, right? ;) All else looks like its working.

Code: Select all

C:\Program Files\chipkit\.\hardware\pic32\libraries\SPI\SPI.cpp:50:6: error: prototype for 'void SPIClass::setClockDivider(WORD)' does not match any in class 'SPIClass'
C:\Program Files\chipkit\.\hardware\pic32\libraries\SPI\/SPI.h:82:15: error: candidate is: static void SPIClass::setClockDivider(BYTE)
This was a minor header error that was missed when SPI.cpp was updated in the last build to support the 9-bit dividers that the PIC32 supports rather than just 8-bit dividers. Until the next test build comes out the patch is simply go into /hardware/pic32/libraries/SPI/SPI.h and change line 95 from

Code: Select all

  static void setClockDivider(BYTE);
to the following

Code: Select all

  static void setClockDivider(WORD);

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

Re: New test builds available for 20110813

Post by ricklon » Sat Aug 20, 2011 12:12 am

Fixed, new test builds will include the fix. If feedback is positive the official release will be made.

mongo
Posts: 8
Joined: Wed Aug 17, 2011 4:35 am

Re: New test builds available for 20110813

Post by mongo » Sat Aug 20, 2011 12:36 am

I know it is a change but I posted a diff to the Libraries forum that makes WStrings.cpp more portable and fixes issue with data types, can you please look at that.

Or we need a modified stdlib.h on linux, one that supports iota with longs, unsigned longs, and unsigned ints


Thanks

GeneApperson
Posts: 239
Joined: Wed Jun 01, 2011 9:53 pm
Location: Pullman WA
Contact:

Re: New test builds available for 20110813

Post by GeneApperson » Sat Aug 20, 2011 5:05 pm

I'm working this weekend trying to resolve as many of these problems as I can. I'll add this one to the list of things to look into.

Thanks for helping to identify the problem.

Gene Apperson
Digilent

Post Reply