m-mcgowan / spark-flashee-eeprom

Eeprom emulation using external flash on Particle devices. Includes unit tests cross compiled to regular gcc, and on-device integration tests.
GNU Affero General Public License v3.0
34 stars 8 forks source link

sst25vf_spi.h: No such file or directory #18

Closed mwbrady closed 9 years ago

mwbrady commented 9 years ago

Veryfing code using this library in Particle Build fails with this error:

flashee-eeprom/flashee-eeprom-impl.h:1290:25: fatal error: sst25vf_spi.h: No such file or directory
 #include "sst25vf_spi.h"
                         ^
jmohin commented 9 years ago

Same for me, but only on Photon, still works fine for Core.

m-mcgowan commented 9 years ago

This library isn't presently supported on the photon - I'll add support soon but it will only be the 2KBytes of emulated eeprom in the photon. The P1 will also be supported, and that's got 1Mbyte of external flash.

If you're seeing this error, then double-check in the web IDE that a Core is selected. (The error occurs only when the IDE compiles for the photon.)

m-mcgowan commented 9 years ago

Support for Photon and P1 now in master.

m-mcgowan commented 9 years ago

@mwbrady, @jmohin - can you guys confirm this issue is fixed for you\? Thanks!

chadder commented 9 years ago

I still get the error mentioned above when attempting to verify Photon code... :(

m-mcgowan commented 9 years ago

I'm so sorry about this! I thought I had published the Photon/P1 changes, but checking now, I had not! 1.8.0 now released to Particle Build.

chadder commented 9 years ago

@m-mcgowan - No worries. Compiles without error now; thanks!!

m-mcgowan commented 9 years ago

Thanks for confirming. :+1:

jmohin commented 8 years ago

I still see this error when I compile, probably because I haven't included it properly. Using the latest particle firmware 0.4.7, and this import call:

include "flashee-eeprom/flashee-eeprom.h"

using namespace Flashee;