Adam Múdry
5fdb9b00c5
CI: fix sdcard examples timeout
2023-04-27 17:47:12 +02:00
Armando
6102cfdd27
sdmmc: in/out phase adapted to esp32 and esp32s3
2023-04-24 03:45:29 +00:00
Adam Múdry
16915556a3
fatfs: fstat - enable setting a custom preferred block size
...
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
Armando
83d0181a2c
sdspi: h2 support
2023-02-27 14:39:06 +08:00
Armando
90a6018e67
fatfs: added an API to format FAT on sdcard
2023-02-16 14:17:51 +08:00
Armando
2b14a4e93e
sdspi: bringup sdspi on c6
2022-12-19 16:33:50 +08:00
Fu Hanxi
67cd264535
pytest: check duplicates test case/script names
2022-12-08 09:49:12 +08:00
Martin Vychodil
56f2001317
sdmmc/sdspi: allow custom setup of SD card frequency
...
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit
Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
radek.tandler
3271088428
storage examples migrated to pytest
2022-07-22 10:23:53 +02:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Matus Fabo
384d61f156
remove: sdspi_host deprecated api
...
add: migration guide documentation
2022-06-12 20:07:27 +00:00
Michael (XIAO Xufeng)
f7be540222
ci: partially enable example build for esp32c2
2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Ivan Grokhotkov
27e1490bfc
examples: sd_card: fix example test not getting the expected name
...
SD card example prints the line which looks like:
Name: 00000
If only part of the line is received, the regular expression in the
test still matches, and partial name is obtained. Later the example
test expects to see the same name in the file read from the SD card.
This check fails, because only partial name was received earlier.
Fix by adding a CR to the regular expression so that the entire name
is matched.
2022-05-11 21:50:11 +02:00
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Ivan Grokhotkov
3df2be5904
Merge branch 'bugfix/sdmmc_example_esp32s3' into 'master'
...
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4642
See merge request espressif/esp-idf!17352
2022-03-04 18:47:59 +08:00
Ivan Grokhotkov
e9ed46d7ce
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins
2022-03-03 23:37:42 +01:00
Ivan Grokhotkov
eefb0442c9
examples: sdspi: use default DMA channel
2022-03-03 21:40:05 +01:00
Ivan Grokhotkov
dc2f4483bf
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
2022-03-03 21:40:03 +01:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
...
Closes https://github.com/espressif/esp-idf/issues/7389
(1) "MMC_RSP_BITS" [sd] [Y]
(2) "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
(3) "probe SD in SPI mode, slot 0" [sd][ignore] [N]
(4) "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE] [Y]
(5) "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE] [Y]
(6) "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
(7) "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
2021-09-24 15:17:18 +08:00
SalimTerryLi
f1202abc4e
example/sdspi: fix incorrect SPI DMA setting on c3
2021-09-24 15:17:03 +08:00
Fu Hanxi
923e862ed2
ci: temporarily disable s3 build for a few examples
2021-09-16 12:20:11 +08:00
Martin Vychodil
a866779070
Examples/Storage: sufficient timeout for SD formatting
...
Too short timeouts often cause useless failures on large-capacity SDs (16GB+)
Fixed by adding 60 sec timeout on new "Filesystem mounted" checkpoint
JIRA IDF-3741
2021-08-23 06:13:41 +02:00
Ivan Grokhotkov
47685f901d
examples: sdmmc: set slot width and pins explicitly
...
... and prefer SDMMC_SLOT_FLAG_INTERNAL_PULLUP over explicitly setting
pullups on pins.
2021-05-10 23:21:27 +02:00
Martin Vychodil
99aa037793
* SD card example split (SDMMC/SDSPI)
...
JIRA IDF-1456
2021-04-29 10:38:55 +02:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Roland Dobai
819f7a4e57
examples: Add storage example tests
2020-04-29 09:16:18 +02:00
Ivan Grokhotkov
4fc3ebbdf6
examples: re-enable storage/sd_card example for ESP32-S2
...
* adjust SPI initialization
* update readme file to mention ESP32-S2
2020-03-05 13:22:18 +01:00
Michael (XIAO Xufeng)
067f3d21c9
sdspi, vfs_fat: allow sharing SPI bus among devices, and mounting multiple SD cards
2020-02-12 15:16:08 +08:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
Ivan Grokhotkov
27ef831bcd
examples/storage: adjust readme files according to standard
2018-11-05 12:42:41 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Ivan Grokhotkov
da34e3eb68
sdmmc: document eMMC support, host features
2018-08-30 13:14:26 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Michael (XIAO Xufeng)
90345050b2
example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave
2018-06-20 07:00:05 +00:00
Angus Gratton
800bffb8b0
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00
Roland Dobai
27a63c492f
Examples: Demonstrate the usage of esp_err_to_name
2018-03-13 14:27:00 +01:00
Ivan Grokhotkov
59859fa53c
fatfs: add configuration of allocation unit size
...
Closes https://github.com/espressif/esp-idf/issues/1382 .
2018-02-11 13:03:36 +08:00
Martin Pomezný
e7693b8700
GPIO2 note updated
...
Updated note on GPIO2 with informations about possible pull-down resistor.
Merges https://github.com/espressif/esp-idf/pull/1451
2018-01-03 10:48:57 +11:00
Ivan Grokhotkov
a5f96b22d1
examples/sdmmc: enable internal pull-ups in SD mode
...
Some development boards do not have sufficient external pull-ups on
SD card pins. Most notably, if high level on GPIO13 is not registered
by the card when GO_IDLE_STATE command is received, the card will enter
SPI mode and further communication will not be possible, until power to
the card is toggled.
This change enables internal pull-ups on SD card pins in an attempt to
make this initialization process more reliable.
2017-10-13 08:21:06 +08:00
Dmitry Yakovlev
e5bb45f381
driver: SD protocol driver for SPI peripheral
2017-07-20 13:43:07 +08:00
Angus Gratton
821c70f5d7
examples: Standardise naming of files, symbols, etc. in examples
...
* Use "example" in all example function & variable names,
ie use i2c_example_xxx instead of i2c_xxx for example functions.
Closes #198 https://github.com/espressif/esp-idf/issues/198
* Mark example functions, etc. static
* Replace uses of "test" & "demo" with "example"
* Split the UART example into two
* Rename "main" example files to end with "_main.c" for disambiguation
2017-03-27 17:42:05 +11:00
Angus Gratton
5ea9097dbd
esptool: Update to latest v2.0 beta version
...
* New "espefuse.py set_flash_voltage" command to easily set a fix
VDD_SDIO regulator voltage (1.8V, 3.3V or disabled).
* Fixes bugs when flashing files with non-4-byte aligned lengths
(doesn't effect esp-idf image files)
* README improvements
2017-03-03 15:34:04 +11:00