Sudeep Mohanty
88aa3e78c3
NimBLE: Invoke xTimerGetExpiryTime in npl porting layer only when freertos timer is used
...
This commit adds an esp timer guard check to call in the function
npl_freertos_callout_remaining_ticks() to enable fetching remaning ticks
when esp timer is enabled.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-03 15:57:19 +05:30
Mahavir Jain
8fadcd844e
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
Closes IDF-4402
See merge request espressif/esp-idf!15323
2021-12-03 04:55:01 +00:00
Mahavir Jain
fbeb711e06
Merge branch 'bugfix/invalid_url_cause_to_crash' into 'master'
...
http: Fix parsing invalid url cause to crash
Closes ESPAT-953
See merge request espressif/esp-idf!16153
2021-12-03 04:53:56 +00:00
Ivan Grokhotkov
e96545b261
Merge branch 'bugfix/esp_adc_cal_cmake' into 'master'
...
esp_adc_cal: minor simplification
See merge request espressif/esp-idf!15814
2021-12-02 15:08:08 +00:00
David Čermák
f6d0605bd4
Merge branch 'bugfix/add_mqtt_connect_unit_test' into 'master'
...
CI/MQTT: Add more unit tests with actual broker
See merge request espressif/esp-idf!15408
2021-12-02 11:51:17 +00:00
Li Qi Gan
54c5d42a62
Merge branch 'bugfix/fix_spp_listen_err' into 'master'
...
Component_bt/Fix SPP cannot malloc slot bugs
Closes BCI-300
See merge request espressif/esp-idf!16035
2021-12-02 07:20:58 +00:00
Chen Wu
c10683f493
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-02 14:15:43 +08:00
David Čermák
d7f2e30b24
Merge branch 'feature/update_option_len_default_value' into 'master'
...
lw-ip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
Closes IDFGH-6064 and IDFGH-6059
See merge request espressif/esp-idf!15623
2021-12-02 05:55:59 +00:00
morris
815203f401
Merge branch 'bugfix/i2s_hal_remove_dup_code_fifo_mod' into 'master'
...
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default
See merge request espressif/esp-idf!16208
2021-12-02 03:37:08 +00:00
Ivan Grokhotkov
4d246baa46
esp_adc_cal: update h2 code to use esp_check.h
...
Same changes as in commit c45c6f52f
for c3.
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
dbd3aa5bfc
driver: adc: use SOC_ADC_PERIPH_NUM for array size
...
ADC_UNIT_MAX is no longer equal to the number of ADC units.
This makes the static s_adc_cali_param arrays larger than necessary.
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
e697e7ff0f
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
e95b4c2b90
esp_adc_cal: simplify CMakeLists.txt
2021-12-01 20:05:04 +01:00
Roland Dobai
f4d1bb017a
Merge branch 'feature/add-wl-support-fatfs' into 'master'
...
Add wear levelling support for fatfs partition generator
Closes IDF-4043 and IDF-2053
See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Mahavir Jain
b9b55bc32b
Merge branch 'contrib/github_pr_7971' into 'master'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h>
Closes IDFGH-6308
See merge request espressif/esp-idf!16202
2021-12-01 11:59:20 +00:00
Roland Dobai
73ee08c09b
Merge branch 'feature/carve_out_cmp' into 'master'
...
Remove cbor, jsmn and libsodium
Closes IDF-2169
See merge request espressif/esp-idf!16025
2021-12-01 11:32:05 +00:00
Li Jingyi
981ef057c4
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-01 17:15:25 +08:00
morris
0cec107c01
Merge branch 'bugfix/lcd_rgb_pclk_default_to_low' into 'master'
...
lcd: set rgb pclk idle level default to low
See merge request espressif/esp-idf!16193
2021-12-01 07:59:25 +00:00
yuanjm
9c1520d1f9
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-01 07:19:18 +00:00
liqigan
aa6f86fbc5
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-01 14:59:14 +08:00
Michael (XIAO Xufeng)
14213d883b
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default
2021-12-01 05:47:36 +00:00
Wang Meng Yang
fe289ec670
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr' into 'master'
...
fix can not find mac addr error
Closes BT-2032
See merge request espressif/esp-idf!16143
2021-12-01 02:53:34 +00:00
Tomas Rezucha
ebaca79557
other: Move cbor, jsmn and libsodium to idf-component-manager
...
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components .
They are distributed via idf-component-manager, see
https://components.espressif.com .
2021-11-30 21:44:48 +01:00
Andrii Filippov
6a11f6fb20
Merge branch 'bugfix/replace_PING_CHECK_macro' into 'master'
...
Replace PING_CHECK macro by ESP_GOTO_ON_FALSE
Closes IDF-4241
See merge request espressif/esp-idf!15930
2021-11-30 17:20:51 +00:00
Mahavir Jain
f667b1039b
Fix copyright headers for few include files
2021-11-30 22:25:33 +05:30
AndriiFilippov
f42d1f48c6
unified replace PING_CHECK by ESP_GOTO_ON_FALSE
...
unified replace PING_CHECK by ESP_GOTO_ON_FALSE
replace PING_CHECK macro by ESP_GOTO_ON_FALSE
Include header
grammar fix
2021-11-30 10:12:09 +01:00
lovyan03
cb91b51c52
bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once".
2021-11-30 15:46:49 +09:00
Yang Zhao
4b7a71673e
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:14:42 +08:00
morris
89e37837d0
lcd: rgb pclk idle default to low
2021-11-30 13:44:06 +08:00
Ivan Grokhotkov
4675dc428f
Merge branch 'bugfix/vfs-select-lock-latency' into 'master'
...
vfs: reduce lock in vfs_select
Closes WIFI-4063 and WIFI-4207
See merge request espressif/esp-idf!16161
2021-11-30 03:55:44 +00:00
morris
43fd499547
Merge branch 'bugfix/reduce_bootup_time_when_using_usb-serial-jtag' into 'master'
...
rtc_clk: reduce bootup time when using usb-serial-jtag
Closes IDF-4319
See merge request espressif/esp-idf!16173
2021-11-30 03:32:55 +00:00
Martin Gano
7460deeae8
support for wear levelling in fatfs partition generator
...
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Ondrej Kosta
fcd634faec
Merge branch 'contrib/github_pr_7958' into 'master'
...
fix: missing initializer waring in esp_eth
Closes IDFGH-6293
See merge request espressif/esp-idf!16178
2021-11-29 13:24:58 +00:00
Mahavir Jain
92b1ea2199
Merge branch 'bugfix/hardware_mpi_fallback_issue' into 'master'
...
mbedtls: fix hardware MPI (bignum) related regression
See merge request espressif/esp-idf!15854
2021-11-29 11:19:51 +00:00
jingli
0ea1825f64
reduce bootup time when using usb-serial-jtag
2021-11-29 17:21:11 +08:00
Shu Chen
961407ca42
Merge branch 'feature/add_mtd_for_openthread' into 'master'
...
openthread : support MTD
See merge request espressif/esp-idf!16006
2021-11-29 08:27:46 +00:00
Jiang Jiang Jian
7878255f17
Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
...
Fix FTM failures after repeated operations
Closes IDFGH-6015
See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Simon
e9f3f56ba1
Merge branch 'refactor/delete_clk_header' into 'master'
...
cleanups: Delete some deprecated headers to make idf cleaner(clk.h esp_cache_err.h)
Closes IDF-4294
See merge request espressif/esp-idf!16012
2021-11-29 07:31:55 +00:00
Mahavir Jain
12fee76695
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-11-29 15:13:05 +08:00
Mahavir Jain
5d9392d999
mbedtls: update mbedtls submodule pointer for MPI API change
2021-11-29 15:13:05 +08:00
Mahavir Jain
c097e6bcab
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-11-29 15:13:05 +08:00
Mahavir Jain
1a390f4518
mbedtls: update kconfig help to correct on supported MPI bits
2021-11-29 15:13:02 +08:00
Darian
567f626ef7
Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision' into 'master'
...
Freertos: Fix loss of precision in pdTICKS_TO_MS (GitHub PR #7856 )
Closes IDFGH-6179
See merge request espressif/esp-idf!16133
2021-11-29 06:36:00 +00:00
Jiacheng Guo
b00d6d0a95
vfs: reduce lock in vfs_select
2021-11-29 14:09:07 +08:00
zhangwenxu
f3fc4deade
openthread : support MTD
2021-11-29 13:17:49 +08:00
David Cermak
cd085992c6
MQTT: Fix disconnect/reconnect, Adds empty client id, ...
...
Updated MQTT submodule: git log --oneline 89894bd0c611b1392967fe90bb49682eba858383...b86d42c130ac64a916ce6cf299d99f9756692394
* Added support for client with empty id
* Fixed user requested disconnect to correctly send MQTT disconnection message
* Fixed reconnection request with disabled autoreconnect
* Added qos and dup flags to data events
* Added Support for suback massage payload in mqtt events
Detailed description of the changes (89894bd0c6...b86d42c130
):
* Adds the possibility of client with empty id
- See merge request esp-mqtt!114
- esp_mqtt commit 09287a1156
- esp_mqtt commit 1fd50dd2cb
- Related IDF-4124
* Client: Disconnect/Reconnect improvements
- See merge request esp-mqtt!113
- esp_mqtt commit 3f05b1aedc
- esp_mqtt commit 86e40f8615
- Related https://github.com/espressif/esp-mqtt/issues/206
- Related https://github.com/espressif/esp-mqtt/issues/208
* Events: Support qos/dup flags and suback payload in mqtt events (GitHub PR)
- See merge request esp-mqtt!112
- esp_mqtt commit de47f1c341
- esp_mqtt commit e1d5a9402f
- Related https://github.com/espressif/esp-mqtt/issues/200
- Related https://github.com/espressif/esp-mqtt/pull/203
2021-11-26 13:57:32 +01:00
David Cermak
3b0dcf8901
MQTT: Add more tests
2021-11-26 13:34:56 +01:00
David Cermak
acf0caa04a
MQTT: Add more unit tests with actual broker
2021-11-26 11:45:32 +01:00
Vladimir Chistyakov
2b944ca056
fix: missing initializer warning in esp_eth
...
remove auto_nego_en member from esp_eth_config_t as it is not used
anywhere
2021-11-26 17:42:38 +07:00
Cao Sen Miao
7f0a746e6a
move brownout trax cache_int_err to private folder
2021-11-26 18:27:53 +08:00