adafruit / Adafruit_QSPI

MIT License
8 stars 6 forks source link

fix #7 add missing eraseBlock() #8

Closed hathach closed 5 years ago

hathach commented 5 years ago

7

hathach commented 5 years ago

Hmm, I don't know why Travis failed, arduino:samd is also installed, it should be able to find the sam.h

########################################################################
flash_erase.ino: ✖
----------------------------- DEBUG OUTPUT -----------------------------
Picked up JAVA_TOOL_OPTIONS: 
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
In file included from sketch/flash_erase.ino.cpp:1:0:
/home/travis/.arduino15/packages/adafruit/hardware/samd/1.5.0/cores/arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory
 #include "sam.h"
                 ^
compilation terminated.
exit status 1
makermelissa commented 5 years ago

Cache needs to be clear and the build restarted.

hathach commented 5 years ago

Cache needs to be clear and the build restarted.

yeaahhh, it works, thank you very much :)

ladyada commented 5 years ago

@dshadoff please try this