Commit Graph

20665 Commits

Author SHA1 Message Date
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
Mahavir Jain
42cce06704 Merge branch 'contrib/github_pr_7796' into 'master'
docs: Spelling error

See merge request espressif/esp-idf!16140
2021-11-30 12:42:30 +00:00
Wang Fang
7b5232f687 Merge branch 'docs/add_an_example_list_for_esp32-wrover-kit' into 'master'
docs: add an example list for esp-wrover-kit

Closes DOC-2264

See merge request espressif/esp-idf!16141
2021-11-30 11:44:24 +00:00
Roland Dobai
5dc3cdbd50 Merge branch 'bugfix/avoid-exception-messages-while-export' into 'master'
Avoid exception messages while autocomplete initialization in export.sh

See merge request espressif/esp-idf!16157
2021-11-30 11:32:45 +00:00
Wang Fang
a27dfe3874 docs: add an example list for esp-wrover-kit 2021-11-30 18:49:09 +08:00
Fu Hanxi
02ff0bcee4 Merge branch 'ci/test_pytest_embedded' into 'master'
CI: use pytest-embedded

See merge request espressif/esp-idf!15984
2021-11-30 09:50:29 +00:00
Chen Yudong
e4a86f203f ci: preserve artifacts for local test apps 2021-11-30 17:39:00 +08:00
Omar Chebib
32f2f7db5e Merge branch 'bugfix/force_cmake_flags' into 'master'
Build: Force CMake variables to be set, regardless of the cache status

Closes IDFGH-5799

See merge request espressif/esp-idf!15382
2021-11-30 09:14:59 +00:00
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
Fu Hanxi
94578f4658 ci: add pytest-embedded CI jobs 2021-11-30 09:42:12 +08:00
Fu Hanxi
ef685456ab example: use pytest-embedded to replace examples/system/console test scripts 2021-11-30 09:42:12 +08:00
Fu Hanxi
3222b5c720 fix(find_apps): won't check supported targets if "recursive" is unflagged 2021-11-30 09:04:10 +08:00
Fu Hanxi
d9a354505d style: add ini editorconfig
also remove redundant ones
2021-11-30 09:04:10 +08:00
Martin Gaňo
9a5d699969 Avoid exception messages while autocomplete initialization in export.sh 2021-11-29 18:39:49 +01:00
Andrzej Bednarski
255342e651
Minor: typo
Minor typo: missing parenthesis
2021-11-29 17:34:54 +01: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