ESP32 esp-idf Changelog


$ git pull
remote: Counting objects: 2786, done.
remote: Compressing objects: 100% (182/182), done.
remote: Total 2786 (delta 1461), reused 1590 (delta 1435), pack-reused 1155
Receiving objects: 100% (2786/2786), 2.03 MiB | 2.20 MiB/s, done.
Resolving deltas: 100% (2019/2019), completed with 581 local objects.
From https://github.com/espressif/esp-idf
   9b30f66..a4fe12c  master     -> origin/master
   024ef51..bef9896  release/v2.0 -> origin/release/v2.0
   bdc499a..7138fb0  release/v2.1 -> origin/release/v2.1
 * [new tag]         v2.1       -> v2.1
Fetching submodule components/bt/lib
remote: Counting objects: 30, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 30 (delta 15), reused 16 (delta 15), pack-reused 13
Unpacking objects: 100% (30/30), done.
From https://github.com/espressif/esp32-bt-lib
   af88193..caec324  master     -> origin/master
   af88193..8afa935  release/v2.1 -> origin/release/v2.1
Fetching submodule components/esp32/lib
remote: Counting objects: 134, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 134 (delta 94), reused 114 (delta 93), pack-reused 18
Receiving objects: 100% (134/134), 1.21 MiB | 1.59 MiB/s, done.
Resolving deltas: 100% (95/95), completed with 22 local objects.
From https://github.com/espressif/esp32-wifi-lib
   4b7bea2..fc21180  master     -> origin/master
   33fcdfb..f6701dc  release/v2.1 -> origin/release/v2.1
Fetching submodule components/esptool_py/esptool
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 34 (delta 16), reused 20 (delta 15), pack-reused 13
Unpacking objects: 100% (34/34), done.
From https://github.com/espressif/esptool
   74d0504..4dab24e  master     -> origin/master
 * [new tag]         v2.1       -> v2.1
Updating 9b30f66..a4fe12c
Fast-forward
 .gitignore                                                                   |    5 +
 .gitlab-ci.yml                                                               |   21 +
 Kconfig                                                                      |   35 +-
 components/app_trace/Kconfig                                                 |    6 +
 components/app_trace/app_trace.c                                             |  296 +++++++-----
 components/app_trace/app_trace_util.c                                        |   43 +-
 components/app_trace/include/esp_app_trace.h                                 |   46 +-
 components/app_trace/include/esp_app_trace_util.h                            |   98 ++--
 components/app_trace/sys_view/Sample/Config/SEGGER_SYSVIEW_Config_FreeRTOS.c |    4 +-
 components/app_trace/sys_view/esp32/SEGGER_RTT_esp32.c                       |    8 +-
 components/app_update/esp_ota_ops.c                                          |   21 +-
 components/app_update/include/esp_ota_ops.h                                  |    6 +
 components/aws_iot/Kconfig                                                   |   53 ++
 components/aws_iot/include/aws_iot_config.h                                  |   10 +-
 components/bootloader/Kconfig.projbuild                                      |   21 +-
 components/bootloader/Makefile.projbuild                                     |   45 +-
 components/bootloader/component.mk                                           |    7 +
 components/bootloader/{src => subproject}/.gitignore                         |    0
 components/bootloader/{src => subproject}/Makefile                           |   11 +-
 components/bootloader/{src => subproject}/main/Makefile.projbuild            |    0
 components/bootloader/{src => subproject}/main/bootloader_config.h           |    4 +-
 components/bootloader/{src => subproject}/main/bootloader_start.c            |  481 +++++++++---------
 components/bootloader/{src => subproject}/main/component.mk                  |    2 +-
 components/bootloader/{src => subproject}/main/esp32.bootloader.ld           |   68 +--
 components/bootloader/{src => subproject}/main/esp32.bootloader.rom.ld       |    0
 components/bootloader/{src => subproject}/main/flash_qio_mode.c              |   47 +-
 components/bootloader/{src => subproject}/main/flash_qio_mode.h              |    0
 components/bootloader_support/include/esp_flash_partitions.h                 |    1 +
 components/bootloader_support/include/esp_image_format.h                     |  117 ++---
 components/bootloader_support/include/esp_secure_boot.h                      |   20 +-
 components/bootloader_support/include_priv/bootloader_sha.h                  |   32 ++
 components/bootloader_support/src/bootloader_flash.c                         |    7 +-
 components/bootloader_support/src/bootloader_sha.c                           |  166 +++++++
 components/bootloader_support/src/esp_image_format.c                         |  554 +++++++++++++++++----
 components/bootloader_support/src/flash_encrypt.c                            |   22 +-
 components/bootloader_support/src/secure_boot.c                              |    4 +-
 components/bootloader_support/src/secure_boot_signatures.c                   |   69 ++-
 components/bootloader_support/test/test_verify_image.c                       |   28 +-
 components/bt/bluedroid/api/esp_bt_main.c                                    |    1 +
 components/bt/bluedroid/api/esp_gap_ble_api.c                                |  123 +++--
 components/bt/bluedroid/api/esp_gattc_api.c                                  |   84 +---
 components/bt/bluedroid/api/esp_gatts_api.c                                  |   71 +--
 components/bt/bluedroid/api/include/esp_bt_defs.h                            |    7 +
 components/bt/bluedroid/api/include/esp_gap_ble_api.h                        |  108 ++++-
 components/bt/bluedroid/api/include/esp_gattc_api.h                          |    4 +-
 components/bt/bluedroid/api/include/esp_gatts_api.h                          |    4 +-
 components/bt/bluedroid/bta/av/bta_av_aact.c                                 |   22 +-
 components/bt/bluedroid/bta/av/bta_av_act.c                                  |   18 +-
 components/bt/bluedroid/bta/av/bta_av_api.c                                  |   44 +-
 components/bt/bluedroid/bta/av/bta_av_cfg.c                                  |    1 -
 components/bt/bluedroid/bta/av/bta_av_ci.c                                   |    5 +-
 components/bt/bluedroid/bta/av/bta_av_main.c                                 |   19 +-
 components/bt/bluedroid/bta/dm/bta_dm_act.c                                  |   81 ++--
 components/bt/bluedroid/bta/dm/bta_dm_api.c                                  |  128 ++---
 components/bt/bluedroid/bta/dm/bta_dm_ci.c                                   |    8 +-
 components/bt/bluedroid/bta/dm/bta_dm_int.h                                  |    3 +-
 components/bt/bluedroid/bta/dm/bta_dm_pm.c                                   |    5 +-
 components/bt/bluedroid/bta/gatt/bta_gattc_act.c                             |   31 +-
 components/bt/bluedroid/bta/gatt/bta_gattc_api.c                             |   42 +-
 components/bt/bluedroid/bta/gatt/bta_gattc_cache.c                           |   31 +-
 components/bt/bluedroid/bta/gatt/bta_gattc_ci.c                              |    9 +-
 components/bt/bluedroid/bta/gatt/bta_gattc_main.c                            |    1 -
 components/bt/bluedroid/bta/gatt/bta_gattc_utils.c                           |   11 +-
 components/bt/bluedroid/bta/gatt/bta_gatts_act.c                             |   19 +-
 components/bt/bluedroid/bta/gatt/bta_gatts_api.c                             |   46 +-
 components/bt/bluedroid/bta/gatt/bta_gatts_main.c                            |    1 -
 components/bt/bluedroid/bta/gatt/bta_gatts_utils.c                           |    1 -
 components/bt/bluedroid/bta/hh/bta_hh_act.c                                  |    4 +-
 components/bt/bluedroid/bta/hh/bta_hh_api.c                                  |   18 +-
 components/bt/bluedroid/bta/hh/bta_hh_cfg.c                                  |    4 +-
 components/bt/bluedroid/bta/hh/bta_hh_le.c                                   |   14 +-
 components/bt/bluedroid/bta/hh/bta_hh_main.c                                 |    5 +-
 components/bt/bluedroid/bta/hh/bta_hh_utils.c                                |    2 +-
 components/bt/bluedroid/bta/include/bta_api.h                                |    6 +-
 components/bt/bluedroid/bta/include/bta_av_co.h                              |    2 +-
 components/bt/bluedroid/bta/include/bta_gatt_api.h                           |    4 +-
 components/bt/bluedroid/bta/include/bta_gattc_int.h                          |   10 +-
 components/bt/bluedroid/bta/include/bta_gatts_int.h                          |    3 +-
 components/bt/bluedroid/bta/include/bta_sys.h                                |    2 +-
 components/bt/bluedroid/bta/include/utl.h                                    |    2 +-
 components/bt/bluedroid/bta/sdp/bta_sdp_act.c                                |    1 -
 components/bt/bluedroid/bta/sdp/bta_sdp_api.c                                |   11 +-
 components/bt/bluedroid/bta/sdp/bta_sdp_cfg.c                                |    1 -
 components/bt/bluedroid/bta/sdp/bta_sdp_int.h                                |    2 +-
 components/bt/bluedroid/bta/sys/bta_sys_conn.c                               |    1 -
 components/bt/bluedroid/bta/sys/bta_sys_main.c                               |   49 +-
 components/bt/bluedroid/bta/sys/utl.c                                        |    6 +-
 components/bt/bluedroid/btc/core/btc_ble_storage.c                           |  132 ++++-
 components/bt/bluedroid/btc/core/btc_config.c                                |   87 ++--
 components/bt/bluedroid/btc/core/btc_dm.c                                    |   32 +-
 components/bt/bluedroid/btc/core/btc_main.c                                  |    5 +
 components/bt/bluedroid/btc/core/btc_manage.c                                |    1 -
 components/bt/bluedroid/btc/core/btc_profile_queue.c                         |    1 -
 components/bt/bluedroid/btc/core/btc_sm.c                                    |    1 -
 components/bt/bluedroid/btc/core/btc_task.c                                  |    6 +-
 components/bt/bluedroid/btc/include/btc_ble_storage.h                        |   18 +-
 components/bt/bluedroid/btc/include/btc_config.h                             |    5 +-
 components/bt/bluedroid/btc/profile/esp/blufi/blufi_prf.c                    |   81 ++--
 components/bt/bluedroid/btc/profile/std/a2dp/bta_av_co.c                     |   23 +-
 components/bt/bluedroid/btc/profile/std/a2dp/btc_avk.c                       |    1 -
 components/bt/bluedroid/btc/profile/std/a2dp/btc_media_task.c                |   59 +--
 components/bt/bluedroid/btc/profile/std/avrc/btc_avrc.c                      |    5 +-
 components/bt/bluedroid/btc/profile/std/dis/dis_profile.c                    |    4 +-
 components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c                    |  304 ++++++++----
 components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c                     |   19 +-
 components/bt/bluedroid/btc/profile/std/gatt/btc_gatts.c                     |   35 +-
 components/bt/bluedroid/btc/profile/std/include/btc_gap_ble.h                |   23 +-
 components/bt/bluedroid/btc/profile/std/include/btc_gatts.h                  |    2 +-
 components/bt/bluedroid/btc/profile/std/include/btc_media.h                  |    9 +-
 components/bt/bluedroid/btif/bta_dm_co.c                                     |    5 +-
 components/bt/bluedroid/btif/bta_gattc_co.c                                  |    1 -
 components/bt/bluedroid/btif/bta_gatts_co.c                                  |    1 -
 components/bt/bluedroid/gki/gki_buffer.c                                     |  551 ---------------------
 components/bt/bluedroid/gki/gki_ulinux.c                                     |   68 ---
 components/bt/bluedroid/gki/include/gki.h                                    |  132 -----
 components/bt/bluedroid/gki/include/gki_common.h                             |   65 ---
 components/bt/bluedroid/hci/buffer_allocator.c                               |   13 +-
 components/bt/bluedroid/hci/hci_hal_h4.c                                     |    9 +-
 components/bt/bluedroid/hci/hci_layer.c                                      |   59 +--
 components/bt/bluedroid/hci/include/hci_layer.h                              |    3 -
 components/bt/bluedroid/include/bt_defs.h                                    |   34 +-
 components/bt/bluedroid/include/bt_target.h                                  |  311 +++++-------
 components/bt/bluedroid/include/bte.h                                        |    1 -
 components/bt/bluedroid/include/gki_target.h                                 |  244 ----------
 components/bt/bluedroid/main/bte_main.c                                      |   76 +--
 components/bt/bluedroid/osi/alarm.c                                          |   25 +-
 components/bt/bluedroid/osi/allocator.c                                      |    4 +-
 components/bt/bluedroid/osi/config.c                                         |   12 +-
 components/bt/bluedroid/osi/fixed_queue.c                                    |  191 ++++++--
 components/bt/bluedroid/osi/future.c                                         |    5 +-
 components/bt/bluedroid/osi/include/alarm.h                                  |    2 +
 components/bt/bluedroid/osi/include/allocator.h                              |   15 +-
 components/bt/bluedroid/osi/include/fixed_queue.h                            |   41 +-
 components/bt/bluedroid/osi/include/future.h                                 |    3 +-
 components/bt/bluedroid/osi/include/list.h                                   |    8 +-
 components/bt/bluedroid/osi/include/mutex.h                                  |   53 ++
 components/bt/bluedroid/osi/include/osi.h                                    |   16 +-
 components/bt/bluedroid/osi/include/osi_arch.h                               |   45 --
 components/bt/bluedroid/{gki/include/gki_int.h => osi/include/semaphore.h}   |   33 +-
 components/bt/bluedroid/osi/include/thread.h                                 |   37 +-
 components/bt/bluedroid/osi/list.c                                           |   58 +--
 components/bt/bluedroid/osi/mutex.c                                          |   99 ++++
 components/bt/bluedroid/osi/osi.c                                            |   33 ++
 components/bt/bluedroid/osi/osi_arch.c                                       |  196 --------
 components/bt/bluedroid/osi/semaphore.c                                      |   77 +++
 components/bt/bluedroid/stack/avct/avct_api.c                                |    8 +-
 components/bt/bluedroid/stack/avct/avct_l2c.c                                |    3 +-
 components/bt/bluedroid/stack/avct/avct_lcb.c                                |   38 +-
 components/bt/bluedroid/stack/avct/avct_lcb_act.c                            |   74 +--
 components/bt/bluedroid/stack/avct/include/avct_int.h                        |    4 +-
 components/bt/bluedroid/stack/avdt/avdt_ad.c                                 |    3 +-
 components/bt/bluedroid/stack/avdt/avdt_api.c                                |   87 +---
 components/bt/bluedroid/stack/avdt/avdt_ccb.c                                |    7 +-
 components/bt/bluedroid/stack/avdt/avdt_ccb_act.c                            |   26 +-
 components/bt/bluedroid/stack/avdt/avdt_l2c.c                                |    3 +-
 components/bt/bluedroid/stack/avdt/avdt_msg.c                                |   57 ++-
 components/bt/bluedroid/stack/avdt/avdt_scb.c                                |   12 +-
 components/bt/bluedroid/stack/avdt/avdt_scb_act.c                            |  186 +++----
 components/bt/bluedroid/stack/avdt/include/avdt_int.h                        |   12 +-
 components/bt/bluedroid/stack/avrc/avrc_api.c                                |   43 +-
 components/bt/bluedroid/stack/avrc/avrc_bld_ct.c                             |   18 +-
 components/bt/bluedroid/stack/avrc/avrc_bld_tg.c                             |   20 +-
 components/bt/bluedroid/stack/avrc/avrc_opt.c                                |   14 +-
 components/bt/bluedroid/stack/avrc/avrc_pars_ct.c                            |    1 -
 components/bt/bluedroid/stack/avrc/avrc_pars_tg.c                            |    1 -
 components/bt/bluedroid/stack/avrc/avrc_sdp.c                                |    1 -
 components/bt/bluedroid/stack/avrc/avrc_utils.c                              |    1 -
 components/bt/bluedroid/stack/btm/btm_acl.c                                  |   11 +-
 components/bt/bluedroid/stack/btm/btm_ble.c                                  |    4 +-
 components/bt/bluedroid/stack/btm/btm_ble_addr.c                             |    8 +
 components/bt/bluedroid/stack/btm/btm_ble_adv_filter.c                       |    7 +-
 components/bt/bluedroid/stack/btm/btm_ble_batchscan.c                        |   14 +-
 components/bt/bluedroid/stack/btm/btm_ble_bgconn.c                           |   13 +-
 components/bt/bluedroid/stack/btm/btm_ble_gap.c                              |   32 +-
 components/bt/bluedroid/stack/btm/btm_ble_multi_adv.c                        |   15 +-
 components/bt/bluedroid/stack/btm/btm_ble_privacy.c                          |   16 +-
 components/bt/bluedroid/stack/btm/btm_dev.c                                  |    1 -
 components/bt/bluedroid/stack/btm/btm_devctl.c                               |    2 +-
 components/bt/bluedroid/stack/btm/btm_inq.c                                  |   17 +-
 components/bt/bluedroid/stack/btm/btm_main.c                                 |   18 +
 components/bt/bluedroid/stack/btm/btm_pm.c                                   |    3 +-
 components/bt/bluedroid/stack/btm/btm_sco.c                                  |   32 +-
 components/bt/bluedroid/stack/btm/btm_sec.c                                  |   52 +-
 components/bt/bluedroid/stack/btu/btu_hcif.c                                 |   14 +-
 components/bt/bluedroid/stack/btu/btu_init.c                                 |   94 +---
 components/bt/bluedroid/stack/btu/btu_task.c                                 |  215 +++------
 components/bt/bluedroid/stack/gap/gap_ble.c                                  |   13 +-
 components/bt/bluedroid/stack/gap/gap_conn.c                                 |  129 ++---
 components/bt/bluedroid/stack/gap/include/gap_int.h                          |    8 +-
 components/bt/bluedroid/stack/gatt/att_protocol.c                            |   19 +-
 components/bt/bluedroid/stack/gatt/gatt_api.c                                |   13 +-
 components/bt/bluedroid/stack/gatt/gatt_auth.c                               |   41 +-
 components/bt/bluedroid/stack/gatt/gatt_cl.c                                 |    7 +-
 components/bt/bluedroid/stack/gatt/gatt_db.c                                 |   25 +-
 components/bt/bluedroid/stack/gatt/gatt_main.c                               |   36 +-
 components/bt/bluedroid/stack/gatt/gatt_sr.c                                 |  112 +++--
 components/bt/bluedroid/stack/gatt/gatt_utils.c                              |  157 +++---
 components/bt/bluedroid/stack/gatt/include/gatt_int.h                        |   19 +-
 components/bt/bluedroid/stack/hcic/hciblecmds.c                              |    4 +-
 components/bt/bluedroid/stack/hcic/hcicmds.c                                 |    7 +-
 components/bt/bluedroid/stack/include/btm_api.h                              |    7 +-
 components/bt/bluedroid/stack/include/btm_ble_api.h                          |    3 +-
 components/bt/bluedroid/stack/include/btm_ble_int.h                          |    6 +-
 components/bt/bluedroid/stack/include/btm_int.h                              |    8 +-
 components/bt/bluedroid/stack/include/btu.h                                  |    2 +-
 components/bt/bluedroid/stack/include/l2c_api.h                              |    8 +-
 components/bt/bluedroid/stack/include/l2cdefs.h                              |    8 +-
 components/bt/bluedroid/stack/include/port_ext.h                             |    1 -
 components/bt/bluedroid/stack/l2cap/include/l2c_int.h                        |   19 +-
 components/bt/bluedroid/stack/l2cap/l2c_api.c                                |   80 ++-
 components/bt/bluedroid/stack/l2cap/l2c_ble.c                                |    2 +-
 components/bt/bluedroid/stack/l2cap/l2c_csm.c                                |   32 +-
 components/bt/bluedroid/stack/l2cap/l2c_fcr.c                                |  379 ++++++++-------
 components/bt/bluedroid/stack/l2cap/l2c_link.c                               |   93 +---
 components/bt/bluedroid/stack/l2cap/l2c_main.c                               |   36 +-
 components/bt/bluedroid/stack/l2cap/l2c_ucd.c                                |   94 ++--
 components/bt/bluedroid/stack/l2cap/l2c_utils.c                              |  108 ++---
 components/bt/bluedroid/stack/l2cap/l2cap_client.c                           |   11 +-
 components/bt/bluedroid/stack/rfcomm/include/port_int.h                      |    5 +-
 components/bt/bluedroid/stack/rfcomm/port_api.c                              |   93 ++--
 components/bt/bluedroid/stack/rfcomm/port_rfc.c                              |   25 +-
 components/bt/bluedroid/stack/rfcomm/port_utils.c                            |   29 +-
 components/bt/bluedroid/stack/rfcomm/rfc_l2cap_if.c                          |   17 +-
 components/bt/bluedroid/stack/rfcomm/rfc_mx_fsm.c                            |    7 +-
 components/bt/bluedroid/stack/rfcomm/rfc_port_fsm.c                          |   25 +-
 components/bt/bluedroid/stack/rfcomm/rfc_port_if.c                           |    1 -
 components/bt/bluedroid/stack/rfcomm/rfc_ts_frames.c                         |   45 +-
 components/bt/bluedroid/stack/rfcomm/rfc_utils.c                             |   19 +-
 components/bt/bluedroid/stack/sdp/include/sdpint.h                           |    1 +
 components/bt/bluedroid/stack/sdp/sdp_api.c                                  |    1 -
 components/bt/bluedroid/stack/sdp/sdp_db.c                                   |   34 +-
 components/bt/bluedroid/stack/sdp/sdp_discovery.c                            |   12 +-
 components/bt/bluedroid/stack/sdp/sdp_main.c                                 |    5 +-
 components/bt/bluedroid/stack/sdp/sdp_server.c                               |   53 +-
 components/bt/bluedroid/stack/sdp/sdp_utils.c                                |   15 +-
 components/bt/bluedroid/stack/smp/smp_cmac.c                                 |    5 +-
 components/bt/bluedroid/stack/smp/smp_keys.c                                 |    4 +-
 components/bt/bluedroid/stack/smp/smp_l2c.c                                  |   13 +-
 components/bt/bluedroid/stack/smp/smp_utils.c                                |   30 +-
 components/bt/bt.c                                                           |  203 ++++++--
 components/bt/include/bt.h                                                   |   78 ++-
 components/bt/lib                                                            |    2 +-
 components/console/argtable3/LICENSE                                         |   26 +
 components/console/argtable3/argtable3.c                                     | 4953 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 components/console/argtable3/argtable3.h                                     |  306 ++++++++++++
 components/console/commands.c                                                |  236 +++++++++
 components/console/component.mk                                              |    2 +
 components/console/esp_console.h                                             |  181 +++++++
 components/console/linenoise/LICENSE                                         |   25 +
 components/console/linenoise/linenoise.c                                     | 1112 ++++++++++++++++++++++++++++++++++++++++++
 components/console/linenoise/linenoise.h                                     |   76 +++
 components/console/split_argv.c                                              |  120 +++++
 components/cxx/component.mk                                                  |    2 +-
 components/driver/gpio.c                                                     |   26 +
 components/driver/include/driver/gpio.h                                      |   31 ++
 components/driver/include/driver/rtc_cntl.h                                  |   48 ++
 components/driver/include/driver/rtc_io.h                                    |   25 +
 components/driver/include/driver/sdmmc_defs.h                                |   80 ++-
 components/driver/include/driver/sdmmc_host.h                                |    4 +
 components/driver/include/driver/sdmmc_types.h                               |    9 +-
 components/driver/include/driver/sdspi_host.h                                |  156 ++++++
 components/driver/include/driver/spi_master.h                                |   23 +-
 components/driver/include/driver/touch_pad.h                                 |  538 +++++++++++++++++----
 components/driver/ledc.c                                                     |    3 +
 components/driver/rtc_module.c                                               |  743 ++++++++++++++++++++++------
 components/driver/sdmmc_transaction.c                                        |   26 +-
 components/driver/sdspi_crc.c                                                |   53 ++
 components/driver/sdspi_crc.h                                                |   43 ++
 components/driver/sdspi_host.c                                               |  815 +++++++++++++++++++++++++++++++
 components/driver/sdspi_private.h                                            |   96 ++++
 components/driver/sdspi_transaction.c                                        |  122 +++++
 components/driver/spi_common.c                                               |    2 +-
 components/driver/spi_master.c                                               |  203 +++++---
 components/driver/spi_slave.c                                                |    7 +-
 components/driver/test/test_spi_master.c                                     |  157 +++++-
 components/driver/uart.c                                                     |    2 +-
 components/esp32/Kconfig                                                     |  151 +++---
 components/esp32/brownout.c                                                  |   61 +++
 components/esp32/component.mk                                                |   19 +-
 components/esp32/cpu_start.c                                                 |   39 +-
 components/esp32/dport_access.c                                              |    3 +-
 components/esp32/dport_panic_highint_hdl.S                                   |  200 ++++++++
 components/esp32/event_default_handlers.c                                    |   93 ++--
 components/esp32/fast_crypto_ops.c                                           |   61 +++
 components/esp32/heap_alloc_caps.c                                           |  426 ----------------
 components/esp32/hw_random.c                                                 |   10 +-
 components/{soc => }/esp32/include/esp_brownout.h                            |    0
 components/esp32/include/esp_event.h                                         |   15 +-
 components/esp32/include/esp_gdbstub.h                                       |    4 +-
 components/esp32/include/esp_heap_alloc_caps.h                               |  110 -----
 components/esp32/include/esp_system.h                                        |   37 +-
 components/esp32/include/esp_wifi.h                                          |   88 +++-
 components/esp32/include/esp_wifi_crypto_types.h                             |  301 ++++++++++++
 components/esp32/include/esp_wifi_internal.h                                 |   20 +
 components/esp32/include/esp_wpa2.h                                          |   15 +-
 components/esp32/include/esp_wps.h                                           |   16 +-
 components/esp32/include/heap_alloc_caps.h                                   |    3 -
 components/esp32/include/rom/gpio.h                                          |    2 +-
 components/esp32/include/rom/uart.h                                          |    2 +-
 components/esp32/ipc.c                                                       |    5 +-
 components/esp32/ld/esp32.common.ld                                          |   26 +-
 components/esp32/ld/esp32.ld                                                 |   16 +-
 components/esp32/ld/esp32.peripherals.ld                                     |    3 +
 components/esp32/lib                                                         |    2 +-
 components/esp32/panic.c                                                     |    9 +-
 components/esp32/phy_init.c                                                  |   22 +-
 components/esp32/system_api.c                                                |   51 +-
 components/esp32/task_wdt.c                                                  |    2 +-
 components/esp32/test/test_int_wdt.c                                         |   20 +
 components/esp32/test/test_malloc_caps.c                                     |   64 ---
 components/esp32/wifi_init.c                                                 |   23 +
 components/esptool_py/component.mk                                           |    5 +
 components/esptool_py/esptool                                                |    2 +-
 components/ethernet/Kconfig                                                  |   11 +-
 components/ethernet/emac_common.h                                            |    8 +-
 components/ethernet/emac_main.c                                              |   73 ++-
 components/ethernet/include/esp_eth.h                                        |   18 +
 components/fatfs/src/esp_vfs_fat.h                                           |   23 +-
 components/fatfs/src/vfs_fat_sdmmc.c                                         |   33 +-
 components/freertos/Kconfig                                                  |   16 +-
 components/freertos/component.mk                                             |    2 +-
 components/freertos/heap_regions.c                                           |  591 -----------------------
 components/freertos/heap_regions_debug.c                                     |  191 --------
 components/freertos/include/freertos/FreeRTOSConfig.h                        |    6 +-
 components/freertos/include/freertos/heap_regions.h                          |   96 ----
 components/freertos/include/freertos/heap_regions_debug.h                    |   79 ---
 components/freertos/include/freertos/portable.h                              |   25 +-
 components/freertos/port.c                                                   |   26 +-
 components/freertos/tasks.c                                                  |    4 +-
 components/freertos/xtensa_vector_defaults.S                                 |  158 ++++++
 components/freertos/xtensa_vectors.S                                         |  325 +------------
 components/heap/component.mk                                                 |    3 +
 components/heap/heap_caps.c                                                  |  290 +++++++++++
 components/heap/heap_caps_init.c                                             |  194 ++++++++
 components/heap/heap_private.h                                               |   40 ++
 components/heap/include/esp_heap_alloc_caps.h                                |   35 ++
 components/heap/include/esp_heap_caps.h                                      |  175 +++++++
 components/heap/include/multi_heap.h                                         |  169 +++++++
 components/heap/multi_heap.c                                                 |  595 +++++++++++++++++++++++
 components/heap/multi_heap_platform.h                                        |   50 ++
 components/heap/test/component.mk                                            |    5 +
 components/{freertos => heap}/test/test_malloc.c                             |   10 +-
 components/heap/test/test_malloc_caps.c                                      |  125 +++++
 components/heap/test_multi_heap_host/Makefile                                |   48 ++
 components/heap/test_multi_heap_host/main.cpp                                |    2 +
 components/heap/test_multi_heap_host/test_multi_heap.cpp                     |  347 +++++++++++++
 components/idf_test/integration_test/TestEnvAll.yml                          |    4 +
 components/idf_test/unit_test/TestEnvAll.yml                                 |    4 +
 components/libsodium/component.mk                                            |    9 +-
 components/libsodium/port/crypto_hash_sha256_mbedtls.c                       |   45 ++
 components/libsodium/port/crypto_hash_sha512_mbedtls.c                       |   45 ++
 components/libsodium/{private => port}/randombytes_default.h                 |    0
 components/libsodium/{private => port}/randombytes_esp32.c                   |    0
 components/libsodium/port_include/sodium.h                                   |    6 +
 components/libsodium/port_include/sodium/crypto_auth.h                       |    6 +
 components/libsodium/port_include/sodium/crypto_auth_hmacsha256.h            |    6 +
 components/libsodium/port_include/sodium/crypto_auth_hmacsha512.h            |    5 +
 components/libsodium/port_include/sodium/crypto_auth_hmacsha512256.h         |    6 +
 components/libsodium/port_include/sodium/crypto_hash_sha256.h                |   66 +++
 components/libsodium/port_include/sodium/crypto_hash_sha512.h                |   66 +++
 components/libsodium/test/component.mk                                       |    2 +-
 components/libsodium/test/test_sodium.c                                      |    8 +
 components/log/README.rst                                                    |    2 +-
 components/lwip/Kconfig                                                      |   41 ++
 components/lwip/api/api_msg.c                                                |    9 +-
 components/lwip/core/ipv4/dhcp.c                                             |   17 +
 components/lwip/core/ipv4/ip4.c                                              |   29 +-
 components/lwip/core/tcp.c                                                   |   45 +-
 components/lwip/core/tcp_out.c                                               |    3 +-
 components/lwip/include/lwip/lwip/netif.h                                    |    2 +-
 components/lwip/include/lwip/port/lwipopts.h                                 |    5 +-
 components/lwip/port/netif/ethernetif.c                                      |   21 +-
 components/lwip/port/netif/wlanif.c                                          |   11 +-
 components/mbedtls/Kconfig                                                   |  412 +++++++++++++++-
 components/mbedtls/library/ecp.c                                             |    2 +-
 components/mbedtls/port/include/mbedtls/config.h                             |    9 +
 components/mbedtls/port/include/mbedtls/esp_config.h                         |  116 +++++
 components/newlib/component.mk                                               |    4 +-
 components/newlib/platform_include/assert.h                                  |   28 ++
 components/newlib/syscalls.c                                                 |   28 +-
 components/newlib/time.c                                                     |   15 +
 components/nghttp/component.mk                                               |    7 +-
 components/nghttp/nghttp2                                                    |    2 +-
 components/nvs_flash/README.rst                                              |    5 +-
 components/nvs_flash/include/nvs.h                                           |   37 +-
 components/nvs_flash/include/nvs_flash.h                                     |   48 +-
 components/nvs_flash/src/nvs_api.cpp                                         |  130 +++--
 components/nvs_flash/src/nvs_storage.hpp                                     |   10 +-
 components/nvs_flash/src/nvs_test_api.h                                      |    7 +-
 components/nvs_flash/test_nvs_host/test_nvs.cpp                              |   44 +-
 components/partition_table/Kconfig.projbuild                                 |    2 +-
 components/partition_table/Makefile.projbuild                                |    9 +-
 components/partition_table/component.mk                                      |    5 +
 components/sdmmc/sdmmc_cmd.c                                                 |  499 ++++++++++++++++---
 components/sdmmc/test/test_sd.c                                              |  187 +++++--
 components/soc/component.mk                                                  |    2 +-
 components/soc/esp32/brownout.c                                              |   39 --
 components/soc/esp32/include/soc/dport_reg.h                                 |   10 +-
 components/soc/esp32/include/soc/rtc_cntl_reg.h                              |    1 +
 components/soc/esp32/include/soc/rtc_cntl_struct.h                           |    1 +
 components/soc/esp32/include/soc/rtc_io_struct.h                             |    1 +
 components/soc/esp32/include/soc/sens_struct.h                               |  316 ++++++++++++
 components/soc/esp32/include/soc/soc.h                                       |   30 +-
 components/soc/esp32/include/soc/spi_struct.h                                |    4 +-
 components/soc/esp32/soc_memory_layout.c                                     |  180 +++++++
 components/soc/include/soc/soc_memory_layout.h                               |   64 +++
 components/spi_flash/Kconfig                                                 |    8 +-
 components/spi_flash/cache_utils.c                                           |    1 +
 components/spi_flash/flash_mmap.c                                            |   74 ++-
 components/spi_flash/include/esp_spi_flash.h                                 |   23 +
 components/spi_flash/test/test_mmap.c                                        |   43 ++
 components/tcpip_adapter/Kconfig                                             |   16 +
 components/tcpip_adapter/include/tcpip_adapter.h                             |   75 ++-
 components/tcpip_adapter/tcpip_adapter_lwip.c                                |  265 +++++++---
 components/ulp/component_ulp_common.mk                                       |   12 +-
 components/vfs/README.rst                                                    |    8 +-
 components/vfs/include/esp_vfs.h                                             |    5 +
 components/vfs/include/esp_vfs_dev.h                                         |   58 ++-
 components/vfs/vfs.c                                                         |   17 +
 components/vfs/vfs_uart.c                                                    |  260 +++++++---
 components/wear_levelling/Kconfig                                            |   62 +++
 components/wear_levelling/README.rst                                         |   27 +-
 components/wear_levelling/WL_Ext_Perf.cpp                                    |  168 +++++++
 components/wear_levelling/WL_Ext_Safe.cpp                                    |  161 +++++++
 components/wear_levelling/WL_Flash.cpp                                       |    4 +-
 components/wear_levelling/private_include/WL_Ext_Cfg.h                       |   22 +
 components/wear_levelling/private_include/WL_Ext_Perf.h                      |   46 ++
 components/wear_levelling/private_include/WL_Ext_Safe.h                      |   42 ++
 components/wear_levelling/test/test_wl.c                                     |   14 +-
 components/wear_levelling/wear_levelling.cpp                                 |   31 +-
 components/wpa_supplicant/component.mk                                       |    4 +-
 components/wpa_supplicant/include/crypto/aes_wrap.h                          |    7 +-
 components/wpa_supplicant/include/crypto/crypto.h                            |  138 +++++-
 components/wpa_supplicant/include/crypto/sha256.h                            |    6 +
 components/wpa_supplicant/src/crypto/dh_groups.c                             |   37 +-
 components/wpa_supplicant/src/fast_crypto/fast_aes-cbc.c                     |   78 +++
 components/wpa_supplicant/src/fast_crypto/fast_aes-unwrap.c                  |   81 ++++
 components/wpa_supplicant/src/fast_crypto/fast_aes-wrap.c                    |   80 +++
 components/wpa_supplicant/src/fast_crypto/fast_crypto_internal-cipher.c      |  283 +++++++++++
 components/wpa_supplicant/src/fast_crypto/fast_crypto_internal-modexp.c      |   59 +++
 components/wpa_supplicant/src/fast_crypto/fast_crypto_internal.c             |  282 +++++++++++
 components/wpa_supplicant/src/fast_crypto/fast_sha256-internal.c             |   48 ++
 components/wpa_supplicant/src/fast_crypto/fast_sha256.c                      |  165 +++++++
 components/xtensa-debug-module/eri.c                                         |    2 +-
 docs/COPYRIGHT.rst                                                           |    7 +
 docs/Doxyfile                                                                |    7 +-
 docs/_static/app_trace-overview.jpg                                          |  Bin 0 -> 23646 bytes
 docs/_static/app_trace/overview.png                                          |  Bin 8554 -> 0 bytes
 docs/_static/debug-perspective.jpg                                           |  Bin 0 -> 98346 bytes
 docs/_static/debugging-memory-location-off.jpg                               |  Bin 0 -> 61348 bytes
 docs/_static/debugging-memory-location-on.jpg                                |  Bin 0 -> 61592 bytes
 docs/_static/debugging-navigate-through-the-stack.jpg                        |  Bin 0 -> 107875 bytes
 docs/_static/debugging-setting-breakpoint.jpg                                |  Bin 0 -> 92638 bytes
 docs/_static/debugging-setting-conditional-breakpoint.jpg                    |  Bin 0 -> 92351 bytes
 docs/_static/debugging-step-into.jpg                                         |  Bin 0 -> 98315 bytes
 docs/_static/debugging-step-over.jpg                                         |  Bin 0 -> 92112 bytes
 docs/_static/debugging-target-halted-manually.jpg                            |  Bin 0 -> 87752 bytes
 docs/_static/debugging-target-halted.jpg                                     |  Bin 0 -> 96904 bytes
 docs/_static/debugging-three-breakpoints-set.jpg                             |  Bin 0 -> 99778 bytes
 docs/_static/debugging-watch-variable.jpg                                    |  Bin 0 -> 93535 bytes
 docs/_static/esp-wrover-kit-v2-layout-back.png                               |  Bin 0 -> 193283 bytes
 docs/_static/esp-wrover-kit-v2-layout-front.png                              |  Bin 0 -> 392766 bytes
 docs/_static/esp32-wrover-kit-layout-front.jpg                               |  Bin 111275 -> 114428 bytes
 docs/_static/hw-debugging-debugger-tab.jpg                                   |  Bin 0 -> 57590 bytes
 docs/_static/hw-debugging-main-tab.jpg                                       |  Bin 0 -> 64200 bytes
 docs/_static/hw-debugging-startup-tab.jpg                                    |  Bin 0 -> 71471 bytes
 docs/_static/jtag-debugging-overview.jpg                                     |  Bin 0 -> 50909 bytes
 docs/_static/jtag-usb-configuration-zadig.jpg                                |  Bin 0 -> 23730 bytes
 docs/_static/wrover-jp8.png                                                  |  Bin 83684 -> 98603 bytes
 docs/api-guides/app_trace.rst                                                |  438 ++++++++++-------
 docs/api-guides/build-system.rst                                             |   48 +-
 docs/api-guides/console.rst                                                  |  143 ++++++
 docs/api-guides/esp32.cfg                                                    |   51 --
 docs/api-guides/hlinterrupts.rst                                             |   63 +++
 docs/api-guides/index.rst                                                    |    9 +-
 docs/api-guides/jtag-debugging/building-openocd-linux.rst                    |   75 +++
 docs/api-guides/jtag-debugging/building-openocd-macos.rst                    |   54 +++
 docs/api-guides/jtag-debugging/building-openocd-windows.rst                  |   74 +++
 docs/api-guides/jtag-debugging/configure-other-jtag.rst                      |   45 ++
 docs/api-guides/jtag-debugging/configure-wrover.rst                          |  195 ++++++++
 docs/api-guides/jtag-debugging/debugging-examples.rst                        |  655 +++++++++++++++++++++++++
 docs/api-guides/jtag-debugging/index.rst                                     |  304 ++++++++++++
 docs/api-guides/jtag-debugging/setup-openocd-linux.rst                       |   32 ++
 docs/api-guides/jtag-debugging/setup-openocd-macos.rst                       |   32 ++
 docs/api-guides/jtag-debugging/setup-openocd-windows.rst                     |   28 ++
 docs/api-guides/jtag-debugging/tips-and-quirks.rst                           |  224 +++++++++
 docs/api-guides/jtag-debugging/using-debugger.rst                            |  183 +++++++
 docs/api-guides/openocd.rst                                                  |  131 -----
 docs/api-guides/partition-tables.rst                                         |    2 +-
 docs/api-guides/romconsole.rst                                               |    9 +-
 docs/api-guides/wifi.rst                                                     | 1620 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 docs/api-reference/index.rst                                                 |    1 +
 docs/api-reference/kconfig.rst                                               |   28 ++
 docs/api-reference/peripherals/index.rst                                     |    1 +
 docs/api-reference/peripherals/touch_pad.rst                                 |   23 +
 docs/api-reference/storage/sdmmc.rst                                         |   35 +-
 docs/api-reference/system/app_trace.rst                                      |   28 +-
 docs/api-reference/system/mem_alloc.rst                                      |   17 +-
 docs/conf.py                                                                 |    2 +
 docs/contribute/documenting-code.rst                                         |   52 +-
 docs/gen-kconfig-doc.py                                                      |  120 +++++
 docs/get-started/establish-serial-connection.rst                             |   10 +
 docs/get-started/get-started-devkitc.rst                                     |    6 +-
 docs/get-started/get-started-wrover-kit-v2.rst                               |  192 ++++++++
 docs/get-started/get-started-wrover-kit.rst                                  |  260 +++++++---
 docs/get-started/idf-monitor.rst                                             |    2 +-
 docs/get-started/index.rst                                                   |   20 +-
 docs/hw-reference/modules-and-boards.rst                                     |  115 +++--
 docs/kconfiglib.py                                                           | 3460 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 docs/requirements.txt                                                        |    6 +-
 examples/bluetooth/a2dp_sink/main/main.c                                     |    9 +-
 examples/bluetooth/ble_adv/main/app_bt.c                                     |    8 +
 examples/bluetooth/blufi/main/blufi_example_main.c                           |    9 +-
 examples/bluetooth/blufi/main/blufi_security.c                               |    1 -
 examples/bluetooth/controller_hci_uart/main/controller_hci_uart_demo.c       |   11 +-
 examples/bluetooth/gatt_client/README.rst                                    |    4 +
 examples/bluetooth/gatt_client/main/gattc_demo.c                             |  353 +++++++-------
 examples/bluetooth/gatt_client/sdkconfig.defaults                            |    3 +-
 examples/bluetooth/gatt_security_client/Makefile                             |   10 +
 examples/bluetooth/gatt_security_client/README.rst                           |    8 +
 examples/bluetooth/gatt_security_client/main/component.mk                    |    4 +
 examples/bluetooth/gatt_security_client/main/example_ble_sec_gattc_demo.c    |  460 ++++++++++++++++++
 examples/bluetooth/gatt_security_client/sdkconfig.defaults                   |    4 +
 examples/bluetooth/gatt_security_server/main/example_ble_sec_gatts_demo.c    |   26 +
 examples/bluetooth/gatt_security_server/sdkconfig.defaults                   |    3 +-
 examples/bluetooth/gatt_server/README.rst                                    |   20 +-
 examples/bluetooth/gatt_server/main/gatts_demo.c                             |  280 +++++++++--
 examples/bluetooth/gatt_server/sdkconfig.defaults                            |    3 +-
 examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c   |    8 +
 examples/bluetooth/gattc_multi_connect/Makefile                              |   10 +
 examples/bluetooth/gattc_multi_connect/README.rst                            |    9 +
 examples/bluetooth/gattc_multi_connect/main/component.mk                     |    4 +
 examples/bluetooth/gattc_multi_connect/main/gattc_multi_connect.c            |  753 +++++++++++++++++++++++++++++
 examples/bluetooth/gattc_multi_connect/sdkconfig.defaults                    |    4 +
 examples/ethernet/ethernet/sdkconfig.defaults                                |    3 +-
 examples/get-started/blink/sdkconfig.defaults                                |    4 +-
 examples/performance/tcp_perf/main/tcp_main.c                                |  116 +++--
 examples/performance/tcp_perf/main/tcp_perf.c                                |  235 +++++----
 examples/performance/tcp_perf/main/tcp_perf.h                                |   13 +-
 examples/peripherals/adc/README.md                                           |   13 +-
 examples/peripherals/adc/main/adc1_test.c                                    |    4 +-
 examples/peripherals/spi_master/main/Kconfig.projbuild                       |   15 +
 examples/peripherals/spi_master/main/spi_master_example_main.c               |   68 ++-
 examples/peripherals/touch_pad_interrupt/main/tp_interrupt_main.c            |  127 +++--
 examples/peripherals/touch_pad_read/main/tp_read_main.c                      |   71 ++-
 examples/protocols/https_request/main/https_request_example_main.c           |   26 +-
 examples/storage/nvs_rw_blob/main/nvs_blob_example_main.c                    |    6 +-
 examples/storage/nvs_rw_value/main/nvs_value_example_main.c                  |    6 +-
 examples/storage/sd_card/README.md                                           |   29 +-
 examples/storage/sd_card/main/sd_card_example_main.c                         |   52 +-
 examples/system/app_trace_to_host/Makefile                                   |    9 +
 examples/system/app_trace_to_host/README.md                                  |  177 +++++++
 examples/system/app_trace_to_host/main/Kconfig.projbuild                     |   20 +
 examples/system/app_trace_to_host/main/app_trace_to_host_test.c              |  140 ++++++
 examples/system/app_trace_to_host/main/component.mk                          |    3 +
 examples/system/app_trace_to_host/sdkconfig.defaults                         |    5 +
 examples/system/console/Makefile                                             |    9 +
 examples/system/console/README.md                                            |  108 +++++
 examples/system/console/main/Kconfig.projbuild                               |   11 +
 examples/system/console/main/cmd_decl.h                                      |   15 +
 examples/system/console/main/cmd_system.c                                    |  246 ++++++++++
 examples/system/console/main/cmd_wifi.c                                      |  123 +++++
 examples/system/console/main/component.mk                                    |    5 +
 examples/system/console/main/console_example_main.c                          |  164 +++++++
 examples/system/console/partitions_example.csv                               |    6 +
 examples/system/console/sdkconfig.defaults                                   |   13 +
 examples/system/ota/main/ota_example_main.c                                  |   14 +-
 examples/wifi/power_save/main/power_save.c                                   |   10 +
 examples/wifi/smart_config/main/smartconfig_main.c                           |    2 +
 examples/wifi/wpa2_enterprise/main/wpa2_enterprise_main.c                    |    4 +-
 examples/wifi/wps/main/wps.c                                                 |   20 +-
 make/component_wrapper.mk                                                    |   62 ++-
 make/project.mk                                                              |   93 ++--
 tools/ci/build_examples.sh                                                   |    2 +-
 tools/ci/get-full-sources.sh                                                 |    4 +-
 tools/ci/test_build_system.sh                                                |   14 +-
 tools/idf_monitor.py                                                         |   28 +-
 tools/idf_size.py                                                            |    5 +-
 tools/unit-test-app/components/unity/unity_platform.c                        |    2 +-
 tools/unit-test-app/sdkconfig                                                |   19 +-
 580 files changed, 35403 insertions(+), 9116 deletions(-)

Leave a Reply

Your email address will not be published. Required fields are marked *