Commit Graph

18748 Commits

Author SHA1 Message Date
WangQixiang
c9c8633cba add the definition of MAXNAMLEN in sys/dirent.h 2021-05-12 16:07:19 +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
Dmitry
f8197c2446 Fix problem with panic handler with gdbstubs. 2021-05-11 16:09:32 +03:00
Dmitry
a16ae6c737 IDF monitor update 2021-05-11 16:08:44 +03:00
Dmitry
c6e3eb0922 idf.py.exe changes to handle Ctrl+C in correct way.
Handling Ctrl+C in correct way for gdbstubs.
2021-05-11 16:04:44 +03:00
Dmitry
7bb91f912c gdbstub component 2021-05-11 15:55:39 +03: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
Tomas Sebestik
396acc5b31 Change logic for MYPY checker 2021-05-11 08:45:14 +02: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
0xFEEDC0DE64
c73a17cc27 esp_https_ota: Added esp_https_ota_get_image_size() to retrieve total size of OTA update
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Closes: https://github.com/espressif/esp-idf/pull/6880
2021-05-11 10:13:02 +05:30
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
47685f901d examples: sdmmc: set slot width and pins explicitly
... and prefer SDMMC_SLOT_FLAG_INTERNAL_PULLUP over explicitly setting
pullups on pins.
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
2c8f413059 driver: sdmmc: add esp32s3 support
* Extend sdmmc_slot_config_t with GPIO pin numbers for all SD bus
  signals. These new fields are available if SOC_SDMMC_USE_GPIO_MATRIX
  is set.
* Add shorter "sd" and "wp" aliases for "gpio_sd" and "gpio_wp" field
  names in sdmmc_slot_config_t.
* Deprecate sdmmc_host_pullup_en, prefer to enable this feature using
  SDMMC_SLOT_FLAG_INTERNAL_PULLUP instead.
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
17c65dad27 soc: add esp32s3 sdmmc support
* sync the latest struct header file from ESP32
* add soc_caps.h macros to distinguish between IO MUX and GPIO Matrix
  support in SDMMC on different chips.
* store GPIO matrix signal numbers in sdmmc_slot_info_t
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
bd3a6dda87 soc: esp32s2: remove SDMMC header files
no SDMMC peripheral in this chip
2021-05-10 23:21:27 +02: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
zwj
22f429f5bc fix C3/S3 ble multi-connection failed when device acts as master and slave 2021-05-10 21:06:44 +08:00
Mahavir Jain
fae335dc68 Merge branch 'update_copyright_notice_app_update' into 'master'
app_update: update copyright notice

See merge request espressif/esp-idf!13493
2021-05-10 08:13:40 +00:00
Mahavir Jain
59baa25946 Merge branch 'bugfix/example_http_client_buffer_overrun' into 'master'
examples/esp_http_client: `output_buffer` isn't necessarily NUL-terminated (GitHub PR)

Closes IDFGH-5150

See merge request espressif/esp-idf!13490
2021-05-10 07:36:24 +00:00
0xFEEDC0DE64
0f3ad80a99 const corrections for esp_http_client_set_password()
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Closes: https://github.com/espressif/esp-idf/pull/6941
2021-05-10 13:03:09 +05:30
David Čermák
2e4d5d8765 Merge branch 'feature/add_eth_lost_ip_event' into 'master'
event: Add IP_EVENT_ETH_LOST_IP event

Closes IDFGH-5198

See merge request espressif/esp-idf!13466
2021-05-10 07:27:16 +00:00
Akihiro YAMAZAKI
24225e5c16 examples/esp_http_client: output_buffer isn't necessarily NUL-terminated
Closes https://github.com/espressif/esp-idf/pull/6927
Closes IDFGH-5150
2021-05-10 05:45:59 +00:00
xiongweichao
d38a91ee95 Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions 2021-05-10 11:11:02 +08:00
Jan Brudný
a2686dc4eb bootloader: update copyright notice 2021-05-10 04:58:34 +02:00
xiongweichao
be6b25b9d9 fix ag use dynamic memory error 2021-05-10 10:56:46 +08:00
Jan Brudný
b3e37696ba app_update: update copyright notice 2021-05-10 03:48:25 +02:00
Alex Henrie
22964d2065 docs: Change ESP_ERR_CHECK to ESP_ERROR_CHECK in provisioning examples
Closes IDFGH-5222
Closes IDFGH-5221
Closes https://github.com/espressif/esp-idf/pull/6995
Closes https://github.com/espressif/esp-idf/issues/6994
2021-05-09 16:18:50 +05:30
chaijie
eea76d14bb ESP32C3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3
1. add some efuse api to get rtc & digital voltage
2. set dig_rtc voltage to a fix value storing in efuse no mater which cpu frequency
3. modify hardware code in bootloader to fit all c3 ECO3 version
2021-05-08 17:56:54 +08:00
Jiang Jiang Jian
9afd57057d Merge branch 'bugfix/add_sniffer_fcs_filter' into 'master'
example: Add sniffer FCSFAIL filter

Closes IDFGH-4661

See merge request espressif/esp-idf!12249
2021-05-08 07:31:51 +00:00
Michael (XIAO Xufeng)
25ac5918da Merge branch 'bugfix/fix_touch_sensor_power_source' into 'master'
touch_sensor: fix esp32s2&esp32s3 touch sensor default power source

See merge request espressif/esp-idf!12987
2021-05-08 04:41:59 +00:00
Kang Zuoling
8887133d0c touch_sensor: fix esp32s2 touch sensor default power source 2021-05-08 11:09:17 +08:00
Angus Gratton
84f2f2932d Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on

Closes IDFGH-5089

See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
David Čermák
b1b7910715 Merge branch 'bugfix/lwip_config_dhcp_client_id' into 'master'
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue

Closes IDFGH-5139

See merge request espressif/esp-idf!13430
2021-05-07 19:24:32 +00:00
David Čermák
c798906f4a Merge branch 'feature/esp_netif_destroy_default_wifi' into 'master'
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap

See merge request espressif/esp-idf!12307
2021-05-07 16:49:03 +00:00
Island
d2669c373b Merge branch 'bugfix/generate_value_0_when_prov_auth' into 'master'
ble_mesh: stack: Fix provisioning input or output count number should be at least 1

Closes IDFGH-5079

See merge request espressif/esp-idf!13237
2021-05-07 13:45:11 +00:00