LowPowerLab / SPIFlash

Arduino library for read/write access to SPI flash memory chips
GNU General Public License v3.0
173 stars 91 forks source link

Arduino 1.6 #8

Closed kalanda closed 9 years ago

kalanda commented 9 years ago

This library works perfectly fine on Arduino 1.0.6 but inside the new release 1.6.0 the sketch hangs very soon. Is easy to check using the SPIFlash_ReadWrite example. I think this issue is because of changes on SPI.h library but didn't found any solution.

tbowmo commented 9 years ago

I see the exact same thing here, after upgrade to arduino 1.6.0, SPIFlash_ReadWrite is crashing..

kalanda commented 9 years ago

Maybe this fork's commit has solved it: https://github.com/TomWS1/SPIFlash/commit/8c32a312ea52d703bafbe2856222f4847491a513

vicatcu commented 9 years ago

fwiw, seems like this could be Moteino specific, my fork for WildFire seems to still be working fine in arduino 1.6.0. On the other hand, my fork also has the SPI transaction support stuff integrated. May be worth another look...

tbowmo commented 9 years ago

@kalanda tried the one from @TomWS1 repo, it can initialize the SPI flash library successfully

kalanda commented 9 years ago

There is a pull request https://github.com/LowPowerLab/SPIFlash/pull/9 for @LowPowerLab from @TomWS1 waiting for revision.