Commit Graph

17921 Commits

Author SHA1 Message Date
Jan Brudný
58f79e6b00 driver: update copyright notice 2021-05-24 01:06:17 +02:00
He Yin Ling
201018da43 Merge branch 'ci/shorter_performance_test_log' into 'master'
ci: optimize performance test log

See merge request espressif/esp-idf!13607
2021-05-21 06:48:16 +00:00
He Yin Ling
79cd45fdee Merge branch 'test/support_multiple_targets_for_iperf_example_test' into 'master'
test: support multiple targets for iperf example test

Closes TCI-656

See merge request espressif/esp-idf!13527
2021-05-21 06:43:21 +00:00
He Yin Ling
b513834ee9 Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report' into 'master'
ttfw: fix DUT exception not added to junit report

Closes IDFCI-375

See merge request espressif/esp-idf!11927
2021-05-21 02:43:29 +00:00
Angus Gratton
49ab5a61e7 Merge branch 'update_copyright_notice_security' into 'master'
asio, libsodium: update copyright notice

See merge request espressif/esp-idf!13558
2021-05-20 23:33:27 +00:00
Angus Gratton
e928d57663 Merge branch 'doc/include_bootloader_random' into 'master'
docs: Add RNG functions to API reference

See merge request espressif/esp-idf!13519
2021-05-20 09:14:55 +00:00
He Yin Ling
016a37c8ad ci: save built binaries could be tested locally:
we have some test cases not executed in CI. we need to save those
binaries as artifacts so we can test locally.
2021-05-20 16:58:39 +08:00
He Yin Ling
8cc4cd775e test: support multiple targets for iperf example test 2021-05-20 16:58:38 +08:00
He Yin Ling
8434c0c731 ttfw: fix DUT exception not added to junit report 2021-05-20 16:28:20 +08:00
Angus Gratton
535e9ea594 Merge branch 'bugfix/partition_remove_strlcpy' into 'master'
partition: Replace strlcpy() with strncpy()

See merge request espressif/esp-idf!13603
2021-05-20 07:14:11 +00:00
Angus Gratton
5c812742c6 docs: Add description for Linux getrandom() function 2021-05-20 17:08:17 +10:00
Fu Hanxi
bccaab7e6c fix(ci): fix missing [Performance] prefix in junit report 2021-05-20 14:13:54 +08:00
Fu Hanxi
4304866780 ci: shorter performance test log 2021-05-20 14:13:54 +08:00
Michael (XIAO Xufeng)
2e4d3ad880 Merge branch 'feature/bringup_esp32s3beta_cmake_sdmmc' into 'master'
esp32s3: add sdmmc support

Closes IDF-1569

See merge request espressif/esp-idf!8304
2021-05-20 04:22:11 +00:00
Angus Gratton
eecf70efd0 partition: Replace strlcpy() with strncpy()
Regression in ede477ea65 for host tests only - ESP-IDF supports
strlcpy() but strlcpy & strlcat are currently no-ops in the host
tests (to avoid libbsd dependency).
2021-05-20 09:51:29 +10:00
Michael (XIAO Xufeng)
d6680b689b Merge branch 'feature/s3beta3_crypto_bringup' into 'master'
crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc

Closes IDF-3004

See merge request espressif/esp-idf!12960
2021-05-19 11:22:05 +00:00
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
e14edecf5f docs: Add random number generation to the API Reference System section 2021-05-18 16:05:42 +10:00
Marius Vikhammer
9b4ba3d707 crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc 2021-05-18 11:25:41 +08: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
Jan Brudný
e20826cc7f libsodium: update copyright notice 2021-05-17 02:58:32 +02:00
Jan Brudný
2d0895e9a9 asio: update copyright notice 2021-05-17 02:56:33 +02: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