Wykres commitów

36558 Commity (a30375f335a230f13dbd2512082296a422d61d62)

Autor SHA1 Wiadomość Data
shenmengjing fb7823f7f3 docs: Provide translation for system.rst in migration-guides 2024-04-07 12:11:44 +08:00
Wu Zheng Hui b570afd6e8 Merge branch 'bugfix/fix_esp332p4_bus_stuck_in_dfs' into 'master'
fix(esp_hw_support): fix esp32p4 stuck in dfs issue

Closes IDF-9628

See merge request espressif/esp-idf!30013
2024-04-07 11:43:04 +08:00
laokaiyao e4f28fcb7f feat(i2s): support i2s gpio reservation 2024-04-07 11:33:23 +08:00
Gao Xiao Jie f1babb9074 Merge branch 'bugfix/clic_edge_type_interrupt_config' into 'master'
fix(esp_rom): patch esprv_intc_int_set_type for esp32p4

See merge request espressif/esp-idf!28161
2024-04-07 11:09:19 +08:00
cjin 21ad1b393f bugfix(ble): workaround to avoid ble rtc not work when power up 2024-04-07 10:53:00 +08:00
Alexey Lapshin 5a40bb8746 Merge branch 'feature/update-esp32ulp-elf-to-2.38_20240113' into 'master'
feat(tools): update esp32ulp-elf version to 2.38_20240113

See merge request espressif/esp-idf!28451
2024-04-06 03:23:43 +08:00
Rahul Tank d0853d70ce fix(nimble): Remove extra code in reattempt connection 2024-04-05 21:33:12 +05:30
Shreyas Sheth aee2197563 fix(wifi): Fix print for 2g bitmap in scan path 2024-04-05 17:46:36 +05:30
David Čermák 999d3e0d91 Merge branch 'fix/linux_console_macos' into 'master'
fix(console): Fix linux target build on MacOS

See merge request espressif/esp-idf!30005
2024-04-05 13:00:09 +08:00
Xiao Xufeng 72a001b851 fix(soc): fixed uart_periph.h not including reg.h issue
This will cause rom/uart.h can't compile.
2024-04-05 03:01:24 +08:00
Michael (XIAO Xufeng) f251e32f48 feat(uart_test): add test case for uart tx blocked by auto-suspend 2024-04-05 03:01:24 +08:00
LiPeng 235bb6f294 fix(uart): Fixed issue that TX be blocked by auto-lightsleep 2024-04-05 03:01:24 +08:00
Erhan Kurubas 9e80e127ac doc(jtag): update esp32p4 jtag debugging guide 2024-04-04 21:37:56 +03:00
Erhan Kurubas 9c99a385ad Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318' into 'master'
feat(tools): update openocd version to v0.12.0-esp32-20240318

See merge request espressif/esp-idf!29759
2024-04-05 01:53:12 +08:00
Jakob Hasse 51f6bb8931 refactor(cmock): simplified mock build tests 2024-04-04 16:14:13 +02:00
Ivan Grokhotkov 6b6de47308
feat(sdspi): add LDO (power control) in sdspi tests 2024-04-04 15:03:27 +02:00
Ivan Grokhotkov 344439dfaa
change(sdmmc): move SD power control logic into sdmmc_test_sd_begin
This simplifies the code a bit,
- removing SOC_SDMMC_IO_POWER_EXTERNAL ifdefs from error paths
- moving the LDO code next to where sdmmc_test_board_card_power_set
  is called for the same purpose
2024-04-04 15:02:11 +02:00
Ivan Grokhotkov 2bd1a8706d
feat(sdmmc): add test config for ESP32-P4 EV board 2024-04-04 14:59:28 +02:00
Jakub Kocka 8e0a1e8039 fix(gcov): Fixed mixed path separators on Windows 2024-04-04 13:56:15 +02:00
Alexey Lapshin 4879bac36c feat(ulp): use --mcpu=esp32s3 for esp32s3 2024-04-04 16:12:39 +08:00
Alexey Lapshin 68464aad11 feat(tools): update esp32ulp-elf version to 2.38_20240113 2024-04-04 16:12:39 +08:00
David Čermák 295f908ef2 Merge branch 'fix/netif_ip_changed' into 'master'
fix(esp_netif): Post IP_CHANGE event also if mask and GW is ANY

Closes IDFGH-11836

See merge request espressif/esp-idf!29719
2024-04-04 16:01:20 +08:00
Frantisek Hrbata 75c765ff42 fix: exit gracefully when process started via asyncio is terminated
Currently when process is started through asyncio Runner and it is termited
e.g. with SIGINT(ctrl+c) a traceback is printed instead of gracefully
exit.

Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x7fe980970900>
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 129, in __del__
    self.close()
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 107, in close
    proto.pipe.close()
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 568, in close
    self._close(None)
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 592, in _close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 793, in call_soon
    self._check_closed()
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 540, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

This is caused because asyncio Runner context in asyncio.run is closing the event
loop and if exception is unhandled in coroutine(run_command) the transport is not
closed before the even loop is closed and we get RuntimeError: Event loop is closed
in the transport __del__ function because it's trying to use the closed
even loop.

Let's catch asyncio.CancelledError in case the process we are trying to
read from is terminated, print message, let the asyncio finish and exit
gracefully.

Closes https://github.com/espressif/esp-idf/issues/13418

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-04-04 09:58:01 +02:00
David Čermák 5c97c40689 Merge branch 'fix/ci_check_public_headers' into 'master'
fix(ci): Simplify public header checker

See merge request espressif/esp-idf!29446
2024-04-04 15:13:09 +08:00
Alexey Gerenkov c9b649779e feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-04 14:50:06 +08:00
David Cermak 4d40751158 fix(ci): Simplify and document public header checker
Documented specific checks/subchecks for header file verification
Simplified the process, now we use simple regex to remove macros from
the current header. Before, we re-ran preprocess_one_header()
function with removed `#include ...`s from the header under test, so
we were looking into the actual header (rather than included headers)
when checking for `extern "C"` keyword.
The procedure is easier to follow without this recursion (mostly because
in the second execution we might encounter compilation failers and
ignore them).
Note that this procedure is not 100% correct (we might see some false
positive and false negatives)
2024-04-04 08:45:15 +02:00
David Cermak 965ba606a7 fix(esp_netif): Post IP_CHANGE event also if mask and GW is ANY
Closes https://github.com/espressif/esp-idf/issues/12927
2024-04-04 08:12:43 +02:00
Darian c8c3d4b28a Merge branch 'refactor/usb_new_phy_hal_api' into 'master'
refactor(hal/usb): Update USB WRAP/USJ P4 LL, add new USB PHY HAL API

See merge request espressif/esp-idf!29853
2024-04-04 14:09:03 +08:00
Mahavir Jain 78ff15602e
docs: add note about newly added mbedtls config to reduce app size footprint 2024-04-04 09:23:05 +05:30
Mahavir Jain 64fd14e787
feat(mbedtls): add kconfig option for MBEDTLS_ERROR_C
Disabling this config can reduce footprint for the cases where
mbedtls_strerror() is used and hence the debug strings are getting
pulled into the application image.
2024-04-04 09:20:28 +05:30
Alexey Lapshin bcd753994b Merge branch 'feature/introduce-esp_rom_libc_stubs_h' into 'master'
feat(esp_rom): add esp_rom_libc_stubs.h

See merge request espressif/esp-idf!29769
2024-04-04 03:18:15 +08:00
Darian Leung 778c2e6863
refactor(hal/usb): Add new USB PHY related HAL API
This commit adds/updates the USB PHY related HAL APIs. The following changes
are made:

- Updated 'usb_wrap_hal.h' API
- Added 'usb_serial_jtag_hal.h' API
2024-04-04 02:47:00 +08:00
Darian Leung 023eae4f0b
feat(hal/usb): Update USB WRAP and USJ LL, add missing ESP32-P4 LL
This commit updates updates the LLs of USB WRAP and USJ as follows:

- Added missing 'usb_wrap_ll.h' and 'usb_serial_jtag_ll.h' for the ESP32-P4
- Added LL cap macros to distinguish feature differences between the LLs of
  different targets:
    - '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      routing to an external FSLS PHY.
    - '..._LL_SWAP_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
      swapping between multiple internal FSLS PHYs.
- Tidied up some RCC LL functions and their callers.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
  in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-04-04 02:47:00 +08:00
Darian Leung 84ba2ef2e8
feat(soc/usb): Add USB UTMI PHY struct and LL for the ESP32-P4 2024-04-04 01:47:35 +08:00
Roland Dobai ffbcbccf61 docs(readme): Update the chip support matrix in the README 2024-04-03 17:31:20 +02:00
Alexey Lapshin 9ff7ad2173 feat(esp_rom): add esp_rom_libc_stubs.h 2024-04-03 18:34:44 +04:00
Suren Gabrielyan 2267d4b6b5 fix(ws_transport): fix first fragment losting during websocket connection 2024-04-03 17:57:37 +04:00
wuzhenghui 2b4a2da52d
fix(esp_hw_support): fix esp332p4 stuck in dfs issue 2024-04-03 19:47:09 +08:00
Konstantin Kondrashov f909dddde7 Merge branch 'feature/mac_esp32p4_support' into 'master'
feat(esp_hw_support): Adds MAC address support for esp32p4

Closes IDF-8949

See merge request espressif/esp-idf!28704
2024-04-03 19:01:29 +08:00
Chen Yudong 7d13f8210f ci: fix pytest generic env markers 2024-04-03 18:10:43 +08:00
chenjianhua ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
Rahul Tank 23bae90070 Merge branch 'contrib/github_pr_11497' into 'master'
Nimble: Added blecsc (Cycling Speed and Cadence) profile support for nimble examples.

Closes IDFGH-10233

See merge request espressif/esp-idf!26631
2024-04-03 17:12:34 +08:00
Ivan Grokhotkov dd35ded06a Merge branch 'maint/supported_targets_update' into 'master'
readme, tools: supported targets update

See merge request espressif/esp-idf!29425
2024-04-03 16:58:00 +08:00
Armando (Dou Yiwen) fd11a0e85a Merge branch 'change/remove_no_longer_public_spi_reg' into 'master'
spi: remove no longer public spi reg

Closes DOC-7416

See merge request espressif/esp-idf!30010
2024-04-03 16:57:31 +08:00
Konstantin Kondrashov dc4bf7d3e3 Merge branch 'bugfix/esp_timer_improve_tests' into 'master'
fix(esp_timer): Fix tests when esp_timer is running on CPU1

See merge request espressif/esp-idf!29901
2024-04-03 15:42:46 +08:00
Ivan Grokhotkov 9e279a3c07
change(ci): temporarily skip failures in macOS tests 2024-04-03 09:21:19 +02:00
Armando 2c81664fa3 change(spi): remove no longer public spi reg 2024-04-03 13:37:09 +08:00
ESPAbhinav f8b2ab7955 feat(nimble): Added blecsc profile support for nimble examples 2024-04-03 10:50:02 +05:30
Island 28f68a0376 Merge branch 'feat/adjust_ble_log_init_order' into 'master'
Feat/adjust ble log init order

Closes BLERP-649, BLERP-651, BLERP-631, BLERP-652, and BLERP-655

See merge request espressif/esp-idf!29931
2024-04-03 12:39:49 +08:00
Mahavir Jain 2bfef64fc6 Merge branch 'fix/pmp_idcache_prot_c6_h2' into 'master'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection

See merge request espressif/esp-idf!29933
2024-04-03 12:09:28 +08:00