Wykres commitów

136 Commity (bf43076c044a58429ebd90ac508e32dd82321af1)

Autor SHA1 Wiadomość Data
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
Martin Vychodil b682527c60 Merge branch 'feature/ext_flash_fatfs_update' into 'master'
fatfs: add new ESP32 targets to external flash example

Closes IDF-3621

See merge request espressif/esp-idf!17371
2022-05-18 16:43:52 +08:00
Adam Múdry e5cff100b7 fatfs: add new ESP32 targets to external flash example 2022-05-12 18:57:10 +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
Erhan Kurubas ad078c5153 semihosting: drop absolute path support 2022-05-05 09:12:42 +00:00
Cao Sen Miao 4418a855ba spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2 2022-04-26 15:22:37 +08:00
Matus Fabo 24268d47a2 change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
Adam Múdry 36db6a6681 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Martin Gano d76de32f74 fatfsgen.py: enabled date and time for fatfs 2022-04-07 15:01:28 +02:00
morris 5963de1caf Merge branch 'ci/fix_duplicated_test_names' into 'master'
CI: rename some tests to avoid duplicated test names

See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
Chen Yudong 4dc74c9c42 CI: rename some tests to avoid duplicated test names 2022-03-11 18:38:41 +08:00
Martin Gaňo fea2b5b64e fatfsgen.py: enabled long names support
Closes https://github.com/espressif/esp-idf/issues/8171
2022-03-11 11:20:31 +01: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 c8b43ee0c1 Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins

Closes IDF-4641

See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +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
Laukik Hase 3925365351 ci: Fix `pre-check` stage failing tests
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure

Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan 45122533e0 mbedtls-3 update:
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Mahavir Jain 38d4250c15 examples/spiffs: increase test timeout
This is to address frequent CI test failure where test most likely
timeouts during SPIFFS formatting operation.
2022-02-23 14:33:10 +05:30
Ivan Grokhotkov 876f4d6a1c vfs: add support for semihosting on ESP32-C3 2022-01-14 17:29:03 +01:00
morris 869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
Martin Gano 7460deeae8 support for wear levelling in fatfs partition generator
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Roland Dobai 337d9e68a4 Storage: Remove makefile reference from spiffsgen README 2021-11-11 15:32:36 +01:00
Roland Dobai 766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Roland Dobai 9c1d4f5b54 Build & config: Remove the "make" build system
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Martin Gano 3c4034d36e support for generating FATFS on a host 2021-11-03 13:06:11 +01:00
Marek Fiala ff18a96f7d tools: replace _ with - in idf.py
Closes https://github.com/espressif/esp-idf/issues/5126
2021-10-13 17:30:38 +08:00
Jakob Hasse 81e9266204 [examples]: removed hyphens
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
morris 7b8d5562d2 Merge branch 'feature/support_sdspi_on_s2_c3' into 'master'
example: support sdspi on s2 c3

Closes IDF-1279

See merge request espressif/esp-idf!15107
2021-09-27 03:48:52 +00: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
KonstantinKondrashov 709abee65c example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) 2021-09-24 13:55:07 +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
Cao Sen Miao fecf27e54c spi_flash: add support for 32Mbit address GD flash, for GD25Q256 2021-07-02 17:13:51 +08:00
Michael (XIAO Xufeng) dc6d6f225e spi_flash: reverted unwilling cs_setup argument
Partially reverted 08f1bbe0c7.

The host should have this flexibility, which is consistent to the cs_hold argument.

However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00
Cao Sen Miao 08f1bbe0c7 spi_flash: fix cs line setup to make the flash driver more stable 2021-06-01 16:41:41 +08: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
Michael (XIAO Xufeng) 26585b4b4b esp_flash: support override default chip driver list 2021-04-26 16:05:42 +08:00
KonstantinKondrashov ec4de4fe5c example_tests: CI uses ECO0 for esp32c3 tests 2021-04-09 14:26:06 +08:00
Marius Vikhammer c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
Cao Sen Miao 3e0a765cfd spi_flash: fix the issue of ext_flash_fatfs_example 2021-02-24 11:13:43 +08: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
Pedro Minatel 42b85a82ae Apply 1 suggestion(s) to 1 file(s) 2021-02-01 08:35:25 +00:00
pedro.minatel 5c1d19ad02 example/storage: fix find_partition function when no partition is found 2021-02-01 08:35:25 +00: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 29315213a8 example: Fix spiffsgen example test
Regression in 66fb5a29bb - whitespace cleanup
added trailing newline (\n) to the end of the file, which is printed as \r\n by
IDF printf, so the 'expect' fails to see it.
2020-11-17 22:28:34 +00: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