PaulStoffregen
754e1d025c
begin() returns false when chip not detected, fixes #53
pirms 6 gadiem
PaulStoffregen
594d389fde
Use constexpr constructor for SerialFlashFile
pirms 7 gadiem
PaulStoffregen
b2fb065a12
Fix compiler warning
pirms 7 gadiem
PaulStoffregen
86f7ea4c8a
Don't use the SPI alternate pin functions by default
pirms 7 gadiem
PaulStoffregen
7f8aa61ab6
Update chip testing list
pirms 7 gadiem
PaulStoffregen
c0d7567d9d
Add more chips to testing list
pirms 7 gadiem
PaulStoffregen
cd602f82a7
Bump version to 0.5
pirms 7 gadiem
PaulStoffregen
63aa3a33d6
Update readme
pirms 7 gadiem
PaulStoffregen
509813553f
Add W25M02GV to tests list (not puchased yet for testing)
pirms 7 gadiem
PaulStoffregen
39c57ba727
Update hardware test results
pirms 8 gadiem
PaulStoffregen
147b86d9fa
Add new test hardware info
pirms 8 gadiem
PaulStoffregen
a30143bebd
Add ReadBenchmark example
pirms 8 gadiem
Paul Stoffregen
f383da63ff
Merge pull request #35 from facchinm/selectable_port
Dynamically switch SPI port in use
pirms 8 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
Paul Stoffregen
4ea4f0933e
Merge pull request #30 from eriknyquist/add_chip_id
RawHardwareTest.ino: Add chip ID for W25Q16DV
pirms 8 gadiem
Erik Nyquist
29eed2d343
RawHardwareTest.ino: Add chip ID for W25Q16DV
pirms 8 gadiem
PaulStoffregen
10762ef4ab
Fix unused variable warning in ListFiles example
pirms 8 gadiem
PaulStoffregen
ba1abfcd00
Improve ListFiles compatibility with other platforms
pirms 8 gadiem
PaulStoffregen
3dc2c2a8d7
abbreviate Arduino 101 CS pin comments
pirms 8 gadiem
Paul Stoffregen
826da1a177
Merge pull request #28 from eriknyquist/master
SerialFlash: enlarge chip ID buffer
pirms 8 gadiem
erik.nyquist
05965b5218
SerialFlash: enlarge chip ID buffer
SerialFlashChip::readID() writes up to 5 bytes into
the buffer provided, but the caller only allocates
3 bytes. Increase buffer size to 5 bytes.
pirms 8 gadiem
PaulStoffregen
bdf5b0d6e7
remove unused util/crc16.h include
pirms 8 gadiem
Paul Stoffregen
d9807bb70c
Merge pull request #27 from eriknyquist/master
Minor additions to example sketches for Arduino 101 compatibility
pirms 8 gadiem
erik.nyquist
400e758242
Add Arduino 101 CS pin to examples
pirms 8 gadiem
erik.nyquist
875885a985
Add 'Serial.begin()' to examples
pirms 8 gadiem
PaulStoffregen
b6dd04096e
Use SPI1 on Arduino 101
pirms 8 gadiem
Paul Stoffregen
ba91be363c
Merge pull request #26 from FrankBoesing/patch-1
capacity: return 0 for wrong id
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
PaulStoffregen
682687ccb9
Minor improvements to MP3 Player example
pirms 8 gadiem
Paul Stoffregen
129cf09e02
Merge pull request #25 from FrankBoesing/patch-1
Fix read-after-write
pirms 8 gadiem
PaulStoffregen
d841f1f5cd
Add MP3 Player example (thanks Frank B)
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
Paul Stoffregen
a493db82f4
Merge pull request #24 from FrankBoesing/master
Add readSerialNumber(uint8_t *buf);
pirms 8 gadiem
Frank
c839c58799
Update SerialFlashChip.cpp
pirms 8 gadiem
Frank
75af47fe4b
Add readSerialNumber(uint8_t *buf);
Size of buf: 8 bytes
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
Paul Stoffregen
c32e9b176c
Merge pull request #19 from FrankBoesing/patch-2
Fix reading of filenames with length = multiple of 16
pirms 8 gadiem
Paul Stoffregen
0e4bea85d8
Merge pull request #20 from FrankBoesing/patch-3
fix string_length
pirms 8 gadiem
Paul Stoffregen
3485e95b99
Merge pull request #21 from drewrisinger/master
Update Readme for File Erase
pirms 8 gadiem
Drew
a170d2e2d5
Update Readme for File Erase
pirms 8 gadiem
Frank
ff8dff341f
fix string_length
...i don't know where this caused problems, but unpatched, it is wrong :)
I saw this when searching an other bug..
pirms 8 gadiem
Frank
93f524e0dc
Fix reading of filenames with length = multiple of 16
pirms 8 gadiem
Paul Stoffregen
615aec66a8
Merge pull request #18 from helen-fornazier/master
Bugfix blockSize (Spansion chip, model with 256K sector size)
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
1547164daa
Add link to info about the test hardware
pirms 8 gadiem
PaulStoffregen
f04a4d8806
Add wanted chips to testing list
pirms 8 gadiem
PaulStoffregen
654c1e69cf
Increment version to 0.4
pirms 8 gadiem
PaulStoffregen
8c1cfb09dc
Update tests file with initial hardware tests
pirms 8 gadiem
PaulStoffregen
a5d84ba5dc
Fix 32 bit shift on 8 bit AVR
pirms 8 gadiem
PaulStoffregen
040c741ab7
Add control of chip select pin
pirms 8 gadiem