Commit Graph

20662 Commits

Author SHA1 Message Date
Jakob Hasse
16514f93f0 refactor (test_utils)!: separate file for memory check functions
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.

BREAKING CHANGE: renamed memory check function names which may be used
                 in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
Jakob Hasse
2e1c7d876c Merge branch 'bugfix/minimal_stacksize_watchpoint_aware' into 'master'
[freertos]: Changed minimal stack size to regard watchpoint usage

See merge request espressif/esp-idf!16269
2021-12-08 02:57:11 +00:00
Marius Vikhammer
23c4534d23 Merge branch 'bugfix/spi_slave_test_non_dma' into 'master'
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM

See merge request espressif/esp-idf!16293
2021-12-08 02:42:31 +00:00
Kevin (Lao Kaiyao)
9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
Aditya Patwardhan
c66c18596c Merge branch 'fix/https_request_example_test' into 'master'
https_request_example: Update the example test to use local python server

See merge request espressif/esp-idf!15931
2021-12-07 11:14:34 +00:00
Dai Zi Yan
40191ec31e Merge branch 'docs/update_CN_trans_esp-wifi_JTAG-debugging' into 'master'
docs: update CN translation for esp_wifi and jtag-dubugging/index

Closes DOC-1597

See merge request espressif/esp-idf!16144
2021-12-07 09:32:48 +00:00
Marius Vikhammer
ee684b58fb spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM 2021-12-07 16:39:33 +08:00
David Čermák
eacaa9823d Merge branch 'feature/remove_pppos' into 'master'
PPPoS/Examples: Remove internal component, examples and test

Closes IDF-4078

See merge request espressif/esp-idf!16251
2021-12-07 08:21:07 +00:00
Simon
6f9b89f619 Merge branch 'bugfix/usb_no_rom_log' into 'master'
USB_SERIAL_JTAG: Fix the issue that there is no rom/bootloader log when restarting

Closes IDF-4173

See merge request espressif/esp-idf!16057
2021-12-07 08:16:10 +00:00
daiziyan
c642661411 docs: update CN translation for esp_wifi and jtag-dubugging/index, and fix typos in esp_spi_slave_protocol 2021-12-07 15:36:50 +08:00
Zim Kalinowski
c065e45e63 Merge branch 'bugfix/lic_header_checker' into 'master'
Tools: Allow all combinations of supported licenses in the header

See merge request espressif/esp-idf!16280
2021-12-07 06:18:10 +00:00
Song Ruo Jing
210b131529 Merge branch 'bugfix/gpio_intr_on_core1_s3' into 'master'
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3

Closes IDFGH-6211 and IDFGH-3635

See merge request espressif/esp-idf!15945
2021-12-07 06:07:19 +00:00
Sudeep Mohanty
4143a3f572 Merge branch 'feature/update-freertos-module-handles-to-struct-type' into 'master'
freertos: update module handles to struct type

Closes IDF-3768, IDF-3769, and IDF-3770

See merge request espressif/esp-idf!15766
2021-12-07 04:40:29 +00:00
Omar Chebib
5d7b188a73 Merge branch 'bugfix/typo_in_i2c_macro' into 'master'
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name

Closes IDFGH-6351

See merge request espressif/esp-idf!16266
2021-12-07 03:42:35 +00:00
Jakob Hasse
8ebea6f689 bugfix (freertos): Changed minimal stack size to regard watchpoint usage 2021-12-07 10:42:05 +08:00
Roland Dobai
211afa9fc8 Tools: Allow all combinations of supported licenses in the header 2021-12-06 16:54:56 +01:00
David Cermak
3ea8992cc4 CI: Cleanup copyright-ignore from pppos files 2021-12-06 12:42:17 +01:00
David Cermak
7541ec684d CI: Remove PPPoS custom test
This test should be migrated to esp-modem component CI
2021-12-06 12:42:17 +01:00
David Cermak
5a41e6afa9 Examples: Remove pppos_client example 2021-12-06 12:42:17 +01:00
David Cermak
15fec25dff Docs: Reference esp_modem in libs/framweorks and migration guide 2021-12-06 12:42:10 +01:00
Guo Jia Cheng
120b0ba2af Merge branch 'feature/update_openthread_components' into 'master'
openthread: update libs

See merge request espressif/esp-idf!16247
2021-12-06 08:56:53 +00:00
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
songruojing
91f1159f9c gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
Add a test case for checking the interrupt on other cores.

Closes https://github.com/espressif/esp-idf/issues/7885
2021-12-06 14:17:03 +08:00
songruojing
0e8286c57b gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
Closes https://github.com/espressif/esp-idf/issues/5571

Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
2021-12-06 14:15:54 +08: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
paul
ef1df8d41a I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
* Closes https://github.com/espressif/esp-idf/pull/8012
2021-12-06 11:43:49 +08:00
Sudeep Mohanty
40c1f3e06e freertos: update module handles to struct type
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
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
Aditya Patwardhan
36bb817b80 https_request_example:
Use local python server to test client session tickets
Update example test to test the client session tickets
Check for minimum heap info in the example test.
2021-12-05 02:54:52 +08: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
zhangwenxu
a732884944 openthread: update libs
* update lib802154: fix assert caused by prcessing isr delay
* update libopenthread_port: aggressively process pending tasks
* update openthread(1267bdb)
2021-12-03 12:18:59 +08: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