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