Jiang Jiang Jian
958d63a8d2
Merge branch 'bugfix/fix_static_check_error_mr_4.4' into 'release/v4.4'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16044
2021-11-23 07:14:41 +00:00
Mahavir Jain
81e0c7f662
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility_v4.4' into 'release/v4.4'
...
nvs: add config to ignore "encrypted" flag of nvs partitions (v4.4)
See merge request espressif/esp-idf!15920
2021-11-23 05:46:44 +00:00
“YangZhao”
4345e15f23
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 19:41:50 +08:00
Jiang Jiang Jian
4aa2ca369b
Merge branch 'ci/add_esp32s3_ssc_build_jobs_v4.4' into 'release/v4.4'
...
CI: add esp32s3 SSC build jobs
See merge request espressif/esp-idf!15910
2021-11-22 07:43:44 +00:00
Jiang Jiang Jian
81ce15f0e0
Merge branch 'bugfix/fix_esp32s3_usb_otg_v4.4' into 'release/v4.4'
...
esp_phy: fix esp32s3 phy work with USB-OTG issue(v4.4)
See merge request espressif/esp-idf!15914
2021-11-22 06:17:21 +00:00
Wang Meng Yang
7816b597a1
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_4.4' into 'release/v4.4'
...
fix modem sleep hw error
See merge request espressif/esp-idf!16017
2021-11-22 03:33:54 +00:00
Anton Maklakov
ddc44956bf
Merge branch 'bugfix/esp32s3_esp_timer_test_failure_v4.4' into 'release/v4.4'
...
examples: esp_timer: disable secondary console for S3/C3 that can affect test timing (v4.4)
See merge request espressif/esp-idf!16021
2021-11-19 14:35:01 +00:00
Mahavir Jain
997040222d
examples: esp_timer: disable secondary console for S3/C3 that can affect test timing
2021-11-19 14:46:06 +05:30
Roland Dobai
f952b9f71b
Merge branch 'feature/oocd_ver_upgrade_v4.4' into 'release/v4.4'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' (v4.4)
See merge request espressif/esp-idf!15999
2021-11-19 08:56:24 +00:00
Yang Zhao
9b450e19da
It is abnormal when getting the deep sleep state bit. So we need to check
...
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-19 15:54:20 +08:00
Yang Zhao
1c792fe57d
Fix the issue of device name len limited
2021-11-19 15:50:18 +08:00
Mahavir Jain
056ec73dd2
Merge branch 'bugfix/protocomm_nimble_allocation_v4.4' into 'release/v4.4'
...
Fix for potential allocation bug in protocomm_nimble.c (v4.4)
See merge request espressif/esp-idf!15996
2021-11-19 05:26:32 +00:00
Wang Meng Yang
b2e1c6eb57
Merge branch 'bugfix/fix_custmoer_issues_v4.4' into 'release/v4.4'
...
bugfix/fix_3_controller_issues_v4.4
See merge request espressif/esp-idf!15973
2021-11-19 03:34:13 +00:00
Anton Maklakov
b7377f0e53
Merge branch 'bugfix/ci_fix_using_branch_name_v4.4' into 'release/v4.4'
...
ci: fix using HEAD and SHA since we started using merged result pipelines (v4.4)
See merge request espressif/esp-idf!15721
2021-11-19 03:31:20 +00:00
Wang Meng Yang
f16bad24ec
Merge branch 'bugfix/wifi_prov_mgr_crash_v4.4' into 'release/v4.4'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning (v4.4)
See merge request espressif/esp-idf!15859
2021-11-19 03:00:47 +00:00
Michael (XIAO Xufeng)
bafb157749
Merge branch 'bugfix/remove_mcpwm_deprecations_v4.4' into 'release/v4.4'
...
mcpwm: revert back to allow user register isr handler (v4.4)
See merge request espressif/esp-idf!15940
2021-11-18 09:58:33 +00:00
isha pardikar
5ba6ac26c4
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
NimBLE: Fixed potential allocation bug in protocomm_nimble.c
Closes https://github.com/espressif/esp-idf/issues/7689
See merge request espressif/esp-idf!15669
2021-11-18 14:17:35 +05:30
Michael (XIAO Xufeng)
44b1f9272c
Merge branch 'feature/usb_serial_default_option_v4.4' into 'release/v4.4'
...
vfs_usb_serial: set secondary selection for making usb port can output under default menu (backport v4.4)
See merge request espressif/esp-idf!15877
2021-11-18 07:16:55 +00:00
Alexey Gerenkov
37dc255bc4
idf_tools: Adds 'linux-armhf' platform support
2021-11-17 23:27:45 +03:00
Alexey Gerenkov
b7bee807ed
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
2021-11-17 23:27:45 +03:00
Rahul Tank
45bc50b2d2
NimBLE: Fixed wifi_prov_mgr crash after provisioning
...
See merge request espressif/esp-idf!15793
2021-11-17 18:37:20 +05:30
Cao Sen Miao
fcecbde778
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-17 19:54:15 +08:00
Wang Meng Yang
8517af090d
Merge branch 'bugfix/fix_memory_leak_controller_deinit_v4.4' into 'release/v4.4'
...
Bugfix/fix memory leak controller deinit v4.4
See merge request espressif/esp-idf!15968
2021-11-17 10:22:32 +00:00
jincheng
66b887a680
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-17 17:59:26 +08:00
Michael (XIAO Xufeng)
e54802113d
Merge branch 'bugfix/esp_timer_before_init_v4.4' into 'release/v4.4'
...
esp_timer: allow querying the timer before esp_timer_init is called(backport v4.4)
See merge request espressif/esp-idf!15876
2021-11-17 09:20:35 +00:00
chenjianxing
c3951d5e9d
esp_phy: fix esp32s3 phy work with USB-OTG issue
2021-11-17 11:12:40 +08:00
Roland Dobai
adc83d532c
Merge branch 'bugfix/ps_export_prs_v4.4' into 'release/v4.4'
...
Tools: PowerShell export script improvements from PRs (v4.4)
See merge request espressif/esp-idf!15923
2021-11-16 15:48:37 +00:00
Rahul Tank
1891761fbb
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-11-16 10:41:32 +05:30
morris
e6ee8b2fcf
mcpwm: revert back to allow user register isr handler
...
Closes https://github.com/espressif/esp-idf/issues/7890
2021-11-16 11:38:48 +08:00
Mahavir Jain
35b20cadce
Merge branch 'bugfix/efuse_utility_header_v4.4' into 'release/v4.4'
...
efuse: Add missing esp_rom_sys.h include file (v4.4)
See merge request espressif/esp-idf!15955
2021-11-15 13:19:39 +00:00
Mahavir Jain
1846c29693
Merge branch 'bugfix/efuse_stdbool_v4.4' into 'release/v4.4'
...
efuse: Add missing stdbool.h include file (v4.4)
See merge request espressif/esp-idf!15935
2021-11-15 12:58:46 +00:00
Mahavir Jain
ad233f4896
Merge branch 'bugfix/aes_gcm_unaligned_psram_v4.4' into 'release/v4.4'
...
aes: fix potential unaligned access in aes-gcm (v4.4)
See merge request espressif/esp-idf!15801
2021-11-15 12:54:50 +00:00
KonstantinKondrashov
deff19706f
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-15 19:38:09 +08:00
Cao Sen Miao
99caa4950c
esp_timer: init rtc timer and system timer in early init
2021-11-15 19:38:09 +08:00
Ivan Grokhotkov
85bc2d7240
esp_timer: allow querying the timer before esp_timer_init is called
2021-11-15 19:38:09 +08:00
Gustavo Henrique Nihei
8d9ab894c3
efuse: Add missing esp_rom_sys.h include file
...
This prevents the compiler error for the implicit declaration of
function "esp_rom_printf".
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-15 07:52:01 -03:00
Zim Kalinowski
ebaffab2fb
Merge branch 'bugfix/freertos_round_robin_scheduling_retain_skip_v4.4' into 'release/v4.4'
...
freertos: Implement best effort round robin scheduling (v4.4)
See merge request espressif/esp-idf!15907
2021-11-15 07:47:43 +00:00
Zim Kalinowski
a0f339fead
Merge branch 'bugfix/usb_hcd_robustness_v4.4' into 'release/v4.4'
...
USB Host: Fix how disconnections an EP halts are handled (v4.4)
See merge request espressif/esp-idf!15908
2021-11-15 07:47:37 +00:00
Jiang Jiang Jian
3a7024990e
Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep_v4.4' into 'release/v4.4'
...
backport v4.4: fixes some sleep related issues
See merge request espressif/esp-idf!15932
2021-11-15 07:18:56 +00:00
Gustavo Henrique Nihei
3c341364eb
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 13:29:58 -03:00
Gustavo Henrique Nihei
0132d2c868
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 13:29:58 -03:00
Li Shuai
e75762b02f
sleep: deep sleep does not need cpu and wifi/bt mac retention
2021-11-12 19:38:32 +08:00
Li Shuai
0665e0165b
light sleep: replace new kconfig option of mac bb power down & phy reduce tx power
2021-11-12 19:38:09 +08:00
Roland Dobai
4083c4ae33
Tools: Make clear the used platform in the PowerShell export script
2021-11-12 07:51:53 +01:00
Chris Mumford
74950663cf
Define $IsWindows if not defined.
...
The `$IsWindows` PowerShell variable was added in PowerShell Core 6 and
PowerShell 7, and is not present in earlier PowerShell versions. Set to
true if undefined. This fixes https://github.com/espressif/esp-idf/issues/7820 .
The first version to run on non-Windows platforms was PowerShell Core
6.0[^1] which means that IsWindows is guaranteed to be defined on all
non-Windows systems. So, if undefined this indicates a Windows platform.
[^1]: https://docs.microsoft.com/en-us/powershell/scripting/install/powershell-support-lifecycle?view=powershell-7.2#release-history
Closes https://github.com/espressif/esp-idf/pull/7858
Closes https://github.com/espressif/esp-idf/issues/7820
2021-11-12 07:51:53 +01:00
Chris Mumford
4975197d1d
Initialize $envvars_array
to an empty list.
...
With strict debugging, i.e. `Set-PSDebug -strict`, execution of export.ps1 will
report the following error:
```
The variable '$envars_array' cannot be retrieved because it has not been set.
At C:\path\to\export.ps1:15 char:1
+ $envars_array # will be filled like:
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (envars_array:String) [], RuntimeException
+ FullyQualifiedErrorId : VariableIsUndefined
```
Closes https://github.com/espressif/esp-idf/pull/7819
2021-11-12 07:51:53 +01:00
Marius Vikhammer
e3a771511a
aes: fix potential unaligned access in aes-gcm
2021-11-12 12:28:28 +08:00
Mahavir Jain
29aba769f2
spi_flash: minor cleanup, use type/subtype from esp_partition.h
2021-11-12 09:43:51 +05:30
Mahavir Jain
e2fb582cf8
nvs: add config to ignore "encrypted" flag of nvs partitions
...
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.
It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.
Please see commit aca9ec28b3
which
introduced check to not allow NVS partitions with "encrypted" flag set.
More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667
Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-12 09:43:51 +05:30
Michael (XIAO Xufeng)
df0929009a
Merge branch 'bugfix/gpio_interrupt_on_app_cpu_v4.4' into 'release/v4.4'
...
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1 (backport v4.4)
See merge request espressif/esp-idf!15902
2021-11-11 17:01:36 +00:00