Commit Graph

4080 Commits

Author SHA1 Message Date
Laukik Hase
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport 2022-12-28 11:17:10 +05:30
Rahul Tank
72e637750e Nimble: Removes global min/max definition causing problems with other libraries 2022-12-28 10:17:10 +05:30
Yuan Hong Hui
824d869bb4 ble_mesh:example:change position of vendor model and generic onoff model callback 2022-12-26 17:26:15 +08:00
muhaidong
ebb8d0b3b2 esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example 2022-12-23 11:14:12 +08:00
Jiang Jiang Jian
490216a2ac Merge branch 'bugfix/fix_httpd_req_cleanup_v5.0' into 'release/v5.0'
esp_http_server: fix wrong context pointer in httpd_req_cleanup function (v5.0)

See merge request espressif/esp-idf!21731
2022-12-22 10:22:06 +08:00
Aditya Patwardhan
244e51fca7 Merge branch 'examples/remove_wno_format_compile_option_v5.0' into 'release/v5.0'
protocols/security: Remove `-Wno-format` compile option for examples (v5.0)

See merge request espressif/esp-idf!21742
2022-12-21 23:51:52 +08:00
Jiang Jiang Jian
27bc387512 Merge branch 'bugfix/free_osmbuf_l2cap_v5.0' into 'release/v5.0'
Nimbe: L2CAP COC example - Fixed freeing up of same memory address twice. (v5.0)

See merge request espressif/esp-idf!21724
2022-12-21 19:25:08 +08:00
Jiang Jiang Jian
26fb8cb6ef Merge branch 'bugfix/nimble_remove_wno_format_v5.0' into 'release/v5.0'
Nimble: Remove `-Wno-format` compile option for nimble examples (v5.0)

See merge request espressif/esp-idf!21730
2022-12-21 19:13:42 +08:00
Jiang Jiang Jian
3bd8a8e890 Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples_v5.0' into 'release/v5.0'
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples(v5.0)

See merge request espressif/esp-idf!21675
2022-12-21 18:32:13 +08:00
Laukik Hase
73ea8543e3
protocols/security: Remove -Wno-format compile option for examples 2022-12-21 14:39:46 +05:30
Harshit Malpani
a5ee1504f8
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
Added example which fails without the fix

Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-21 10:32:34 +05:30
Rahul Tank
cbf8cf77c2 Nimble: Fixed compilation issues in nimble examples after removing "-Wno-format" option 2022-12-21 10:18:57 +05:30
Jiang Jiang Jian
25eb1f0c6e Merge branch 'bugfix/some_wifi_fixes_v5.0' into 'release/v5.0'
esp_wifi: update wifi lib to latest master for v5.0

See merge request espressif/esp-idf!21680
2022-12-21 10:50:49 +08:00
Ivan Grokhotkov
8300f0e52a Merge branch 'contrib/github_pr_10304_v5.0' into 'release/v5.0'
Fixed mismatch in printf types (GitHub PR) (v5.0)

See merge request espressif/esp-idf!21706
2022-12-20 21:22:51 +08:00
isha.pardikar@espressif.com
5c50cbc18e L2CAP COC example : Fixed freeing up of same memory address twice. 2022-12-20 18:04:00 +05:30
wangjialiang
fca1b1dd58 ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples 2022-12-20 10:57:39 +00:00
Chen Yudong
50ec3e0145 CI: fix ethernet throughput test 2022-12-20 11:26:43 +08:00
Chen Yudong
afc433114e CI: fix ipv6 test failed on some runners 2022-12-20 11:26:32 +08:00
Jiang Jiang Jian
7dae4181a8 Merge branch 'bugfix/fix_some_ble_bugs_by_cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!21682
2022-12-20 11:14:48 +08:00
Jiang Jiang Jian
cf88b7a743 Merge branch 'bugfix/fix_ble_some_bugs_20221219' into 'release/v5.0'
backport some BLE bugs 20221219 (backport v5.0)

See merge request espressif/esp-idf!21697
2022-12-20 10:52:53 +08:00
Jiang Jiang Jian
368ede2eb4 Merge branch 'bugfix/spp_vfs_memory_leak_v5.0' into 'release/v5.0'
Component_bt/fix esp_spp_vfs_register memory leak(v5.0)

See merge request espressif/esp-idf!21678
2022-12-20 10:37:10 +08:00
Gregory Eslinger
0ce97d88c2
Fixed mismatch in printf types
Removed duplicate `l` in format

Updated print types

Updated CMake
2022-12-19 15:42:13 +01:00
Angus Gratton
8468ea3dcc
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding 2022-12-19 15:25:30 +01:00
zhiweijian
16f9add4f6 Remove -Wno-format compile option for bluedroid BLE examples 2022-12-19 20:27:06 +08:00
chenjianhua
e8fef195a2 examples: fix ble hid led output report 2022-12-19 20:17:00 +08:00
Jessy Chen
6818b3012d esp_wifi: upload more wifi pkt info in rx callback for espnow & csi 2022-12-19 14:16:48 +08:00
Kapil Gupta
096aa4b84d esp_exmaples: Update ESP32C2 chip in Readme 2022-12-19 14:15:24 +08:00
Kapil Gupta
2accc311a2 WiFi: Add WPS softAP registrar example and events 2022-12-19 14:09:05 +08:00
xiongweichao
474cf2cf64 Modified spp vfs example 2022-12-19 11:32:14 +08:00
morris
e207c60805 Merge branch 'bugfix/no_more_public_adc2_dma_on_c3_s3_v5.0' into 'release/v5.0'
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3 (v5.0)

See merge request espressif/esp-idf!21645
2022-12-16 17:46:31 +08:00
Armando
bb074904b4 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
Armando
1c373cf293 adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous  mode is not stable.

However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
Yuan Hong Hui
eff97476eb ble_mesh:example:change the level of nimble host log 2022-12-15 17:57:12 +08:00
Mahavir Jain
d8db7d7cc4 Merge branch 'feature/esp_https_ota_events_v5.0' into 'release/v5.0'
esp_https_ota: Added support for esp_events (v5.0)

See merge request espressif/esp-idf!21109
2022-12-14 17:11:50 +08:00
Jiang Jiang Jian
232a4aee15 Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v5.0' into 'release/v5.0'
feature/report ACL link related events to application (v5.0)

See merge request espressif/esp-idf!21524
2022-12-14 10:45:15 +08:00
Rahul Tank
71e1c0a564 Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-13 12:56:06 +05:30
Marius Vikhammer
f81cae4e1e system: fix printf format errors in all system and cxx examples 2022-12-12 16:56:20 +08:00
Jiang Jiang Jian
3691ce2329 Merge branch 'feature/periodic_adv_example_v5.0' into 'release/v5.0'
Nimble: support for periodic adv / sync example (v5.0)

See merge request espressif/esp-idf!20341
2022-12-12 14:53:21 +08:00
morris
7cb4504c55 Merge branch 'doc/esp_lcd_class_diagram_v5.0' into 'release/v5.0'
RGB LCD multi-framebuffer support (v5.0)

See merge request espressif/esp-idf!21476
2022-12-12 11:47:38 +08:00
morris
6321e24bac Merge branch 'feature/enc28j60_not_new_design_v5.0' into 'release/v5.0'
Ethernet examples: added warning that ENC28J60 is not recommended for new designs (v5.0)

See merge request espressif/esp-idf!21546
2022-12-12 11:41:19 +08:00
Wang Meng Yang
818ba6affb Merge branch 'bugfix/spp_50005_crash_v5.0' into 'release/v5.0'
bt: Added esp_spp_enhanced_init() API to indicate whether to enable L2CAP ERTM(v5.0)

See merge request espressif/esp-idf!20822
2022-12-12 11:00:28 +08:00
Ondrej Kosta
a811ea38b9 Ethernet examples: added warning that ENC28J60 is not recommended for new designs using ESP32 series of chips 2022-12-09 11:35:07 +00:00
jincheng
254afaba28 Added ACL link related events handler in A2DP sink GAP callback 2022-12-09 11:08:10 +08:00
Jiang Jiang Jian
2693c89c05 Merge branch 'bugfix/notify_gattc_to_gatts_v5.0' into 'release/v5.0'
NimBLE : Change GATT notify/indicate from gattc to gatts (v5.0)

See merge request espressif/esp-idf!20892
2022-12-08 20:36:25 +08:00
Jiang Jiang Jian
ed663e395f Merge branch 'feature/support_le_power_control_v5.0' into 'release/v5.0'
Nimble: Add LE Power CTRL changes (v5.0)

See merge request espressif/esp-idf!21188
2022-12-08 11:53:00 +08:00
morris
698fd7abb3 lcd: support multi framebuffers for RGB LCD driver 2022-12-07 17:55:19 +08:00
xiongweichao
654e198464 bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init() 2022-12-07 09:38:24 +00:00
xiongweichao
c2c9b090c7 bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM 2022-12-07 09:38:24 +00:00
isha.pardikar@espressif.com
b1d87a41d2 NimBLE : Change GATT notify/indicate from gattc to gatts 2022-12-07 14:41:51 +05:30
Roshan Bangar
9d3e15704c Nimble: Add example for periodic adv/sync 2022-12-07 11:56:10 +05:30
Jiang Jiang Jian
795a70f8b3 Merge branch 'bugfix/Fix_exceptional_list_params_check_v5.0' into 'release/v5.0'
ble_mesh: stack: Fix exceptional list parameters check issue(v5.0)

See merge request espressif/esp-idf!21441
2022-12-06 20:41:08 +08:00
Rahul Tank
e8e79e8e16 Nimble: Add LE Power CTRL changes 2022-12-06 14:56:20 +05:30
Jiang Jiang Jian
b2396cee86 Merge branch 'bugfix/multiple_wifi_fixes_v5.0' into 'release/v5.0'
esp_wifi: update wifi lib

See merge request espressif/esp-idf!21425
2022-12-06 13:05:08 +08:00
Island
9aba2fe078 Merge branch 'bugfix/remove_get_modle_and_get_comp_api_forv5.0' into 'release/v5.0'
ble_mesh:example:change the method of get model(for v5.0)

See merge request espressif/esp-idf!20388
2022-12-06 10:52:05 +08:00
wangjialiang
9d79c71498 ble_mesh: stack: Fix exceptional list parameters check issue 2022-12-05 20:24:21 +08:00
Fu Hanxi
6688ba7b8e Merge branch 'ci/upload_elf_map_to_minio_v5.0' into 'release/v5.0'
ci: upload elf map file to s3 server to reduce artifacts size (v5.0)

See merge request espressif/esp-idf!19902
2022-12-05 18:17:59 +08:00
Yuan Hong Hui
3867f7cf70 ble_mesh:example:change the method of get model 2022-12-05 16:47:41 +08:00
Zim Kalinowski
759f7ec13d Merge branch 'feature/add_int_task_wdt_esp32c2_v5.0' into 'release/v5.0'
WDT: implement interrupt wdt and task wdt for ESP32-C2 (backport v5.0)

See merge request espressif/esp-idf!20980
2022-12-05 16:38:35 +08:00
Mahavir Jain
027d92da14 Merge branch 'bugfix/fix_https_x509_example_v5.0' into 'release/v5.0'
ci: fix https_x509 example (v5.0)

See merge request espressif/esp-idf!20937
2022-12-05 14:15:47 +08:00
Marius Vikhammer
3fd37357b6 Merge branch 'bugfix/c2_chip_info_gpio_range_v5.0' into 'release/v5.0'
hw-support: update C2 chip info to reflect that esp8684 has embedded flash (v5.0)

See merge request espressif/esp-idf!21066
2022-12-05 12:06:39 +08:00
liuning
39080a2d59 docs: update BluFi documentation 2022-12-05 11:23:41 +08:00
liuning
497b45186e blufi: update version to 1.3
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-05 11:23:29 +08:00
Harshit Malpani
9a914cc6d4 ci: fix https_x509 example 2022-12-05 03:17:08 +00:00
Jiang Jiang Jian
3290fc1a6d Merge branch 'bugfix/multiple_bugfixes_v5.0' into 'release/v5.0'
Add multiple bugfixes (Backport v5.0)

See merge request espressif/esp-idf!20997
2022-12-05 11:16:27 +08:00
Mahavir Jain
e15dfec417 Merge branch 'fix/esp_http_client_fix_behavior_disable_auto_redirect_enabled_v5.0' into 'release/v5.0'
fix: esp_http_client fix behaviour when disable_auto_redirect is enabled (v5.0)

See merge request espressif/esp-idf!21081
2022-12-05 11:14:57 +08:00
Jiang Jiang Jian
f8aeda2d45 Merge branch 'ci/optimize_test_wifi_get_started_v5.0' into 'release/v5.0'
CI: optimize wifi get started example test (v5.0)

See merge request espressif/esp-idf!20607
2022-12-05 10:45:52 +08:00
Jiang Jiang Jian
d14f5c5cf4 Merge branch 'ci/example_test_simple_sniffer_v5.0' into 'release/v5.0'
ci: change example simple sniffer test channel (v5.0)

See merge request espressif/esp-idf!20524
2022-12-05 10:44:24 +08:00
Marius Vikhammer
a918c13db5 examples: update max GPIO range for C2 examples to exclude UART0 pins
Closes https://github.com/espressif/esp-idf/issues/10174
2022-12-05 02:29:46 +00:00
Fu Hanxi
e118bf5c1f test: remove elf sha256 check from pytest_blink to qemu test
not upload elf file
2022-12-02 15:42:40 +00:00
morris
302ecb0764 Merge branch 'doc/pcnt_overflow_compensate_v5.0' into 'release/v5.0'
pcnt: support accumulate the count value in the high/low limit event (v5.0)

See merge request espressif/esp-idf!21170
2022-12-02 22:42:50 +08:00
Jiang Jiang Jian
316e0e2295 Merge branch 'bugfix/fix_hid_device_vup_without_connection_5.0' into 'release/v5.0'
Bugfix/Fix HID Device can not remove virtually cabled device without a connection[backport 5.0]

See merge request espressif/esp-idf!21365
2022-12-02 20:38:57 +08:00
Jiang Jiang Jian
378a267378 Merge branch 'bugfix/disable_prov_encryption_v5.0' into 'release/v5.0'
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write (v5.0)

See merge request espressif/esp-idf!21263
2022-12-02 20:37:16 +08:00
Jiang Jiang Jian
d92765bf9c Merge branch 'bt/opt_audio_datapath_v5.0' into 'release/v5.0'
bt/optimized a2dp_sink audio datapath (v5.0)

See merge request espressif/esp-idf!21222
2022-12-02 20:36:14 +08:00
Jiang Jiang Jian
97233718b0 Merge branch 'bugfix/fixed_HIDH_connection_failure_v5.0' into 'release/v5.0'
bugfix/fixed connection failure and build errors of HID host (v5.0)

See merge request espressif/esp-idf!21211
2022-12-02 20:36:03 +08:00
Jiang Jiang Jian
9a7ad14b07 Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds_v5.0' into 'release/v5.0'
Fixed the issue memory access out of bounds in a2dp_source example (v5.0)

See merge request espressif/esp-idf!21144
2022-12-02 20:33:20 +08:00
Jiang Jiang Jian
b20c0b59d9 Merge branch 'bugfix/change_log_print_forv5.0' into 'release/v5.0'
ble_mesh:example:Add command to test the function of duplicate exceptional list(v5.0)

See merge request espressif/esp-idf!21125
2022-12-02 20:33:05 +08:00
Yuan Hong Hui
a56b2f778c ble_mesh:example:Add command to test the function of duplicate exceptional list(v5.0) 2022-12-02 20:33:05 +08:00
Jiang Jiang Jian
6442112bb9 Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3_v5.0' into 'release/v5.0'
Change BLE default TX power on ESP32C3 and ESP32S3(backport v5.0)

See merge request espressif/esp-idf!21099
2022-12-02 20:32:53 +08:00
Jiang Jiang Jian
fb1ee6b468 Merge branch 'bugfix/blufi_add_host_deinit_api_v5.0' into 'release/v5.0'
Blufi: Added an API to stop Bluetooth / Blufi profile (v5.0)

See merge request espressif/esp-idf!20863
2022-12-02 20:27:15 +08:00
Jiang Jiang Jian
e65d706ee3 Merge branch 'bugfix/crash_in_i2s_when_reconnect_to_a2dp_v5.0' into 'release/v5.0'
fixed crash in I2S when reconnect to a2dp sink (v5.0)

See merge request espressif/esp-idf!20718
2022-12-02 19:54:03 +08:00
Jiang Jiang Jian
81fd39545c Merge branch 'feature/nimble_port_init_deinit_v5.0' into 'release/v5.0'
NimBLE : Init deinit nimble stack in a loop (v5.0)

See merge request espressif/esp-idf!20696
2022-12-02 19:52:40 +08:00
Jiang Jiang Jian
8b7fee3296 Merge branch 'bugfix/ble_phy_readme_v5.0' into 'release/v5.0'
NimBLE: Fixed README file for BLE PHY prph example (v5.0)

See merge request espressif/esp-idf!20256
2022-12-02 19:50:11 +08:00
Jiang Jiang Jian
010416cf3e Merge branch 'bugfix/ble_mesh_console_memory_leak_test_forv5.0' into 'release/v5.0'
ble_mesh:example:fix memory leak(v5.0)

See merge request espressif/esp-idf!20037
2022-12-02 19:49:32 +08:00
Ivan Grokhotkov
85eff825a9 Merge branch 'bugfix/do_not_mix_esp_partition_and_spi_flash_apis_v5.0' into 'release/v5.0'
partition: use esp_partition_munmap instead of spi_flash_munmap (v5.0)

See merge request espressif/esp-idf!21024
2022-12-02 19:29:49 +08:00
Ivan Grokhotkov
5dc102bfac Merge branch 'feature/upgrade_components_version_v5.0' into 'release/v5.0'
Feature/upgrade components version (v5.0)

See merge request espressif/esp-idf!21069
2022-12-02 19:20:32 +08:00
Omar Chebib
1169dfa1eb Flash: fix flash_suspend example to include worst case
flash_suspend example will now test the worst case in order to be able
to detect real regression:
- shorter response time is acceptable, as the tested function may be in the cache already
- response time longer than 120us will be considered a potential regression
2022-12-01 10:45:35 +00:00
Omar Chebib
6b4e1619d8 TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog 2022-12-01 10:45:35 +00:00
Omar Chebib
b675bb2a4d WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-12-01 10:45:35 +00:00
liqigan
ad43b04898 fix HID device can not remove virtually cabled device without a connection
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-01 15:14:25 +08:00
morris
b4470860f9 Merge branch 'bugfix/i2s_tdm_doubled_mclk_v5.0' into 'release/v5.0'
i2s: fixed double mclk in tdm mode (v5.0)

See merge request espressif/esp-idf!21191
2022-11-29 16:57:11 +08:00
Rahul Tank
6091627f2e Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.

Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.

End user can enable it as per their use case.
2022-11-25 14:18:05 +05:30
harshal.patil
dd57ba77a3 parttool: added tests to check the external interface (parsing) of the parttool commands
The existing tests detect errors in the internal interface (eg. parttool read-write functions) and did not check for any possible breakages in the args parsing of the parttool commands.
2022-11-24 10:45:05 +05:30
Jin Cheng
9ad1c7df96 Increase BtI2STask stack depth to avoid stack overflow 2022-11-24 11:21:57 +08:00
Jin Cheng
75b2e639e1 optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 11:21:57 +08:00
Jin Cheng
728e2c97b4 1. changed pin_type of Legacy Paring from FIXED to VARIABLE to avoid authentication failure
2. provide compatibilities with devices that do not support Secure Simple Paring

Closes https://github.com/espressif/esp-idf/issues/10069
Closes https://github.com/espressif/esp-idf/issues/10005
2022-11-23 20:51:12 +08:00
Jin Cheng
a69c5408a3 fixed build errors with Secure Simple Paring disabled 2022-11-23 20:50:59 +08:00
laokaiyao
592a51ae96 i2s: fixed typo 'philip'
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-22 15:59:51 +08:00
morris
0dbbf7bac5 pcnt: support accumulate count value
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 15:17:55 +08:00
Harshit Malpani
03f8d8a0e2 esp_https_ota: Send data to event handler 2022-11-21 03:31:06 +00:00
Harshit Malpani
4934d01795 esp_https_ota: Added support for esp_events 2022-11-21 03:31:06 +00:00