Commit Graph

4332 Commits

Author SHA1 Message Date
Rahul Tank
ae1de35817 Nimble: Corrected conditional check during connection to handle failure case 2023-07-12 19:04:34 +05:30
xieqinan
575b540b8b comm_components: eth_start initializes spi bus with SPI_DMA_CH_AUTO
Close https://github.com/espressif/esp-idf/issues/11083
2023-07-12 14:26:25 +08:00
Rahul Tank
a3722b4cc4 Nimble: Added Example Walkthrough tutorial for Multi Adv example 2023-07-11 11:49:06 +05:30
Rahul Tank
ab7df868cb Nimble: Added Example Walkthrough tutorial for HTP example in nimble 2023-07-11 11:47:18 +05:30
Jiang Jiang Jian
08c6c90ed9 Merge branch 'doc/add_timing_diagram_for_bt_l2cap_server_and_client_v5.0' into 'release/v5.0'
docs(examples/bluetooth): Add the sequence diagram for L2CAP connection and the discription for the diagram (backport v5.0)

See merge request espressif/esp-idf!24662
2023-07-11 12:25:14 +08:00
gongyantao
b4a62fb339 docs(examples/bluetooth): Add the sequence diagram of L2CAP connection and the discription for the sequence diagram
1: add the sequence diagram for the bluetooth example projects,bt_l2cap_server and bt_l2cap_client, which implenment the L2CAP connection.
2: add the discription for the sequence diagram.
2023-07-08 12:39:35 +08:00
wuzhenghui
e0370d89c3 ci: increase timeout threshold to solve deepsleep wakestub example ci failure 2023-06-28 18:12:33 +08:00
Darian Leung
02ee20ff3a pytest: Expect "Calling app_main()" to indicate start of application
This commit updates variousf pytest scripts to expect
"main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as
indicator of the start of an application.
2023-06-23 10:35:56 +02:00
Jiang Jiang Jian
2798527b0b Merge branch 'bugfix/fix_some_wifi_bugs_230612_v5.0' into 'release/v5.0'
Fixed some wifi bugs 230612 v5.0 (Backport v5.0)

See merge request espressif/esp-idf!24172
2023-06-14 01:10:29 +08:00
Jiang Jiang Jian
69b3835cee Merge branch 'feature/s2_ulp_riscv_adc_v5.0' into 'release/v5.0'
ulp-riscv: enable ULP-RISCV ADC example for esp32s2 (v5.0)

See merge request espressif/esp-idf!23372
2023-06-13 20:18:13 +08:00
Jiang Jiang Jian
1c07880c34 Merge branch 'bugfix/add_event_cb_for_pcl_v5.0' into 'release/v5.0'
Nimble: Add support to send power control event in registered callback(v5.0)

See merge request espressif/esp-idf!23584
2023-06-13 11:20:34 +08:00
xueyunfei
a21312a5a1 Fixed bug for stop dhcps before set dns
Closes https://github.com/espressif/esp-idf/issues/10762
2023-06-12 15:23:04 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
Jiang Jiang Jian
86ed0c53d5 Merge branch 'feature/update_nimble_examples_readme_v5.0' into 'release/v5.0'
Nimble:Updated nimble examples README to include chip information (v5.0)

See merge request espressif/esp-idf!22981
2023-06-12 11:06:09 +08:00
jgujarathi
cecd0250fe wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-06-07 10:08:26 +05:30
Jiang Jiang Jian
0872feb2a0 Merge branch 'bugfix/eth_lan8720_ci_v5.0' into 'release/v5.0'
esp_eth: start/stop and L2 test stability improvements (v5.0)

See merge request espressif/esp-idf!22317
2023-06-01 19:54:17 +08:00
Wang Meng Yang
dd7e8b7955 Merge branch 'feature/add_bluetooth_nimble_lightsleep_example_v5.0' into 'release/v5.0'
bt: Added an example of Bluetooth using light sleep(v5.0)

See merge request espressif/esp-idf!23687
2023-05-31 11:06:10 +08:00
xiongweichao
871a7568b7 bt: Added an example of Bluetooth using light sleep 2023-05-30 20:25:45 +08: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
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
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
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
Rahul Tank
dc63356910 Nimble: Add support to send power control event in registered callback 2023-05-18 14:02:07 +05:30
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
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
Marius Vikhammer
6ec490016c Merge branch 'fix/console-build-error_v5.0' into 'release/v5.0'
console: Fix building issue when serial JTAG is set (v5.0)

See merge request espressif/esp-idf!23736
2023-05-16 09:21:06 +08:00
Rahul Tank
c6e7bb3ecf Nimble:Updated nimble examples README to include chip information 2023-05-15 15:33:53 +05:30
morris
6439e0bd85 Merge branch 'feature/i80_lcd_allow_skip_command_phase_v5.0' into 'release/v5.0'
i80_lcd: allow skip command phase (v5.0)

See merge request espressif/esp-idf!23091
2023-05-15 10:41:35 +08:00
morris
641221a10a Merge branch 'bugfix/rmt_one-wire_v5.0' into 'release/v5.0'
rmt_onewire: refactor example with component registry (v5.0)

See merge request espressif/esp-idf!23510
2023-05-15 10:00:15 +08:00
Guillaume Souchere
11653cdc9a console: Fix building issue when serial JTAG is set
Closes https://github.com/espressif/esp-idf/issues/10707
2023-05-15 09:49:10 +08:00
morris
cea9f80870 Merge branch 'bugfix/mcpwm_bldc_example_v5.0' into 'release/v5.0'
mcpwm: test generator force level with dead time module (v5.0)

See merge request espressif/esp-idf!23715
2023-05-14 14:13:02 +08:00
morris
24a2a98707 Merge branch 'bugfix/rmt_encode_state_init_v5.0' into 'release/v5.0'
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t (v5.0)

See merge request espressif/esp-idf!23240
2023-05-12 15:53:22 +08:00
morris
a69a6775c9 mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-12 14:40:19 +08:00
Jiang Jiang Jian
c323399520 Merge branch 'bugfix/fix_hw_ralunderrun_assert_v5.0' into 'release/v5.0'
Fixed BLE HW RAL_UNDERRUN assert and backport some bug fix 23-03-30 (back port v5.0)

See merge request espressif/esp-idf!22989
2023-05-11 17:27:32 +08:00
Jiang Jiang Jian
3cad80e98f Merge branch 'bugfix/spp_notify_v5.0' into 'release/v5.0'
NimBLE: Removed indicate flag from gatt db and added subscription case in spp_server example (v5.0)

See merge request espressif/esp-idf!23459
2023-05-11 17:24:50 +08:00
Jiang Jiang Jian
de6d31aa20 Merge branch 'bugfix/a2dp_source_app_state_error_v5.0' into 'release/v5.0'
bt: Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device(v5.0)

See merge request espressif/esp-idf!23556
2023-05-11 17:22:29 +08:00
Jiang Jiang Jian
d3a57ff659 Merge branch 'feature/multi_adv_v5.0' into 'release/v5.0'
NimbLE: Added multi advertising example (v5.0)

See merge request espressif/esp-idf!22828
2023-05-11 17:19:17 +08:00
Jiang Jiang Jian
054f17c8f3 Merge branch 'bugfix/IDFGH-9552_v5.0' into 'release/v5.0'
NimBLE : Added configurable option for resolving peer address in bleprph example. (v5.0)

See merge request espressif/esp-idf!22991
2023-05-11 17:13:53 +08:00
Jiang Jiang Jian
60e68189c4 Merge branch 'bugfix/esp_nimble_config_v5.0' into 'release/v5.0'
NimBLE : Fixed config options in esp_nimble_cfg.h (v5.0)

See merge request espressif/esp-idf!23070
2023-05-11 17:13:19 +08:00
Marius Vikhammer
86aead4f80 Merge branch 'docs/readme_i2s_datasheet_v5.0' into 'release/v5.0'
docs: remove link to NS4150 datasheet (v5.0)

See merge request espressif/esp-idf!23107
2023-05-11 14:44:54 +08:00
zhiweijian
f0c6c5962a set BT_CTRL_BLE_MAX_ACT default value to 6 2023-05-11 02:45:56 +00:00
morris
9d26757763 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-05-11 02:28:54 +00:00
morris
0542983ed8 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-05-11 02:28:31 +00:00
morris
54733abf56 i80_lcd: support skip command phase
Closes https://github.com/espressif/esp-idf/issues/10794
2023-05-11 02:27:49 +00:00
Marius Vikhammer
1ef71b472c Merge branch 'contrib/github_pr_11163_v5.0' into 'release/v5.0'
Make custom bootloader message match actual output (GitHub PR) (v5.0)

See merge request espressif/esp-idf!23139
2023-05-11 10:25:46 +08:00
Zim Kalinowski
815c54c922 Merge branch 'contrib/github_pr_11028_v5.0' into 'release/v5.0'
Bugfix: Fix compile error for ESP32 FSM ULP GPIO Example (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22988
2023-05-11 02:51:14 +08:00
wuzhenghui
1f39f07bca doc: update deep_sleep_wake_stub readme 2023-05-04 16:46:15 +08:00
wuzhenghui
4c3b8c13df feature: add wake up time cost info to deep_sleep_wake_stub example 2023-05-04 16:46:15 +08:00
jiangguangming
c8aa155086 deep sleep example: typo corrected in readme 2023-05-04 16:46:15 +08:00
jiangguangming
4f5f235208 add pytest for example deep sleep wake stub 2023-05-04 16:46:15 +08:00
jiangguangming
24a38e3153 feature: add example deep sleep wake stub
Closes https://github.com/espressif/esp-idf/issues/8208
2023-05-04 16:46:15 +08:00
xiongweichao
b631852cb1 Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
Closes https://github.com/espressif/esp-idf/issues/11170
2023-05-04 12:10:33 +08:00
isha.pardikar@espressif.com
3654dd0d6f NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
in spp_server example.
2023-05-02 05:58:00 +00:00
Marius Vikhammer
07471019ef ulp-riscv: enable ULP-RISCV ADC example for esp32s2
ADC can now be used from the ULP-RISCV on S2 after the RTC power parameters were
fixed in a624d8d061

Closes https://github.com/espressif/esp-idf/issues/11052
Closes https://github.com/espressif/esp-idf/issues/11040
2023-04-24 10:12:09 +08:00
chenjianxing
62d4adb482 esp_wifi: fix espnow example add peer fail when config channel
Closes https://github.com/espressif/esp-idf/issues/9592
2023-04-13 10:55:53 +08:00
hasheddan
5cdc107a90 Make custom bootloader message match actual output
Fixes the custom bootloader README.md so that the example output matches
what will actually be output by default in the custom bootloader.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2023-04-11 13:41:30 +08:00
Fu Hanxi
307c454757 ci: add missing sdkconfig files 2023-04-11 10:53:06 +08:00
Marius Vikhammer
0ec457bcbb docs: remove link to NS4150 datasheet 2023-04-07 12:00:14 +08:00
Tomas Rezucha
842e8a9889 usb: Update host CDC examples 2023-04-05 07:54:29 +02:00
isha.pardikar@espressif.com
dbeeaf6a21 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-04-04 17:39:18 +05:30
isha.pardikar@espressif.com
be4fca4fb4 NimbLE: Added multi advertising example. 2023-03-30 17:56:52 +05:30
isha.pardikar@espressif.com
9dc5b6b02d NimBLE: Added configurable option for resolving peer address in bleprph example
Closes IDFGH-9552
2023-03-30 11:00:35 +05:30
Jakob Hasse
d0b8fcb371 bugfix: made C code C++ compatible 2023-03-30 11:28:23 +08:00
Kampi
e66a1755df bugfix: Change namespace variable to nvs_namespace (C++ compatibility)
Closes https://github.com/espressif/esp-idf/pull/11028
2023-03-30 11:28:23 +08:00
Jiang Jiang Jian
834ca549a2 Merge branch 'feature/remove-cxx-experimental-v5.0' into 'release/v5.0'
cxx: removed cxx experimental components (v5.0)

See merge request espressif/esp-idf!22531
2023-03-30 09:34:01 +08:00
Jiang Jiang Jian
bb43066205 Merge branch 'feature/phy_write_blob_v5.0' into 'release/v5.0'
NimBLE: Demo of using write blob in ble phy example (v5.0)

See merge request espressif/esp-idf!22973
2023-03-30 09:33:32 +08:00
Jiang Jiang Jian
c35de0c0c7 Merge branch 'feature/gatt_server_improvements_v5_0' into 'release/v5.0'
NimBLE: Added custom GATT server functionality and encryption (v5.0)

See merge request espressif/esp-idf!22740
2023-03-29 19:14:12 +08:00
isha.pardikar@espressif.com
c7fa23b7b4 NimBLE: Demo of using write blob in ble phy example 2023-03-29 14:23:13 +05:30
Marius Vikhammer
9eea794f8e docs: update readme links to ledstrip datasheet 2023-03-29 10:16:26 +08:00
Mahavir Jain
30058e3b31 Merge branch 'bugfix/enable_security_example_for_c2_v5.0' into 'release/v5.0'
examples: enable security example for ESP32-C2 (v5.0)

See merge request espressif/esp-idf!22947
2023-03-29 10:06:26 +08:00
Mahavir Jain
72a20d8c7f
examples: enable security example for ESP32-C2
Tested that example could work with flash encryption enabled case

Closes IDF-6959
2023-03-28 09:52:08 +05:30
Marius Vikhammer
b97d2ed15a uart: increase default stack size for nmea example
With the old value of 2048 bytes we are right on the stack border when running on S3.

Closes https://github.com/espressif/esp-idf/issues/11044
2023-03-24 12:21:22 +08:00
Jiang Jiang Jian
e8205de110 Merge branch 'bugfix/lwip_core_locking_v5.0' into 'release/v5.0'
esp_netif/lwip: Fix core-locking config (v5.0)

See merge request espressif/esp-idf!22443
2023-03-23 16:54:49 +08:00
morris
3050ea656f Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq_v5.0' into 'release/v5.0'
i2s_pdm: fix tx frequency limitation (v5.0)

See merge request espressif/esp-idf!22832
2023-03-21 20:23:50 +08:00
Sumeet Singh
da4c7eb7c4 Added custom gatt server functionality and encryption. 2023-03-21 17:40:41 +05:30
David Cermak
a18d019fc9 lwip: Fix lwiopts macro expansion and dhcps-test
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
Fix lwip thread safety issue in tests: dhcp server should be started and
stopped only in lwip context/thread. Without this fix, the test would
fail if `CONFIG_LWIP_CHECK_THREAD_SAFETY=y`
Adds CONFIG_LWIP_TCPIP_CORE_LOCKING=y to some mqtt example tests (the
same configs as used in v5.1)
2023-03-21 11:21:07 +01:00
David Cermak
5b75693522 esp_netif/lwip: Fix core-locking config (v5.0)
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples

Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-03-21 11:09:56 +01:00
aleks
be59a273c6 modbus remove example tests 2023-03-20 13:12:30 +01:00
laokaiyao
b02d50e33b i2s: fix some typos 2023-03-20 14:51:07 +08:00
Michael (XIAO Xufeng)
55e040b54b Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v5.0' into 'release/v5.0'
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v5.0)

See merge request espressif/esp-idf!22665
2023-03-20 12:49:56 +08:00
Song Ruo Jing
b3b3947207 examples: system/deep_sleep
1. Fix EXT0 wakeup pin error on ESP32: GPIO3 is not a RTC IO, change to use GPIO25.
2. Add ESP_ERROR_CHECK to explicitly show the runtime error
3. Improve example README
2023-03-17 14:44:29 +08:00
Jiang Jiang Jian
fe743a057f Merge branch 'bugfix/avrcp_psth_cmd_rsp_v5.0' into 'release/v5.0'
bt:Added a parameter to tell the user the result of the pass through command implementation(v5.0)

See merge request espressif/esp-idf!22726
2023-03-17 14:22:22 +08:00
Rahul Tank
32a02459dc Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-16 12:08:58 +05:30
Marius Vikhammer
04758d2782 Merge branch 'contrib/github_pr_10970' into 'release/v5.0'
Bugfix: Fix compile error for ESP32 FSM ULP ADC Example (GitHub PR)

See merge request espressif/esp-idf!22746
2023-03-15 10:47:11 +08:00
isha.pardikar@espressif.com
5158af3fed NimBLE: Fixed advertising instance check api in bleprph example 2023-03-14 12:22:49 +05:30
Jiang Jiang Jian
86447548f8 Merge branch 'bugfix/restart_ext_adv_after_discovery_v5.0' into 'release/v5.0'
Nimble: Updated bleprph example to re-enable ext adv after advertising is completed (v5.0)

See merge request espressif/esp-idf!22542
2023-03-14 13:59:53 +08:00
Jiang Jiang Jian
0c1e80fc5b Merge branch 'feature/add_pcl_example_blecent_v5.0' into 'release/v5.0'
Nimble:Added power control API usage demo in blecent app (v5.0)

See merge request espressif/esp-idf!22541
2023-03-14 13:59:30 +08:00
Rahul Tank
28aa12ed01 Nimble:Change component path to relative path for remaining examples 2023-03-13 14:24:08 +05:30
Leonardo Bispo
861517ecb0 component path relative to IDF
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.

(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com>
2023-03-13 14:22:54 +05:30
Jiang Jiang Jian
358ed1af5d Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit (v5.0)

See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
xiongweichao
46e7347177 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-13 15:03:55 +08:00
Jiang Jiang Jian
15b160ae55 Merge branch 'bugfix/remove_Wno_format_in_bluedroid_bt_examples_v5.0' into 'release/v5.0'
bt: Remove `-Wno-format` compile option for bluedroid classic bluetooth examples(v5.0)

See merge request espressif/esp-idf!21870
2023-03-13 14:29:25 +08:00
Jiang Jiang Jian
3d3df29792 Merge branch 'bugfix/wifi_enterprise_example_typo_v5.0' into 'release/v5.0'
esp_wifi: fix typo in wifi_enterprise example README (Backport v5.0)

See merge request espressif/esp-idf!22650
2023-03-13 14:06:12 +08:00
Kampi
7905aa2c27 Bugfix: Fix compile error with out of order designated initializer when using C++20 in ESP32 ULP ADC example 2023-03-11 14:42:18 +01:00
Rahul Tank
89f4ed527e Nimble:Added power control API usage demo in blecent app 2023-03-10 12:59:11 +05:30
isha.pardikar@espressif.com
0a47d78680 Doc : SPP server documentation fix
Closes https://github.com/espressif/esp-idf/issues/10930
2023-03-09 11:58:14 +05:30
Wang Meng Yang
e9092c2d2d Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
support ble write and notify throughput test at the same time (backport v5.0)

See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Zim Kalinowski
2a804de4b7 Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)

See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Sarvesh Bodakhe
e111b46e7d esp_wifi: fix typo in wifi_enterprise example README
Closes https://github.com/espressif/esp-idf/issues/10042
2023-03-08 13:18:24 +05:30
Omar Chebib
83907aaa20 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
jingli
5d6c050376 examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold 2023-03-06 11:51:55 +08:00
jingli
63db044e9c esp32c2/ci: reenable deep sleep example test 2023-03-06 11:51:41 +08:00
jingli
c6fbdb4acb examples/system/deep_sleep:
Use nvs instead of RTC_DATA_ATTR to record deep sleep enter time when
the target chip does not have rtc mem.
2023-03-06 11:46:56 +08:00
jingli
a7be8fddcb examples/system/light_sleep:
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 11:46:37 +08:00
Zim Kalinowski
20db248fb2 cxx: removed cxx experimental components 2023-03-05 10:23:28 +01:00
chli
c3db512280 ledc: move callback to IRAM, it's called from an ISR 2023-03-03 17:21:56 +08:00
Rahul Tank
2b5f1140dd Nimble: Added return value (success / failure ) to nimble_port_init 2023-03-02 09:47:03 +05:30
Chen Yudong
3c58ca9285 CI: optimize test case test_examples_protocol_socket_tcpserver 2023-03-01 22:40:34 +08:00
Chen Yudong
a62e103109 CI: add example adc tests 2023-03-01 22:40:34 +08:00
Jiang Jiang Jian
d759ee5aea Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
touch: update examples and tests (v5.0)

See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Kevin Evans
af1f67424c Nimble:Re-run ext adv after completion 2023-02-28 17:22:03 +05:30
zhiweijian
1a9300af1f support ble notify and write throughput test at the same time 2023-02-27 13:01:13 +00:00
Jiang Jiang Jian
9a3c8a6567 Merge branch 'bugfix/change_position_of_vendor_model_and_gen_onoff_model_callback_forv5.0' into 'release/v5.0'
ble_mesh:example:change position of vendor model and generic onoff model callback(v5.0)

See merge request espressif/esp-idf!21798
2023-02-27 15:13:27 +08:00
Jiang Jiang Jian
a9af2080e4 Merge branch 'bugfix/fix_ext_adv_compilation_issue_v5.0' into 'release/v5.0'
Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 (v5.0)

See merge request espressif/esp-idf!22066
2023-02-27 15:12:48 +08:00
Jiang Jiang Jian
b29c869698 Merge branch 'bugfix/fix_assert_pcl_bleprph_example_v5.0' into 'release/v5.0'
Nimble: Fix runtime assertion in bleprph due to two disconnect events (v5.0)

See merge request espressif/esp-idf!22212
2023-02-27 15:11:51 +08:00
Jiang Jiang Jian
5ca38da869 Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)

See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
Jiang Jiang Jian
d4eebd5e80 Merge branch 'bugfix/update_ble_l2cap_coc_example_v5.0' into 'release/v5.0'
Nimble: Updated ble_l2cap_coc example (v5.0)

See merge request espressif/esp-idf!22064
2023-02-27 15:10:57 +08:00
Jiang Jiang Jian
3132e45747 Merge branch 'bugfix/remove_-Wno-formate_in_mesh_example_v5.0' into 'release/v5.0'
wifi_mesh: Remove-Wno-format compile option for mesh examples(Backport v5.0)

See merge request espressif/esp-idf!22254
2023-02-27 15:07:15 +08:00
Jiang Jiang Jian
224b3203e9 Merge branch 'bugfix/remove_-Wno-formate_in_wifi_example_v5.0' into 'release/v5.0'
esp_wifi: Remove -Wno-format compile option for FTM example, iperf example, roaming example(Backport v5.0)

See merge request espressif/esp-idf!21779
2023-02-27 15:07:05 +08:00
Jiang Jiang Jian
8a83241c49 Merge branch 'bugfix/spp_clear_conn_array_v5.0' into 'release/v5.0'
Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event (v5.0)

See merge request espressif/esp-idf!22272
2023-02-27 15:06:49 +08:00
Jiang Jiang Jian
335ad04cba Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)

See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
Jiang Jiang Jian
4cc03645e8 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!22363
2023-02-27 15:05:38 +08:00
Ivan Grokhotkov
498dc8d09d Merge branch 'bugfix/nvs_cxx_example_v5.0' into 'release/v5.0'
nvs_flash: fixed wrong error check after open_nvs_handle in example (v5.0)

See merge request espressif/esp-idf!22303
2023-02-22 16:39:13 +08:00
xiongweichao
3a6e2021ff Remove compile option for bluedroid classic bluetooth examples 2023-02-22 11:23:12 +08:00
jincheng
60087c0b22 rebase a2dp_gatts_coex to latest a2dp_sink 2023-02-21 10:58:51 +00:00
Jakob Hasse
1a98df0c93 bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
Closes https://github.com/espressif/esp-idf/issues/10240
2023-02-20 14:20:18 +08:00
Armando
d101d9c100 esp_adc: update license 2023-02-20 10:34:34 +08:00
Armando
f3ee3b68bf esp_adc: defined an example macro for attenuation 2023-02-20 10:34:34 +08:00
morris
3f68b61f3e Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
mcpwm: support non-vararg version of generator functions (v5.0)

See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
morris
27ca6549d5 Merge branch 'bugfix/gdma_uhci_id_5.0' into 'release/v5.0'
gdma: correct the dma trigger of UHCI && fix async memcpy conflict with peripheral DMA (v5.0)

See merge request espressif/esp-idf!22006
2023-02-18 15:02:32 +08:00
Konstantin Kondrashov
8a6fb6df19 Merge branch 'feature/secure_features_are_enabled_correctly_v5.0' into 'release/v5.0'
security: Adds new APIs to check that all eFuse security features are enabled correctly (v5.0)

See merge request espressif/esp-idf!22116
2023-02-17 21:40:42 +08:00
Vilem Zavodny
d3b1ae10d8 Merge branch 'fix/lcd_spi_example_colors_v5.0' into 'release/v5.0'
examples/spi_lcd_touch: Fixed colors on ILI9341 (backport v5.0)

See merge request espressif/esp-idf!22049
2023-02-17 21:21:55 +08:00
Darian
6a86124ff5 Merge branch 'feature/usb_host_feature_and_refactor_backports_v5.0' into 'release/v5.0'
USB Host: Backport multiple feature and refactors to v5.0

See merge request espressif/esp-idf!21584
2023-02-17 20:49:46 +08:00
Aditya Patwardhan
b559e2ccb6 Merge branch 'fix/esp_local_ctrl_header_incl_v5.0' into 'release/v5.0'
esp_local_ctrl: Fix header inclusion (v5.0)

See merge request espressif/esp-idf!22134
2023-02-17 19:42:25 +08:00
jingli
eb27e688fb UT/esp32c2: reenable pm and sleep related UT 2023-02-16 10:54:11 +08:00
chenjianhua
e6862798aa examples: fix ble address type of adv and scan params 2023-02-14 11:24:11 +08:00
isha.pardikar@espressif.com
42dad0c541 Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event 2023-02-08 10:56:16 +05:30
wangyuanze
9892fb760b touch: move unit tests to test_app 2023-02-08 12:26:27 +08:00
wangyuanze
e51845d04c touch: update touch-related code to compile without -Wno-format flag 2023-02-08 12:23:40 +08:00
muhaidong
d1abf90854 wifi_mesh: Remove-Wno-format compile option for mesh examples 2023-02-07 11:50:51 +08:00
Rahul Tank
5b19866eb8 Nimble: Fix runtime assertion in bleprph due to two disconnect events 2023-02-02 17:38:39 +05:30
morris
ac05d033b9 gdma: correct the dma trigger of uart
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-02-01 11:02:24 +08:00
Laukik Hase
09c0b58b97
esp_local_ctrl: Fix header inclusion
- Included `sdkconfig.h` and HTTP/S server based headers
  explicitly
2023-01-26 12:53:02 +05:30
KonstantinKondrashov
905f9bf25f examples(efuse): Set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
For efuse example test, we set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE=y
by default because in the python test we expect secure boot is in RELEASE mode
2023-01-24 16:27:05 +08:00
KonstantinKondrashov
5d37e26d35 security: Adds new APIs to check that all eFuse security features are enabled correctly 2023-01-23 21:02:55 +08:00
Tomas Rezucha
80626f17c0 usb: Update TinyUSB version 2023-01-20 09:17:04 +01:00
Rahul Tank
e7eccf7ed0 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-17 10:25:32 +05:30
Rahul Tank
4da5d3e7a5 Nimble: Updated ble_l2cap_coc example
1. Corrected format
     2. Fixed double free of memory issue in case of disconnection
     3. Updated sdkconfig.default file to have correct value for
COC_MAX_NUM configuration setting
2023-01-17 10:19:18 +05:30
Vilem Zavodny
4d9d8c5eca examples/spi_lcd_touch: Fixed colors on ILI9341.
(cherry picked from commit 0ea1317983)
2023-01-13 13:42:30 +01:00
Tomas Rezucha
b4f281f523 tinyusb: Add TinyUSB example tests 2023-01-09 17:55:02 +08:00
morris
ae7c8de4a7 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
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