Angus Gratton
e305f29382
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
...
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
2021-05-20 19:53:00 +10:00
yuanjm
7256cfe5a4
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
...
Closes https://github.com/espressif/esp-idf/issues/6935
2021-05-20 09:45:17 +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
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
Axel Lin
5209af379a
esp-netif: Improve esp_netif_is_netif_listed and esp_netif_get_handle_from_ifkey
...
Each esp_netif_next_unsafe() call needs to iterate the s_head list.
It is inefficient with a do-while loop + esp_netif_next_unsafe() call.
Use SLIST_FOREACH instead to simplify the code and speed-up the matching.
While at it, also fix returning NULL from esp_netif_is_netif_listed().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-20 13:51:22 +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
daiziyan
611ecc619b
docs:translate chip series comparison table and update adc_types.h
2021-05-19 16:25:27 +08: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
Suren Gabrielyan
53c18a85db
Docs: Added README.md for lwip fuzzer tests
...
Closes IDFCI-540
2021-05-18 17:52:07 +04:00
Li Shuai
2bacd7abe2
fix wifi mac sleep bug when wifi is initialized multiple times
2021-05-18 20:03:09 +08: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
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
morris
0c25793b06
esp_eth: restart negotiation in esp_eth_start
2021-05-18 11:16:32 +08:00
morris
83f2d802ce
esp_eth: fix default PHY reset gpio
...
Closes https://github.com/espressif/esp-idf/issues/7034
2021-05-18 11:16:05 +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
Jiacheng Guo
71be904cf1
openthread: add lwIP network interface
...
This allows the applications to use the socket and raw api in lwIP to
send packets via OpenThread.
2021-05-17 17:18:20 +08: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
baohongde
721a0c3415
components/bt: Delete BLE ADV priority high
2021-05-17 17:07:14 +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
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
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)
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ý
71170dd5bc
cxx: update copyright notice
2021-05-17 03:43:02 +02:00
Jan Brudný
28a94328d4
console: update copyright notice
2021-05-17 03:41:32 +02: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
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
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
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
bizhuangyang
31cdeb538d
ledc: apply general check macro
...
Standardize LEDC_CHECK() and LEDC_ARG_CHECK() in ledc.c to ESP_RETURN_ON_FALSE() in esp_check.h.
2021-05-13 16:57:16 +08: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
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
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
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
WangQixiang
c9c8633cba
add the definition of MAXNAMLEN in sys/dirent.h
2021-05-12 16:07:19 +08: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
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
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
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
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
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
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
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
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
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
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
David Cermak
49022e99f5
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-05-07 14:11:51 +02:00
David Cermak
c4870f4d9e
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
...
Partially addresses https://github.com/espressif/esp-idf/issues/6950
2021-05-07 11:56:41 +00:00
Melissa LeBlanc-Williams
33e8d1e0b0
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly
...
Merges https://github.com/espressif/esp-idf/pull/6848
2021-05-07 18:03:38 +08:00
Angus Gratton
42c7dfadad
Merge branch 'bugfix/riscv_ulp_linker_script_reset_vector' into 'master'
...
Fix RISC-V ULP failure to start
See merge request espressif/esp-idf!13431
2021-05-07 08:18:24 +00:00
Mahavir Jain
5aa6e4196c
Merge branch 'feature/support_api_set_http_timeout' into 'master'
...
esp_http_client: Add API to set http client timeout value
Closes IDFGH-5211
See merge request espressif/esp-idf!13446
2021-05-07 04:46:40 +00:00
Jiang Jiang Jian
424d1f6813
Merge branch 'feature/crypto_porting' into 'master'
...
wpa_supplicant: Rewrite Crypto APIs based on MbedTLS
Closes WIFI-1393 and WIFI-1555
See merge request espressif/esp-idf!10473
2021-05-07 03:46:24 +00:00
yuanjm
922992b519
event: Add IP_EVENT_ETH_LOST_IP event
...
Closes https://github.com/espressif/esp-idf/issues/6971
2021-05-07 11:36:13 +08:00
Michael (XIAO Xufeng)
3d7211e2a0
Merge branch 'bugfix/freemodbus_change_max_task_prio' into 'master'
...
freemodbus: increase max priority of modbus tasks
See merge request espressif/esp-idf!11246
2021-05-06 16:54:32 +00:00
Michael (XIAO Xufeng)
758238a8a1
Merge branch 'bugfix/separate_gdma_tx_rx_interrupt' into 'master'
...
gdma: separate tx/rx channel interrupt
Closes IDF-3181
See merge request espressif/esp-idf!13367
2021-05-06 16:38:44 +00:00
Ivan Grokhotkov
f67f7d6774
Merge branch 'bugfix/adc_channel_comment_typo' into 'master'
...
adc: fix typos in comments (Github PR)
Closes IDFGH-4774
See merge request espressif/esp-idf!13437
2021-05-06 11:49:58 +00:00
Ivan Grokhotkov
acd06daf39
Merge branch 'bugfix/spiram_h_header_guards' into 'master'
...
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)
Closes IDFGH-4861
See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Ivan Grokhotkov
3717a318f6
Merge branch 'bugfix/gpio_isr_doc' into 'master'
...
gpio_isr_register(): Correct order of arguments in docs (Github PR)
Closes IDFGH-1780
See merge request espressif/esp-idf!13439
2021-05-06 11:49:34 +00:00
Michael (XIAO Xufeng)
3f2f80effc
Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
...
soc/hal/tinyusb: add tinyusb support esp32s3
Closes IDF-2692
See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn
ea6710ce98
soc/hal: add tinyusb support esp32s3
...
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Angus Gratton
61c941781c
Merge branch 'bugfix/pthread_join_debug_log' into 'master'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level
Closes IDF-2861
See merge request espressif/esp-idf!13429
2021-05-06 07:10:32 +00:00
morris
6e981af406
gdma: separate tx/rx channel interrupt
2021-05-06 15:06:37 +08:00
Angus Gratton
4d4e094d81
esp_hw_support: Clarify the documentation about hardware RNG entropy
2021-05-06 16:59:02 +10:00
wangjialiang
a5e12d9b63
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-06 06:49:04 +00:00
aleks
59935e44c0
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-06 14:32:40 +08:00
Armando
b2409b1d34
essl: remove chip related comments in essl.h
2021-05-06 14:03:05 +08:00
Michael (XIAO Xufeng)
58490418ad
Merge branch 'feature/merge_c3_caps' into 'master'
...
soc: merge C3 caps into a single soc_caps.h
See merge request espressif/esp-idf!13337
2021-05-06 05:56:42 +00:00
yuanjm
754ec7b278
esp_http_client: Add API to set http client timeout value
...
Closes https://github.com/espressif/esp-idf/issues/6984
2021-05-06 13:55:12 +08:00
Angus Gratton
52b555e1e0
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-06 09:25:32 +10:00
Angus Gratton
3ee4370578
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-06 09:25:32 +10:00
Ivan Grokhotkov
d7f219686f
Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
...
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations
Closes IDFGH-4925
See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
Martin Thierer
75e0c6aaf5
gpio_isr_register(): Correct order of arguments in docs
...
Make documentation order consistent with function signature.
Merges https://github.com/espressif/esp-idf/pull/3999
2021-05-05 15:56:26 +02:00
Layne Bernardo
d1c8c268d4
Add event_stack_size option to esp_hidh_config_t
...
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
Christian Winkler
13abf1ed2e
Fix adc-channel typo
...
Merges https://github.com/espressif/esp-idf/pull/6577
2021-05-05 15:40:35 +02:00
Dániel Buga
c8b697a114
Fix ignored return value.
...
sdio_ringbuf_send ignores the return value of the callback.
Merges https://github.com/espressif/esp-idf/pull/6768
2021-05-05 15:34:24 +02:00
Ivan Grokhotkov
2887c88f56
spiram: add header guards to esp32s3/spiram.h and remove the exception
2021-05-05 15:27:19 +02:00
Takao Akaki
897496dd73
Can't use spiram.h functions when building with cpp.
...
Merges https://github.com/espressif/esp-idf/pull/6658
2021-05-05 15:23:35 +02:00
Ivan Grokhotkov
f92e1c45ae
esp_partition: add test, docs for ESP_PARTITION_TYPE_ANY
2021-05-05 15:11:29 +02:00
0xFEEDC0DE64
1f419bd983
Allow to find any partition type (app and data) with iterator
...
Merges https://github.com/espressif/esp-idf/pull/6586
2021-05-05 14:54:07 +02:00
KonstantinKondrashov
ca481e18e1
bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
...
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-05-05 11:53:57 +00:00
KonstantinKondrashov
d9be32629e
bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
...
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.
Closes https://github.com/espressif/esp-idf/issues/6873
2021-05-05 11:53:57 +00:00
Angus Gratton
bf1a6eb770
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-05 14:12:13 +10:00
kapil.gupta
ad7cb5f5c1
wpa_supplicant: Write Crypto API based on mbedtls
...
This commit add following crypto changes
1. Update current crypto code with upstream supplicant code
2. Add a proper porting layer to use mbedtls APIs for all the crypto
operations used by supplicant.
Internal crypto will be used when USE_MBEDLTS flag is disabled
in supplicant's menuconfig.
This commit also removes the clutter in crypto files due to partial
porting of some APIs to mbedtls, all the code from those files have
been removed and rewritten in a generic way, this is inspired from
current upstream code.
This also reduces the lib size significantly, supplicant's lib
size reduces around ~567kb after this change(NB: lib size doesn't
indicate reduction in final bin size).
2021-05-04 10:54:57 +00:00
Angus Gratton
e02439f2de
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 16:55:40 +10:00
Angus Gratton
b41d4b0a9c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 16:55:20 +10:00
KonstantinKondrashov
9490d78f49
efuse/esp32s3: Update efuse table
2021-05-04 14:40:15 +08:00
David Čermák
94f08291ee
Merge branch 'bugfix/esp_eth_mac_openeth_c' into 'master'
...
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
Closes IDFGH-5158
See merge request espressif/esp-idf!13343
2021-05-04 04:56:46 +00:00
KonstantinKondrashov
f35356f69d
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
2021-05-04 10:49:25 +08:00
Ivan Grokhotkov
da59a29be6
Merge branch 'update_copyright_notice_app_trace' into 'master'
...
app_trace: update copyright notice
See merge request espressif/esp-idf!13415
2021-05-03 12:00:53 +00:00
Ivan Grokhotkov
0bd9f6fe12
tools: spiffsgen: fix length error, add test case
2021-05-03 11:37:42 +02:00
Ivan Grokhotkov
952c9a2d05
Merge branch 'feature/esptool_wrapper' into 'master'
...
tools: Support external Esptool wrappers
Closes IDFGH-5095
See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
c88287851d
Merge branch 'feature/raise_log_level' into 'master'
...
feature: Set maximum log level, add startup time example
Closes IDFGH-3599 and IDFGH-333
See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Axel Lin
aa333d4ab9
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
...
Add missing NULL test for esp_transport_init() call.
Otherwise, it will hit NULL pointer dereference when assign t->_get_socket.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-03 15:46:59 +08:00
Wang Meng Yang
f471fc2262
Merge branch 'feature/add_esp32c3_hci_uart_example' into 'master'
...
Bluetooth: add hci uart example to ESP32-C3
See merge request espressif/esp-idf!13302
2021-05-03 02:46:54 +00:00
Jan Brudný
2a3c570abd
app_trace: update copyright notice
2021-05-03 04:39:23 +02:00
Michael (XIAO Xufeng)
1f95403596
Merge branch 'feature/emmc_doc_ut_4bit_sdr' into 'master'
...
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
See merge request espressif/esp-idf!13334
2021-05-02 13:58:13 +00:00
Ivan Grokhotkov
9af485307e
tools: spiffsgen.py: minor lint fixes
...
Not squashing these since they should have gone into the commit before
adding type hints.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
a9b81341ca
tools: spiffsgen.py: make default arguments meaningful
...
Without this, defaults of inverse options (--no-magic-len) were based
on the 'dest' value. In this case, dest='use_magic_len’, and the
default value is True. Which is confusing, because both
—use-magic-len and --no-magic-len show the same default value.
This adds a custom help formatter class which doesn’t add default
to the option help text if the help string already includes it.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
9f20eeb1c0
tools: spiffsgen.py: add type annotations
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
930ee51b8f
tools: spiffsgen.py: avoid reallocating byte array for each new block
...
On large filesystems (~15 MB), this reduces execution time from
11s to 0.3s.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
ad1606ae1d
tools: spiffsgen.py: esp8266 compatibility options
...
1. Implement --aligned-obj-ix-tables which is used by default on the
ESP8266 in NodeMCU and Arduino.
2. Introduce --no-magic and --no-magic-len to allow disabling options
--use-magic-len and --use-magic. As these have been declared with
default=True and action='store_true', they couldn't be disabled
otherwise.
Closes https://github.com/espressif/esp-idf/issues/6717
2021-04-30 18:07:48 +02:00
wangmengyang
59c0825ed8
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2021-04-30 15:25:10 +00:00
Jiang Jiang Jian
73adacb7d4
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init' into 'master'
...
esp_wifi: fix nolightsleep after wifi init
See merge request espressif/esp-idf!13404
2021-04-30 04:52:39 +00:00
Jiang Jiang Jian
efb9f87951
Merge branch 'bugfix/fix_728_series_reboot_failure' into 'master'
...
[system]: Fix two (re)boot failure issues on ESP32S3Beta
Closes WIFI-3548, WIFI-3559, and IDF-3170
See merge request espressif/esp-idf!13268
2021-04-30 03:20:47 +00:00
Ivan Grokhotkov
4faba8aecf
Merge branch 'bugfix/monitor_args' into 'master'
...
tools: Fix Cmake arguments for IDF Monitor
Closes IDFGH-5169
See merge request espressif/esp-idf!13383
2021-04-29 15:30:32 +00:00
Jiang Jiang Jian
97136cc512
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt' into 'master'
...
optimize deep sleep current in wifi softap mode
Closes WIFI-3594
See merge request espressif/esp-idf!13349
2021-04-29 14:49:45 +00:00
ninh
f1ee8aa14f
esp_wifi: fix nolightsleep after wifi init
2021-04-29 18:50:28 +08:00
ninh
91dbae3eb5
esp_pm: allow dfs to swith down alltime if no lightsleep
2021-04-29 18:41:00 +08:00
Ivan Grokhotkov
0a0234193f
Merge branch 'bugfix/place_xt_int_fns_into_iram' into 'master'
...
[system]: Place xtensa_intr_asm into IRAM
See merge request espressif/esp-idf!13330
2021-04-29 08:52:30 +00:00
Martin Babutzka
6faf4941cc
tools: Support external Esptool wrappers
...
Implements https://github.com/jimparis/esptool-ftdi/issues/3
Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Michael (XIAO Xufeng)
76fbb689fd
Merge branch 'bugfix/remove_uart2_c3' into 'master'
...
uart: remove misleading ld files and soc defs for UART2
See merge request espressif/esp-idf!13340
2021-04-29 05:18:25 +00:00
Jiang Jiang Jian
6dc36d09df
Merge branch 'bugfix/interrupt_watchdog_on_reset' into 'master'
...
Bugfix/interrupt watchdog on reset
See merge request espressif/esp-idf!13384
2021-04-29 04:35:08 +00:00
Michael (XIAO Xufeng)
859f7e3664
Merge branch 'feature/support_eon_flash_qaud_mode_esp_flash' into 'master'
...
esp_flash: support override default chip driver list
Closes IDF-2907
See merge request espressif/esp-idf!12565
2021-04-29 04:03:56 +00:00
wuzhenghui
fa8389da00
remove othercore cache disable
2021-04-29 03:10:47 +00:00
wuzhenghui
57d43d1bc5
fix 728 series reboot failure
2021-04-29 03:10:47 +00:00
Li Shuai
344ec80fad
optimize deep sleep current in wifi softap mode
2021-04-28 14:03:02 +00:00
wangmengyang
666a73d79c
components/bt: bug-fixes in BLE controller and BLE baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00:00
Nachiket Kukade
15499e3cc1
esp_wifi: Update wifi lib
...
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
Roland Dobai
3a948c1455
tools: Fix Cmake arguments for IDF Monitor
...
SERIAL_TOOL_ARGS is post-processed with the spaces2list cmake function.
Therefore, it should be a list of arguments because spaces are replaced
with semicolons.
Regression of b77addea2f
and
c425ac7bed
.
Closes https://github.com/espressif/esp-idf/issues/6946
2021-04-28 12:07:40 +02:00
Jeroen Domburg
644f430a31
Merge branch 'feature/esp32c3_usbjtagserial_console' into 'master'
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-04-28 08:38:31 +00:00
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08:00
Michael (XIAO Xufeng)
41937a9f97
Merge branch 'feature/support_spi_on_727' into 'master'
...
spi: support spi on 727
Closes IDF-3178
See merge request espressif/esp-idf!13346
2021-04-28 08:16:15 +00:00
Marius Vikhammer
504a1e6102
soc: merge C3 caps into a single soc_caps.h
2021-04-28 14:42:35 +08:00
shenjun
8b3e090533
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-04-28 02:46:34 +08:00
Jiang Jiang Jian
184b977707
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop' into 'master'
...
esp_wifi: Fix setting channel error after WiFi stop
Closes WIFI-3634
See merge request espressif/esp-idf!13253
2021-04-27 15:42:30 +00:00
Michael (XIAO Xufeng)
3ed5d97771
Merge branch 'bugfix/fix_touch_sensor_measure_start_wait_time' into 'master'
...
Bugfix(Touch): fix the touch sensor wait cycle after wakeup from sleep
See merge request espressif/esp-idf!13116
2021-04-27 12:50:06 +00:00
xiehang
adb15e4a5d
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-04-27 20:06:42 +08:00
Michael (XIAO Xufeng)
a0d13a31ec
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-27 17:40:19 +08:00
Ivan Grokhotkov
f86a6db1f2
Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
...
feature: espcoredump py riscv support
Closes IDF-2638 and IDF-2715
See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Ivan Grokhotkov
9d34a1cd42
Merge branch 'bugfix/optimise_esp_timer_get_time' into 'master'
...
systimer: optimise esp_timer_get_time
See merge request espressif/esp-idf!13335
2021-04-27 08:52:09 +00:00
Shu Chen
85565b8274
Merge branch 'feature/openthread_support_microsecond_timer' into 'master'
...
openthread: support microsecond timer
See merge request espressif/esp-idf!13353
2021-04-27 08:08:19 +00:00
Ivan Grokhotkov
86b19d60d3
Merge branch 'newlib/no_atomic_support' into 'master'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
Closes IDFGH-4649
See merge request espressif/esp-idf!13294
2021-04-27 07:59:01 +00:00
zhangwenxu
ea836abe50
openthread: support microsecond timer
2021-04-27 11:52:36 +08:00
Armando
831b6127d7
spi: update interrupt set in spi_ll.h
2021-04-27 11:11:00 +08:00
Armando
b53a68bf70
spi: update spi_struct and spi_reg to 727
2021-04-27 11:11:00 +08:00
Michael (XIAO Xufeng)
fb1fd26caf
Merge branch 'refactor/gdma_check_macro' into 'master'
...
gdma: replaced DMA_CHECK by ESP_GOTO_ON_FALSE
Closes IDF-3131
See merge request espressif/esp-idf!13208
2021-04-27 03:07:01 +00:00
Fu Hanxi
b972631658
feat(coredump): add esp32s2 and esp32c3 support
2021-04-26 20:44:23 +08:00
Fu Hanxi
d94423c1cf
fix(coredump): pr_status pid padding should be uint16
2021-04-26 20:44:23 +08:00
Jiang Jiang Jian
eccdf88712
Merge branch 'bugfix/gtk_reinstallation_fix_1' into 'master'
...
wpa_supplicant: Clean gtk after disconnect
See merge request espressif/esp-idf!13285
2021-04-26 11:35:25 +00:00
Jon Shallow
154ad2e0e1
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
...
Merges https://github.com/espressif/esp-idf/pull/6936
2021-04-26 08:40:07 +00:00
Michael (XIAO Xufeng)
26585b4b4b
esp_flash: support override default chip driver list
2021-04-26 16:05:42 +08:00
Ivan Grokhotkov
e77a91df7f
Merge branch 'doc/ulp_st_bits' into 'master'
...
ulp: update ST instruction description (Github PR)
Closes IDFGH-3224
See merge request espressif/esp-idf!13159
2021-04-26 07:15:15 +00:00
Michael (XIAO Xufeng)
7defd291a4
Merge branch 'feature/refactoring_flash_encryption_to_new_api' into 'master'
...
spi_flash: refactoring flash encryption implementations into new api
Closes IDFGH-4493, IDFGH-4423, and IDF-657
See merge request espressif/esp-idf!12569
2021-04-26 06:34:48 +00:00
Michael (XIAO Xufeng)
546be98e0f
Merge branch 'ci/add_flash_performance_info' into 'master'
...
ci: Add more information for flash performance test
Closes IDF-2739
See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Jiang Jiang Jian
1312815be2
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update' into 'master'
...
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
See merge request espressif/esp-idf!13324
2021-04-26 04:43:55 +00:00
Jakob Hasse
be55a5eb2b
[system]: put xtensa_intr_asm into IRAM
2021-04-26 12:11:20 +08:00
Michael (XIAO Xufeng)
835a652a63
Merge branch 'feature/usb_hcd_uses_irp_directly' into 'master'
...
USB HCD uses IRPs directly
Closes IDF-2937
See merge request espressif/esp-idf!12646
2021-04-26 03:57:23 +00:00
morris
988c88a6b1
systimer: optimise esp_timer_get_time
2021-04-26 11:54:02 +08:00
xiehang
ce5a25abac
esp_wifi: Fix setting channel error after WiFi stop
2021-04-26 11:32:59 +08:00
Michael (XIAO Xufeng)
cfa4beb661
test_sd: merge emmc SDR/DDR test cases of 4-bit mode
2021-04-26 09:55:39 +08:00
Darian Leung
738af3fd38
USB HCD uses IRPs directly for transfer
...
This commit updates the HCD so that transfer requests are no longer used.
The USB IRP object is updated so that the it can be directly passed to the HCD
to start a transfer. HCD API, tests, and documentation updated accordingly.
2021-04-25 21:52:07 +08:00
Jiang Jiang Jian
3f7b637a15
Merge branch 'bugfix/update_esp32c3_phy_init_data' into 'master'
...
esp_wifi: update esp32c3 phy init data
See merge request espressif/esp-idf!13282
2021-04-25 13:23:13 +00:00
zwj
3c06fea8a1
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
2021-04-25 20:18:21 +08:00
Michael (XIAO Xufeng)
02970813b8
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
2021-04-25 18:34:37 +08:00
Cao Sen Miao
2059990c94
ci: Add more information for flash performance test
2021-04-25 17:59:10 +08:00
Cao Sen Miao
0d81edb174
spi_flash: refactoring flash encryption into new api
2021-04-25 17:09:25 +08:00
Shu Chen
00a66083c7
Merge branch 'roll-openthread-210416' into 'master'
...
openthread: update openthread submodule
See merge request espressif/esp-idf!13166
2021-04-25 02:18:03 +00:00
Angus Gratton
f2d193a7c3
Merge branch 'bugfix/esp32c3_eco3_efuse_programming' into 'master'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
See merge request espressif/esp-idf!13295
2021-04-23 22:30:41 +00:00
David Čermák
4dc024422c
Merge branch 'feature/lwip-route-hook' into 'master'
...
lw-ip: add config options and hooks for Thread IPv6 border routing
See merge request espressif/esp-idf!13099
2021-04-23 18:41:11 +00:00
Angus Gratton
69309c88a0
Merge branch 'bugfix/fix_c3_typos' into 'master'
...
esp32c3: fix typos of c3 path
See merge request espressif/esp-idf!13318
2021-04-23 13:05:09 +00:00
Michael (XIAO Xufeng)
5997fcd45d
Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
...
adc: update esp32c3 programming guide
Closes IDF-2333
See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
Michael (XIAO Xufeng)
bea022ce1c
Merge branch 'refactor/usb_common_and_hal_types' into 'master'
...
Separate USB HAL and common USB types
Closes IDF-2931
See merge request espressif/esp-idf!12642
2021-04-23 12:50:35 +00:00
Ivan Grokhotkov
83e68ee19e
Merge branch 'bugfix/replace_setjmp_rom' into 'master'
...
[system]: Made longjmp save for context switch
Closes IDFGH-3232
See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton
65fc657339
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots' into 'master'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
Closes IDFGH-4983
See merge request espressif/esp-idf!12900
2021-04-23 12:37:13 +00:00
Angus Gratton
2f70a76572
Merge branch 'bugfix/mac_addr_target_support' into 'master'
...
system: Restructure MAC address support documentation
See merge request espressif/esp-idf!13298
2021-04-23 10:56:42 +00:00
Shu Chen
ff3320ca8a
esp32c3: fix typos of c3 path
2021-04-23 18:11:39 +08:00
Ivan Grokhotkov
ea7d020f20
Merge branch 'feature/ubsan' into 'master'
...
system: add option to enable undefined behavior sanitizer (UBSAN)
Closes IDF-166 and IDF-1824
See merge request espressif/esp-idf!11318
2021-04-23 09:27:42 +00:00
Ivan Grokhotkov
9522034144
Merge branch 'doc/linux_host_testing' into 'master'
...
Doc: Linux host test documentation
See merge request espressif/esp-idf!11857
2021-04-23 09:08:42 +00:00
Angus Gratton
88829d68fc
log: Document that normally logging APIs don't work in critical sections
...
Closes https://github.com/espressif/esp-idf/issues/6600
2021-04-23 18:27:20 +10:00
Angus Gratton
9dc0bd16a3
docs: Update the main log document with recent API changes
2021-04-23 18:27:20 +10:00
Angus Gratton
29348270e7
log: Cause ESP_EARLY_LOGx in the app to use the default runtime log level
...
Tag filtering still doesn't work for this log type, but it will use the
default '*' log level instead of only the runtime level.
* Closes https://github.com/espressif/esp-idf/issues/2285
* Related to https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Angus Gratton
6bd9580137
log: Allow setting maximum log level higher than default
...
Main change is possibility the log cache locking functions will
be called before the scheduler has started.
This change doesn't change the behaviour of ESP_EARLY_LOGx, this is
done in the following commit.
Closes https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Kapil Gupta
20bb0c3b02
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:44:02 +05:30
Angus Gratton
6e80811ca2
log: Remove redundant definition of LOG_LOCAL_LEVEL
...
After adding a maximum setting, the default value of LOG_LOCAL_LEVEL
will be CONFIG_LOG_MAXIMUM_LEVEL not CONFIG_LOG_DEFAULT_LEVEL
2021-04-23 18:13:04 +10:00
Jakob Hasse
fc22e3c645
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-04-23 15:55:31 +08:00
Angus Gratton
0be81903cc
Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
...
[hal]: merged duplicated HAL layer functions
Closes IDF-2308
See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
Angus Gratton
96c2acd9a8
Merge branch 'refactor/strip_systimer_hal_layer' into 'master'
...
refactor HAL driver of systimer to a common systimer_hal
Closes IDF-2996
See merge request espressif/esp-idf!13027
2021-04-23 07:45:31 +00:00
Wang Meng Yang
85841922a1
Merge branch 'refactor/bt_lib_submodules' into 'master'
...
Refactor/bt lib submodules
See merge request espressif/esp-idf!13247
2021-04-23 07:19:18 +00:00
laokaiyao
e0004dc443
gdma: replaced DMA_CHECK with ESP_GOTO_ON_FALSE and ESP_GOTO_ON_ERROR
2021-04-23 14:49:30 +08:00
Sachin Parekh
b1eacc24f2
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-23 11:18:58 +05:30
David Čermák
0d6482b8ee
Merge branch 'feature/esp_eth_ksz8851snl' into 'master'
...
Add a KSZ8851SNL SPI Ethernet driver
Closes IDFGH-4736 and IDFGH-4837
See merge request espressif/esp-idf!12574
2021-04-23 05:14:16 +00:00