Wykres commitów

21049 Commity (24c20d188e24c815e28351cddb838c01e7dfb241)

Autor SHA1 Wiadomość Data
Ivan Grokhotkov 24c20d188e esp_rom: remove functions which depend on sizeof(struct stat)
...and all their callers.

With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.

A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.

This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
  __srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)

As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.

Closes https://github.com/espressif/esp-idf/issues/7980
2022-01-06 15:20:04 +01:00
Marius Vikhammer 5d47efb72d Merge branch 'docs/s3_not_updated_docs' into 'master'
docs: update docs with S3 specific information.

Closes IDF-3272, IDF-3279, IDF-3283, IDF-3290, and IDF-3303

See merge request espressif/esp-idf!16635
2022-01-06 04:44:27 +00:00
Michael (XIAO Xufeng) 476da74796 Merge branch 'bugfix/ledc_fade_array_check' into 'master'
ledc: fixed check to s_ledc_fade_rec array

See merge request espressif/esp-idf!16086
2022-01-06 03:28:10 +00:00
Michael (XIAO Xufeng) 466f3a91cb ledc: fixed check to s_ledc_fade_rec array 2022-01-06 03:28:05 +00:00
Aditya Patwardhan 6f20ca93ad Merge branch 'fix/http2_request_example' into 'master'
http2_request_example: Change the target http2 server to http2.github.io

See merge request espressif/esp-idf!16655
2022-01-06 03:26:50 +00:00
Zim Kalinowski 779de561f4 Merge branch 'bugfix/fix_idf_as_lib_build' into 'master'
Build: fix idf_as_lib example not building

Closes IDFGH-6453

See merge request espressif/esp-idf!16514
2022-01-06 03:17:30 +00:00
Omar Chebib cb90544a04 Build: fix idf_as_lib example not building 2022-01-06 03:17:29 +00:00
Michael (XIAO Xufeng) b84abb1b17 Merge branch 'bugfix/rtcio_increase_size' into 'master'
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue

Closes IDF-4526 and IDF-4505

See merge request espressif/esp-idf!16617
2022-01-06 03:03:58 +00:00
Darian Leung 39fd7525b6 docs: Refactor FreeRTOS documentation
This commit refactors the FreeRTOS documentation as follows:

- Rewrite FreeRTOS SMP changes document (ESP-IDF FreeRTOS SMP)
    - Reorganized sections in kernel behavior changes
    - Rewrote descriptions of each kernel behavior changes
    - Added notes about using ESP-IDF FreeRTOS for single core targets
- Moved TLSP callback section to FreeRTOS Additions document
- Moved FreeRTOS configuration section to FreeRTOS API document
- Added notes about FreeRTOS applications in ESP-IDF
2022-01-06 10:04:36 +08:00
Jakob Hasse d76cb9f456 docs: fix hard coded target name in essl doc 2022-01-06 10:04:36 +08:00
Darian Leung 3b29030e10 docs: Update Power Management and Sleep Modes docs for ESP32-S3 2022-01-06 10:04:29 +08:00
Darian Leung b3e889de1c docs: Update TWAI docs for ESP32-S3 2022-01-06 10:04:29 +08:00
Marius Vikhammer 8c0178f73d docs: update performance guide docs with S3 information 2022-01-06 10:04:29 +08:00
Marius Vikhammer 3e756e809e docs: update docs with S3 specific information. 2022-01-06 10:04:25 +08:00
Wang Meng Yang d29755b7d5 Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs' into 'master'
bugfix/fix cs event for rd_rem_ext_feats delayed issue

Closes ESPCS-7232

See merge request espressif/esp-idf!15919
2022-01-06 00:39:47 +00:00
Ivan Grokhotkov a17cd24761 Merge branch 'bugfix/idf_tools_python_env' into 'master'
tools: improve virtualenv diagnostics, set python path explicitly

Closes IDFGH-4711, IDFGH-6386, and IDF-4233

See merge request espressif/esp-idf!16650
2022-01-05 13:23:42 +00:00
Tomas Rezucha af28416116 Merge branch 'feature/usb_device/multi_cdc' into 'master'
USB: Extend USB CDC device with second channel

See merge request espressif/esp-idf!16458
2022-01-05 09:53:04 +00:00
Ondrej Kosta fa9cc49b9e Merge branch 'bugfix/esp_eth_start_tx_buff' into 'master'
Fixed ESP32 EMAC driver `insufficient TX buffer size`

Closes WIFI-4194

See merge request espressif/esp-idf!16457
2022-01-05 09:40:12 +00:00
Jiang Jiang Jian 477cf09f45 Merge branch 'bugfix/ci_check_blobs' into 'master'
ci: improve checks for Wi-Fi/PHY libraries

See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
Mo Fei Fei 097785d6c8 Merge branch 'docs/add_application_example_esp_now' into 'master'
docs: add application example for esp-now

Closes DOC-2452

See merge request espressif/esp-idf!16643
2022-01-05 09:19:14 +00:00
Ivan Grokhotkov e857b260a5 tools: improve virtualenv diagnostics, set python path explicitly
- Check if pip is installed for sys.executable before attempting to
  create the virtual environment, bail out with an error if not.
- Don't pass --seeder argument to virtualenv if its version is
  too old. For example, on Ubuntu 18.04, virtualenv 15.1.0 doesn't
  support this argument.
- Pass --python argument to virtualenv to request specific interpreter
  to be used.

Closes https://github.com/espressif/esp-idf/issues/8045
2022-01-05 09:55:13 +01:00
intern b0a2dda075 docs: add application example for esp-now 2022-01-05 16:17:28 +08:00
Tomas Rezucha 6330d5d312 usb: Extend CDC device with second CDC channel
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Guo Jia Cheng fa8364a544 Merge branch 'bugfix/openthread-socket-multicast' into 'master'
openthread: sync lwip multicast groups to Thread stack

See merge request espressif/esp-idf!16490
2022-01-05 07:04:30 +00:00
Mahavir Jain 6e1f534cab Merge branch 'feature/esp_tls_api_cleanup' into 'master'
esp-tls: mark esp_tls_conn_delete API as deprecated

See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
Aditya Patwardhan 2b026ea1fa http2_request_example: Change the target http2 server to `http2.github.io` and
perform only a `GET` request.
2022-01-05 12:26:39 +05:30
jincheng 6a9afa65a2 fix cs event for rd_rem_ext_feats delayed issue 2022-01-05 14:48:04 +08:00
morris ce2a220098 Merge branch 'refactor/make_adc2_wifi_private' into 'master'
clean up deprecated and private header files for driver and esp_hw_support component

See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
morris 313e36b49e Merge branch 'feature/migration_guide_owners' into 'master'
CI: update migration guide codeowners

See merge request espressif/esp-idf!16651
2022-01-05 05:07:14 +00:00
Xue Yun Fei ea73daa613 Merge branch 'bugfix/update_esp32s3_docs' into 'master'
Doc:Bugfix/update esp32s3 docs

See merge request espressif/esp-idf!15390
2022-01-05 03:30:56 +00:00
Li Kun Qiao b05b70c7f3 Merge branch 'feature/Add_zigbee_rcp_gateway' into 'master'
Zigbee example: rcp and gateway

See merge request espressif/esp-idf!16205
2022-01-05 03:28:03 +00:00
Marius Vikhammer dd341318d0 CI: update docs codeowners 2022-01-05 10:46:07 +08:00
morris ef5cfb217c Merge branch 'contrib/github_pr_8172' into 'master'
Fix compile issue when TinyUSB task is not enabled. (GitHub PR)

Closes IDFGH-6521

See merge request espressif/esp-idf!16611
2022-01-04 13:21:23 +00:00
Jiacheng Guo d610282742 openthread: sync lwip multicast groups to Thread stack
This MR synchornizes the lwIP multicast groups to the Thread stack. This
will fix sockets failing to receive messages sent to multicast groups
issue.
2022-01-04 20:08:15 +08:00
Jiang Jiang Jian 69757842aa Merge branch 'bugfix/ftm_misc_issues' into 'master'
Miscellaneous FTM bugfixes

Closes WIFI-4126

See merge request espressif/esp-idf!16525
2022-01-04 10:39:42 +00:00
Mahavir Jain 201e0b39a7 esp-tls: remove redundant snippet from CMakeList 2022-01-04 15:41:06 +05:30
Mahavir Jain c26500cd5a esp-tls: mark esp_tls_conn_delete API as deprecated
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
xueyunfei ec993af322 update s3 doc 2022-01-04 17:50:37 +08:00
likunqiao 8c577cd208 Zigbee example: add rcp and gateway
* provide Zigbee rcp and Zigbee gateway example
 * minor comment fix for light example
2022-01-04 17:46:09 +08:00
Ivan Grokhotkov 637716b310 Merge branch 'feat/code_owner_bootloader_flash' into 'master'
code_owners: add peripherals to the owner of bootloader_flash

See merge request espressif/esp-idf!16628
2022-01-04 09:39:29 +00:00
Marius Vikhammer 95c34696c4 Merge branch 'docs/esp8684_frontpages' into 'master'
docs: update frontpage/general pages for ESP8684

Closes IDF-4212

See merge request espressif/esp-idf!16455
2022-01-04 08:47:42 +00:00
Jack 9802bf41d6 phy: update phy lib to remove ets_printf references 2022-01-04 15:41:58 +08:00
morris 113cbb88a6 hw_support: remove deprecated header files 2022-01-04 14:16:17 +08:00
morris 090b4aa1f3 adc: make adc2_wifi share resource private 2022-01-04 13:59:24 +08:00
Wang Meng Yang 7e39aa61fa Merge branch 'bugfix/fix_null_pointer_deference_issue_master_mr' into 'master'
Fix the null pointer deference issue via Reconnection Spamming

See merge request espressif/esp-idf!16502
2022-01-04 04:06:27 +00:00
Michael (XIAO Xufeng) 9d0bebc773 code_owners: add peripherals to the owner of bootloader_flash 2022-01-04 03:23:31 +00:00
Omar Chebib a8b40927b5 Merge branch 'bugfix/i2c_spiram_bug' into 'master'
I2C: fix buffer check when SPIRAM used as a heap

Closes IDFGH-6522

See merge request espressif/esp-idf!16612
2022-01-04 02:48:46 +00:00
morris 6e661871c5 tusb: optional compile tusb_task 2022-01-04 10:38:13 +08:00
morris cba1f57147 tusb: update copyright header 2022-01-04 10:25:06 +08:00
Ivan Grokhotkov 3049ac6dbb ci: improve checks for Wi-Fi/PHYlibraries
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
  checking Wi-Fi libraries. This used to happen until libphy.a was
  moved into a separate submodule.

Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00