Frank
c90ca7beb0
add Adesto AT25SF128A
pirms 4 gadiem
PaulStoffregen
754e1d025c
begin() returns false when chip not detected, fixes #53
pirms 6 gadiem
Martino Facchin
ea513149de
Dynamically switch SPI port in use
This allows "derived" libraries (like the one in Arduino101 core) to use both the onboard or an external flash, while avoiding forks
Still not sure about SPIClass, is it universal? I coundn't find a core declaring it differently but I'm quite sure it exists. "typeof" SPI would be better.
pirms 8 gadiem
PaulStoffregen
b6dd04096e
Use SPI1 on Arduino 101
pirms 8 gadiem
Frank
83c613204c
Return 0-size for wrong id
it checks for all bytes=0 or 0xff (the pin might be hold low or high by other connections)
pirms 8 gadiem
Frank
870ecc17c5
Fix read-after-write
Fixes this problem:
https://forum.pjrc.com/threads/33594-SerialFlash-filesystem-question?p=101511&viewfull=1#post101511
(inportant, i think...)
pirms 8 gadiem
Frank
c839c58799
Update SerialFlashChip.cpp
pirms 8 gadiem
PaulStoffregen
c9c66e24b9
Add overly cautious delay in write (optimize later...)
https://forum.pjrc.com/threads/33328-Prop-Shield-Beta-Test?p=98553&viewfull=1#post98553
pirms 8 gadiem
Helen Fornazier
f481f1faec
Bugfix blockSize (Spansion chip, model with 256K sector size)
The Spansion cards can have 64Kb or 256Kb depending on the model's
number. The device id[4] must be checked to determine the sector
architecture.
pirms 8 gadiem
PaulStoffregen
040c741ab7
Add control of chip select pin
pirms 9 gadiem
PaulStoffregen
1ce2f5d753
Add sleep & wakeup (thanks rocketscream)
pirms 9 gadiem
PaulStoffregen
680f5b9f8d
Import direct pin I/O from OneWire
pirms 9 gadiem
PaulStoffregen
8d237c1411
Fix unaligned writes
pirms 9 gadiem
PaulStoffregen
b2cbd9da94
Fix program/erase suspend on Spansion chips
pirms 9 gadiem
PaulStoffregen
30659694ce
Fix program/erase suspend on Micron chips
pirms 9 gadiem
PaulStoffregen
ce3ba93780
Improve compatibility with large Micron chips
pirms 9 gadiem
FrankBoesing
3eddc112d8
Bugfix Capacity (important)
Shift was wrong direction
pirms 9 gadiem
PaulStoffregen
db7e1870c5
AVR compatibility
pirms 9 gadiem
PaulStoffregen
360c8c02ba
Improve capacity detection and add block & file erase
pirms 9 gadiem
PaulStoffregen
94534be5d4
Add MIT license
pirms 9 gadiem
PaulStoffregen
2956c3ab59
Initial commit
pirms 9 gadiem