Commit Graph

20633 Commits

Author SHA1 Message Date
Ondrej Kosta
914eafe2db Merge branch 'feature/ksz80xx_support_extension' into 'master'
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs

Closes IDFGH-6203 and IDF-3522

See merge request espressif/esp-idf!16024
2021-12-06 08:54:33 +00:00
David Čermák
13978c9556 Merge branch 'feature/asio_ssl_esp' into 'master'
asio: Use internal ssl context and engine impl

Closes IDF-3432

See merge request espressif/esp-idf!15523
2021-12-06 05:54:14 +00:00
Krzysztof Budzynski
75d9df0285 Merge branch 'bugfix/html_redirect' into 'master'
docs: fix html redirects not working

See merge request espressif/esp-idf!15928
2021-12-06 03:57:33 +00:00
Wang Meng Yang
ae9f42383c Merge branch 'bugfix/add-esp-timer-guard-check-in-port-layer' into 'master'
NimBLE: Invoke xTimerGetExpiryTime in npl porting layer only when freertos timer is used

See merge request espressif/esp-idf!15929
2021-12-05 08:17:39 +00:00
Ondrej Kosta
970986e5b6 Added KSZ8041/81 and LAN8720 Driver IDF v5.0 migration description
LAN8720 function call clean up
2021-12-03 14:28:52 +01:00
Roland Dobai
4949f6b720 Merge branch 'tools/check_copyright_precommit_config' into 'master'
tools: make copyright check configurable

See merge request espressif/esp-idf!15799
2021-12-03 12:31:00 +00:00
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
Jan Brudný
228113a399 tools: make copyright check configurable 2021-12-03 10:29:35 +01:00
David Cermak
d823106aa6 asio: Use internal ssl context and engine impl
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage

Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue
2021-12-03 09:32:42 +01:00
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
Ivan Grokhotkov
98ad01e5fc Merge branch 'contrib/github_pr_7978' into 'master'
docs: fix minor typo (Github PR)

Closes IDFGH-6316

See merge request espressif/esp-idf!16233
2021-12-02 13:29:48 +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
Island
71c66abcb7 Merge branch 'ci/upload_build_example_for_release_test' into 'master'
ci: preserve artifacts for local test apps

See merge request espressif/esp-idf!15990
2021-12-02 11:25:44 +00:00
Fischerauer Christian
3fb83f2866 esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
* add support for KSZ8001, KSZ8021, KSZ8031, KSZ8051 and KSZ8061
* remove duplicate code
* simplify architecture to make the code base extensible (for future work)
2021-12-02 11:56:08 +01:00
Roland Dobai
717c4de3b8 Merge branch 'bugfix/idf_tools_platform_default_arg' into 'master'
tools: make idf_tools.py download --platform argument optional

Closes IDF-2296

See merge request espressif/esp-idf!14070
2021-12-02 09:47:39 +00:00
Jakob Hasse
45863e3369 Merge branch 'docs/update_CN_trans_fatfs' into 'master'
docs: update CN translation for fatfs.rst

See merge request espressif/esp-idf!15958
2021-12-02 08:32:19 +00:00
Fu Hanxi
a8840e91c8 Merge branch 'example/pytest_custom_bootloader' into 'master'
Example: pytest for examples/custom_bootloader

See merge request espressif/esp-idf!16206
2021-12-02 07:30:56 +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
daiziyan
c34ccb1bdf docs: update CN translation for fatfs.rst 2021-12-02 11:47:06 +08: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
Fu Hanxi
61942a9f9f fix(pytest): use "--target" to filter the test cases
"-m" can't be specified for multiple times. pytest is using "and", "or",
"not" and parentheses to filter by markers
2021-12-02 10:55:24 +08:00
Fu Hanxi
5c3bc247cb test: use pytest for examples/custom_bootloader 2021-12-02 10:55:24 +08:00
Fu Hanxi
2cf17f802f ci: log to junit report system-out for failed test cases 2021-12-02 10:18:28 +08:00
Fu Hanxi
c2a239bd6b ci: set pytest case id to target.config.case_name 2021-12-02 10:18:28 +08: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
Ivan Grokhotkov
ede3dc3ea4 tools: fix some type annotations in idf_tools.py 2021-12-01 20:03:53 +01:00
Ivan Grokhotkov
d835387924 tools: make idf_tools.py download --platform argument optional
...as it is described in the docs.
2021-12-01 20:02:19 +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
Chen Yudong
2db60f13fb ci: add test dir examples/bluetooth/hci/controller_hci_uart_esp32 2021-12-01 12:06:52 +08:00
Chen Yudong
8fe7d74453 example: build ble_mesh_console example on c3 and s3 as well 2021-12-01 12:03:34 +08: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
Anton Maklakov
65e38f903c Merge branch 'feature/cmake_linux_arm64' into 'master'
tools: updates for linux-arm64 (aarch64) platform

See merge request espressif/esp-idf!16176
2021-11-30 14:29:52 +00:00
Ivan Grokhotkov
11547ca56e tools: don't install binutils-esp32ulp on aarch64
Once new binutils-esp32ulp is made and aarch64 artifacts are added,
will add these tools back.

Related to https://github.com/espressif/esp-idf/issues/6432
2021-11-30 14:00:25 +01:00