Commit Graph

17854 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Michael (XIAO Xufeng)
b722b8e4ec Merge branch 'feature/LEDC_support_invert_channel_output' into 'master'
LEDC: Support invert channel output

Closes IDF-2869

See merge request espressif/esp-idf!13310
2021-05-13 03:55:50 +00:00
Omar Chebib
dd8843fec3 regi2c: add a spinlock for accessing (reg)I2C devices
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-05-13 11:55:41 +08:00
Jiang Jiang Jian
3c30e688c4 Merge branch 'feature/support_auto_adjust_voltage_storingInEfuse_openGlitchRst' into 'master'
ESP32C3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3

See merge request espressif/esp-idf!13395
2021-05-13 03:49:59 +00:00
Krzysztof Budzynski
cc22768863 Merge branch 'docs/remove_c3_not_updated_warning' into 'master'
docs: remove front page C3 docs not updated warning

See merge request espressif/esp-idf!13442
2021-05-13 02:25:38 +00:00
Marius Vikhammer
fd477fa60e docs: remove front page C3 docs not updated warning 2021-05-13 09:58:20 +08:00
Angus Gratton
3ce98690e6 Merge branch 'bugfix/stdatomic_64bit' into 'master'
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs

Closes IDFGH-703

See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Ivan Grokhotkov
67b0e0389f Merge branch 'bugfix/hid_stack_size' into 'master'
esp_hid: allow setting stack size for the event task, increase stack size in the example (Github PR)

Closes IDFGH-4568 and IDFGH-4563

See merge request espressif/esp-idf!13438
2021-05-12 18:52:42 +00:00
Jiang Jiang Jian
7986c970b6 Merge branch 'bugfix/concurrent_mode_sae_crash_fix' into 'master'
esp_wifi: Add station based check for auth frame formation

See merge request espressif/esp-idf!13525
2021-05-12 14:24:15 +00:00
morris
e10202a608 lcd: add esp_lcd component
* Support intel 8080 LCD panel IO on ESP32-S3
* Support RGB LCD panel on ESP32-S3
* Support SPI && I2C LCD panel IO on all esp chips
2021-05-12 17:53:32 +08:00
morris
270ed70f3e gdma: support reset dma fifo at runtime 2021-05-12 17:10:37 +08:00
morris
a20a51316c async_memcpy: test copy with same buffer address 2021-05-12 17:10:37 +08:00
Li Shuai
7fbf7a0d17 modem sleep: optimize wifi station modem sleep percentage 2021-05-12 17:00:01 +08:00
Krzysztof Budzynski
83445ba63e Merge branch 'bugfix/docs_c3_jtag' into 'master'
docs: Improve the ESP32-C3 JTAG guide

Closes IDF-3108 and IDF-3107

See merge request espressif/esp-idf!13508
2021-05-12 06:51:17 +00:00
Jiang Jiang Jian
266a5e48f7 Merge branch 'bugfix/fix_c3_s3_ble_multi_con_failed_when_dev_act_master_and_slave' into 'master'
Fixed C3/S3 BLE multi-connection failed when device acts as master and slave

Closes BT-1630

See merge request espressif/esp-idf!13506
2021-05-12 03:32:43 +00:00
Kapil Gupta
f3c55dbecd esp_wifi: Add station based check for auth frame formation 2021-05-11 16:35:42 +05:30
Roland Dobai
c68781c269 docs: Generate JTAG debugging guide based on feature instead of chip
It is better to check feature SOC_USB_SERIAL_JTAG_SUPPORTED which will
support other chip targets beside ESP32-C3.
2021-05-11 11:01:53 +02:00
Roland Dobai
826e9674d8 docs: Suggest how to use JTAG for ESP32-C3 on Windows 2021-05-11 11:01:53 +02:00
Chinmay Chhajed
ce4743d9d3 bt controller: Fixed handling for invalid feature page. 2021-05-11 09:00:37 +00:00
Mahavir Jain
aefaf9b7cf Merge branch 'bugfix/protocomm_out_of_bound_read' into 'master'
protocomm_console.c: Fix out of bound read in protocomm_console_task and define line_buf size

See merge request espressif/esp-idf!13344
2021-05-11 07:54:00 +00:00
David Čermák
af2881fc0d Merge branch 'bugfix/tcp_transport_NULL_dereference' into 'master'
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL

Closes IDFGH-5201

See merge request espressif/esp-idf!13457
2021-05-11 04:58:46 +00:00
kewal shah
b8dfb27141 protocomm_console.c: Fix out of bound read in protocomm_console_task and define line_buf size 2021-05-11 04:00:47 +00:00
laokaiyao
48c848a895 driver/ledc: support invert channel output 2021-05-11 11:54:16 +08:00
Mahavir Jain
74f9ce437f Merge branch 'bugfix/prov_docs_sample_code' into 'master'
docs: Change ESP_ERR_CHECK to ESP_ERROR_CHECK in provisioning examples

Closes IDFGH-5222 and IDFGH-5221

See merge request espressif/esp-idf!13491
2021-05-11 03:14:06 +00:00
Angus Gratton
3f0851a22c Merge branch 'doc/esp_random' into 'master'
esp_hw_support: Clarify the documentation about hardware RNG entropy

Closes IDF-73

See merge request espressif/esp-idf!13454
2021-05-11 01:37:37 +00:00
Angus Gratton
3193f08b2f Merge branch 'feature/esp32s3_efuse_update' into 'master'
efuse/esp32s3: Update efuse table

Closes IDF-3080

See merge request espressif/esp-idf!13420
2021-05-11 01:34:46 +00:00
Ivan Grokhotkov
1248ddaf3c ci: add component_ut_test_{esp32s2,esp32c3} jobs 2021-05-10 21:23:04 +02:00
Ivan Grokhotkov
2c6f9c4d50 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'

See merge request espressif/esp-idf!11377
2021-05-10 16:20:14 +00:00
Ivan Grokhotkov
6f8e0d9d55 test: add test app for stdatomic functions 2021-05-10 18:13:36 +02:00
Ivan Grokhotkov
742102079a newlib: stdatomic: emulate 64-bit atomics on 32-bit SMP SoCs
Closes https://github.com/espressif/esp-idf/issues/3163
2021-05-10 18:13:36 +02:00
Ivan Grokhotkov
32fcd4f02a newlib: stdatomic: fix prototypes, don't disable compiler warnings 2021-05-10 18:13:35 +02:00
Ivan Grokhotkov
1fb58684a2 unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups 2021-05-10 18:13:35 +02:00
Ivan Grokhotkov
71f711976d unity: add option to enable 64-bit formatting support
This option is not enabled by default because many existing tests
use integer assertions to check the pointers:

   TEST_ASSERT_EQUAL(NULL, pointer)

This causes a "cast from pointer to integer of different size"
(-Wpointer-to-int-cast) warning to be generated, as Unity converts
every argument to UNITY_UINT first, and with 64-bit support enabled,
UNITY_UINT becomes a 64-bit unsigned type.
2021-05-10 18:13:35 +02:00