John Robinson
276d37396f
fix includes for deps/reorg
vor 3 Jahren
John Robinson
22191ec1f3
restructure code into src/serial-flash
vor 3 Jahren
Paul Stoffregen
6f6e662322
Merge pull request #72 from FrankBoesing/patch-1
fix simple typo in example-code
vor 3 Jahren
Frank
a1c2d1ff91
fix simple typo in example-code
vor 3 Jahren
Paul Stoffregen
2b86eb1e43
Merge pull request #66 from FrankBoesing/Adesto-Chips
add Adesto AT25SF128A
vor 4 Jahren
Frank
a1998a302a
add Adesto AT25SF128A
vor 4 Jahren
Frank
c90ca7beb0
add Adesto AT25SF128A
vor 4 Jahren
Paul Stoffregen
71cfa7a738
Merge pull request #56 from facchinm/support_4809
Add support for ATMega4809
vor 6 Jahren
Martino Facchin
218cecdae1
Add support for ATMega4809
vor 6 Jahren
PaulStoffregen
a3508c30be
Add issue template
vor 6 Jahren
PaulStoffregen
aabec6f16e
Update readme
fixes #55
vor 6 Jahren
PaulStoffregen
754e1d025c
begin() returns false when chip not detected, fixes #53
vor 6 Jahren
PaulStoffregen
594d389fde
Use constexpr constructor for SerialFlashFile
vor 7 Jahren
PaulStoffregen
b2fb065a12
Fix compiler warning
vor 7 Jahren
PaulStoffregen
86f7ea4c8a
Don't use the SPI alternate pin functions by default
vor 7 Jahren
PaulStoffregen
7f8aa61ab6
Update chip testing list
vor 7 Jahren
PaulStoffregen
c0d7567d9d
Add more chips to testing list
vor 7 Jahren
PaulStoffregen
cd602f82a7
Bump version to 0.5
vor 7 Jahren
PaulStoffregen
63aa3a33d6
Update readme
vor 7 Jahren
PaulStoffregen
509813553f
Add W25M02GV to tests list (not puchased yet for testing)
vor 7 Jahren
PaulStoffregen
39c57ba727
Update hardware test results
vor 8 Jahren
PaulStoffregen
147b86d9fa
Add new test hardware info
vor 8 Jahren
PaulStoffregen
a30143bebd
Add ReadBenchmark example
vor 8 Jahren
Paul Stoffregen
f383da63ff
Merge pull request #35 from facchinm/selectable_port
Dynamically switch SPI port in use
vor 8 Jahren
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
Paul Stoffregen
4ea4f0933e
Merge pull request #30 from eriknyquist/add_chip_id
RawHardwareTest.ino: Add chip ID for W25Q16DV
vor 8 Jahren
Erik Nyquist
29eed2d343
RawHardwareTest.ino: Add chip ID for W25Q16DV
vor 8 Jahren
PaulStoffregen
10762ef4ab
Fix unused variable warning in ListFiles example
vor 8 Jahren
PaulStoffregen
ba1abfcd00
Improve ListFiles compatibility with other platforms
vor 8 Jahren
PaulStoffregen
3dc2c2a8d7
abbreviate Arduino 101 CS pin comments
vor 8 Jahren
Paul Stoffregen
826da1a177
Merge pull request #28 from eriknyquist/master
SerialFlash: enlarge chip ID buffer
vor 8 Jahren
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.
vor 8 Jahren
PaulStoffregen
bdf5b0d6e7
remove unused util/crc16.h include
vor 8 Jahren
Paul Stoffregen
d9807bb70c
Merge pull request #27 from eriknyquist/master
Minor additions to example sketches for Arduino 101 compatibility
vor 8 Jahren
erik.nyquist
400e758242
Add Arduino 101 CS pin to examples
vor 8 Jahren
erik.nyquist
875885a985
Add 'Serial.begin()' to examples
vor 8 Jahren
PaulStoffregen
b6dd04096e
Use SPI1 on Arduino 101
vor 8 Jahren
Paul Stoffregen
ba91be363c
Merge pull request #26 from FrankBoesing/patch-1
capacity: return 0 for wrong id
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
PaulStoffregen
682687ccb9
Minor improvements to MP3 Player example
vor 8 Jahren
Paul Stoffregen
129cf09e02
Merge pull request #25 from FrankBoesing/patch-1
Fix read-after-write
vor 8 Jahren
PaulStoffregen
d841f1f5cd
Add MP3 Player example (thanks Frank B)
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
Paul Stoffregen
a493db82f4
Merge pull request #24 from FrankBoesing/master
Add readSerialNumber(uint8_t *buf);
vor 8 Jahren
Frank
c839c58799
Update SerialFlashChip.cpp
vor 8 Jahren
Frank
75af47fe4b
Add readSerialNumber(uint8_t *buf);
Size of buf: 8 bytes
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
Paul Stoffregen
c32e9b176c
Merge pull request #19 from FrankBoesing/patch-2
Fix reading of filenames with length = multiple of 16
vor 8 Jahren
Paul Stoffregen
0e4bea85d8
Merge pull request #20 from FrankBoesing/patch-3
fix string_length
vor 8 Jahren
Paul Stoffregen
3485e95b99
Merge pull request #21 from drewrisinger/master
Update Readme for File Erase
vor 8 Jahren