Commit Graph

17862 Commits

Author SHA1 Message Date
Sachin Parekh
46dc36233a coredump: Parse backtrace info for RISCV
For RISCV, backtrace generation on device is not possible without
including and parsing DWARF sections. We extract the crash task stack
and let the host generate the backtrace
2021-05-17 11:43:25 +05:30
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
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
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
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
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
me-no-dev
0d0e2851f3 Access ESP32-S3 I2C FIFO using 32bits
I2C FIFO on ESP32-S3 (and others) MUST be read/written 32bits at a time.
2021-05-12 20:12:23 +03: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