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.
8 роки тому
PaulStoffregen
b6dd04096e
Use SPI1 on Arduino 101
8 роки тому
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)
8 роки тому
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...)
8 роки тому
Frank
c839c58799
Update SerialFlashChip.cpp
8 роки тому
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
8 роки тому
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.
8 роки тому
PaulStoffregen
040c741ab7
Add control of chip select pin
9 роки тому
PaulStoffregen
1ce2f5d753
Add sleep & wakeup (thanks rocketscream)
9 роки тому
PaulStoffregen
680f5b9f8d
Import direct pin I/O from OneWire
9 роки тому
PaulStoffregen
8d237c1411
Fix unaligned writes
9 роки тому
PaulStoffregen
b2cbd9da94
Fix program/erase suspend on Spansion chips
9 роки тому
PaulStoffregen
30659694ce
Fix program/erase suspend on Micron chips
9 роки тому
PaulStoffregen
ce3ba93780
Improve compatibility with large Micron chips
9 роки тому
FrankBoesing
3eddc112d8
Bugfix Capacity (important)
Shift was wrong direction
9 роки тому
PaulStoffregen
db7e1870c5
AVR compatibility
9 роки тому
PaulStoffregen
360c8c02ba
Improve capacity detection and add block & file erase
9 роки тому
PaulStoffregen
94534be5d4
Add MIT license
9 роки тому
PaulStoffregen
2956c3ab59
Initial commit
9 роки тому