Wykres commitów

17897 Commity (9f149a647dc783e910c3ed52ce7090ab5c9f1c63)

Autor SHA1 Wiadomość Data
Angus Gratton 9f149a647d Merge branch 'bugfix/fix_mbedtls_cmake_warning' into 'master'
mbedtls: fixed CMake build warning

Closes IDFGH-4975

See merge request espressif/esp-idf!13568
2021-05-19 00:43:50 +00:00
Angus Gratton e886aa1da4 Merge branch 'update_copyright_notice_bootloader_support' into 'master'
bootloader: update copyright notice, part 2

See merge request espressif/esp-idf!13495
2021-05-19 00:26:35 +00:00
Ivan Grokhotkov 38d902f544 Merge branch 'feature/gdbstubs_rt' into 'master'
Extension of GDBStub component for handling GDB by serial port at runtime.

See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Krzysztof Budzynski 0bd357b2f1 Merge branch 'doc/delete_rom_comsole' into 'master'
DOC: Remove ROM console

See merge request espressif/esp-idf!13362
2021-05-18 10:10:56 +00:00
Angus Gratton 7c11d95af3 Merge branch 'bugfix/partition_table_integrity_check' into 'master'
paritition_table: Verify the partition table md5sum when loading in the app

Closes IDF-2411

See merge request espressif/esp-idf!12252
2021-05-18 08:40:32 +00:00
Angus Gratton 8d7599cc3d Merge branch 'bugfix/pthread_destructor_sequencing' into 'master'
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific

Closes IDFGH-4842

See merge request espressif/esp-idf!13567
2021-05-18 08:26:38 +00:00
David Čermák c13afea635 Merge branch 'bugfix/lwip_cc_sdkconfig' into 'master'
lw-IP: Update public port-layer headers with c++ guards, sdkconfig include

See merge request espressif/esp-idf!13095
2021-05-18 08:26:08 +00:00
Wang Ning 19a407ed1a doc/remove_romconsole_since_it_is_no_longer_supported_from_ESP32_ECO3 2021-05-18 07:51:56 +00:00
Angus Gratton 0fc9253ed9 lwip: Update public port-layer headers with c++ guards, sdkconfig include
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Angus Gratton 9235754d4c esp_rom: Allow passing any type of data pointer to md5, remove unchecked size on digest pointer 2021-05-18 01:32:59 +00:00
Angus Gratton ede477ea65 paritition_table: Verify the partition table md5sum when loading the app
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).

The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-05-18 01:32:59 +00:00
Angus Gratton 6713291dad pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
Update as per specification at https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_key_create.html

Specifically:

- Before a destructor is called then the value for the corresponding key is
  already set to NULL.

- If a destructor calls pthread_setspecific() to assign a non-NULL value then
  this destructor is called again, after all existing non-NULL values have been
  called.

Adds a test for this relatively complex behaviour.

Closes https://github.com/espressif/esp-idf/issues/6643
2021-05-18 10:21:34 +10:00
Mahavir Jain f1caa2971d Merge branch 'feature/extmem_alloc_for_s2' into 'master'
External memory allocation policy support  for ESP32-S2 (GitHub PR)

Closes IDFGH-5226

See merge request espressif/esp-idf!13492
2021-05-17 16:39:25 +00:00
Ivan Grokhotkov 8e66e554cb Merge branch 'feature/partition_type_any' into 'master'
esp_partition: add ESP_PARTITION_TYPE_ANY for iterating over all partition types (Github PR)

Closes IDFGH-4783

See merge request espressif/esp-idf!13434
2021-05-17 16:19:41 +00:00
Michael (XIAO Xufeng) 6265759ca3 Merge branch 'bugfix/usb_serial_write_failed' into 'master'
usb_serial_jtag: fix the bug that cannot write with usb_jtag

See merge request espressif/esp-idf!13540
2021-05-17 12:10:59 +00:00
Mahavir Jain f339506324 bt: use generic SPIRAM config option for memory alloc policy 2021-05-17 10:43:42 +00:00
Marcel Kottmann cf4b9ef854 mbedtls: Allow external mem alloc for ESP32-S2
Closes https://github.com/espressif/esp-idf/pull/6998
Closes IDFGH-5226
2021-05-17 10:43:42 +00:00
Marius Vikhammer 01664923f6 mbedtls: fixed CMake build warning
Building mbedtls with CMake would warn that:

"A private source from a directory other than that of target "mbedcrypto
 has a relative path"

This happened due to some of the CMake variables listing sources could be empty.

Changed to only use target_sources in the code-path where we set the sources,
so we only call target_sources will non-empty variables.

Closes https://github.com/espressif/esp-idf/issues/6767
2021-05-17 17:15:38 +08:00
Angus Gratton 262ab9f4c2 Merge branch 'feature/esp32_pico_v3' into 'master'
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM

Closes IDF-1845

See merge request espressif/esp-idf!13419
2021-05-17 09:01:45 +00:00
Angus Gratton 190063a6b3 Merge branch 'bugfix/revert_freertos_min_stack_size' into 'master'
freertos: revert default stack size of idle tasks (from 2304 to 1536)

Closes IDF-2540

See merge request espressif/esp-idf!13553
2021-05-17 08:42:26 +00:00
Ivan Grokhotkov 1ca2afd982 Merge branch 'bugfix/add-MAXNAMLEN-definition' into 'master'
[newlib]add the definition of MAXNAMLEN in sys/dirent.h

Closes IDF-3219

See merge request espressif/esp-idf!13535
2021-05-17 08:03:35 +00:00
Mahavir Jain fe02ef0fed Merge branch 'feature/ota_image_size' into 'master'
esp_https_ota: Added esp_https_ota_get_image_size() to retrieve total size of OTA update

Closes IDFGH-5096

See merge request espressif/esp-idf!13496
2021-05-17 05:31:58 +00:00
Michael (XIAO Xufeng) 5ee7a58a7d Merge branch 'bugfix/spi_example_gdma' into 'master'
spi: update examples to use the new GDMA driver

See merge request espressif/esp-idf!13150
2021-05-17 03:03:24 +00:00
Michael (XIAO Xufeng) 12f42f84e7 Merge branch 'bugfix/s3_i2c_fifo_access' into 'master'
bugfix ll_hal: Access ESP32-S3 I2C FIFO using 32bits

See merge request espressif/esp-idf!13538
2021-05-17 02:49:43 +00:00
Michael (XIAO Xufeng) 8409485b22 Merge branch 'doc/fix_misleading_of_mcpwm_capture_enable_doc' into 'master'
driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters

Closes IDFGH-3000

See merge request espressif/esp-idf!13497
2021-05-16 15:15:26 +00:00
Michael (XIAO Xufeng) 2c1cc506bf Merge branch 'feature/tinyusb_error_check' into 'master'
tinyusb: use the generic error check macros

Closes IDF-3033

See merge request espressif/esp-idf!13015
2021-05-16 14:11:21 +00:00
Michael (XIAO Xufeng) 050b1660b5 Merge branch 'feature/regi2c_add_lock' into 'master'
regi2c: add a spinlock for accessing (reg)I2C devices

Closes IDF-2978

See merge request espressif/esp-idf!12957
2021-05-16 14:04:55 +00:00
Omar Chebib dda7001c25 freertos: revert minimum stack size from 2304 to 1536 2021-05-14 11:12:28 +08:00
Angus Gratton b7ad39f694 Merge branch 'bugfix/pthread_docs' into 'master'
Fix and improve pthread docs, create pthread example

Closes IDF-731 and IDFGH-5085

See merge request espressif/esp-idf!13314
2021-05-14 01:19:02 +00:00
Angus Gratton c6b2191643 pthread: Cleanups for attr init/destroy
* Zero all fields of the attr structure when initializing
* Can implement pthread_attr_destroy() by calling pthread_attr_init()
2021-05-14 10:03:11 +10:00
Angus Gratton a6dea64106 pthread: Add support for PTHREAD_COND_INITIALIZER
Includes unit test for condition variables in C (previous test was C++ only)
2021-05-14 10:03:11 +10:00
Angus Gratton e6d15a0975 docs: Rename esp_pthread docs to pthread, expand details of supported APIs
- Move the code that was in the document out to an example
2021-05-14 10:03:11 +10:00
Jiang Jiang Jian 73b95248b4 Merge branch 'bugfix/addba_pmf_issue_fix' into 'master'
Fix aggregation issue in PMF connection and validate FTM config params

Closes WIFI-3205

See merge request espressif/esp-idf!13242
2021-05-13 16:30:06 +00:00
Jiang Jiang Jian 4d83492610 Merge branch 'nimble/workaound_ble_conn_err' into 'master'
NimBLE: Add NimBLE host support to reattempt GAP connection and address MITM vulnerability  (CVE-2020-26558)

See merge request espressif/esp-idf!13536
2021-05-13 16:17:24 +00:00
Nachiket Kukade 701484667a esp_wifi: Update wifi lib
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-13 20:56:54 +05:30
Prasad Alatkar 03634ea64b NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
* Add workaround to overcome connection establishment failure error.

* Fix vulnerability during public key exchange in secure connection
2021-05-13 19:10:19 +05:30
Jiang Jiang Jian fb872f68ec Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize' into 'master'
optimize wifi station modem sleep percentage

Closes WIFI-3056

See merge request espressif/esp-idf!13534
2021-05-13 12:21:50 +00:00
Dmitry 00a7ecb5a3 Code cleanup. Bugfix after rebase with master. Formating. 2021-05-13 15:03:40 +03:00
Jiang Jiang Jian 95dfdf7680 Merge branch 'nimble/fix_broadcaster_role' into 'master'
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix

See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar 3dfcaee9bd NimBLE: Add custom logging support and fix build error for broadcaster role
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Jiang Jiang Jian 71325aaa46 Merge branch 'bugfix/invalid_feat_page_exec' into 'master'
bt controller: Fixed handling for invalid feature page.

See merge request espressif/esp-idf!13292
2021-05-13 09:02:42 +00:00
me-no-dev c31ba2b21b Change i2c_struct to force 32bit access 2021-05-13 11:26:14 +03:00
Jiang Jiang Jian 7b2f2c2a86 Merge branch 'bugfix/ag_use_dynamic_memory_error' into 'master'
Fix ag use dynamic memory error

Closes BT-1574

See merge request espressif/esp-idf!13094
2021-05-13 07:56:45 +00:00
Michael (XIAO Xufeng) 9bee350a39 Merge branch 'bugfix/sdio_slave_ret_check' into 'master'
SDIO slave: fix ignored callback return value (Github PR)

Closes IDFGH-4976

See merge request espressif/esp-idf!13436
2021-05-13 06:32:40 +00:00
Marius Vikhammer 4de9cbcf0f spi: update examples to use the new GDMA driver 2021-05-13 14:01:05 +08:00
Cao Sen Miao 8c5819dccb usb_serial_jtag: fix the bug that cannot write with usb_jtag 2021-05-13 13:40:01 +08:00
Michael (XIAO Xufeng) e941bc838c Merge branch 'feature/lcd_driver' into 'master'
esp_lcd component panel driver

Closes IDF-2933 and IDF-2934

See merge request espressif/esp-idf!12813
2021-05-13 04:29:07 +00:00
laokaiyao e66f25caf2 driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
closes https://github.com/espressif/esp-idf/issues/5032
2021-05-13 12:23:19 +08:00
Mahavir Jain 20f53bb6c5 Merge branch 'bugfix/set_password' into 'master'
esp_http_client: const corrections for esp_http_client_set_password() (GitHub PR)

Closes IDFGH-5163

See merge request espressif/esp-idf!13498
2021-05-13 04:05:34 +00:00
WangQixiang 65ec83a456 change MAXNAMLEN to 255 2021-05-13 11:56:52 +08:00