Commit Graph

26822 Commits

Author SHA1 Message Date
Paul Guyot
051cb8dc5f esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-05-30 23:04:14 +08:00
xiongweichao
871a7568b7 bt: Added an example of Bluetooth using light sleep 2023-05-30 20:25:45 +08:00
zwl
6f5d61ff49 esp_phy:Update phy lib for ESP32-C2 2023-05-30 15:45:54 +08:00
Jakob Hasse
fa099f23f3 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-30 13:21:17 +08:00
zwl
2153f59574 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:29:55 +08:00
David Čermák
29e93cb744 Merge branch 'bugfix/eth_driver_cleanup_v5.0' into 'release/v5.0'
Ethernet driver and documentation clean-up (v5.0)

See merge request espressif/esp-idf!23188
2023-05-29 19:58:29 +08:00
Ondrej
dcedccd704 esp_eth pytest: increased robustness of the L2 test
Added filtering frames based on MAC address
2023-05-29 10:49:31 +00:00
Ondrej Kosta
872ada14e2 esp_eth: improved L2 test stability and removed duplicate test cases 2023-05-29 10:49:31 +00:00
Ondrej Kosta
4dc8ce77e4 esp_eth: possible start/stop issue fixed
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-05-29 10:49:31 +00:00
morris
dab382c95b Merge branch 'contrib/github_pr_10947_v5.0' into 'release/v5.0'
Update partitions_example.csv (GitHub PR) (v5.0)

See merge request espressif/esp-idf!23956
2023-05-29 17:23:12 +08:00
Roland Dobai
9054ff398f Merge branch 'fix/idf_tools_certificate_v5.0' into 'release/v5.0'
Tools: Update the certificate of idf_tools.py (v5.0)

See merge request espressif/esp-idf!23929
2023-05-29 14:25:12 +08:00
franz-ms-muc
7c5b06e237 Update partitions_example.csv
512K is too small, need to be 528K. see https://github.com/espressif/esp-idf/issues/9084
2023-05-29 14:20:29 +08:00
Mahavir Jain
e31712ee56 Merge branch 'bugfix/fix_memory_leak_in_ws_server_example_v5.0' into 'release/v5.0'
example: Fix memory leak in ws_echo_server when httpd_queue_work failed (backport v5.0)

See merge request espressif/esp-idf!23954
2023-05-29 13:21:58 +08:00
morris
8a9596d42e Merge branch 'bugfix/led_strip_potential_buffer_overwrite_v5.0' into 'release/v5.0'
example: fix led strip memory overwrite before trans done (v5.0)

See merge request espressif/esp-idf!23939
2023-05-29 11:30:04 +08:00
yuanjianmin
7b72adaa78 example: Fix memory leak in ws_echo_server when httpd_queue_work failed
Closes https://github.com/espressif/esp-idf/issues/11507
2023-05-26 20:06:45 +08:00
Adam Múdry
31b2eedc9f vfs: select sanity NULL check
https://github.com/espressif/esp-idf/issues/9964
2023-05-26 13:46:25 +02:00
Island
424d658cc9 Merge branch 'feature/esp32c2_enable_rf_temp_compensation_v5.0' into 'release/v5.0'
Feature/esp32c2 enable rf temp compensation v5.0

See merge request espressif/esp-idf!23729
2023-05-26 16:56:44 +08:00
morris
9d1caf81d3 example: fix led strip memory overwrite before trans done
Closes https://github.com/espressif/esp-idf/issues/11487
2023-05-26 13:28:40 +08:00
Roland Dobai
f0ddb37f06 Merge branch 'fix/hints-print-control-characters_v5.0' into 'release/v5.0'
tools: fix control characters print if hints enabled (v5.0)

See merge request espressif/esp-idf!23890
2023-05-25 23:44:10 +08:00
Roland Dobai
d3885faa43 Tools: Update the certificate of idf_tools.py 2023-05-25 16:30:08 +02:00
wuzhenghui
05714f207d bugfix: close phy_tsens before deepsleep 2023-05-25 13:14:52 +08:00
zwl
8ce59ffe14 ble:fixed build error when disable smp 2023-05-24 20:51:41 +08:00
zwl
bc96a1b6c7 ble:esp32c2 add rf temperature compensation 2023-05-24 20:51:41 +08:00
Krzysztof Budzynski
fbe0c85229 Merge branch 'docs/provide_CN_trans_for_22939_backport_v5.0' into 'release/v5.0'
docs: update CN translation for mdns.rst (backport_v5.0)

See merge request espressif/esp-idf!23632
2023-05-23 21:05:12 +08:00
Alexey Lapshin
e84e884d66 tools: fix control characters print if hints enabled
Closes https://github.com/espressif/esp-idf/issues/11351
2023-05-23 18:30:35 +08:00
Shang Zhou
78ba28f65f docs: update links in mdns.rst_backport_v5.0 2023-05-23 17:54:17 +08:00
Aditya Patwardhan
400549eeba Merge branch 'contrib/github_pr_11402_v5.0' into 'release/v5.0'
esp_ds: ignore releasing mutex if not called from same task (GitHub PR) (v5.0)

See merge request espressif/esp-idf!23841
2023-05-23 14:48:06 +08:00
Jiang Jiang Jian
de419dbe0b Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!23709
2023-05-22 11:09:26 +08:00
Wang Meng Yang
5a68c49656 Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist_v5.0' into 'release/v5.0'
Fix iPhone disconnects immediately after connecting when ble wifi coexist(backport v5.0)

See merge request espressif/esp-idf!23810
2023-05-19 23:03:23 +08:00
morris
441c89d938 Merge branch 'feature/reset_mcpwm_in_restart_v5.0' into 'release/v5.0'
mcpwm: reset peripheral in restart, panic and halt (v5.0)

See merge request espressif/esp-idf!23652
2023-05-19 17:49:05 +08:00
morris
f5b0dd48ce Merge branch 'bugfix/fix_i2c_c2_fifo_len' into 'release/v5.0'
i2c: fix fifo length on esp32c2(backport v5.0)

See merge request espressif/esp-idf!23787
2023-05-19 17:48:50 +08:00
Roland Dobai
128435993e Merge branch 'bug/interactive_hints_v5.0' into 'release/v5.0'
tools: fix hints processing in interactive mode (v5.0)

See merge request espressif/esp-idf!23804
2023-05-19 15:45:04 +08:00
Zim Kalinowski
7e6b69e1d6 Merge branch 'bugfix/sync-contribution-guide_v5.0' into 'release/v5.0'
docs: updated contribution agreement (v5.0)

See merge request espressif/esp-idf!23838
2023-05-19 13:30:24 +08:00
Christoph Baechler
ebf4abca14
esp_ds: ignore releasing mutex if not called from same task 2023-05-19 08:31:45 +05:30
Zim Kalinowski
29545fc030 docs: updated contribution agreement 2023-05-18 16:34:47 +02:00
Shang Zhou
7b113d2073 docs: update translation for esp_eth 2023-05-18 14:28:21 +00:00
Ondrej Kosta
47a3faa0ff Ethernet driver and documentation clean-up 2023-05-18 14:28:21 +00:00
David Čermák
ab3499ab82 Merge branch 'bugfix/dm9051_rcv_mcast_v5.0' into 'release/v5.0'
esp_eth: allowed DM9051 to receive multicast packets v5.0

See merge request espressif/esp-idf!22864
2023-05-18 18:31:42 +08:00
Rahul Tank
dc63356910 Nimble: Add support to send power control event in registered callback 2023-05-18 14:02:07 +05:30
morris
858199506d mcpwm: reset peripheral in restart, panic and halt
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.

closes https://github.com/espressif/esp-idf/issues/11324
2023-05-18 04:56:34 +00:00
Mahavir Jain
550c5b4195 Merge branch 'bugfix/update_test_dl_esp_cert_v5.0' into 'release/v5.0'
tests: update Root certificate for the test endpoints (v5.0)

See merge request espressif/esp-idf!23798
2023-05-18 12:39:36 +08:00
zhiweijian
20e83f24d2 Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist 2023-05-18 12:08:07 +08:00
David Čermák
b1a3e6cd58 Merge branch 'docs/esp_protocols_docs_migration_v5.0' into 'release/v5.0'
docs: migrated documentation from github.io to docs.espressif.com (v5.0)

See merge request espressif/esp-idf!23318
2023-05-17 20:28:38 +08:00
Frantisek Hrbata
8e811c1bf2 tools: fix hints processing in interactive mode
Currently hints are processed only once the process is finished and
exits with non-error exit code. In interactive mode, e.g. for monitor,
we want to process ouput lines for hints right away.

This adds a simple buffer, which keeps the last line and once EOL is
reached, it is processed for hints.

Since the original hints processing was file based, a new helper
function was added to allow processing hints in string.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-17 13:27:13 +02:00
Frantisek Hrbata
8eda836de6 tools: don't print hints directly in print_hints
This is partial backport of following commit, which changes
print_hints to generate_hints.

	commit 92ef2a4c83
	Author: simon.chupin <simon.chupin@espressif.com>
	Date:   Tue Aug 9 15:39:23 2022 +0200

	    Tools: Add unit tests for idf.py hints

Only hunks for core_ext.py and tools.py are picked. It would be possible
to use the original print_hints approach, where the hints are directly
printed out and not returned, but it seems to make sense to keep it
closer to most recent version. It should make further backports easier
and it allows to cherry pick the iterative hints approach.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-17 13:26:46 +02:00
Roland Dobai
b08267f3b1 Merge branch 'monitor_win_color-v5.0' into 'release/v5.0'
bug(idf_monitor): fix color on windows with hints (v5.0)

See merge request espressif/esp-idf!23348
2023-05-17 18:39:32 +08:00
Mahavir Jain
de3fa9ae71
tests: update Root certificate for the test endpoints
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.

This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:28:23 +05:30
Cao Sen Miao
0229619e16 i2c: fix fifo length on esp32c2,
Closes https://github.com/espressif/esp-idf/issues/11413
2023-05-17 11:31:21 +08:00
Roland Dobai
5b34c34fbc Merge branch 'feature/remove_coredump_tests_v5.0' into 'release/v5.0'
coredump: remove tests (moved to esp-coredump repo) (v5.0)

See merge request espressif/esp-idf!23768
2023-05-17 01:56:21 +08:00
Jiang Jiang Jian
fc4d4f0b8d Merge branch 'bugfix/espnow_config_channel_v5.0' into 'release/v5.0'
esp_wifi: fix espnow example add peer fail when config channel(v5.0)

See merge request espressif/esp-idf!23177
2023-05-16 13:46:40 +08:00