Commit Graph

26146 Commits

Author SHA1 Message Date
Jin Cheng
4c6aad37f6 Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:46:04 +08:00
Roland Dobai
0883101f7f Tools: Improve idf.py error message when the argument value collides with the environment variable
Closes https://github.com/espressif/esp-idf/issues/10475
2023-01-03 19:00:48 +01:00
Guillaume Souchere
327bf0d608 heap: RE-enable ESP32C2 test in test_apps 2023-01-03 09:52:33 +01:00
Guillaume Souchere
4175dd7a56 newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:

- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:37:28 +01:00
Guillaume Souchere
3711a032ff esp-hw-support: fix interrupt allocation tests on esp32c2
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-03 07:52:07 +01:00
Sudeep Mohanty
f244a8b209 ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.

Closes https://github.com/espressif/esp-idf/issues/10301
2023-01-02 14:21:24 +01:00
harshal.patil
40f2caa950 mbedtls: fix esp_aes_crypt_ctr writing to null stream block 2023-01-02 12:02:47 +05:30
harshal.patil
ea07ce9367 mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey() 2023-01-02 12:02:47 +05:30
harshal.patil
d1d273bece test_aes_gcm: fix output_size paramter in mbedtls_get_update()
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2023-01-02 12:02:47 +05:30
harshal.patil
1c0e11efc0 mbedtls: populate mbedtls_gcm_update() output_length paramater 2023-01-02 12:02:47 +05:30
sanket.wadekar
9067214f33 Changed wifi provisioning scan method
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-31 18:09:45 +05:30
Harshit Malpani
1a39a17777
esp_http_server: Added support for esp_events 2022-12-29 18:08:38 +05:30
cje
524f1195bf sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-28 15:33:20 +08:00
Laukik Hase
7279244f8c
esp_local_ctrl: Add support for insecure HTTP server transport 2022-12-28 11:17:10 +05:30
Omar Chebib
eb66430793 coredump: custom core dump stack is now supported on Xtensa targets 2022-12-26 12:07:58 +01:00
Jack
27f3a3195d doc: add esp now changes to migration guides 2022-12-23 19:11:06 +08:00
Darian Leung
bedfc5063d esp_pm: Fix string formatting type errors
This commit fixes a string formatting error in esp_pm with CONFIG_PM_PROFILING
is enabled.

Closes https://github.com/espressif/esp-idf/issues/10347
2022-12-23 15:04:13 +08:00
Darian Leung
4be58114dc esp_pm: Fix build error when CONFIG_PM_PROFILING is enabled 2022-12-23 15:04:08 +08:00
laokaiyao
d93b7246b0 i2s: fixed rx update stuck bug 2022-12-23 10:45:51 +08:00
Ivan Grokhotkov
506f7d0d8e
tools: fix RISC-V GDB not being installed for C2, H2 2022-12-22 11:42:29 +01:00
gauri patankar
002e21bda4 esp_wifi:Update wifi libs
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 16:10:28 +05:30
Ivan Grokhotkov
acb2397341
gdb stub: re-enable for ESP32-C2 2022-12-22 11:39:02 +01:00
Ivan Grokhotkov
35135d7b29
system: disable interrupts in esp_restart_noos_dig 2022-12-22 11:34:38 +01:00
Chip Weinberger
caf794ad26 [Docs] specify Digital Signature byte order, and esp_ds_sign() clarification 2022-12-22 15:41:30 +05:30
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
Jiang Jiang Jian
d64e8f5caf Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue_v5.0' into 'release/v5.0'
esp_phy: add country code 01 to country code map type table(Backport v5.0)

See merge request espressif/esp-idf!21749
2022-12-22 09:35:25 +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
9fa8329148 Merge branch 'feature/emac_buff_v5.0' into 'release/v5.0'
esp_eth: receive buffer allocation optimization (v5.0)

See merge request espressif/esp-idf!21547
2022-12-21 23:35:30 +08:00
Aditya Patwardhan
e6b3038cbd Merge branch 'docs/update_esp_https_ota_docs_for_esp_events_v5.0' into 'release/v5.0'
docs: Update esp_https_ota docs to have information about OTA events (v5.0)

See merge request espressif/esp-idf!21733
2022-12-21 20:59:41 +08:00
muhaidong
94d2040ba7 esp_phy: add country code 01 to country code map type table 2022-12-21 20:00:36 +08:00
Ivan Grokhotkov
205ca920bf Merge branch 'contrib/github_pr_10199_v5.0' into 'release/v5.0'
Removed the 'configASSERT( xInheritanceOccurred == pdFALSE )' assertion from xQueueSemaphoreTake (GitHub PR)(v5.0)

See merge request espressif/esp-idf!21500
2022-12-21 19:56:13 +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
4a0708fe61 Merge branch 'fix/clear_cur_pmksa_v5.0' into 'release/v5.0'
Clear current pmksa before generating RSN IE (Backport v5.0)

See merge request espressif/esp-idf!21690
2022-12-21 19:06:07 +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
Jiang Jiang Jian
c541b9082e Merge branch 'contrib/github_pr_10027_v5.0' into 'release/v5.0'
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR) (v5.0)

See merge request espressif/esp-idf!21021
2022-12-21 17:15:04 +08:00
Laukik Hase
081e2ac97e
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
- If internet connectivity weakened or disappeared suddenly while we were
  in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
  the default timeout was set at the wrong place. This causes the sockets to be
  setup with zero timeout, hence the indefinite wait.
2022-12-21 14:42:33 +05:30
Laukik Hase
73ea8543e3
protocols/security: Remove -Wno-format compile option for examples 2022-12-21 14:39:46 +05:30
Ivan Grokhotkov
5efbb7171d Merge branch 'bugfix/sdmmc_target_test_v5.0' into 'release/v5.0'
ci: add missing target-test jobs for sdcard and extflash examples (v5.0)

See merge request espressif/esp-idf!21700
2022-12-21 17:03:55 +08:00
Ivan Grokhotkov
20d4335d60 Merge branch 'fix/sdspi_no_cs_v5.0' into 'release/v5.0'
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1) (v5.0)

See merge request espressif/esp-idf!20915
2022-12-21 16:37:25 +08:00
Harshit Malpani
83896d877a
docs: Update esp_https_ota docs to have information about OTA events 2022-12-21 10:39:35 +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
Shyamal Khachane
823b6c8f56 wpa_supplicant: Clear current pmksa before generating RSN IE
Also update wifi libs with below changes -
  - Fix reason codes for Invalid PMKID
  - Fix handling of Assoc Resp status codes for Station
2022-12-21 11:51:48 +08:00
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
Jiang Jiang Jian
594dd810f1 Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index_v5.0' into 'release/v5.0'
RGB LCD: support multi frame buffer in bounce buffer mode (v5.0)

See merge request espressif/esp-idf!21660
2022-12-21 10:48:18 +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
Zim Kalinowski
6972b61ea5 Merge branch 'staging/esp_static_assert_v5.0' into 'release/v5.0'
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT (backport v5.0)

See merge request espressif/esp-idf!21695
2022-12-20 20:53:02 +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