Commit Graph

30275 Commits

Author SHA1 Message Date
Fu Hanxi
82d78c7c7d ci: fix update_sha_in_esp-dockerfiles rules 2023-06-02 10:49:14 +08:00
Marius Vikhammer
856d371196 Merge branch 'contrib/github_pr_11508' into 'master'
[Heap Trace Standalone] increase Kconfig max stack depth (GitHub PR)

Closes IDFGH-10245

See merge request espressif/esp-idf!23982
2023-06-02 10:48:52 +08:00
Wang Fang
ed63cbe9cd docs: update the description for general purpose spi 2023-06-02 10:45:44 +08:00
Shreyas Sheth
28e046d200 esp_wifi: Bugfix wpsreg AP not responding to assoc req
Fixed regression caused by 2b8e40e7
2023-06-02 02:07:55 +00:00
Wang Kai
2a2bfe32db
Update libs-frameworks.rst to fix a typo 2023-06-02 09:35:35 +08:00
Roland Dobai
fff19088a2 Merge branch 'feature/extend_proj_desc_json' into 'master'
extend information in project_description.json

Closes IDF-7412

See merge request espressif/esp-idf!23972
2023-06-01 20:44:47 +08:00
Jiang Jiang Jian
8eb5a77866 Merge branch 'mesh/bugfix_fix_layer2_node_scan_issue_when_fixed_root' into 'master'
wifi_mesh: fix the layer2 node scan issue when fixed root

Closes IDFGH-10036 and WIFI-5949

See merge request espressif/esp-idf!23856
2023-06-01 19:23:27 +08:00
Cai Xin Ying
773ffc7f5f Merge branch 'docs/add_Chinese_translation_for_api-reference/system/esp_event' into 'master'
Provide Chinese Translation for api-reference/system/esp_event.rst

Closes DOC-5074

See merge request espressif/esp-idf!23519
2023-06-01 17:45:22 +08:00
Cai Xin Ying
4df1319ecb Provide Chinese Translation for api-reference/system/esp_event.rst 2023-06-01 17:45:22 +08:00
Ivan Grokhotkov
c94853786f
sdmmc: implement card power control for esp32c3 sdmmc breakout board 2023-06-01 11:01:19 +02:00
Zim Kalinowski
b506176e65 build system: fix init.bat crash in windows when folder contains unicode characters 2023-06-01 10:44:54 +02:00
Fu Hanxi
8513ea2b22 Merge branch 'ci/fix_build_and_test_all_apps_regex' into 'master'
ci: fix egrep patterns

See merge request espressif/esp-idf!24011
2023-06-01 14:46:49 +08:00
Roshan Bangar
c797e05f25 Merge branch 'bugfix/fix_blufi_deinit' into 'master'
Blufi : Corrected blufi host deinit API

See merge request espressif/esp-idf!23826
2023-06-01 14:30:01 +08:00
Armando (Dou Yiwen)
103332274e Merge branch 'feature/adc_continuous_new_data_replace_old_data' into 'master'
adc: added a flag to replace internal pool data with newest data, when pool is full

Closes IDF-7395

See merge request espressif/esp-idf!23744
2023-06-01 14:26:39 +08:00
Wu Zheng Hui
9340696cb7 Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep' into 'master'
Power Management: fixed flash funcs called in sleep wakeup process

See merge request espressif/esp-idf!23906
2023-06-01 14:10:15 +08:00
harshal.patil
7d4e69d5fa hal: minor fixes needed in the crypto hal test app 2023-06-01 11:37:36 +05:30
Marius Vikhammer
c60b79978d Merge branch 'ci/system_test_apps_optimize' into 'master'
ci: cleanup tools/system test apps

See merge request espressif/esp-idf!23886
2023-06-01 13:32:00 +08:00
Armando
727fac3a7d kconfig: added experimental feature list 2023-06-01 12:04:58 +08:00
Marius Vikhammer
a1dff18a0e ulp-system/ulp-fsm: clean up test cases 2023-06-01 11:34:22 +08:00
Zheng Zhong
b38e5e1b3c Merge branch 'docs/update_CN_trans_Flash-encryption' into 'master'
docs: update CN trans for flash-encryption

See merge request espressif/esp-idf!23887
2023-06-01 10:40:20 +08:00
Linda
7bf3105105 docs: fix typo in components/esp_common/include/esp_err.h 2023-06-01 10:17:19 +08:00
Marius Vikhammer
9f31c65458 Merge branch 'feature/c6_ulp_gpio' into 'master'
ulp: added gpio API for lp core

Closes IDF-6834

See merge request espressif/esp-idf!23766
2023-06-01 09:50:33 +08:00
Alexey Gerenkov
8846674e54 tools: Upgrade Clang toolchain to 'esp-16.0.0-20230516' 2023-05-31 22:07:15 +03:00
Fu Hanxi
a17abe169b ci: fix regexes 2023-05-31 21:35:47 +08:00
wuzhenghui
2981d38000 bugfix: fix some flash funcs called in sleep wakeup process 2023-05-31 17:56:46 +08:00
morris
9f4a296274 Merge branch 'bugfix/spi_master_assert_failure' into 'master'
spi_master: fix the assertion on a NULL desired_dev

Closes IDFGH-10273

See merge request espressif/esp-idf!23974
2023-05-31 17:46:04 +08:00
Jiang Jiang Jian
d89919999e Merge branch 'bugfix/fix_hang_during_sleep_process' into 'master'
bugfix: fix hang on pd_top sleep process

Closes AEG-582

See merge request espressif/esp-idf!23634
2023-05-31 17:23:08 +08:00
Jiang Jiang Jian
f5d5196a8f Merge branch 'bugfix/esp32c2_slave_report_address_error' into 'master'
Bugfix/esp32c2 slave report address error

See merge request espressif/esp-idf!23914
2023-05-31 17:20:15 +08:00
Jiang Jiang Jian
a275a1cfe8 Merge branch 'docs/update_esp32c6_wifi_api_guides' into 'master'
docs: update esp32c6 api guides about wifi part

See merge request espressif/esp-idf!23865
2023-05-31 17:17:00 +08:00
Mahavir Jain
f7a01d8f90
aes: fix DMA descriptor calculation for the alignment case
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.

This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.

Test has also been added to cover the specific scenario in the CI.

Closes https://github.com/espressif/esp-idf/issues/11310
2023-05-31 14:19:58 +05:30
Mahavir Jain
aed0e3604b Merge branch 'bugfix/c6_h2_decrease_rng_frequency' into 'master'
esp_hw_support: decrease RNG read frequency for C6 and H2

See merge request espressif/esp-idf!23977
2023-05-31 16:30:37 +08:00
liuning
ae425ec0b8 docs: update for esp32c6 2023-05-31 15:21:09 +08:00
xuxiao
843107e9d6 docs: update esp32c6 api guides about wifi part 2023-05-31 15:20:40 +08:00
Roshan Bangar
bdfa402670 Blufi : fix blufi deinit 2023-05-31 12:22:12 +05:30
Marius Vikhammer
bb5ea35f01 Merge branch 'docs/c6_misc_updates' into 'master'
docs: updated misc C6 programming guide docs with minor changes.

See merge request espressif/esp-idf!23962
2023-05-31 14:45:13 +08:00
Chip Weinberger
23cba5fe00 [Heap Trace Standalone] increase Kconfig max stack size 2023-05-31 12:41:16 +08:00
Marius Vikhammer
3da38a603a docs: updated misc C6 programming guide docs with minor changes. 2023-05-31 11:17:24 +08:00
Armando
56c66953da adc: added flush pool test 2023-05-31 10:55:02 +08:00
Armando
c68e4bbb6f adc: added a flag to replace internal pool data with newest data, when pool is full 2023-05-31 10:55:01 +08:00
morris
bdd0d1ddc8 Merge branch 'feature/test_rmt_bytes_encoder' into 'master'
rmt: explained why encoder may results in more data being transmitted

Closes IDFGH-10201

See merge request espressif/esp-idf!23880
2023-05-31 10:20:13 +08:00
Fu Hanxi
3c8a782113 Merge branch 'ci/build_test_apps_according_to_required_components' into 'master'
CI: build test apps according to `requires_components` in `.build-test-rules.yml`s

Closes IDFCI-1651

See merge request espressif/esp-idf!22633
2023-05-31 09:05:38 +08:00
Mahavir Jain
0431e08883 Merge branch 'bugfix/add_esp32h2_chip_id' into 'master'
Add ESP32-H2 chip id in `esp_chip_id_t` enum in esp_app_format.h header file

See merge request espressif/esp-idf!23984
2023-05-30 23:58:41 +08:00
Roland Dobai
0be3bbc2d1 Merge branch 'bug/strip_dump_machine' into 'master'
tools: strip trailing whitespaces/newline from dump_machine

See merge request espressif/esp-idf!23987
2023-05-30 23:18:26 +08:00
Martin Vychodil
729d63114c Merge branch 'ci/pytest_sdcard_format_timeout_increase' into 'master'
CI: fix sdcard fatfs test_apps format timeout

Closes IDFCI-1723

See merge request espressif/esp-idf!23904
2023-05-30 20:51:57 +08:00
Frantisek Hrbata
b3998f0f0c tools: strip trailing whitespaces/newline from dump_machine
In components/xtensa/project_include.cmake ${CMAKE_C_COMPILER} -dumpmachine
is called, but the output has newline.

Before
---8<--
-- Compiler supported targets: xtensa-esp32s3-elf

-- App "blink" version: 1.2.3
---8<--

After
---8<--
-- Compiler supported targets: xtensa-esp32s3-elf
-- App "blink" version: 1.2.3
---8<--

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-30 13:35:10 +02:00
Euripedes Rocha
4778d9b477 protocols/examples: Disable Wifi connection if not supported
- Disable Kconfig option for Wifi if not supported by the SoC
- Enable building mqtt examples when target is set to esp32h2
2023-05-30 13:26:45 +02:00
Jakob Hasse
d7ce04a5cd esp_hw_support: decrease RNG read frequency on C6 and H2
* The RNG reading frequency of 200 KHz has been too high for
  C6 and H2 since on these chips the RNG output is combined
  with the RTC slow clock which is only 150KHz. Reduced the max
  reading frequency via esp_random() from 200KHz to 62.5KHz,
  which show best results in tests.
  Also updated the bootloader_fill_random() max frequency to the
  same value to be in line, even though it was just 83KHz.
2023-05-30 19:16:53 +08:00
morris
c5f195c400 spi_master: fix the assertion on a NULL desired_dev
Closes https://github.com/espressif/esp-idf/issues/11536
2023-05-30 10:53:32 +00:00
Linda
af65960d1c docs: add a chapter to describe how to measure current of modules in deep sleep mode 2023-05-30 18:11:53 +08:00
Frantisek Hrbata
56289013ba tools: extend information in project_description.json
This extends information provided in the project_description.json file.
Newly added information can be used in the SBOM generating tool and
also to improve hints regarding the the component dependency issues.

Added fields

version:
   This adds versioning to the project_description.json file,
   so it's easy to identify if it contains the required information.

project_version:
   Can be used as a version for the resulting binary e.g. `hello_world.bin`.

idf_path:
   This one is probably not necessary, but it allows tools to run even without
   esp-idf environment exported(e.g. export.sh).

c_compiler:
   The `CMAKE_C_COMPILER` value with full path to the compiler binary. This can
   be used to get information about toolchain, which was used to build the project.

common_component_reqs:
   List of common components as presented in cmake's __COMPONENT_REQUIRES_COMMON
   and set in tools/cmake/build.cmake:__build_init().

build_component_info:
   Detailed information about components used during build. It's a
   dictionary with the component name as a key and each component has
   a dictionary with detailed information. Following is an example for
   the efuse component.

   "efuse": {
       "alias": "idf::efuse",
       "target": "___idf_efuse",
       "prefix": "idf",
       "dir": "/home/fhrbata/work/esp-idf/components/efuse",
       "type": "LIBRARY",
       "lib": "__idf_efuse",
       "reqs": [],
       "priv_reqs": [ "bootloader_support", "soc", "spi_flash" ],
       "managed_reqs": [],
       "managed_priv_reqs": [],
       "file": "/home/fhrbata/work/blink/build/esp-idf/efuse/libefuse.a",
       "sources": [ "/home/fhrbata/work/esp-idf/components/efuse/esp32s3/esp_efuse_table.c", ... ],
       "include_dirs": [ "include", "esp32s3/include" ]
   }

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-30 12:07:20 +02:00