Commit Graph

4176 Commits

Author SHA1 Message Date
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
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