morris
9e50eafcec
Merge branch 'bugfix/cbor_build_sys_cleanup' into 'master'
...
cbor: build system cleanup
See merge request espressif/esp-idf!15190
2021-09-14 13:01:48 +00:00
Zim Kalinowski
1ab631449f
Merge branch 'bugfix/fix-invalid-task-exit-critical' into 'master'
...
fixed invalid taskEXIT_CRITICAL
See merge request espressif/esp-idf!15191
2021-09-14 12:02:10 +00:00
Mahavir Jain
ae7030ccd0
esp_log: add note about reentrancy for custom logging function
2021-09-14 16:57:15 +05:30
xiaqilin
988ec8be56
ieee802154: add zigbee pending mode and config coordinator function
2021-09-14 19:19:30 +08:00
WangQixiang
c5a52c605f
openthread: update openthread submodule
...
openthread: add srp client enable option for openthread component
ieee802154: set ieee802154 default PTI to 6
2021-09-14 17:13:19 +08:00
Anton Maklakov
c94b913ced
Merge branch 'bugfix/esp32s3_chip_id' into 'master'
...
esp_hw_support: update esp32s3 chip ID to the MP version
See merge request espressif/esp-idf!15183
2021-09-14 09:09:38 +00:00
Armando (Dou Yiwen)
13b63cd9d2
Merge branch 'feature/support_adc_calibration_s3' into 'master'
...
adc: support adc calibration on s3
Closes IDF-1950, IDF-3730, and IDF-3036
See merge request espressif/esp-idf!15031
2021-09-14 08:51:03 +00:00
Kevin (Lao Kaiyao)
a287f34f88
Merge branch 'bugfix/i2s_apll_fixed_clock' into 'master'
...
i2s: fix apll bug introduced in 'refactor/i2s_driver'
Closes IDFGH-5824
See merge request espressif/esp-idf!15109
2021-09-14 08:31:12 +00:00
Ondrej Kosta
76326e8268
esp_eth: add PHY loopback control via esp_eth_ioctl
...
Fixed esp_eth_ioctl command's data argument non-standard handling
2021-09-14 09:13:54 +02:00
Zim Kalinowski
da65a010a3
fixed invalid taskEXIT_CRITICAL
2021-09-14 15:03:46 +08:00
morris
502e132e5d
Merge branch 'feature/fast_gpio_c3' into 'master'
...
fast gpio support on esp32-c3
Closes IDF-3783
See merge request espressif/esp-idf!14986
2021-09-14 06:09:34 +00:00
Song Ruo Jing
10b848327b
Merge branch 'feature/usb_phy' into 'master'
...
usb: Add usb_phy driver to support operations on USB PHY
Closes IDF-3574 and IDF-1882
See merge request espressif/esp-idf!14879
2021-09-14 06:06:06 +00:00
Mahavir Jain
8e720db65a
cbor: build system cleanup
...
Some of the special CFLAGS required for masking warnings are no more
required with updated tinycbor release.
2021-09-14 09:45:43 +05:30
Armando
9aae92fd16
adc: add a ut for calibration speed
2021-09-14 11:42:50 +08:00
Armando
c45c6f52f1
adc: support adc efuse-based calibration on esp32s3
2021-09-14 11:42:50 +08:00
Sudeep Mohanty
0912df611f
freertos: updated the location of FreeRTOSConfig.h
...
Moved FreeRTOSConfig.h from include/freertos to include/esp_additions/freertos.
Updated FreeRTOS.h file to include FreeRTOSConfig.h without the
freertos/ prefix to match with the upstream file.
Renamed architecture specific FreeRTOSConfig.h files to FreeRTOSConfig_arch.h
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-14 08:46:01 +05:30
Ivan Grokhotkov
e21e5aac64
esp_hw_support: update esp32s3 chip ID to the MP version
...
- Update 7.2.5 chip ID (4) to 7.2.8 chip ID (9).
- Remove TODO in espcoredump regarding this mismatch.
2021-09-13 15:16:45 +02:00
Ivan Grokhotkov
c54caa457e
Merge branch 'feature/espcoredump_4_esp32s3' into 'master'
...
Add Esp32s3 support to the coredump component.
See merge request espressif/esp-idf!15097
2021-09-13 12:37:12 +00:00
Kapil Gupta
25585202f5
Merge branch 'bugfix/eap_client_iot_issues' into 'master'
...
ESP_WiFi: Fix some wpa enterprise issue
Closes https://github.com/espressif/esp-idf/issues/7384
Closes https://github.com/espressif/esp-idf/issues/7465
See merge request espressif/esp-idf!15116
2021-09-13 12:13:19 +00:00
Li Shuai
e44ead5356
Power Management: add RTC8M power domain to control whether internal 8m oscillator is powered down during sleep
2021-09-13 17:36:54 +08:00
dmitry
5d859f1404
Add Esp32s3 to the coredump component.
...
Add changed expected_output for esp32, esp32s2 and esp32c3. coredump tag update.
2021-09-13 05:20:34 -04:00
Zim Kalinowski
028ff956b2
Merge branch 'docs/core_components_description' into 'master'
...
docs: core components description
Closes IDF-2833
See merge request espressif/esp-idf!12978
2021-09-13 09:19:27 +00:00
Kapil Gupta
393a9d5a94
wpa_supplicant: Update internal tls client with sha384/sha512 support
...
Add support for validating certificates with SHA384 and SHA512 hashes.
2021-09-13 14:11:55 +05:30
Kapil Gupta
6647f48dda
esp_wifi: Fix interoperability issue with windows 2008
2021-09-13 14:11:37 +05:30
baohongde
6fc4bf7145
components/bt: Fix link error of Kconfig
2021-09-13 15:45:27 +08:00
David Čermák
9f957cbfe2
Merge branch 'bugfix/memprot_panic_print_const_correction' into 'master'
...
panic: Fix minor const string correction on meprot panic print
See merge request espressif/esp-idf!14851
2021-09-13 06:13:33 +00:00
songruojing
1fcd639224
usb: Add usb_phy driver to support operations on USB PHY
2021-09-13 12:39:56 +08:00
Renz Bagaporo
bb5544b8a4
docs: core components description
2021-09-13 12:05:20 +08:00
Zim Kalinowski
fa56351261
Merge branch 'feature/freertos-upgrade-to-10.4.3-extras' into 'master'
...
freertos: upgrade to 10.4.3 -- extras from SMP base
See merge request espressif/esp-idf!15144
2021-09-13 03:44:18 +00:00
morris
9d97d01679
Merge branch 'bugfix/mcpwm_cpp_reserved_word' into 'master'
...
bugfix/mcpwm: rename invalid keyword 'operator'
Closes IDFGH-5840
See merge request espressif/esp-idf!15159
2021-09-13 03:10:04 +00:00
Ivan Grokhotkov
f94035ad85
spi_flash: state that esp_partition_iterator_release allows NULL arg
...
The implementation allows passing the NULL argument, and the function
is used in the examples accordingly. Fix the discrepancy in the
doxygen comment.
Closes https://github.com/espressif/esp-idf/issues/7545
2021-09-10 20:55:01 +02:00
Andrei Safronov
9159aa58d3
tests: refactoring of the gcc's inner functions, because clang doesn't support them
2021-09-10 19:51:27 +03:00
Zim Kalinowski
59f6087b55
Merge branch 'feature/freertos-upgrade-to-10.4.3-reconcile-traces' into 'master'
...
freertos: upgrade to 10.4.3 - reconcile traces
See merge request espressif/esp-idf!15104
2021-09-10 10:18:20 +00:00
Bao Hong De
7fc071e133
Merge branch 'feature/high_level_interrupt_in_bluetooth' into 'master'
...
Bluetooth: High level interrupt in bluetooth
See merge request espressif/esp-idf!11156
2021-09-10 09:50:39 +00:00
SalimTerryLi
d9f4ae02f1
mcpwm: rename keyword 'operator' which is not valid in cpp
...
Closes https://github.com/espressif/esp-idf/issues/7542
2021-09-10 12:41:42 +08:00
morris
25f723765e
Merge branch 'feature/lcd_driver_follow_up' into 'master'
...
lcd: add PM lock
Closes IDF-3631, IDF-3704, and IDF-3317
See merge request espressif/esp-idf!14880
2021-09-10 03:14:50 +00:00
Zim Kalinowski
1041288402
Merge branch 'feature/freertos-upgrade-to-10.4.3-added-vapplication-prototypes' into 'master'
...
freertos: upgrade to 10.4.3 - added vapplication... prototypes to tasks.h
See merge request espressif/esp-idf!15102
2021-09-10 03:07:11 +00:00
Wei Tian Hua
5c9502427a
Merge branch 'component_bt/fix_hid_unit_test' into 'master'
...
Component_bt/Fix esp_hid unit test failure
See merge request espressif/esp-idf!15151
2021-09-10 02:56:50 +00:00
Zim Kalinowski
f3b3c1697c
added vApplication... prototypes to tasks.h
2021-09-10 09:37:01 +08:00
morris
691780ffa6
Merge branch 'feature/mcpwm_timer_sync' into 'master'
...
mcpwm: add driver option to sync with internal signals
Closes IDFGH-3469
See merge request espressif/esp-idf!9259
2021-09-09 19:05:10 +00:00
baohongde
006a10b050
components/doc: Update doc about high-level interrupt
...
some bugfix.
2021-09-09 20:40:09 +08:00
Zim Kalinowski
917391f59f
Merge branch 'feature/freertos-upgrade-to-10.4.3-move-esp-header-from-FreeRTOS.h' into 'master'
...
freertos: move esp_compiler.h include from FreeRTOS.h
Closes IDF-3720
See merge request espressif/esp-idf!15103
2021-09-09 10:02:07 +00:00
Zim Kalinowski
a1c85515f6
Merge branch 'bugfix/bootloader_size_log' into 'master'
...
check_sizes.py: Fix bootloader size message in build log
Closes IDFGH-5798
See merge request espressif/esp-idf!15047
2021-09-09 09:58:43 +00:00
David Cermak
0ee4c235eb
panic/memprot: Fix minor const string correction on panic print
2021-09-09 11:46:21 +02:00
SalimTerryLi
932d4d13f0
MCPWM/sync: expose API for configuring timer sync
...
removed example: mcpwm_basic_config
Closes https://github.com/espressif/esp-idf/issues/5429
Co-authored-by: wubowen <wubowen@espressif.com>
2021-09-09 17:33:37 +08:00
liqigan
97e2465439
fix unit test failure for report_len in Boot Protocol
2021-09-09 17:32:22 +08:00
Yuan Jian Min
8fd591390a
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp' into 'master'
...
dhcpserver: support cplusplus
Closes IDFGH-5786 and IDFGH-5821
See merge request espressif/esp-idf!15018
2021-09-09 06:11:56 +00:00
morris
54abf1d0b9
Merge branch 'ci/esp_eth_new_runners' into 'master'
...
feature/ci/esp_eth: new app_test and runner
Closes IDF-3561 and IDFGH-1736
See merge request espressif/esp-idf!14392
2021-09-09 04:16:08 +00:00
Zim Kalinowski
5f522cd6f3
freertos: upgrade to 10.4.3 -- extras
2021-09-09 11:54:47 +08:00
Shu Chen
e1ff05fe4d
Merge branch 'feature/esp32h2_phy_refactor' into 'master'
...
esp_phy: support phy init on esp32h2 chip
See merge request espressif/esp-idf!14983
2021-09-09 03:33:45 +00:00
baohongde
57eeb4d953
components/driver: support static allocation of FreeRTOS queues used by ISR routine
2021-09-09 11:29:19 +08:00
baohongde
e2fb413329
components/bt: add config option to choose Bluetooth intterupt level.
2021-09-09 11:29:17 +08:00
baohongde
6d63fe06fa
components/os: add config option to choose system check intterupt level.
2021-09-09 11:29:12 +08:00
baohongde
8a4696d25a
components/os: Fix live lock int bt isr using ocd multicore debug
...
components/os: Fix live lock in bt isr immediately
2021-09-09 11:29:08 +08:00
baohongde
d1db2df316
components/bt: High level interrupt in bluetooth
...
components/os: Move ETS_T1_WDT_INUM, ETS_CACHEERR_INUM and ETS_DPORT_INUM to l5 interrupt
components/os: high level interrupt(5)
components/os: hli_api: meta queue: fix out of bounds access, check for overflow
components/os: hli: don't spill registers, instead save them to a separate region
Level 4 interrupt has a chance of preempting a window overflow or underflow exception.
Therefore it is not possible to use standard context save functions,
as the SP on entry to Level 4 interrupt may be invalid (e.g. in WindowUnderflow4).
Instead, mask window overflows and save the entire general purpose register file,
plus some of the special registers.
Then clear WindowStart, allowing the C handler to execute without spilling the old windows.
On exit from the interrupt handler, do everything in reverse.
components/bt: using high level interrupt in lc
components/os: Add DRAM_ATTR to avoid feature `Allow .bss segment placed in external memory`
components/bt: optimize code structure
components/os: Modify the BT assert process to adapt to coredump and HLI
components/os: Disable exception mode after saving special registers
To store some registers first, avoid stuck due to live lock after disabling exception mode
components/os: using dport instead of AHB in BT to fix live lock
components/bt: Fix hli queue send error
components/bt: Fix CI fail
# Conflicts:
# components/bt/CMakeLists.txt
# components/bt/component.mk
# components/bt/controller/bt.c
# components/bt/controller/lib
# components/esp_common/src/int_wdt.c
# components/esp_system/port/soc/esp32/dport_panic_highint_hdl.S
# components/soc/esp32/include/soc/soc.h
2021-09-09 11:29:06 +08:00
laokaiyao
dfbe76e988
i2s: fix return value when failed to register i2s
2021-09-09 10:33:15 +08:00
laokaiyao
b3193e233c
i2s: fix apll bugs introduced in 'refactor/i2s_driver'
...
Closes https://github.com/espressif/esp-idf/issues/7529
2021-09-09 10:23:52 +08:00
David Čermák
39b7d3e13f
Merge branch 'bugfix/eth_dm9051_not_responding' into 'master'
...
esp_eth: Fix dm9051 Rx interrupt processing
Closes IDFGH-4598
See merge request espressif/esp-idf!15073
2021-09-08 14:25:27 +00:00
zhangwenxu
8f76a98c1b
esp_phy: support phy init on esp32h2 chip
2021-09-08 21:20:37 +08:00
SalimTerryLi
14a6ab4a8e
esp_eth: new test_app: emac layer tests
2021-09-08 20:00:14 +08:00
Wang Meng Yang
80c3aaab7c
Merge branch 'feature/add_bt_hid_host_support_dev' into 'master'
...
Feature/add bt hid host btc layer
Closes IDFGH-3329, IDFGH-1104, IDFGH-3724, IDFGH-4383, and IDFGH-5428
See merge request espressif/esp-idf!12016
2021-09-08 11:54:19 +00:00
Mahavir Jain
66b26abc87
Merge branch 'bugfix/http_client_eagain' into 'master'
...
esp_http_client: Fixed handling of EAGAIN return
See merge request espressif/esp-idf!14610
2021-09-08 08:17:09 +00:00
yuanjm
f2d32d5c0a
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-09-08 15:52:12 +08:00
liqigan
2078dfe293
1. update esp_hid component to use esp HID API
...
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
Wang Meng Yang
a885c42cda
Merge branch 'example/controller_hci_uart_for_esp32s3' into 'master'
...
examples: added support of ESP32-S3 chip in controller_hci_uart example
Closes BT-1906
See merge request espressif/esp-idf!14935
2021-09-08 06:02:18 +00:00
Cao Sen Miao
e85e9dc824
Merge branch 'feature/esp_flash_octal_api_support_xmic' into 'master'
...
esp_flash: Add new octal flash chip support in new chip driver (for MXIC)
Closes IDF-2859
See merge request espressif/esp-idf!14185
2021-09-08 03:59:34 +00:00
morris
7dc9c7aa05
lcd: allow execlusive use of i80 bus
2021-09-08 11:34:46 +08:00
morris
02e470bc50
lcd: add pm lock
2021-09-08 11:34:46 +08:00
morris
a6661bdf90
lcd: spi-lcd send command and parameter with big-endian
2021-09-08 11:30:30 +08:00
Axel Lin
9d07e89f13
tcp_transport: Fix NULL pointer dereference in esp_transport_esp_tls_create
...
Add missing NULL checking to prevent NULL pointer dereference if calloc failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-09-08 11:04:08 +08:00
David Čermák
25e14bd8d9
Merge branch 'feature/esp_netif_ppp_params' into 'master'
...
Examples: Add esp_modem example to experimental cxx components
Closes IDF-1923, IDFGH-217, IDFGH-2608, IDFGH-4838, IDFGH-1229, IDFGH-3848, and IDFGH-3809
See merge request espressif/esp-idf!13161
2021-09-07 18:16:13 +00:00
morris
fbc81c3d44
Merge branch 'bugfix/force_u32_macro_cpp_typeof' into 'master'
...
HAL: Fix Force U32 macros for C++ typeof()
Closes IDF-3862
See merge request espressif/esp-idf!15066
2021-09-07 16:08:44 +00:00
David Cermak
676cd99c42
esp_eth: Fix dm9051 Rx interrupt processing
...
* Disable Tx interrupts to fix race condition of missing Rx interrupt
* Check if GPIO interrupt is asserted periodically if the ISR event missed
Closes https://github.com/espressif/esp-idf/issues/6414
2021-09-07 16:38:43 +02:00
Mahavir Jain
d504ca614c
Merge branch 'feature/clock_glitch_enable' into 'master'
...
bootloader: Enable clock glitch detection
Closes IDF-2453, IDF-1720, IDFGH-5721, and IDFGH-5327
See merge request espressif/esp-idf!14868
2021-09-07 11:38:18 +00:00
Vikram Dattu
1c57dbcb3c
esp_http_client: Fixed handling of EAGAIN return
...
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-07 14:33:49 +05:30
liqigan
1c15c9207c
1. transparent HID device
...
2. add esp API for HID
3. add PM config for HID
4. add HID device demo
Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
liqigan
9049974d6b
fix deep copy bugs for esp_hid component
...
Closes https://github.com/espressif/esp-idf/issues/6217
Closes https://github.com/espressif/esp-idf/issues/7169
2021-09-07 16:58:19 +08:00
Zim Kalinowski
538911e9ee
reconcile traces
2021-09-07 15:57:50 +08:00
Sudeep Mohanty
3b40d77584
freertos: move esp_compiler.h include from FreeRTOS.h
...
Moved the inclusion of esp_compiler.h from FreeRTOS.h to
the app specific FreeRTOSConfig.h where the unlikely()
macro is used. This change is in alignment with the upstream
FreeRTOS.h file.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-07 13:12:04 +05:30
David Cermak
825bbb08e3
esp_netif: Added argument checks for PPP public API
2021-09-07 09:03:15 +02:00
David Cermak
2f6c60573e
esp_netif: Extend PPP netif API to control connection failure
2021-09-07 09:03:15 +02:00
David Cermak
213727c4f2
lwip: IPv6: Add support for DHCPv6 stateless config
...
Closes https://github.com/espressif/esp-idf/issues/5245
2021-09-07 14:48:21 +08:00
Cao Sen Miao
6c0aebe279
esp_flash: add opi flash support in esp_flash chip driver, for MXIC
2021-09-07 14:44:40 +08:00
Sudeep Mohanty
1a19014d3d
Merge branch 'feature/move-esp-macros-from-freetos-upstream-files' into 'master'
...
freertos: remove xSemaphoreAltTake/Give macros from semphr.h
Closes IDF-3814
See merge request espressif/esp-idf!15088
2021-09-07 04:45:18 +00:00
Zim Kalinowski
092b903320
Merge branch 'feature/freertos-upgrade-to-10.4.3-missing-layout-changes' into 'master'
...
freertos: upgrade to 10.4.3 - missing code layout changes
See merge request espressif/esp-idf!15098
2021-09-07 04:07:26 +00:00
Mahavir Jain
0c027cf4d2
Merge branch 'feature/hmac_downstream_jtag' into 'master'
...
hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3
Closes IDF-3664
See merge request espressif/esp-idf!15034
2021-09-07 03:34:22 +00:00
Marius Vikhammer
3c9f94d739
Merge branch 'feature/publish_s3_docs' into 'master'
...
docs: enable publishing of S3 docs
Closes IDF-3385 and IDF-3285
See merge request espressif/esp-idf!15074
2021-09-07 03:30:36 +00:00
Darian Leung
14fe6dcaaf
HAL: Fix Force U32 macros for C++ typeof()
...
When using the Force U32 macros in C++, the peripheral structs will not
have copy constructors due to them being volatile. Thus, doing temp_reg = reg
via typeof() will not work and cause a "ambiguous overload of operator=" error.
This commit fixes the macros by reading the reg into a uint32_t value first.
2021-09-07 11:23:06 +08:00
Zim Kalinowski
8f06bf6e44
freertos: upgrade to 10.4.3 - missing code layout changes
...
(cherry picked from commit 46477d85bb43aafac688747ad0c4090030410e3a)
2021-09-07 10:31:26 +08:00
Shu Chen
1e0219f16f
Merge branch 'feature/add_openthread_iperf' into 'master'
...
openthread: add iperf example for ot-network test
See merge request espressif/esp-idf!14635
2021-09-07 02:07:44 +00:00
morris
6cec256a34
fast_gpio: driver support on esp32c3
2021-09-06 19:39:09 +08:00
Sudeep Mohanty
46d54990d8
freertos: remove xSemaphoreAltTake/Give macros from upstream files
...
xSemaphoreAltTake and xSemaphoreAltGive are Espressif defined macros and
are not being used. The respective definitions, xQueueAltGenericReceive
and xQueueAltGenericSend are also not part of current FreeRTOS source
(v10.4.3). Hence, removed xSemaphoreAltTake and xSemaphoreAltGive
definitions to align with upstream code.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-06 15:55:23 +05:30
Mahavir Jain
bc3c9d27f6
Merge branch 'feature/esp-mqtt_esp32s3_support' into 'master'
...
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
See merge request espressif/esp-idf!15065
2021-09-06 09:52:29 +00:00
Guo Jia Cheng
8d51f554db
Merge branch 'feature/otbr-discovery-delegate' into 'master'
...
openthread: support discovery delegate in border router
See merge request espressif/esp-idf!15041
2021-09-06 09:29:09 +00:00
zhangwenxu
2be77287b3
openthread: add iperf example for ot-network test
2021-09-06 15:32:38 +08:00
Zim Kalinowski
ef75b5a188
Merge branch 'feature/zim-freertos-upgrade-missing-files-etc' into 'master'
...
freertos: upgrade to 10.4.3 - missing files from upstream
See merge request espressif/esp-idf!15061
2021-09-06 06:40:04 +00:00
Zim Kalinowski
3f2f6d0cf5
freertos: upgrade to 10.4.3 - missing files from upstream
2021-09-06 14:39:48 +08:00
Zim Kalinowski
cbb087ae9c
Merge branch 'zim-marking-vtasksuspendall' into 'master'
...
freertos: clearly marking vTaskSuspendAll and a few other small cleanups
See merge request espressif/esp-idf!15048
2021-09-06 06:01:28 +00:00
Sachin Parekh
0e6b03f343
esp32s2/hmac: Release HMAC lock in downstream mode incase of failure
2021-09-06 11:21:39 +05:30
Sachin Billore
667017d517
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
...
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Sachin Parekh
fd5a7df404
esp32h2: Replicated HMAC JTAG downstream enable mode implementation
2021-09-06 11:06:50 +05:30
Sachin Parekh
fa2707f1f3
hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3
...
If JTAG is disabled temporarily by burning SOFT_DIS_JTAG, it can be
re-enabled temporarily through esp_hmac_jtag_enable API
2021-09-06 11:06:50 +05:30
Zim Kalinowski
17140be432
Merge branch 'zim-indexed-notifications-from-older-base' into 'master'
...
freertos: upgrade - indexed notifications
See merge request espressif/esp-idf!14910
2021-09-06 04:46:23 +00:00
Zim Kalinowski
61ac7c3368
freertos: upgrade - indexed notifications
2021-09-06 12:46:14 +08:00
Jiang Jiang Jian
316988bd2d
Merge branch 'feature/support_esp32s3_cpu_tagmem_retention' into 'master'
...
support esp32s3 cpu + tagmem retention
See merge request espressif/esp-idf!14579
2021-09-06 03:47:44 +00:00
Kevin (Lao Kaiyao)
2991eea97d
Merge branch 'refactor/i2s_driver' into 'master'
...
driver/i2s: bugfix and refactor for i2s
Closes IDF-3656 and IDF-3738
See merge request espressif/esp-idf!14704
2021-09-06 02:07:40 +00:00
Marius Vikhammer
1cf61c849f
docs: enable publishing of S3 docs
2021-09-06 09:11:17 +08:00
Cao Sen Miao
559c1ac3f9
esp_flash: add support mxic as a main flash under spi mode
2021-09-05 00:33:28 +08:00
boarchuz
ec70bc0523
fix compiler warning with silent panic option
2021-09-04 14:46:26 +10:00
Jiacheng Guo
51372704bf
openthread: support discovery delegate in border router
2021-09-03 19:07:59 +08:00
laokaiyao
c5afd7ce34
i2s: fix write failure on ESP32 in 32bit slave mode
2021-09-03 17:36:44 +08:00
Sachin Billore
81391fb18c
Merge branch 'feature/esp_ds_s3' into 'master'
...
[esp_hw_support]: Digital Signature support for S3
Closes IDF-1791
See merge request espressif/esp-idf!14955
2021-09-03 07:57:26 +00:00
Wei Tian Hua
00dfe84c58
Merge branch 'bugfix/hf_disc_acl_no_disc' into 'master'
...
bugfix/acl can't disconnect when hfp_client disconnect
See merge request espressif/esp-idf!12819
2021-09-03 06:01:50 +00:00
Mahavir Jain
bce9d7c0d1
Merge branch 'feature/esp_system_common_ld_settings' into 'master'
...
esp_system: create ld template to abstract few common settings
Closes IDF-3624
See merge request espressif/esp-idf!14700
2021-09-03 04:24:16 +00:00
Shu Chen
0f00a17e17
Merge branch 'featue/enable_openthread_ping_sender_module' into 'master'
...
openthread: enable ping sender module
See merge request espressif/esp-idf!14984
2021-09-03 02:34:26 +00:00
Wang Meng Yang
e09818bd33
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
...
component/bt: fix some ble document description error
See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
Darian
c8aab00fdb
Merge branch 'feature/usb_host_docs' into 'master'
...
Add USB Host Library API docs
See merge request espressif/esp-idf!15013
2021-09-02 14:05:08 +00:00
Martin Vychodil
3d29b01a02
Merge branch 'bugfix/fix_SD_card_tests_timeout' into 'master'
...
vfs/fatfs: fix failed tests by increasing timeout
See merge request espressif/esp-idf!14905
2021-09-02 12:16:15 +00:00
Darian Leung
963836f491
Add USB Host Library API docs
...
- This commit adds the API documentation for the USB Host Library.
- Warnings about the beta API are also added.
- usb_host_misc.h renamed to usb_helpers.h
2021-09-02 18:40:24 +08:00
Zim Kalinowski
b7dbd3ffc1
Merge branch 'zim-xtaskdelayuntil-and-a-few-minor' into 'master'
...
freertos: upgrade to 10.4.3 - xTaskDelayUntil change and a few minor changes
See merge request espressif/esp-idf!15011
2021-09-02 10:01:16 +00:00
Zim Kalinowski
704a092550
freertos: upgrade to 10.4.3 - xTaskDelayUntil change and a few minor changes
2021-09-02 18:01:08 +08:00
Mahavir Jain
e0d29d4ada
esp_system: create ld template to abstract few common settings
...
PMS aware chips require prefetch padding size for instruction fetch, or
some memory alignment considerations. These settings are now exposed
through kconfig options (hidden) and used through common ld template.
This shall help to add and manage future chips support easily for
these considerations.
Closes IDF-3624
2021-09-02 16:13:17 +08:00
Zim Kalinowski
07bd686471
marking vTaskSuspendAll and a few other small cleanups
...
(cherry picked from commit dc61510249fe441189ea1ca557deb9f003bbd374)
2021-09-02 15:20:19 +08:00
Sachin Parekh
bf1dde7233
bootloader: Enable clock glitch detection
...
Reset the device when clock glitch detected. Clock glitch detection is
only active in bootloader
2021-09-02 12:25:12 +05:30
Yuriy Shestakov
87b958c814
Fixed GLITCH_RTC_RST for esp32-c3 revision 3
...
* Issue: https://github.com/espressif/esp-idf/issues/7082
Signed-off-by: Yuriy Shestakov <yshestakov@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/7082
Closes https://github.com/espressif/esp-idf/pull/7441
2021-09-02 12:25:12 +05:30
laokaiyao
0ff3dd9778
i2s: fix mono support issue
2021-09-02 14:33:36 +08:00
laokaiyao
b26da6f115
driver/i2s: refactor for i2s driver layer
2021-09-02 14:33:36 +08:00
Sachin Billore
f80d6f8c21
Digital Signature support for S3
...
Closes IDF-1791
2021-09-02 11:59:24 +05:30
boarchuz
c098dce1e5
check_sizes.py: Fix bootloader size message in build log
...
Closes https://github.com/espressif/esp-idf/pull/7506
2021-09-02 10:28:34 +05:00
Zim Kalinowski
701c4fb2e3
upgrade freertos version and history
2021-09-02 11:02:34 +08:00
Marius Vikhammer
88e7b5f7be
Merge branch 'feature/s3_cache_bringup' into 'master'
...
soc: S3 cache bringup
Closes IDF-2952
See merge request espressif/esp-idf!12887
2021-09-02 02:51:10 +00:00
Marius Vikhammer
bdf3a8ff29
Merge branch 'feature/xtwdt' into 'master'
...
WDT: Add support for XTAL32K Watchdog timer
Closes IDF-2575
See merge request espressif/esp-idf!15000
2021-09-02 02:44:47 +00:00
Kevin (Lao Kaiyao)
61299f879e
Merge branch 'bugfix/iperf_tcp_performance_become_bad' into 'master'
...
emac: optimise performance regression introduced in hal refactor
Closes IDF-3527 and IDFCI-795
See merge request espressif/esp-idf!14282
2021-09-02 02:36:20 +00:00
Omar Chebib
19e0663edd
Merge branch 'bugfix/task_snapshot_kconfig' into 'master'
...
freertos: add kconfig options for task snapshot functions
See merge request espressif/esp-idf!14871
2021-09-02 02:27:12 +00:00
Marius Vikhammer
4869b3cd4a
WDT: Add support for XTAL32K Watchdog timer
2021-09-02 09:09:00 +08:00
wanglei
c3abbe3866
cache: Update cache.h and autoload api
2021-09-02 02:27:40 +08:00
gaoxiaojie
191a494e08
support dcache 64Byte and 16k
2021-09-02 02:27:40 +08:00
jiangguangming
f7137254e9
flash_mmap: register flash2spiram info to ROM
2021-09-02 02:27:40 +08:00
Mahavir Jain
e93cee4605
Merge branch 'bugfix/encrypted-flash-dependency' into 'master'
...
Missing dependency for idf.py 'encrypted-flash' target
Closes IDFGH-5766
See merge request espressif/esp-idf!15036
2021-09-01 15:02:17 +00:00
XieWenxiang
461f2bd186
component/bt: fix some ble document description error
2021-09-01 20:39:13 +08:00
laokaiyao
04970fe487
iperfUtility: add udp rx bandwidth scan
2021-09-01 19:11:28 +08:00
laokaiyao
8d18a9c614
emac: optimise iperf performane
2021-09-01 19:11:28 +08:00
Li Hang Fan
b1f851b8f8
Merge branch 'refactor/remove_usage_of_logging_in_hal' into 'master'
...
hal: remove usages of esp_log in HAL
Closes IDF-2159
See merge request espressif/esp-idf!15017
2021-09-01 10:53:38 +00:00
morris
8f3dadf46a
Merge branch 'refactor/rom_tjpgd_unify' into 'master'
...
refactor/rom: unify tjpgd library
Closes IDF-3615
See merge request espressif/esp-idf!14977
2021-09-01 10:05:11 +00:00
Omar Chebib
92cf321677
freertos: add kconfig options for task snapshot functions
...
Task snapshots is required by other modules that don't use gdbstub
or core dump. Add a Kconfig option to manage these possibilities.
2021-09-01 15:13:48 +08:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
...
remove external tjpgd library inside example
enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
SalimTerryLi
6af8d2edee
hal: remove usages of esp_log in HAL
2021-09-01 13:58:47 +08:00
Armando (Dou Yiwen)
5f38b766a8
Merge branch 'feature/support_120mhz_quad_psram_quad_flash' into 'master'
...
mspi: support 120MHz clock freq on QSPI flash/psram on ESP32-S3
Closes IDF-3711
See merge request espressif/esp-idf!14849
2021-09-01 02:46:05 +00:00
Kapil Gupta
e8360fe075
Merge branch 'bugfix/eap_client_windows' into 'master'
...
wpa_supplicant: clean tls client state machine
Closes IDFGH-5702, IDFGH-5662, and IDFGH-119
Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297
See merge request espressif/esp-idf!14968
2021-08-31 19:06:35 +00:00
Armando
a3dc625da6
mspi: support 120MHz Quad Flash and PSRAM on ESP32S3
2021-08-31 16:06:44 +08:00
Mahavir Jain
b9ce1ed06d
Merge branch 'feature/update_libcoap_to_v4_3_0' into 'master'
...
libcoap_430: Update code for use with libcoap 4.3.0
Closes IDFGH-5355
See merge request espressif/esp-idf!13937
2021-08-31 06:57:26 +00:00
Mahavir Jain
148794f208
Merge branch 'bugfix/fix_ws_handle_big_messages' into 'master'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
Closes IDFGH-5740
See merge request espressif/esp-idf!14978
2021-08-31 05:24:52 +00:00
Marius Vikhammer
ba3b34583a
Merge branch 'bugfix/himem_error_checks' into 'master'
...
himem: reverse error check logic in himem
Closes IDFCI-857 and IDFCI-859
See merge request espressif/esp-idf!15009
2021-08-31 04:05:45 +00:00
Jon Shallow
ed3d440428
libcoap_430: Update code for use with libcoap 4.3.0
...
Remove no longer needed code from coap_server/coap_client.
Add in multicast support for coap_server/coap_client.
Update libcoap logging to use esp-idf logging
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-08-31 12:05:30 +08:00
Zim Kalinowski
268eace13a
Merge branch 'zim-some-esp-platform-markers' into 'master'
...
freertos: several ESP specific things clearly marked
See merge request espressif/esp-idf!14995
2021-08-31 02:33:00 +00:00
Zim Kalinowski
4bad316700
freertos: several ESP specific things clearly marked
2021-08-31 10:32:54 +08:00
Michael (XIAO Xufeng)
f1cbf746b7
Merge branch 'bugfix/crypto_gdma' into 'master'
...
aes/sha: fixed driver reseting the wrong GDMA channel
Closes FCS-701
See merge request espressif/esp-idf!14989
2021-08-31 01:36:45 +00:00
Marius Vikhammer
2e0cab6f94
himem: reverse error check logic in himem
2021-08-31 08:46:27 +08:00
Zim Kalinowski
9c666875dc
Merge branch 'zim-pre-to-endcode-remaining' into 'master'
...
freertos:remaining <pre> to @code changes
See merge request espressif/esp-idf!14997
2021-08-30 13:17:42 +00:00
morris
2e0ffbd543
Merge branch 'bugfix/fix-driver-8_16bit-reg-access' into 'master'
...
bugfix/driver: fix and cleanup soc/ll stuffs
Closes IDF-3722
See merge request espressif/esp-idf!14829
2021-08-30 10:27:05 +00:00
Michael (XIAO Xufeng)
d910d42a8d
Merge branch 'bugfix/soc_interrupt_source' into 'master'
...
soc: remove outdated description of interrupts on RISCV CPUs
See merge request espressif/esp-idf!14974
2021-08-30 09:38:24 +00:00
Michael (XIAO Xufeng)
59cedcb748
soc: remove outdated description of interrupts on RISCV CPUs
2021-08-30 17:38:16 +08:00
Darian
8af7292496
Merge branch 'feature/new_usb_host_driver' into 'master'
...
(5) USB: Add public USB Host Driver
Closes IDF-3121, IDF-3509, and IDF-3557
See merge request espressif/esp-idf!13145
2021-08-30 09:28:43 +00:00
David Čermák
82eccf434e
Merge branch 'bugfix/wifi_ap_handler_docs' into 'master'
...
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
Closes DOC-1929
See merge request espressif/esp-idf!14903
2021-08-30 07:31:37 +00:00
Zim Kalinowski
29ae014fd6
remaining <pre> to @code changes
2021-08-30 15:13:27 +08:00
Li Hang Fan
9625f0618f
Merge branch 'refactor/update-esp_check-for-himem-rtcio' into 'master'
...
rtc_io, esp_himem: replace XXX_CHECK with ESP_RETURN_ON_FALSE
Closes IDF-3669 and IDF-3035
See merge request espressif/esp-idf!14992
2021-08-30 07:10:31 +00:00
yuanjm
5db3853c2c
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7457
2021-08-30 14:50:19 +08:00
yuanjm
5bdbfd1d05
Revert "Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'"
...
This reverts commit d838a11d78
, reversing
changes made to 70fd8529e9
.
2021-08-30 14:50:19 +08:00
Zim Kalinowski
39046c5e3e
Merge branch 'zim-reduce-esp-specific-code' into 'master'
...
freertos: Reduce ESP specific code
See merge request espressif/esp-idf!14969
2021-08-30 06:45:36 +00:00
Zim Kalinowski
5f2a66a8a5
freertos: Reduce ESP specific code
2021-08-30 14:45:31 +08:00
SalimTerryLi
892f5e7df3
timer_group: fix wrongly generated reg header that introduced in 443845fd54
2021-08-30 13:51:25 +08:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
...
update all struct headers to be more "standardized":
- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199
added helper macros to force peripheral registers being accessed in 32 bitwidth
added a check script into ci
2021-08-30 13:50:58 +08:00
Zim Kalinowski
b843eb61a7
Merge branch 'zim-cherrypicked-coroutine' into 'master'
...
freertos: upgrade to 10.4.3 - vCoRoutineSchedule fix
See merge request espressif/esp-idf!14942
2021-08-30 04:46:28 +00:00
Zim Kalinowski
0583bda9c7
Merge branch 'zim-fix-defines-in-doc' into 'master'
...
freertos: fix defines in documentation
See merge request espressif/esp-idf!14987
2021-08-30 03:36:20 +00:00
SalimTerryLi
55a5c444b5
rtc_io, esp_himem: replace XXX_CHECK with ESP_RETURN_ON_FALSE
2021-08-30 11:18:34 +08:00
Marius Vikhammer
63280dfec0
aes/sha: fixed driver reseting the wrong GDMA channel
...
Driver was using the channel ID from tx when reseting rx.
But since rx and tx is not necessarily from the same pair this could lead
to the driver reseting the wrong DMA channel.
2021-08-30 10:37:03 +08:00
Zim Kalinowski
41c0e44185
freertos: Upgrade to 10.4.3 - timers
...
(cherry picked from commit c22a4c355603318a16adb3b898943744d9b826a5)
2021-08-30 10:10:29 +08:00
Shu Chen
ec31f2338b
Merge branch 'bugfix/fix_esp32h2_apb_frequency_temp_fix' into 'master'
...
[bugfix] esp32h2: fix apb freq err temporarily
See merge request espressif/esp-idf!14982
2021-08-30 00:16:45 +00:00
Zim Kalinowski
13360ab126
fix defines in doc
2021-08-29 21:02:33 +08:00
Mahavir Jain
b63ec47238
Merge branch 'feature/update_cjson_submodule' into 'master'
...
cJSON: Update submodule to v1.7.15
Closes IDFGH-5595
See merge request espressif/esp-idf!14958
2021-08-27 17:14:34 +00:00
Mahavir Jain
286c035064
Merge branch 'bugfix/rename_newlib_header' into 'master'
...
esp_rom: remove "newlib.h" header
See merge request espressif/esp-idf!14975
2021-08-27 14:57:03 +00:00
zhangwenxu
489033d8e3
openthread: enable ping sender module
2021-08-27 21:23:33 +08:00
morris
22dddb46d8
Merge branch 'bugfix/check_nego_timeout_when_link_up' into 'master'
...
eth_phy: dont warn nego timeout if link is down
Closes IDFGH-5415
See merge request espressif/esp-idf!13997
2021-08-27 13:09:17 +00:00
wuzhenghui
32abe5ce42
fix apb freq err temporarily
2021-08-27 19:59:33 +08:00
Mahavir Jain
f7d2f283b3
Merge branch 'bugfix/bugfix/esp32s2_memprot_no_logging_2' into 'master'
...
System/Security: ESP32S2 Memprot uses no abort() calls neither does logging
Closes IDF-3634
See merge request espressif/esp-idf!14852
2021-08-27 11:17:31 +00:00
Shu Chen
89b316b6e0
Merge branch 'bugfix/border-agent-mesh-local-prefix' into 'master'
...
openthread: fix mesh local prefix missing in border agent example
See merge request espressif/esp-idf!14920
2021-08-27 09:10:08 +00:00
Mahavir Jain
d9fdb9dc3f
esp_rom: remove "newlib.h" header
...
We found conflict in "sizeof(time_t)" due to inclusion of this
header over toolchain specific "newlib.h".
Moreover, there are no users for this header and implementation
for API is also not available in ROM. Hence removing it.
2021-08-27 14:33:05 +05:30
Mahavir Jain
3850eba152
Merge branch 'feature/local_control_sec1' into 'master'
...
Added support for security1 in local control
See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Michael (XIAO Xufeng)
64581b36f7
Merge branch 'refactor/dac_apply_generic_check' into 'master'
...
apply generic check macro
Closes IDF-3658
See merge request espressif/esp-idf!14944
2021-08-27 07:49:53 +00:00
morris
ab0c5fed25
eth: dont warn nego timeout if link is down
2021-08-27 15:30:46 +08:00
Jiacheng Guo
2213a35156
openthread: fix mesh local prefix missing in border agent example
2021-08-27 14:21:47 +08:00
Cao Sen Miao
c47ad5d22f
Merge branch 'bugfix/gpio_cant_hold' into 'master'
...
GPIO: fix issue that gpio cannot hold during deep-sleep on c3
Closes IDFGH-5738 and IDF-3526
See merge request espressif/esp-idf!14939
2021-08-27 06:16:45 +00:00
Ondrej Kosta
300618e5be
Merge branch 'feature/dual_eth' into 'master'
...
esp_eth: add support for multiple Ethernets modules at a time
Closes IDFGH-5596
See merge request espressif/esp-idf!14640
2021-08-27 06:11:48 +00:00
Shubham Kulkarni
b975bc9d38
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-08-27 12:04:38 +08:00
morris
ba3168d1d5
Merge branch 'zim-missing-semicolon' into 'master'
...
missing semicolon
See merge request espressif/esp-idf!14965
2021-08-27 03:15:01 +00:00
Li Shuai
ccf1a9a1fc
light sleep: add i/d-cache tagmem retention support for esp32s3
2021-08-27 11:11:09 +08:00
Li Shuai
03746de96f
light sleep: add cpu power down support for esp32s3
2021-08-27 11:11:06 +08:00
Marius Vikhammer
2206c5315e
Merge branch 'bugfix/aes_unaligned_access' into 'master'
...
aes: fix unaligned access
Closes IDFGH-5506
See merge request espressif/esp-idf!14659
2021-08-27 01:33:44 +00:00
Kapil Gupta
d3a42d787d
wpa_supplicant: clean tls client state machine
2021-08-27 00:19:32 +08:00
Shu Chen
ab0d0b7dd2
Merge branch 'festure/add_ot_rcp_base_master' into 'master'
...
add ot-rcp
See merge request espressif/esp-idf!14609
2021-08-26 11:44:28 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
91a40044f5
[freertos] Silence sign-conversion warning
2021-08-26 12:36:46 +02:00
morris
2deeba9d1a
Merge branch 'feature/mcpwm-IRAM_ISR-kconfig' into 'master'
...
mcpwm: ISR can be placed to IRAM by menuconfig
Closes IDFGH-5732
See merge request espressif/esp-idf!14947
2021-08-26 10:08:16 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
6672862db8
Missing dependency for idf.py 'encrypted-flash' target
2021-08-26 12:00:00 +02:00
Vikram Dattu
5691c9a8e8
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Zim Kalinowski
dbdcada2e5
missing semicolon
2021-08-26 16:55:53 +08:00
Michael (XIAO Xufeng)
375145ecdb
Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
...
mcpwm: bldc hall example
Closes IDF-3648
See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Shu Chen
e770817dc7
openthread: refine ot_rcp example documentation and APIs
2021-08-26 16:10:16 +08:00
SalimTerryLi
e67bcda6d1
mcpwm: ISR can be placed to IRAM by menuconfig
...
resolves https://github.com/espressif/esp-idf/issues/7449
2021-08-26 15:58:46 +08:00
Martin Vychodil
58aed7df98
ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
...
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
wangmengyang
c053ef0541
examples: added support of ESP32-S3 chip in controller_hci_uart example
2021-08-26 14:24:32 +08:00
morris
c2d5af17a2
dac: apply generic check macro
2021-08-26 14:01:24 +08:00
Shu Chen
f8f9e545e8
Merge branch 'feature/support_esp32h2_hw_support' into 'master'
...
Feature/support esp32h2 hw support
Closes IDF-3378 and IDF-3396
See merge request espressif/esp-idf!14545
2021-08-26 06:00:27 +00:00
Zim Kalinowski
21c05e1b93
Merge branch 'zim-freertos-upgrade-codelayout' into 'master'
...
freertos: cherrypicked code layout changes from freertos upgrade branch
See merge request espressif/esp-idf!14936
2021-08-26 05:46:04 +00:00
Zim Kalinowski
a8c7db62be
freertos: cherrypicked code layout changes from freertos upgrade branch
2021-08-26 13:45:51 +08:00
Aditya Patwardhan
6fea8340d2
Merge branch 'feature/esp_http_client_client_key_password' into 'master'
...
esp_http_client: Support client key password for HTTPS connections.
Closes IDFGH-5700 and IDFGH-5698
See merge request espressif/esp-idf!14932
2021-08-26 03:28:20 +00:00
sly
11dfd802e0
esp32h2: add rtc clock support
2021-08-26 11:25:39 +08:00
morris
a861575d05
Merge branch 'bugfix/fix_esp32c3_auto_adjust_volt' into 'master'
...
system: fix esp32c3 auto adjust voltage bug
See merge request espressif/esp-idf!14725
2021-08-26 02:53:22 +00:00
Jon Maloney
c8b7f7a5d3
esp_http_client: Support client key password for HTTPS connections.
...
Closes https://github.com/espressif/esp-idf/pull/7420
Closes https://github.com/espressif/esp-idf/issues/7418
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-08-25 18:27:31 +05:30
muhaidong
5eee64bd16
esp_wifi: fix airkiss and esptouch find channel crash issue
2021-08-25 20:34:27 +08:00
Zim Kalinowski
b8733421ac
Merge branch 'feature/twai_rx_data_alert' into 'master'
...
Feature/twai rx data alert
Closes IDFGH-5664 and IDFGH-5652
See merge request espressif/esp-idf!14711
2021-08-25 11:57:21 +00:00
Darian
72ba1866fb
twai: TWAI_ALERT_RX_DATA indicates that frames were received
...
Signed-off-by: Darian Leung <darian@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/7386
Closes https://github.com/espressif/esp-idf/issues/7374
2021-08-25 19:57:10 +08:00
morris
f2f41c3f92
Merge branch 'bugfix/const_buffer_in_tinyusb_cdcacm_write_queue' into 'master'
...
tinyusb: const in_buf of tinyusb_cdcacm_write_queue
See merge request espressif/esp-idf!14938
2021-08-25 11:46:11 +00:00
Adam Múdry
4a6cc1d2a4
vfs/fatfs: fix failed tests by increasing timeout
...
Default 30s timeout is too low for a case when SD card formatting is triggered,
which could lead to tests failure. Timeout of tests is now set to 60s.
JIRA IDFCI-742
2021-08-25 19:04:34 +08:00
zhangwenxu
4175aa0892
openthread: add ot_rcp example
2021-08-25 18:04:45 +08:00
sly
b342b49823
fix esp32c3 auto adjust voltage bug
2021-08-25 17:08:26 +08:00
Jiang Jiang Jian
cec0f5edfb
Merge branch 'optimization/config_option_LWIP_TCPIP_CORE_LOCKING' into 'master'
...
optimization config option LWIP_TCPIP_CORE_LOCKING
Closes IDF-2478
See merge request espressif/esp-idf!11809
2021-08-25 08:52:43 +00:00
David Čermák
2417b9361f
Merge branch 'feature/lwip_sntp_max_servers' into 'master'
...
lw-ip: Add config option for sntp max servers (GitHub PR)
Closes IDFGH-5616
See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Wu Zheng Hui
b287e01f38
Merge branch 'feature/support_bss_in_psram_for_esp32s2' into 'master'
...
[system] Allow .bss segment placed in external memory for ESP32-S2
Closes IDFGH-4320
See merge request espressif/esp-idf!13841
2021-08-25 08:06:37 +00:00
Wu Zheng Hui
3128a2544b
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
12bf160f3d
vCoRoutineScheduleFix
...
(cherry picked from commit 1edbd44db107225b7bc6342a7da5680cc12ad22f)
2021-08-25 15:59:00 +08:00
Dmitry Yakovlev
4740e3e017
Merge branch 'bugfix/gdbstub_uart_at_runtime' into 'master'
...
Bugfix enable console RX UART for gdbstub for runtime mode only.
See merge request espressif/esp-idf!14927
2021-08-25 07:31:13 +00:00
Song Ruo Jing
fe5c87cb3c
Merge branch 'bugfix/enable_gpio_20' into 'master'
...
gpio: Enable IO20 on ESP32
Closes IDFGH-5140
See merge request espressif/esp-idf!14881
2021-08-25 07:25:37 +00:00
Cao Sen Miao
c860b3ead6
gpio: fix issue that gpio cannot hold during deep-sleep on c3, Closes https://github.com/espressif/esp-idf/issues/7455
2021-08-25 15:16:08 +08:00
morris
be36c9ae36
tinyusb: const in_buf of tinyusb_cdcacm_write_queue
2021-08-25 14:43:46 +08:00
Guo Jia Cheng
e5766eb3d3
Merge branch 'feature/mdns-async-callback' into 'master'
...
mdns: add notification callback for async APIs
See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
wuzhenghui
6ab495b4dc
esp32h2: chip env support
...
brownout init fixed
2021-08-25 11:02:47 +08:00
Marius Vikhammer
3907634d20
aes: fix potential unaligned access of buffers
...
https://github.com/espressif/esp-idf/issues/7236
2021-08-25 10:48:26 +08:00
David Cermak
e54523708d
Merge branch 'master' into feature/lwip_sntp_max_servers
2021-08-24 18:16:07 +02:00
Darian Leung
accbaee57c
Add USB Host Library
...
This commit adds the preliminary version of the USB Host Library. This commit contains:
- USBH (USB Host Driver)
- Hub Driver that only supports a single device and device enumeration
- USB Host Library (asychronous API)
- Test cases for USB Host Library asychronous API
The following changes were made to the existing HCD:
- Removed HCD_PIPE_STATE_INVALID. Pipes are no longer invalidated
- Changed pipe commands to halt, flush, and clear. Pipes need to be manually
halted, flush, and cleared.
- Halting and flushing a pipe will execute the pipe callback if it causes a
HCD_PIPE_EVENT_URB_DONE event
2021-08-24 23:28:00 +08:00
Ondrej Kosta
ef30384902
esp_eth: add support for multiple Ethernets modules at a time
...
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.
Components using Ethernet updated to conform with new API.
Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
Dmitry
fdb9edd8c6
Bugfix enable console RX UART for gdbstub for runtime mode only.
2021-08-24 12:19:21 +03:00
Cao Sen Miao
da12db2904
Merge branch 'bugfix/c3_i2c_timeout' into 'master'
...
I2C: Fix i2c write randomly timeout and WDT triggered
See merge request espressif/esp-idf!14722
2021-08-24 08:59:22 +00:00
morris
0dbe872542
mcpwm: bldc hall example
2021-08-24 15:38:46 +08:00
morris
3bfd8f5d5f
mcpwm: update register file according to TRM
2021-08-24 15:38:46 +08:00
Konstantin Kondrashov
fb7b40b2c2
Merge branch 'bugfix/update_espefuse_fixes_execute_scripts' into 'master'
...
esptool/espefuse: Fixes execute_scripts, it should call BURN once at the end
See merge request espressif/esp-idf!14904
2021-08-24 07:33:59 +00:00
Li Shuai
15fc449793
light sleep: separate sleep retention function
2021-08-24 11:54:47 +08:00
liaowenhao
124169a7dd
bugfix acl doesn't disconnect when hfp_client disconnect
2021-08-24 10:53:25 +08:00
Marius Vikhammer
f38875cbd1
Merge branch 'bugfix/race_condition_in_ipc_task' into 'master'
...
bugfix/race condition in ipc task
See merge request espressif/esp-idf!14914
2021-08-24 00:14:47 +00:00
Ivan Grokhotkov
9a3f99949f
Merge branch 'bugfix/strict_data_partition_alignment' into 'master'
...
partition_table: warn if data partition offset is not 4kB aligned
Closes IDFGH-5572 and IDFGH-5630
See merge request espressif/esp-idf!14902
2021-08-23 17:31:57 +00:00
David Čermák
756cc4f8dc
Merge branch 'bugfix/esp_sntp_declare' into 'master'
...
lw-ip: Fix sntp custom options if sntp_get_system_time used
Closes FCS-710
See merge request espressif/esp-idf!14556
2021-08-23 15:11:26 +00:00
Erhan Kurubas
b3c3791152
esp_ipc: fix race condition in ipc task
2021-08-23 17:17:19 +03:00
David Cermak
457d837b40
lwip: Fix sntp custom options if sntp_get_system_time used
2021-08-23 11:47:44 +02:00
Guo Jia Cheng
139bf4af64
Merge branch 'feature/add-mdns-result-attributes' into 'master'
...
mdns: add more mdns result attributes
See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
Ivan Grokhotkov
6cf25ce43f
Merge branch 'doc/size_opt_vfs' into 'master'
...
docs: describe code size optimizations possible in VFS component
See merge request espressif/esp-idf!14783
2021-08-23 07:32:14 +00:00
David Cermak
3c6efbe5a5
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-08-23 09:20:12 +02:00
KonstantinKondrashov
03baf4f8be
espefuse: Fixes execute_scripts, it should call BURN once at the end
2021-08-23 12:19:32 +05:00
Mahavir Jain
b2c1f6c719
Merge branch 'bugfix/fix_disable_https_client_build_error' into 'master'
...
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
Closes IDFGH-5640
See merge request espressif/esp-idf!14833
2021-08-23 06:30:46 +00:00
Ivan Grokhotkov
b56c9aafe4
partition_table: warn if data partition offset is not 4kB aligned
...
If a partition offset is not aligned to 4 kB, erase operations will
fail, even if they are aligned to 4 kB relative to the partition
start. This is because the underlying esp_flash_erase_range function
only works when the address is aligned to 4 kB.
Not making this an error for now, since applications might be using
read-only non-4kB aligned partitions, which still work fine.
Will change this behavior in IDF 5.0, requiring 4 kB alignment for all
partitions.
Closes https://github.com/espressif/esp-idf/issues/7295
Closes https://github.com/espressif/esp-idf/issues/7350
2021-08-23 08:09:28 +02:00
Ivan Grokhotkov
54595887f6
partition_table: gen_esp32part.py --secure applies to app partitions
...
...only. Previously this check was done for both app and data
partitions. While checking that data partition size is aligned is
a _good thing_, the check would only occur when secure boot was on.
2021-08-23 08:04:53 +02:00
Ivan Grokhotkov
2e83ac5a99
partition_table: don't print warnings to stdout
2021-08-23 08:01:41 +02:00
Ivan Grokhotkov
b7a4df9031
vfs: list IO functions which can be used with VFS_SUPPORT_IO disabled
2021-08-23 07:02:19 +02:00
Ivan Grokhotkov
a005e9bfbc
docs: move VFS documentation into the component directory
...
These files were added into the component directory back when we
didn't have the documentation directory, and weren't moved once the
documentation directory was created.
2021-08-23 07:02:19 +02:00
morris
0c41837b06
Merge branch 'refactor/timer_group-reg_file-update' into 'master'
...
refactor/timer_group update reg headers for c3 and s2
Closes IDF-3690
See merge request espressif/esp-idf!14761
2021-08-23 04:30:59 +00:00
Li Shuai
90a0a83c0f
light sleep: separate sleep wifi/bt mac bb function
2021-08-23 10:25:04 +08:00
Li Shuai
b0757dfcfa
light sleep: separate sleep gpio function
2021-08-23 10:22:12 +08:00
David Čermák
ab077df865
Merge branch 'feature/lwip_fstat' into 'master'
...
lw-ip: Add partial fstat vfs support to set st_mode
Closes IDFGH-5459
See merge request espressif/esp-idf!14854
2021-08-20 13:41:09 +00:00
Roland Dobai
98a6538877
Merge branch 'feature/gcov_dump_in_thread' into 'master'
...
gcov dump in a special thread
Closes OCD-216 and IDF-1034
See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Shubham Kulkarni
13acc2a440
Merge branch 'bugfix/esp_https_ota_log' into 'master'
...
Fix log level in esp_https_ota (GitHub PR)
Closes IDFGH-5653
See merge request espressif/esp-idf!14860
2021-08-20 10:02:38 +00:00
Armando (Dou Yiwen)
3e172289b0
Merge branch 'feature/support_octal_flash_120m_str_mode_on_esp32s3' into 'master'
...
mspi: support octal flash 120MHz STR mode on esp32s3
Closes IDF-3146
See merge request espressif/esp-idf!14668
2021-08-20 08:40:02 +00:00
Erhan Kurubas
8fe5cdf646
ipc: enable ipc task at single core for gcov dump
2021-08-20 15:00:55 +08:00
Erhan Kurubas
2a5d0a041e
gcov: add stub table size entry
2021-08-20 15:00:55 +08:00
Erhan Kurubas
ca88b269ed
gcov: add gcov callback into the ipc task
2021-08-20 15:00:55 +08:00
Erhan Kurubas
984d1b401e
gcov: dump in a special thread
2021-08-20 15:00:55 +08:00
Erhan Kurubas
bbf919709f
gcov: added dbg stub capabilites and magic number entry to keep backward compatible
2021-08-20 15:00:55 +08:00
Mahavir Jain
85e1258178
Merge branch 'esp32s3/secure_boot' into 'master'
...
bootloader: Enable Secure boot V2 for ESP32-S3
Closes IDF-1787
See merge request espressif/esp-idf!14873
2021-08-20 06:44:19 +00:00
Alberto García Hierro
6deaefde69
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
2021-08-20 14:05:38 +08:00
morris
bb87fd8f08
Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
...
pcnt: soc update and hal refactor
See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
hiproz
69eb190310
esp_https_ota: change logs
...
1. add paired log for line393; 2. change log level to debug
Closes https://github.com/espressif/esp-idf/pull/7375
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-08-20 09:35:40 +05:30
David Cermak
07612b0854
vfs: Add initial lwip vfs test
...
to test fstat() implementation
2021-08-19 17:29:34 +02:00
David Cermak
d55ed5c11b
lwip: Add partial fstat vfs support to set st_mode
...
Closes https://github.com/espressif/esp-idf/issues/7198
2021-08-19 17:29:29 +02:00
Konstantin Kondrashov
c480afa70a
Merge branch 'bugfix/select_boot_app' into 'master'
...
partition_table: Fix case when a few similar to otadata partitions in the table
Closes IDFGH-5282
See merge request espressif/esp-idf!13953
2021-08-19 14:33:48 +00:00
Michael (XIAO Xufeng)
e5e36c899d
Merge branch 'bugfix/spi_flash_rom_corruption_execute_flash_cmd' into 'master'
...
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
See merge request espressif/esp-idf!14855
2021-08-19 13:48:10 +00:00
morris
29e7456f37
Merge branch 'feature/spi_master_support_8-line_mode' into 'master'
...
spi_master: support 8-line mode
Closes IDF-3354 and IDFGH-4553
See merge request espressif/esp-idf!14397
2021-08-19 13:19:34 +00:00
SalimTerryLi
443845fd54
timer_group: update reg headers for c3&s2&h2 and fix direct 8/16bit reg access
2021-08-19 18:56:32 +08:00
Michael (XIAO Xufeng)
7649db9712
draft: another patch..
2021-08-19 17:02:58 +08:00
morris
71d475149d
lcd: update doc unit test and example to support 8-line spi
2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041
spi_master:support octal mode for esp32s2 and esp32s3
...
Add support for 8-line spi for lcd on esp32s2 and esp32s3
Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
Sachin Parekh
2d82560ed5
bootloader: Enable Secure boot V2 for ESP32-S3
2021-08-19 14:08:12 +05:30
ivmarkov
ee531c748a
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-08-19 09:55:26 +02:00
Jakob Hasse
c81d45280e
Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
...
Added spi_flash mocks
See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Zim Kalinowski
dcff1baab5
Merge branch 'bugfix/fix_esp32s2_deep_sleep_timer_wake_up_fail' into 'master'
...
rtc: fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
Closes IDF-2712
See merge request espressif/esp-idf!12438
2021-08-19 03:20:15 +00:00
Armando
d325f4d557
mspi: support octal flash 120M STR mode on esp32s3
2021-08-19 10:44:30 +08:00
Wang Meng Yang
29754cf8c0
Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep' into 'master'
...
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
Closes BT-1877
See merge request espressif/esp-idf!14723
2021-08-19 00:18:53 +00:00
Wang Meng Yang
7df2a22faa
Merge branch 'bugfix/spp_memory_leak' into 'master'
...
Fix spp memory leak
Closes IDFGH-5508
See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
Michael (XIAO Xufeng)
8dcfa1b384
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
...
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.
Introduced in dd40123129
.
2021-08-18 23:55:39 +08:00
xueyunfei
0d07569fff
optimization config option LWIP_TCPIP_CORE_LOCKING
2021-08-18 21:32:13 +08:00
morris
f40bbb01f2
Merge branch 'feature/i80_lcd_support_esp32s2' into 'master'
...
esp_lcd: lcd driver for esp32/esp32s2/esp32s3
Closes IDF-3144, IDF-3314, IDF-3315, and IDF-3316
See merge request espressif/esp-idf!13679
2021-08-18 07:55:06 +00:00
KonstantinKondrashov
9b654db032
partition_table: Fix case when a few similar to otadata partitions in the table
...
It was when in the partition table there is a partition with type="data" and suptype=""(empty),
in this case type=1, suptype=0. It is similar to otadata partition.
This commit fixes it, now it will handle it as type=1, suptype=6 (ESP_PARTITION_SUBTYPE_DATA_UNDEFINED).
2021-08-18 09:23:17 +05:00
Jakob Hasse
46e59e7194
[mocks]: moved already added spi_flash mocks
...
[nvs]: page test works with new overriden mock
[spi_flash]: Removed mocking code from CMake
* Renamed nvs test to be consistent with other
host test
2021-08-18 11:05:51 +08:00
liulinyan
f5a12f4900
Merge branch 'bugfix/ble_mesh_cve_recommendation' into 'master'
...
ble_mesh: Update the SIG recommendations for CVE issues
See merge request espressif/esp-idf!14832
2021-08-18 02:46:38 +00:00
David Čermák
d2fe8bfd15
Merge branch 'experimental/mdns_with_sockets' into 'master'
...
mdns: Add optional networking layer on BSD socket
Closes IDF-1849
See merge request espressif/esp-idf!9857
2021-08-17 14:12:30 +00:00
David Čermák
ca03e1f71a
Merge branch 'bugfix/esp_netif_set_default_lwip_handle' into 'master'
...
esp_netif: Set default netif with lwip_netif
Closes IDFGH-5517
See merge request espressif/esp-idf!14511
2021-08-17 13:23:30 +00:00
yuanjm
fc8668a739
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
...
Closes https://github.com/espressif/esp-idf/issues/7361
2021-08-17 19:53:47 +08:00
lly
f6c3b51b13
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-17 19:43:47 +08:00
David Cermak
9f17f586f4
esp_netif: Set default netif with lwip_netif
...
Make use of lwip_netif pointer for setting the default interface in lwip,
since the is a generic pointer used in I/O functions wheras the former is always the type.
More importantly the netif_handle could be set to another context ptr
used in I/O functions, as as for the SLIP netif.
This change fixes the issue of incorrect settings of a default interface
if any SLIP netif is involved.
Closes https://github.com/espressif/esp-idf/issues/7246
2021-08-17 19:10:49 +08:00
David Cermak
fc7e2d9e90
mdns: Add host test using linux target
2021-08-17 18:39:40 +08:00
David Cermak
09f10f326a
esp_netif: Add support for linux target as header only library
2021-08-17 18:39:40 +08:00
David Cermak
73dfe84bf2
mdns: Implement mdns_networking using BSD sockets
...
And use only if configured. By default we still use lwip raw (low-level) API
2021-08-17 18:39:40 +08:00
Chinmay Chhajed
f167a2a3d1
bt: Remove unused function esp_bt_get_mac.
...
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 15:07:51 +05:30
Ondrej Kosta
c0032dc9a6
Merge branch 'feature/LAN87xx_registers' into 'master'
...
phy_lan87xx: Extended Vendor Specific Registers definition
Closes IDFGH-5544
See merge request espressif/esp-idf!14679
2021-08-17 09:01:31 +00:00
David Čermák
367c7bc307
Merge branch 'bugfix/fix_ping_sock_return_error' into 'master'
...
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
Closes IDFGH-5642
See merge request espressif/esp-idf!14664
2021-08-17 08:55:11 +00:00
Jiacheng Guo
986603cf07
mdns: add notification callback for async APIs
2021-08-17 16:53:37 +08:00
Jakob Hasse
b3271a51af
Merge branch 'bugfix/common_components_linux' into 'master'
...
[build system]: Fixed common requirement for Linux target
Closes IDF-3638
See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Zim Kalinowski
ff56848a0e
revert dependency
...
integrating changes from upstream
2021-08-17 16:10:45 +08:00
Mahavir Jain
012c9e26a4
Merge branch 'fixes/secure_boot' into 'master'
...
secure_boot/esp32(s2,c3): Disable read protecting of efuses
See merge request espressif/esp-idf!14769
2021-08-17 05:05:00 +00:00
Jiang Jiang Jian
75a1942d5c
Merge branch 'bugfix/dual_core_pm_lock_issue' into 'master'
...
fix pm lock issue in dual core mode
Closes WIFI-3905
See merge request espressif/esp-idf!14552
2021-08-17 05:00:52 +00:00
Guo Jia Cheng
9b3b89017f
Merge branch 'bugfix/select-close-return' into 'master'
...
vfs: fix select return value when non-permanent fd closed
Closes IDFCI-612
See merge request espressif/esp-idf!14684
2021-08-17 02:58:20 +00:00
Wang Meng Yang
a77aaf296a
Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
...
Fix timer collision in role switch
Closes IDFGH-5464
See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
Omar Chebib
32067f9b6b
Merge branch 'feature/freertos_snapshot_extraction' into 'master'
...
freertos: take tasks snapshot out of tasks.c source code
Closes IDF-3334
See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
xiongweichao
ba7252d2ea
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-16 16:51:54 +08:00
Wang Meng Yang
bdd4b45f6a
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
...
component/bt: fix bluedroid host auto update PPCP attribute value
See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
Wang Meng Yang
3e4f147c26
Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash' into 'master'
...
component/bt: Fixed ble conn will crash durning erase flash
See merge request espressif/esp-idf!14794
2021-08-16 07:00:50 +00:00
Jiacheng Guo
f20fb57871
vfs: fix select return value when non-permanent fd closed
2021-08-16 10:49:31 +08:00
Omar Chebib
83c9e1b223
freertos: take tasks snapshot out of tasks.c source code
2021-08-16 10:29:36 +08:00
jincheng
a523dd3ede
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
Michael (XIAO Xufeng)
a0d2efe1be
Merge branch 'bugfix/xmc_overerase' into 'master'
...
bootloader: add xmc spi_flash startup flow to improve reliability
See merge request espressif/esp-idf!13895
2021-08-13 15:27:48 +00:00
Alex Lisitsyn
5944433424
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously' into 'master'
...
freemodbus: fix issues when modbus master and slave work simultaneously
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master (https://github.com/espressif/esp-idf/issues/4699 )
Closes IDF-3012 and IDFGH-2619
See merge request espressif/esp-idf!12961
2021-08-13 14:46:17 +00:00
Alex Lisitsyn
9693ef4918
freemodbus: fix issues when modbus master and slave work simultaneously
...
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master
fix master and slave use the same timer group index (https://github.com/espressif/esp-idf/issues/4699 )
2021-08-13 22:46:09 +08:00
xiewenxiang
2e5f44afa3
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 17:57:33 +08:00
wuzhenghui
f913a10a22
update reset reason for c3/s3/h2
2021-08-13 17:45:53 +08:00
Jakob Hasse
7029f0537e
[build system]: Fixed common requirement for Linux
2021-08-13 16:50:29 +08:00
Marius Vikhammer
53975c444c
Merge branch 'update_copyright_notice_esp_hw_support_5' into 'master'
...
esp_hw_support: update copyright notice 5
See merge request espressif/esp-idf!14729
2021-08-13 08:40:47 +00:00
Marius Vikhammer
465830312b
Merge branch 'update_copyright_notice_esp_hw_support_4' into 'master'
...
esp_hw_support: update copyright notice 4
See merge request espressif/esp-idf!14728
2021-08-13 08:40:15 +00:00
Sachin Parekh
f430e86c0f
secure_boot/esp32(s2,c3): Disable read protecting of efuses
...
When secure boot is enabled, disable the ability to read protect
efuses that contain the digest.
2021-08-13 13:41:59 +05:30
Jakob Hasse
8750034c19
Merge branch 'feature/hmac_s3' into 'master'
...
[esp_hw_support]: HMAC upstream support for S3
See merge request espressif/esp-idf!14629
2021-08-13 06:44:49 +00:00
Konstantin Kondrashov
92ce4a8054
Merge branch 'bugfix/unicore_systimer_generate_rtos_tick' into 'master'
...
freertos: Fix settings of systimer for SysTicks in case Unicore
Closes IDF-3692
See merge request espressif/esp-idf!14735
2021-08-13 04:12:28 +00:00
Jakob Hasse
1c3be690ed
[esp_hw_support]: HMAC upstream support for S3
2021-08-13 12:01:06 +08:00
Alex Lisitsyn
a20df743f1
Merge branch 'bugfix/modbus_fix_compiler_err_when_tcp_is_disabled' into 'master'
...
Bugfix/modbus fix compiler err when tcp is disabled
Closes IDFGH-5019 and IDFGH-5376
See merge request espressif/esp-idf!13010
2021-08-12 14:39:26 +00:00
Alex Lisitsyn
1aa7f27468
add compile time checks for MB_MASTER_TCP_ENABLED
...
Signed-off-by: AshUK <github.AshUK@outlook.com>
2021-08-12 22:39:21 +08:00
Alex Lisitsyn
5981aa9cc2
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key' into 'master'
...
freemodbus: fix invalid error handling for duplicate param_key
Closes IDFGH-5641
See merge request espressif/esp-idf!14715
2021-08-12 13:01:26 +00:00
Mahavir Jain
c511f23254
Merge branch 'fix/warning_in_wifi_prov_mgr' into 'master'
...
provisioning: fix wifi warning in wifi_prov_mgr application
Closes IDF-3682
See merge request espressif/esp-idf!14720
2021-08-12 12:05:28 +00:00
Roland Dobai
26bc4971ac
Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
...
Tools: Fix memory calculations of idf_size.py
Closes IDF-3246 and IDF-2434
See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Michael (XIAO Xufeng)
dd40123129
bootloader: add xmc spi_flash startup flow to improve reliability
2021-08-12 17:22:42 +08:00
Jiang Jiang Jian
eb1a66e7c9
Merge branch 'bugfix/pmf_bcast_deauth_fix' into 'master'
...
Fix some PMF and FTM issues
Closes WIFI-3987
See merge request espressif/esp-idf!14611
2021-08-12 09:00:27 +00:00
KonstantinKondrashov
263c10cee1
freertos: Fix settings of systimer for SysTicks in case Unicore
...
systimer was stopped because the option SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN is set by default 1, it blocks counting.
For Unicore should be:
SYSTIMER_TIMER_UNIT1_CORE0_STALL_EN 1
SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN 0
2021-08-12 12:30:52 +05:00
Omar Chebib
4e3f5573c4
uart: cleaner way of handling error in a critical section
...
Some critical sections have also been added, making the code more
symetric accross the similar functions.
Closes https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
Luca Burelli
e41e67f2f1
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
simon.chupin
294f9783fc
Tools: Fix memory calculations of idf_size.py
2021-08-11 17:51:51 +02:00
Shu Chen
48b98214ae
openthread: enable ot_cli on esp32h2
2021-08-11 17:51:50 +02:00
Michael (XIAO Xufeng)
064f12cb90
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Wang Meng Yang
6dbe0da178
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Bugfix/fix deep sleep miss bug mr master
See merge request espressif/esp-idf!14734
2021-08-11 11:46:08 +00:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Jiacheng Guo
76ec76c12c
mdns: add more mdns result attributes
2021-08-11 19:02:05 +08:00
Jiang Jiang Jian
b1c3ee71c5
Merge branch 'bugfix/wpa_supplicant_fixes' into 'master'
...
Merge wpa_supplicant github PRs
Closes IDFGH-5524, IDFGH-5510, IDFGH-5503, and IDFGH-5644
See merge request espressif/esp-idf!14636
2021-08-11 10:51:41 +00:00
Li Shuai
d3b5f97573
system: fix pm lock issue in dual core mode
2021-08-11 16:00:07 +08:00
Zim Kalinowski
32ee0bdb29
Merge branch 'refactor/move_mocks_to_tools' into 'master'
...
[mocks]: move mocks dir to tools/
Closes IDF-3675
See merge request espressif/esp-idf!14719
2021-08-11 06:27:19 +00:00
Yang Zhao
931da79804
1.Update the esp32 bt lib.The last update is still the old one,so update it again.
...
2.The controller may miss the sleep time caculated before. So it will stuck
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:05:45 +08:00
Marius Vikhammer
85b107bf54
Merge branch 'bugfix/rename_ext_mem_bss_section' into 'master'
...
ld: rename .ext_ram.noinit to .ext_ram_noinit
See merge request espressif/esp-idf!14717
2021-08-11 05:51:00 +00:00
Chen Yi Qun
fbd25c3837
I2C: add conf_update for esp32c3 i2c
2021-08-11 13:39:07 +08:00
Cao Sen Miao
2f5c0355fe
I2C: Fix i2c write fake timeout and WDT triggered
2021-08-11 13:39:07 +08:00
Axel Lin
20d0891e1e
wpa_supplicant: Trivial typo fix for setting spp_sup.require
...
No functional change since both SPP_AMSDU_CAP_ENABLE and SPP_AMSDU_REQ_ENABLE
are defined as 1.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7366
2021-08-11 13:07:31 +08:00
Axel Lin
cd68b93e3b
esp_supplicant: Make esp_rrm_send_neighbor_rep_request return proper error
...
Current code always return 0 even though wpas_rrm_send_neighbor_rep_request()
fails. Return proper error so the caller can know what's wrong.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7233
2021-08-11 13:07:31 +08:00
Axel Lin
2a5d5c02b4
wpa_supplicant: Fix clear WLAN_FC_STYPE_ACTION bit in esp_register_action_frame
...
It should clear WLAN_FC_STYPE_ACTION bit intead of WLAN_FC_STYPE_ACTION.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7252
2021-08-11 13:07:31 +08:00
Axel Lin
e144a60206
wpa_supplicant: Fix memory leak in esp_issue_scan error paths
...
Fix memory leak when allocate memory for params->ssid / params->bssid fails.
Fixes: 27101f9454
("wpa_supplicant: Add initial roaming support")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7240
2021-08-11 13:07:31 +08:00
Harshit Malpani
baa2faa94b
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-11 09:54:37 +05:30
Li Shuai
de28280fd3
Merge branch 'bugfix/sleep_rtc_bus_isolate_issue' into 'master'
...
fix rtc register read error and add workaround for rtc bus isolate issue
Closes WIFI-3896
See merge request espressif/esp-idf!14721
2021-08-11 02:13:40 +00:00
Ondrej Kosta
a37e4b18c6
phy_lan87xx: extended Vendor Specific Registers definition
...
Extended Vendor Specific Registers definition to include definitions for LAN8740A/LAN8741A/LAN8742A
Closes https://github.com/espressif/esp-idf/pull/7269
2021-08-10 15:54:32 +02:00
morris
6fdc5877cd
lcd: support i80 LCD on esp32/s2/s3
2021-08-10 21:06:59 +08:00
morris
3bcd9278fa
i2s: expose resource object to other component
2021-08-10 21:06:59 +08:00
morris
1656cee69d
i2s: correct soc info
...
1. remove non-exist I2S instance
2. update soc_caps.h, i2s_ll.h
2021-08-10 21:06:59 +08:00
Jan Brudný
5195b6a237
esp_hw_support: update copyright notice 5
2021-08-10 13:32:08 +02:00
Jan Brudný
f51e20d814
esp_hw_support: update copyright notice 4
2021-08-10 13:31:53 +02:00
Jan Brudný
7f50818a99
esp_hw_support: update copyright notice 3
2021-08-10 13:30:57 +02:00
Wang Meng Yang
189ccc5493
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Fixed missing the sleep time
See merge request espressif/esp-idf!14550
2021-08-10 11:15:55 +00:00
Michael (XIAO Xufeng)
e37873f285
Merge branch 'bugfix/uart_driver_obj_into_sram' into 'master'
...
uart: put driver object into sram
Closes IDFGH-5281 and IDFGH-5634
See merge request espressif/esp-idf!13606
2021-08-10 09:35:36 +00:00
morris
56760c9669
pcnt: refactor hal driver
2021-08-10 17:19:21 +08:00
suda-morris
9920271c21
pcnt: update pcnt soc data for all targets
2021-08-10 17:19:21 +08:00
XieWenxiang
30ccfdb3b9
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-10 17:18:49 +08:00
Jakob Hasse
88eb4fa6a6
[mocks]: moved mocks dir to tools/
2021-08-10 14:45:42 +08:00
Li Shuai
a82f33c9b5
fix rtc register read error and add workaround for rtc bus isolate issue
2021-08-10 12:01:29 +08:00
Marius Vikhammer
6a2f7b6f88
ld: rename .ext_ram.noinit to .ext_ram_noinit
...
Older versions of the coredump utility tool do not correctly
handle this nameing scheme. Rename to keep forward compatibility.
2021-08-10 11:13:54 +08:00
Zim Kalinowski
afc77dbc5a
freertos: Sync safe changes from Amazon SMP branch
2021-08-10 05:13:43 +08:00
aleks
60ac95a6b2
freemodbus: fix invalid error handling for duplicate param_key
2021-08-09 14:32:22 +02:00
Roland Dobai
03b361c5a6
Merge branch 'update_copyright_notice_esp_hw_support_2' into 'master'
...
esp_hw_support: update copyright notice 2
See merge request espressif/esp-idf!14678
2021-08-09 07:50:26 +00:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
Yang Zhao
d1f4b74812
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-09 13:13:51 +08:00
Jakob Hasse
69ea35ffac
Merge branch 'feature/freertos_mock' into 'master'
...
[freertos] Freertos mock
See merge request espressif/esp-idf!14493
2021-08-09 02:52:55 +00:00
Marius Vikhammer
4b07fcca65
Merge branch 'bugfix/crypto_gdma_transfer_ability' into 'master'
...
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
Closes IDF-3676
See merge request espressif/esp-idf!14665
2021-08-09 01:15:36 +00:00
Ivan Grokhotkov
95699a9260
Merge branch 'bugfix/libsodium_build_with_gnu_make' into 'master'
...
libsodium: fix build issues with GNU Make
Closes IDF-3673
See merge request espressif/esp-idf!14661
2021-08-08 07:20:02 +00:00
Mahavir Jain
83956ebbae
Merge branch 'feature/update_efuses_for_esp32s2' into 'master'
...
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
Closes IDF-3263
See merge request espressif/esp-idf!13644
2021-08-06 14:24:20 +00:00
Jiang Jiang Jian
6e1f8a68b9
Merge branch 'feature/support_esp32s3_wifi_lightsleep' into 'master'
...
support esp32s3 wifi lightsleep
Closes IDF-1781
See merge request espressif/esp-idf!14569
2021-08-06 12:51:46 +00:00
Roland Dobai
7384149780
Merge branch 'update_copyright_notice_esp32s2_esp32s3' into 'master'
...
esp32s2, esp32s3: update copyright notice
See merge request espressif/esp-idf!13831
2021-08-06 10:36:07 +00:00
Jakob Hasse
84d184bdb0
Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master'
...
[NVS]: fix crashes from entry state 1
See merge request espressif/esp-idf!14548
2021-08-06 09:14:21 +00:00
Jakob Hasse
c9984faaef
[mocks]: freertos mock
...
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Wang Fang
59aa60d52a
Merge branch 'docs/provide_apb_clock_frequency_in_api-reference_timers' into 'master'
...
docs: provide APB clock frequency in api-reference/timers
Closes DOC-1689
See merge request espressif/esp-idf!14593
2021-08-06 06:50:26 +00:00
Roland Dobai
9c934e87f3
Merge branch 'update_copyright_notice_esp_hw_support_1' into 'master'
...
esp_hw_support: update copyright notice
See merge request espressif/esp-idf!14677
2021-08-06 06:17:37 +00:00
morris
dbeb4bdb84
uart: support alloc driver object in SRAM
...
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.
Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-08-06 13:37:40 +08:00
morris
62d9109eb5
uart: format driver code by astyle
2021-08-06 13:36:57 +08:00
KonstantinKondrashov
3cf4fbc150
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-06 13:14:54 +08:00
Mahavir Jain
7b5f731cce
Merge branch 'esp32c3/override_assert' into 'master'
...
newlib: Override __assert and __assert_func
Closes IDF-3196 and IDFGH-5473
See merge request espressif/esp-idf!13740
2021-08-06 05:02:00 +00:00
Michael (XIAO Xufeng)
18e681ce2f
Merge branch 'bugfix/spi_master_crash_cache_disabled' into 'master'
...
spi_master: fix the crash when using interrupt mode when cache is disabled
Closes IDFGH-4992
See merge request espressif/esp-idf!14660
2021-08-06 03:37:26 +00:00
Wang Fang
0ba73ee7e2
docs: provide APB clock frequency in api-reference/timers
2021-08-06 11:05:32 +08:00
Wang Meng Yang
8fc30ece07
Merge branch 'component_bt/add_spp_faq' into 'master'
...
Component_bt/Add FAQ in SPP Demo README
Closes FCS-611
See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
Jan Brudný
83bd078eb4
esp_hw_support: update copyright notice
2021-08-05 17:38:43 +02:00
Jan Brudný
db41f2efdd
esp_hw_support: update copyright notice
2021-08-05 16:30:10 +02:00
Jan Brudný
7fa88a49d4
esp32s2: update copyright notice in signature test
2021-08-05 15:01:26 +02:00
Jan Brudný
562ce4d009
esp32s2, esp32s3: update copyright notice
2021-08-05 15:01:26 +02:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
...
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
Jakob Hasse
9bb2fc2afd
Merge branch 'feature/esp_common_linux_in_host_tests' into 'master'
...
[nvs]: use real esp_common on host tests
See merge request espressif/esp-idf!14408
2021-08-05 08:31:21 +00:00
Sachin Parekh
6582f7070e
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-08-05 11:09:22 +05:30
Sachin Parekh
41973b761e
newlib: Override __assert and __assert_func
...
Default assert implementation calls fiprintf, which tries to acquire a
lock and fails if it is executing in critical section or ISR
2021-08-05 11:09:22 +05:30
Konstantin Kondrashov
1e8d1344a1
Merge branch 'feature/doc_sbv2_key_not_read_protected' into 'master'
...
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
See merge request espressif/esp-idf!14619
2021-08-05 05:20:36 +00:00
Mahavir Jain
a2111ce2b5
libsodium: fix source directory names to address build issues with Make
2021-08-05 12:28:09 +08:00
Michael (XIAO Xufeng)
947980ecac
Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
...
uart: uart_set_pin function will now use IOMUX whenever possible
Closes IDF-3183
See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Michael (XIAO Xufeng)
de0f24e373
spi_master: fix the crash when using interrupt mode when cache is disabled
...
Closes https://github.com/espressif/esp-idf/issues/6529
Closes https://github.com/espressif/esp-idf/issues/6781
Closes https://github.com/espressif/esp-idf/issues/7368
2021-08-05 12:04:39 +08:00
Marius Vikhammer
bf21cf0c99
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
...
Previously GDMA transfer ability was set to 4 bytes, but buffers might
be not fulfill these requirements
2021-08-05 11:02:17 +08:00
yuanjm
e9dab3203e
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-05 10:38:38 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
Li Shuai
df93733e56
light sleep: wifi sleep parameter optimize for esp32s3
2021-08-04 21:58:35 +08:00
Li Shuai
d73a09cd8b
light sleep: add wifi mac sleep support for esp32s3
2021-08-04 21:58:33 +08:00
Li Shuai
366d0a724a
light sleep: set wifi light sleep clock source to rtc slow clock
2021-08-04 21:31:47 +08:00
Li Shuai
e3c13f8770
light sleep: diable phy tsens for esp32s3
2021-08-04 21:31:47 +08:00
liqigan
d8023ba09c
add FAQ in SPP demo README
2021-08-04 20:49:51 +08:00
Zim Kalinowski
1fd56e0b87
Merge branch 'feature/systimer_generate_rtos_tick' into 'master'
...
freertos(esp32s3): SysTick uses systimer
Closes IDF-2613
See merge request espressif/esp-idf!12246
2021-08-04 12:33:52 +00:00
Konstantin Kondrashov
29f581fc70
freertos(esp32s3): SysTick uses systimer
2021-08-04 20:33:44 +08:00
Mahavir Jain
77900888f7
Merge branch 'bugfix/uninitialized_tasknumber' into 'master'
...
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
Closes IDFGH-1815
See merge request espressif/esp-idf!14620
2021-08-04 12:12:08 +00:00
KonstantinKondrashov
93512edc7a
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
2021-08-04 15:39:48 +05:00
Mahavir Jain
0b655470c3
Merge branch 'feature/add_http_event_error' into 'master'
...
esp_http_client: Support HTTP_EVENT_ERROR event
Closes IDFGH-5557
See merge request espressif/esp-idf!14491
2021-08-04 09:12:57 +00:00
Konstantin Kondrashov
f00c204fbc
Merge branch 'feature/adds_custom_mac_address' into 'master'
...
efuse: Add CUSTOM_MAC address for ESP32-C3/-S2/-S3/-H2
Closes IDF-1326
See merge request espressif/esp-idf!14417
2021-08-04 06:35:29 +00:00
Kevin (Lao Kaiyao)
8131d6f46d
Merge branch 'feature/esp32s3_i2s_support' into 'master'
...
Feature(I2S): Support esp32s3 & esp32c3 I2S driver
Closes IDF-1769, IDF-2098, IDF-3271, IDF-2337, and IDF-3463
See merge request espressif/esp-idf!10655
2021-08-04 06:08:09 +00:00
Omar Chebib
779e7400b0
uart: uart_set_pin function will now use IOMUX whenever possible
...
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
Armando (Dou Yiwen)
03fb3973a2
Merge branch 'feature/support_quad_flash_octal_psram_on_esp32s3' into 'master'
...
mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3
Closes IDF-3603
See merge request espressif/esp-idf!14346
2021-08-04 03:57:16 +00:00
laokaiyao
f863998e90
driver/i2s: support mclk
2021-08-04 10:20:03 +08:00
laokaiyao
3c57a6ac36
driver/i2s: refactor ll and hal
2021-08-04 10:20:03 +08:00
laokaiyao
d51b85989b
doc/i2s: update i2s programming guide on s3 & c3
2021-08-04 10:20:03 +08:00
laokaiyao
f7f8c9c11f
driver/i2s: support i2s on c3 and s3
...
1. Support i2s on esp32c3 and esp32s3
2. Refactor i2s_config_t to avoid breaking change
2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4
driver: support I2S on ESP32-S3 & ESP32-C3
...
1. refactor I2S driver.
2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
Jakob Hasse
0b86f81847
[nvs]: use real esp_common on host tests
2021-08-03 19:47:17 +08:00
Zim Kalinowski
b5f9149399
Merge branch 'feature/rom_linux' into 'master'
...
[rom] linux implementation for major utility functions
See merge request espressif/esp-idf!13902
2021-08-03 10:58:38 +00:00
Armando
2b52f7f696
mspi: fix no buffer reset before each psram read issue
...
In psram timing tuning driver, we rely on psram read and write functions
defined in `spi_timing_config.c`. If we don't do buffer reset (clear to
0), the function may untouch the buffer, which will keep last time value
(since we reuse the buffer). Therefore, if the first read is expected,
but next few reads didn't modify the buffer content, we will still see
the expected data.
These functions relies on `esp_rom_opiflash_exec_cmd`.
2021-08-03 16:54:01 +08:00
Armando
3cbf202267
mspi: cancel oct flash 40m dtr, oct flash 80m str, oct psram 40m tuning
2021-08-03 16:54:01 +08:00
Armando
038b7b1fa9
mspi: update 80MHz DTR tuning algorithm and Oct PSRAM 80M DTR tuning parameters
2021-08-03 16:54:00 +08:00
Armando
0f91a01a46
mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3
2021-08-03 16:54:00 +08:00
Zim Kalinowski
72769c8323
Merge branch 'feature/ipc_using_isr_call' into 'master'
...
esp_ipc: Add API for IPC to run small pieces of code on the other CPU
Closes IDF-450 and IDF-2261
See merge request espressif/esp-idf!6705
2021-08-03 06:35:38 +00:00
Konstantin Kondrashov
4972605b16
esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt
2021-08-03 14:35:29 +08:00
Gautier Seidel
5a5e710225
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/4025
2021-08-03 10:42:09 +05:30
morris
5f318e902d
Merge branch 'bugfix/mcpwm-deadtime-preset-config' into 'master'
...
bugfix/mcpwm: fix deadtime module preset config (AHC, ALC, AH, AL)
Closes IDFGH-5600
See merge request espressif/esp-idf!14594
2021-08-03 04:22:20 +00:00
Jakob Hasse
4dd88329c1
[esp_rom]: Partially buildable for linux
...
The following files have been ported:
* esp_rom_crc.h
* esp_rom_sys.h
* esp_rom_efuse.h (mostly no-ops)
* esp_rom_md5.h
Integrated Linux-based rom implementation into log
and NVS component.
Added brief host tests for ROM to ensure basic
consistency on Linux.
Added ROM printf host unit tests.
Temporarily added reset reason for Linux in ROM.
2021-08-03 12:03:24 +08:00
Guo Jia Cheng
b8c2825b21
Merge branch 'bugfix/mdns-null-hostname' into 'master'
...
mdns: fix crash when adding services without hostname set
Closes WIFI-3964
See merge request espressif/esp-idf!14519
2021-08-03 02:47:36 +00:00
SalimTerryLi
32ca6ab65d
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 10:12:42 +08:00
Marius Vikhammer
baf0b7cdf5
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:18:21 +08:00
KonstantinKondrashov
40c360a096
efuse: Add CUSTOM_MAC address for ESP32-C3/-S2/-S3/-H2
2021-08-02 14:43:27 +05:00
Song Ruo Jing
5d82d7c6ee
Merge branch 'typo_fix/fix-length-typo' into 'master'
...
docs: Fix length typo
Closes IDFGH-5272
See merge request espressif/esp-idf!14371
2021-08-02 09:35:15 +00:00
Shubham Kulkarni
3244f9b894
Merge branch 'feature/get_partition_count' into 'master'
...
app_update: Expose API to get OTA partition count
Closes IDFGH-5591
See merge request espressif/esp-idf!14596
2021-08-02 09:12:58 +00:00
Marius Vikhammer
a0c548ccd4
Merge branch 'bugfix/coredump_elf_py_section' into 'master'
...
coredump: fix section name parsing in python utility
See merge request espressif/esp-idf!14597
2021-08-02 07:26:47 +00:00
yuanjm
981287900e
esp_http_client: Support HTTP_EVENT_ERROR event
...
Closes https://github.com/espressif/esp-idf/issues/7280
2021-08-02 14:33:50 +08:00
Marius Vikhammer
8b259d15f6
coredump: fix section name parsing in python utility
...
elf.py assumed every section header name had its own string in
shstrtab, but multiple sections may reuse the same substring with
different offsets.
2021-08-02 13:15:30 +08:00
Shubham Kulkarni
c7361327be
app_update: Expose get_ota_partition_count in header file
...
Closes: https://github.com/espressif/esp-idf/issues/7313
2021-08-02 10:12:46 +05:30
Cao Sen Miao
247866261f
Merge branch 'feature/flash_support_on_esp32s3' into 'master'
...
esp_flash: bringup ext flash chip on ESP32-S3
Closes IDF-2021 and IDF-3230
See merge request espressif/esp-idf!14523
2021-08-02 03:59:14 +00:00
Zim Kalinowski
a5a131825f
Merge branch 'bugfix/btdm_ble_delete_unused_variables' into 'master'
...
Remove unused 'yy' variables
Closes IDFGH-5586
See merge request espressif/esp-idf!14582
2021-08-02 00:46:17 +00:00
Emil Muratov
34be62665c
lwip: menuconfig option to enable ntp servers option request via DHCP
...
This could be toggled on/off, off is the default.
SNTP debug option. Example update for ntp via DHCP
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-08-02 01:21:35 +03:00
Michael (XIAO Xufeng)
f7a7cc1014
Merge branch 'fix/sdio_slave_recv_intr_unhandled' into 'master'
...
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
See merge request espressif/esp-idf!11399
2021-08-01 07:37:56 +00:00
Jiang Jiang Jian
5578909ffb
Merge branch 'bugfix/fix_80211_tx_issue' into 'master'
...
esp_wifi: support config 80211 tx rate
Closes IDFGH-5526
See merge request espressif/esp-idf!14340
2021-07-31 13:12:37 +00:00
Cao Sen Miao
5083ff5922
Merge branch 'feature/usb_serial_jtag_support_s3' into 'master'
...
usb_serial_jtag: enable blocking implementation on esp32s3(console)
Closes IDF-3635
See merge request espressif/esp-idf!14581
2021-07-31 11:27:09 +00:00
ChenJianxing
9e7d75cb95
esp_wifi: fix some wifi bugs
...
1. support config 80211 tx rate
2. fix 80211 tx crash issue
3. disable ampdu+amsdu bit
2021-07-31 18:02:20 +08:00
Armando (Dou Yiwen)
0dad76329f
Merge branch 'feature/support_noinit_section_in_psram_on_esp32' into 'master'
...
memory: support noinit section in psram on esp32
Closes IDFGH-2621
See merge request espressif/esp-idf!14088
2021-07-31 09:58:59 +00:00
Michael (XIAO Xufeng)
f26006a3bc
Merge branch 'feature/ledc_fade_callback' into 'master'
...
ledc: Add a callback for LEDC fade end
Closes IDF-2475 and IDF-3222
See merge request espressif/esp-idf!14302
2021-07-31 08:52:00 +00:00
Cao Sen Miao
24529a6aec
usb_serial_jtag: enable blocking implementation on esp32s3
2021-07-31 16:32:09 +08:00
Cao Sen Miao
992de2750e
spi_flash: add support for ext flash
2021-07-31 14:11:35 +08:00
Wu Zheng Hui
fb7894382b
Merge branch 'bugfix/fix_c3_bootloader_ld_addr_err' into 'master'
...
update c3 bootloader ld rom addr info
See merge request espressif/esp-idf!14168
2021-07-31 05:43:58 +00:00
Armando (Dou Yiwen)
ed741a5d96
Merge branch 'bugfix/fix_adc_single_with_pm_lock_build_bug' into 'master'
...
adc: make adc single api only build pm lock on s2
See merge request espressif/esp-idf!14567
2021-07-31 05:32:34 +00:00
morris
9506819df0
Merge branch 'feature/mcpwm_expose_low_level_api' into 'master'
...
mcpwm: expose API for accessing timer resolution
Closes IDFGH-2398
See merge request espressif/esp-idf!14444
2021-07-31 04:12:08 +00:00
Armando
65aa737b15
esp_common: add a case to test EXT_RAM_ATTR attribute
2021-07-31 11:02:13 +08:00
Jiang Jiang Jian
aebdaf08a6
Merge branch 'bugfix/esp32s3_app_core_clock_gate_invalid_issue' into 'master'
...
fix app cpu core clock gate invalid issue
Closes WIFI-3899
See merge request espressif/esp-idf!14518
2021-07-31 03:00:58 +00:00
Jiang Jiang Jian
72b7932e12
Merge branch 'mesh/non_mesh_connections_access' into 'master'
...
esp_wifi_mesh: add non mesh connections access
See merge request espressif/esp-idf!11779
2021-07-31 02:51:47 +00:00
shenjun
42a1be10db
esp_wifi_mesh: add non mesh connections access
2021-07-30 22:17:30 +08:00
SalimTerryLi
f4314af913
MCPWM: expose API to set timer resolution
...
Closes https://github.com/espressif/esp-idf/issues/1101
2021-07-30 18:52:17 +08:00
Jakob Hasse
de6b54de66
[nvs_flash]: Entries with state == 1 don't crash
2021-07-30 18:33:27 +08:00
morris
36cd038526
Merge branch 'feature/rgb_lcd_fb_in_psram' into 'master'
...
RGB_LCD: support frame buffer in PSRAM
Closes IDF-3565
See merge request espressif/esp-idf!14555
2021-07-30 09:09:32 +00:00
Shubham Kulkarni
1871b35df0
Merge branch 'feature/get_cookie_helpers' into 'master'
...
esp_http_server: Add function to get Cookie value from request
Closes IDFGH-5548
See merge request espressif/esp-idf!14406
2021-07-30 08:00:06 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
b421ce2b00
Remove unused 'yy' variables
2021-07-30 15:59:06 +08:00
Patryk Krzywdziński
f43e9cdaa7
http: Function to get Cookie value from request.
...
Closes https://github.com/espressif/esp-idf/pull/7273
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-07-30 13:23:25 +08:00
morris
dc1d14a37f
lcd: support putting RGB frame buffer in PSRAM
2021-07-30 11:23:26 +08:00
morris
21067a0455
spiram: add getter function to check psram initialization state
2021-07-30 11:23:26 +08:00
morris
6352a7ee07
lcd_cam: new csv header file
2021-07-30 11:23:26 +08:00
muhaidong
b54c2732fc
esp_wifi: fix nvs init status issue
2021-07-30 11:13:27 +08:00
Armando
23eb723daf
adc: make adc single api only build pm lock on s2
...
Since ADC single read API only uses polling mode, we don't need to add
pm lock in it.
2021-07-30 10:16:24 +08:00
morris
befe40000c
Merge branch 'bugfix/uart_ll_update' into 'master'
...
uart: update ll layer with new register
See merge request espressif/esp-idf!14576
2021-07-29 12:45:58 +00:00
morris
f907009056
Merge branch 'refactor/cleanup_mcpwm_examples' into 'master'
...
mcpwm: more clean up (example + LL + doc)
Closes IDF-3295
See merge request espressif/esp-idf!12798
2021-07-29 10:41:07 +00:00
Cao Sen Miao
26c808610c
uart: update ll layer with new register
2021-07-29 18:01:48 +08:00
songruojing
9d098cc9bd
ledc: Add a callback for LEDC fade end
...
This commit adds a feature where users can register a callback that is
called when an LEDC fade completes.
2021-07-29 17:56:22 +08:00
Armando (Dou Yiwen)
3c3e802048
Merge branch 'feature/essp_spi_driver' into 'master'
...
spi: essl spi driver and spi_slv_hd append mode example
Closes IDF-1698, IDF-2279, and IDF-2932
See merge request espressif/esp-idf!12104
2021-07-29 09:53:10 +00:00
Alex Lisitsyn
ea40a59d31
Merge branch 'bugfix/freemodbus_fix_pvs_studio_auto_merge_issues' into 'master'
...
freemodbus: PVS-studio fix potential loss of significant bits and auto merge issues
Closes IDF-2732
See merge request espressif/esp-idf!12334
2021-07-29 08:00:24 +00:00
Cao Sen Miao
4fda093c00
Merge branch 'feature/add_official_support_for_gd' into 'master'
...
spi_flash(bootloader): adjust unlock patch from rom patch into bootloader, and add support for GD chips
Closes IDF-3124
See merge request espressif/esp-idf!13467
2021-07-29 07:42:21 +00:00
Michael (XIAO Xufeng)
5569dedd7f
Merge branch 'bugfix/i2c_example_esp32s3' into 'master'
...
i2c: bringup on ESP32-S3
Closes IDF-3232 and IDF-3292
See merge request espressif/esp-idf!13985
2021-07-29 07:01:38 +00:00
Ato Araki
aea865b360
Fix length typo
...
Closes https://github.com/espressif/esp-idf/pull/7037
2021-07-29 14:44:43 +08:00
aleks
9457555173
freemodbus: potential loss of significant bits and auto merge issues
2021-07-29 13:33:42 +08:00
Mahavir Jain
8a51fb0361
Merge branch 'feature/mbedtls_guomi' into 'master'
...
mbedtls: Provision for GM/T SSL 1.1 support under config option
Closes IDF-2977
See merge request espressif/esp-idf!12532
2021-07-29 04:49:08 +00:00
Armando (Dou Yiwen)
30056c0116
Merge branch 'bugfix/spi_master_clear_error_fifo_status' into 'master'
...
spi_master: clear error fifo status before transaction starts
Closes IDF-3457 and IDF-3501
See merge request espressif/esp-idf!14210
2021-07-29 04:03:19 +00:00
Mahavir Jain
111cb10e54
Merge branch 'bugfix/freertos_function_name_typo' into 'master'
...
doc: freertos: fix function name typo
Closes IDFGH-5539
See merge request espressif/esp-idf!14538
2021-07-29 04:00:15 +00:00
Cao Sen Miao
c29b3e2e36
spi_flash: move the unlock patch to bootloader and add support for GD
2021-07-29 10:46:33 +08:00
Jiacheng Guo
5e98772eaf
mdns: fix crash when adding services without hostname set
2021-07-29 10:45:10 +08:00
Armando
ad8e1a395c
memory: port SPIRAM noinit segment support to master
2021-07-29 10:28:39 +08:00
Devan Lai
a542f1b67d
esp32/test: add spiram noinit test case
2021-07-29 10:28:39 +08:00
Devan Lai
b85011c15f
esp32: Add support for noinit variables in SPIRAM
...
Add Kconfig option SPIRAM_ALLOW_NOINIT_EXTERNAL_MEMORY
When enabled, a new linker script rule (from esp32.extram.noinit.ld)
places any variables in the .ext_ram.noinit section in SPIRAM.
This section is exempted from the startup SPIRAM memory test and is
not zero-initialized or added to the malloc pool, making it usable
for noinit variables that persist across reset.
The EXT_RAM_NOINIT_ATTR macro places variables in this section.
2021-07-29 10:28:38 +08:00
Armando (Dou Yiwen)
47e1b41563
Merge branch 'bugfix/adc2_single_read0_with_wifi_on' into 'master'
...
ADC: support ADC2 single read while WifI is on
Closes IDFCI-353 and IDF-3454
See merge request espressif/esp-idf!14152
2021-07-29 02:25:36 +00:00
Ondrej Kosta
bf7b1689de
Merge branch 'feature/lan87xx_support' into 'master'
...
Feature/lan87xx support
Closes IDFGH-5345
See merge request espressif/esp-idf!14142
2021-07-28 16:27:58 +00:00
Roland Dobai
fb78f131cd
Merge branch 'feature/esptool_fpga_slow_boot_flag' into 'master'
...
Propagate FPGA env var to esptool
See merge request espressif/esp-idf!14516
2021-07-28 15:30:53 +00:00
Jiang Jiang Jian
97507ebe49
Merge branch 'feature/support_esp32s3_lightsleep' into 'master'
...
support esp32s3 normal lightsleep
See merge request espressif/esp-idf!14369
2021-07-28 15:09:37 +00:00
Michael (XIAO Xufeng)
58022f8599
Merge branch 'bugfix/esp_flash_erase_0' into 'master'
...
esp_flash: fix esp_flash_erase_region over-erase with 0 length (Github PR)
Closes IDFGH-5592
See merge request espressif/esp-idf!14498
2021-07-28 15:09:08 +00:00
Li Jingyi
b8892137f5
mbedtls: Add CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 for support GMSSL component
...
The configure will be enabled for GMSSL component and disabled as default because of it doesn't provide by IDF project.
2021-07-28 19:54:58 +08:00
Ondrej Kosta
404905d5f1
esp_eth: Add support to LAN87xx family
...
Merges/Related-to https://github.com/espressif/esp-idf/pull/7097
2021-07-28 19:34:05 +08:00
radim.karnis
702c075d93
Propagate FPGA env var to esptool
2021-07-28 19:07:37 +08:00
Craig Kewley
99e2f970c3
doc: freertos: fix function name typo
...
Closes https://github.com/espressif/esp-idf/pull/7265
Closes IDFGH-5539
2021-07-28 19:04:15 +08:00
Armando
99c30d32c7
essl: use esp_check in essp spi driver
2021-07-28 18:36:13 +08:00
Armando
aca2bd5fcf
essl: add essl spi support to communicate with spi slave hd mode
2021-07-28 18:36:13 +08:00
Armando
9063a7b7e3
test: add an SPI dual board test for master FD DMA single directions test
2021-07-28 17:51:25 +08:00
Armando
fd6173b9b7
spi_master: correctly reset spi afifos before DMA transaction starts
2021-07-28 17:51:25 +08:00
Armando
c4cc3bb895
adc: temporarily disable adc2 wifi test pending on s3 adc calibration
2021-07-28 17:50:15 +08:00
Armando
eab252456f
adc: refactor adc2 single read with wifi test
2021-07-28 17:50:14 +08:00
Armando
3ce2d85e9e
adc: support adc2 working with WiFi
2021-07-28 17:50:14 +08:00
Ivan Grokhotkov
69deaf528f
Merge branch 'bugfix/fix_espcoredump_test' into 'master'
...
espcoredump: Update expected output to fix test failures
See merge request espressif/esp-idf!14536
2021-07-28 08:40:20 +00:00
morris
a2ae856b4e
Merge branch 'refactor/esp_lcd_use_static_i2c_cmd_link' into 'master'
...
esp_lcd: use one-time allocated buffer for i2c cmd link
Closes IDF-3542
See merge request espressif/esp-idf!14320
2021-07-28 08:13:31 +00:00
Li Shuai
3c30099327
light sleep: add esp_timer light sleep test case
2021-07-28 15:44:02 +08:00
Li Shuai
d9aba74c0d
light sleep: certain peripherals are powered up in sleep
2021-07-28 15:41:52 +08:00
Li Shuai
5a3d2b1874
light sleep: modify some sleep params for esp32s3
2021-07-28 15:41:47 +08:00
SalimTerryLi
91a2074dd5
esp_lcd: one-time allcoated buffer for i2c_cmd_link_create_static & reduce duplicated code
2021-07-28 12:23:34 +08:00
Shubham Patil
2d2b066c01
espcoredump: Update expected output to fix test failures
2021-07-28 09:41:07 +05:30
Li Shuai
8a10ba4179
system: fix app cpu core clock gate invalid issue
2021-07-28 11:34:29 +08:00
He Yin Ling
2849f3bf44
Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
...
Test: add ethernet iperf example test case
Closes TCI-463
See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d
test: add ethernet iperf example test case
2021-07-28 09:39:02 +08:00
Emil Muratov
80810971c8
lwip menuconfig option for max number of SNTP servers
...
LWIP has two definess for setting max number of sntp servers:
- Total number of handled servers
- max number of sntp's picked via DHCP
by default both values are equal to 1, but could be set separately
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-07-27 22:38:36 +03:00
Shubham Patil
3e84e5e668
Merge branch 'bugfix/xtensa_extra_info_register_values' into 'master'
...
espcoredump.py: Parse EPS and EPC register values using register index
See merge request espressif/esp-idf!14448
2021-07-27 10:22:41 +00:00
Jiang Jiang Jian
4d7f356f04
Merge branch 'bugfix/bypass_supplicant_from_sonar' into 'master'
...
wpa_supplicant: bypass sonar checks for upstream code
See merge request espressif/esp-idf!13472
2021-07-27 06:14:17 +00:00
Michael (XIAO Xufeng)
18bee2380a
Merge branch 'refactor/usb_device_driver' into 'master'
...
tiny_usb: support on esp32-s3
Closes IDF-3234
See merge request espressif/esp-idf!14293
2021-07-26 16:21:55 +00:00
morris
88c87bfe56
mcpwm: update hal and soc naming
2021-07-26 22:32:45 +08:00
Mahavir Jain
0ad7d93122
Merge branch 'bugfix/esp32c3_wrong_iram_alignment' into 'master'
...
System/memprot: ESP32C3 IRAM section alignment fix (LD)
Closes IDF-3554
See merge request espressif/esp-idf!14393
2021-07-26 10:57:53 +00:00
Aditya Patwardhan
c69f0ec329
Merge branch 'fix/memory_leaks_identified_by_cppcheck' into 'master'
...
Fix/memory leaks identified by cppcheck
Closes IDFGH-5573
See merge request espressif/esp-idf!14497
2021-07-25 01:53:44 +00:00
Michael (XIAO Xufeng)
4d2bb1e7ec
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2021-07-24 22:29:15 +08:00
Ivan Grokhotkov
7534c4467f
rom, spi_flash: add a patch for esp_flash_erase_region for C3, S3, H2
2021-07-24 13:28:25 +02:00
Martin Vychodil
ce28af2dd4
System/memprot: ESP32C3 IRAM section alignment fix (LD)
...
IRAM section didn't contain sufficient padding for possible CPU instruction prefetch,
ie instruction fetch could happen in DRAM section which is prohibited by the Memprot module.
This is fixed by adding 16B to the end of IRAM section in LD script (C3 CPU prefetch buffer depth is 4 words)
Closes IDF-3554
* fix
2021-07-23 17:11:12 +02:00
Alex Henrie
d4ff9ab266
Fix memory leak on error path in register_select
...
And remove dead error handling code from unregister_select.
Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-23 17:49:34 +05:30
Alex Henrie
5242e048d4
Fix memory leak on error path in http_header_set_format
2021-07-23 17:48:45 +05:30
Alex Henrie
b07ad7a08d
Fix memory leak on error path in md5_printf
2021-07-23 17:48:45 +05:30
Alex Henrie
f88a2f10c2
Fix memory leak on error path in esp_ds_start_sign
2021-07-23 17:48:45 +05:30
Ivan Grokhotkov
118fafef07
spi_flash: add test case for esp_flash_erase_region with 0 size
2021-07-23 14:14:57 +02:00
Li Hang Fan
61f79cbf9c
Merge branch 'refactor/move_ldscript_to_soc' into 'master'
...
refactor/soc: Move peripheral linker scripts out of target component
Closes IDF-3580
See merge request espressif/esp-idf!14474
2021-07-23 11:54:56 +00:00
Ivan Grokhotkov
32d4829fed
Merge branch 'bugfix/rtos_systick_cycle_time_error_dfs' into 'master'
...
fix RTOS SysTick cycle time error caused by DFS
See merge request espressif/esp-idf!14486
2021-07-23 10:59:50 +00:00
negativekelvin
8e6700c156
esp_flash_api fixes
2021-07-23 02:35:27 -07:00
Yuan Jian Min
30e9242f90
Merge branch 'bugfix/fix_http_client_fetch_header_error' into 'master'
...
esp_http_client: Fix when receive FIN, close the connection in internal.
Closes IDFGH-5271
See merge request espressif/esp-idf!14240
2021-07-23 08:59:37 +00:00
Hrishikesh Dhayagude
ab970ac0cf
Merge branch 'bugfix/bluedriod_esp32c3' into 'master'
...
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack
See merge request espressif/esp-idf!14124
2021-07-23 08:33:22 +00:00
yuanjm
02367b44ef
esp_http_client: Fix when receive FIN, close the connection in internal.
...
Closes https://github.com/espressif/esp-idf/issues/7036
2021-07-23 12:16:17 +08:00
Li Shuai
c460905fd9
fix RTOS SysTick cycle time error caused by DFS
2021-07-22 21:48:56 +08:00
Alex Lisitsyn
a573e9d3c8
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks' into 'master'
...
freemodbus: add affinity option for modbus stack tasks
freemodbus: change the default value of `FMB_TIMER_PORT_ENABLED` to disabled
Closes IDFGH-4907
See merge request espressif/esp-idf!12767
2021-07-22 09:12:56 +00:00
Konstantin Kondrashov
76a4340bf7
Merge branch 'bugfix/efuse_table_for_c3' into 'master'
...
efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2
Closes IDF-3577
See merge request espressif/esp-idf!14389
2021-07-22 08:47:34 +00:00
Li Shuai
ead49c7acf
Merge branch 'feature/support_esp32s3_gpio_sleep_iso' into 'master'
...
light sleep: add gpio isolate function at slept status for esp32s3
See merge request espressif/esp-idf!14370
2021-07-22 07:52:55 +00:00
Switi Mhaiske
99cce49299
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack
2021-07-22 15:37:46 +08:00
Michael (XIAO Xufeng)
fbb6b1b11a
Merge branch 'bugfix/fix_uart_reset_issue_on_esp32c3' into 'master'
...
bugfix(uart): reset uart0 core before uart apb reset
Closes IDF-3362
See merge request espressif/esp-idf!12749
2021-07-22 07:20:58 +00:00
morris
3277393670
Merge branch 'bugfix/s3_uart_reg_update' into 'master'
...
uart: S3 7.2.8 bringup
Closes IDF-3227 and IDF-3304
See merge request espressif/esp-idf!14009
2021-07-22 07:11:31 +00:00
Kapil Gupta
e667d1af2e
wpa_supplicant: bypass sonar checks for upstream code
2021-07-22 14:12:22 +08:00
aleks
dfcc434910
freemodbus: add affinity option for modbus stack tasks
...
Closes https://github.com/espressif/esp-idf/issues/6700
2021-07-22 13:15:24 +08:00
SalimTerryLi
2347e68e6b
soc: move peripheral linker scripts out of target component
2021-07-22 12:55:01 +08:00
Fu Hanxi
69650e0c18
Merge branch 'feature/espcoredump_test_refactor' into 'master'
...
Feature: espcoredump test refactor
See merge request espressif/esp-idf!13092
2021-07-22 04:35:58 +00:00
Marius Vikhammer
a29a6ceef0
uart: update register headers and examples for S3
2021-07-22 12:05:49 +08:00
Omar Chebib
74d939fd71
Merge branch 'feature/spi_keep_cs_low' into 'master'
...
SPI: chip select can now be kept active if the bus has been acquired
Closes IDF-3125
See merge request espressif/esp-idf!13546
2021-07-22 03:57:58 +00:00
morris
81448dcae8
tiny_usb: rename Kconfig name
...
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
morris
2218204aa7
doc: update tinyusb document to support esp32s3
...
1. Renamed SOC_USB_SUPPORTED to SOC_USB_OTG_SUPPORTED for the reason of
another USB related peripheral: USB_JTAG_SERIAL
2. correct related document
2021-07-22 10:43:10 +08:00
morris
42f3bca5a1
usb: update LL to support PHY selection
...
ESP32-S3 has two USB peripheral, one is USB_OTG, another is
USB_JTAG_SERIAL
A new mux has been introduced to select internal/external PHY interface.
2021-07-22 10:40:08 +08:00
Fu Hanxi
12f0b55ca9
test(coredump): refactor coredump test and add esp32s2/esp32c3 tests
2021-07-22 10:17:59 +08:00
Alexey Gerenkov
a9db7831b0
Merge branch 'bugfix/sysview_timestamp' into 'master'
...
sysview: fix tiemrgroup as sv timestamp
See merge request espressif/esp-idf!14374
2021-07-21 19:15:45 +00:00
Shubham Patil
df12f22e37
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-21 20:24:47 +05:30
Cao Sen Miao
38633699f1
Merge branch 'refact/cleanup_tempreture_sensor_driver' into 'master'
...
temp_sensor: Add check to the temp_sensor api
Closes IDF-2532 and IDF-2780
See merge request espressif/esp-idf!13456
2021-07-21 12:26:24 +00:00
Konstantin Kondrashov
1b29a4aa5e
Merge branch 'bugfix/sync_rtc_and_esp_timer_before_reboot' into 'master'
...
esp_system: Adds sync of FRC & RTC counters in esp_restart
Closes ESPCS-509 and IDFGH-4548
See merge request espressif/esp-idf!11841
2021-07-21 12:22:03 +00:00
KonstantinKondrashov
92448e7bd7
secure_boot: Whole 3 bits are set for SOFT_DIS_JTAG eFuse
2021-07-21 17:19:01 +05:00
Shu Chen
80f03f4820
Merge branch 'feature/otbr-1.3' into 'master'
...
openthread: support 1.3 border routing features
See merge request espressif/esp-idf!14407
2021-07-21 08:01:26 +00:00
KonstantinKondrashov
b8dd163149
efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2
2021-07-21 12:10:09 +05:00
Konstantin Kondrashov
9c870b74bb
Merge branch 'bugfix/freertos_ut_suspend' into 'master'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of...
Closes IDFCI-688
See merge request espressif/esp-idf!14403
2021-07-21 06:07:34 +00:00
Cao Sen Miao
69ad24c943
temp_sensor: add docs for esp32c3
2021-07-21 13:34:52 +08:00
KonstantinKondrashov
c19b37d2a9
esp_system: Adds sync of FRC & RTC counters in esp_restart
...
In case when FRC and RTC counters are very different then
the need to sync them before to restart the ESP
to get the correct system time after reboot.
2021-07-21 10:23:24 +05:00
Shu Chen
dadaf30d17
Merge branch 'feature/add_eui64_for_esp32h2_efuse' into 'master'
...
efuse: add mac extension address for esp32h2
See merge request espressif/esp-idf!14363
2021-07-21 03:46:58 +00:00
Chen Yi Qun
6317f5b481
add uart core reset in uart_module_enable()
2021-07-21 11:41:04 +08:00
Wangjialin
2b986fbd49
For esp_restart API, reset uart0 core first, then reset uart0 apb side, so as to prevent uart output garbage after cpu reset. (UART0 RST bits will be cleared in ROM)
...
Add UART0/1 core reset on esp32c3, in case uart driver would also reset uart hardwares.
2021-07-21 11:41:04 +08:00
Cao Sen Miao
24356cf7f7
temp_sensor: add check to temp_sensor api
2021-07-21 11:24:37 +08:00
Omar Chebib
b8c6c5334f
i2c: modify examples to work out of the box on ESP32S3
...
On ESP32S3, the default I2C pins of the examples are already used by USB.
This commit changes the default pins.
2021-07-21 11:04:16 +08:00
Jiacheng Guo
a74bbde9c5
openthread: support 1.3 border routing features
...
- Support ICMPv6 auto config
- Support SRP service delegation
- Publish _meshcop._mdns service
2021-07-21 10:44:10 +08:00
Omar Chebib
a6e14c37b2
SPI: chip select can now be kept active if the bus has been acquired
...
The user can now request the chip select to remain active after the current
transfer. In order to do so, he MUST acquire the bus first with `spi_device_acquire_bus()`
function, else, an error is returned.
2021-07-21 10:39:45 +08:00
Michael (XIAO Xufeng)
a1b5c38218
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail' into 'master'
...
freemodbus: fix modbus rs485 rts enable fail after some time
Closes IDFGH-1987
See merge request espressif/esp-idf!11548
2021-07-21 02:07:52 +00:00
Alex Lisitsyn
c801b3a182
freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
...
fixes the issue with uart_wait_tx_done() when the task is suspended and transmission is done right before reenable tx_done interrupt
2021-07-21 10:07:44 +08:00
Michael (XIAO Xufeng)
7357d777e3
Merge branch 'feature/touch_sense_test_case' into 'master'
...
touch_element: add unit test for touch element lib
Closes IDF-2667
See merge request espressif/esp-idf!11825
2021-07-20 17:28:53 +00:00
Roland Dobai
b37ef24bd7
Merge branch 'bugfix/fix_memory_layout_h_ci_issue' into 'master'
...
host tests: add missing header files for compiling host tests
See merge request espressif/esp-idf!14430
2021-07-20 12:37:00 +00:00
Ivan Grokhotkov
88e28a57f2
Merge branch 'bugfix/gdbstub_rt_callx0' into 'master'
...
Fix problem on Esp32S3 with dangerous relocation for gdbstub.
See merge request espressif/esp-idf!14145
2021-07-20 09:56:20 +00:00
Omar Chebib
bd96484f7b
host tests: add missing header files for compiling host tests
2021-07-20 17:44:20 +08:00
Ivan Grokhotkov
c28612cd2b
Merge branch 'bugfix/freertos_coproc_save_area_alignment' into 'master'
...
freertos: Apply upstream stack masking fix for xtensa/port.c (Github PR)
Closes IDFGH-5549
See merge request espressif/esp-idf!14379
2021-07-20 09:00:04 +00:00
Wang Meng Yang
226c6ab6de
Merge branch 'bugfix/fix_scan_timeout_mr_master' into 'master'
...
Fix the scan timeout report
See merge request espressif/esp-idf!14325
2021-07-20 07:53:52 +00:00
Jakob Hasse
ecb437f8fd
Merge branch 'bugfix/esp_event_any_id_unregister' into 'master'
...
ESP Event: fix unregister documentation
Closes IDFGH-4969
See merge request espressif/esp-idf!14184
2021-07-20 07:33:57 +00:00
zhangwenxu
d5b9078e23
efuse: add mac extension address for esp32h2
2021-07-20 12:03:17 +08:00
Li Shuai
512800891e
light sleep: add uart new final state machine support for esp32s3
2021-07-20 11:27:14 +08:00
Jiang Jiang Jian
af9cb85e00
Merge branch 'feature/support_esp32s3_rtc_hw_support' into 'master'
...
esp_hw_support: add rtc module support for esp32s3
See merge request espressif/esp-idf!14368
2021-07-20 03:23:10 +00:00
Wang Meng Yang
d48dee8027
Merge branch 'bugfix/a2dp_deint_crash_master' into 'master'
...
component_bt: fix a2dp deinit crash
Closes BT-1722
See merge request espressif/esp-idf!14360
2021-07-20 03:02:03 +00:00
Anton Maklakov
be8ef09a59
Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
...
[cxx]: Activate emergency exception memory pool test in CI
Closes IDF-1610
See merge request espressif/esp-idf!14143
2021-07-20 02:22:32 +00:00
Ivan Grokhotkov
7b922bb8c6
Merge branch 'bugfix/emac_default_cfg' into 'master'
...
Fix invalid ETH_MAC_DEFAULT_CONFIG macro in C++
Closes IDF-3592
See merge request espressif/esp-idf!14409
2021-07-19 14:59:58 +00:00
xiongweichao
7960110729
components/bt: fix spp memory leak
...
closes https://github.com/espressif/esp-idf/issues/7238
2021-07-19 21:19:49 +08:00
Yang Zhao
6aa44a8a89
This is to fix the hardware bug. The device may report scan event
...
timeout when scaning.If check this error,then reset the rwble core.
2021-07-19 20:56:30 +08:00
Darian
a7468b519d
Merge branch 'bugfix/twai_low_speed_bit_rates' into 'master'
...
TWAI: Fix incorrect configuration initializers for low speed bit rates
Closes IDF-3585
See merge request espressif/esp-idf!14388
2021-07-19 12:32:45 +00:00
Marius Vikhammer
03545feaea
Merge branch 'feature/s3_flash_enc' into 'master'
...
S3 Flash encryption bringup
Closes IDF-1786 and IDF-2576
See merge request espressif/esp-idf!14259
2021-07-19 08:56:50 +00:00
Dmitry
883617d51f
Change call0 to callx0 because on Esp32S3 it make error.
2021-07-19 11:19:54 +03:00
Ondrej Kosta
02a432b8d3
Fix invalid ETH_MAC_DEFAULT_CONFIG macro in C++
2021-07-19 09:56:07 +02:00
Chen Yi Qun
835c0ca32c
fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
2021-07-19 14:43:47 +08:00
Darian Leung
d604bf05af
TWAI: Fix incorrect configuration initializers for low speed bit rates
...
This commit fixes the timing configuration initializers for the
1K, 5K, and 10K bit rates.
2021-07-19 14:27:39 +08:00
Omar Chebib
a7b6ec85b8
Merge branch 'feature/move_memory_layout_to_heap' into 'master'
...
G0: Memory layouts are now part of heap components
Closes IDF-1264
See merge request espressif/esp-idf!14028
2021-07-19 06:23:19 +00:00
Zim Kalinowski
da9e5ca38a
Merge branch 'bugfix/usb_device_struct_cleanup' into 'master'
...
Cleanup USB device struct
Closes IDFGH-5223
See merge request espressif/esp-idf!13473
2021-07-19 04:23:20 +00:00
sly
d6762a9fb7
esp_hw_support: add rtc module support for esp32s3
2021-07-19 11:17:48 +08:00
xiongweichao
b1bceb6b42
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 11:06:21 +08:00
xiongweichao
55fe021ddb
fix a2dp deinit crash
2021-07-19 11:06:21 +08:00
Wang Meng Yang
28e86c9b6f
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff' into 'master'
...
bugfix/unable to initiate SCO connection when peer device not accept sniff mode.
Closes BT-1201
See merge request espressif/esp-idf!12403
2021-07-18 23:21:24 +00:00
morris
0c7b43c3b0
sysview: fix tiemrgroup as sv timestamp
2021-07-18 16:13:32 +08:00
morris
2058e89448
Merge branch 'feature/fpga_bootloader' into 'master'
...
Boot ESP32 & ESP32-S2 apps on FPGA
See merge request espressif/esp-idf!8270
2021-07-18 08:06:38 +00:00
Michael (XIAO Xufeng)
59195b6fb3
Merge branch 'bugfix/update_gdma_soc' into 'master'
...
gdma: alignment setting for PSRAM transfer
Closes IDF-1524
See merge request espressif/esp-idf!13976
2021-07-17 14:04:03 +00:00
KonstantinKondrashov
84e5f52a26
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-07-16 18:26:02 +05:00
Angus Gratton
356d7b6da3
esp_hw_support: Clean up CMakeLists file
2021-07-16 20:14:28 +08:00
Angus Gratton
9d6366f290
esp_hw_support: Move rtc.h header from target components
2021-07-16 20:14:28 +08:00
Angus Gratton
86061a720b
app_update: Add soc_caps dependency to esp_ota_ops.h
2021-07-16 20:14:28 +08:00
Angus Gratton
77b1ddbcdb
driver: Add some settling time when driving USB IOs high/low
...
Otherwise seems to sometimes fail in release config
2021-07-16 20:14:28 +08:00
Angus Gratton
f9d958a65d
ut configs: Replace target component with esp_hw_support
...
No tests remaining in the target components.
Some further consolidations can be made here later, to combine target-specific
configs that don't need to be target-specific any more.
2021-07-16 20:14:28 +08:00
Angus Gratton
c1ca7a35b0
ldgen: Remove some remaining references to TARGET.project.ld.in
2021-07-16 20:14:27 +08:00
Angus Gratton
f0471b18b2
esp32h2: Move from target component to esp_hw_support (new structure)
2021-07-16 20:14:27 +08:00
Angus Gratton
867f13c6b7
tests gen_digital_signature_tests: Fix mypy issues
2021-07-16 20:14:27 +08:00
Renz Bagaporo
b06dba7823
esp32: move app linker scripts
2021-07-16 20:14:27 +08:00
Renz Bagaporo
fddc0b6799
esp32: move remaining tests
2021-07-16 20:14:27 +08:00
Renz Bagaporo
7c22cccb9c
esp32: cleanup build script
2021-07-16 20:14:27 +08:00
Renz Bagaporo
844af01eb4
esp32: move spiram, himem
2021-07-16 20:14:26 +08:00
Renz Bagaporo
452bfda367
esp32: move dport_access
2021-07-16 20:14:26 +08:00
Renz Bagaporo
702e41e1c8
esp32s2: move crypto related functions
2021-07-16 20:14:26 +08:00
Renz Bagaporo
ea2aafbb7a
esp32s2: move memprot api
2021-07-16 20:14:26 +08:00
Jakob Hasse
e94117a055
Merge branch 'bugfix/correct_driver_cmake' into 'master'
...
[driver]: removed redundant code in CMakeLists.txt
See merge request espressif/esp-idf!13365
2021-07-16 11:27:08 +00:00
morris
860c38bb24
Merge branch 'bugfix/config_data_interface_early' into 'master'
...
emac: configure data interface early
See merge request espressif/esp-idf!14339
2021-07-16 07:49:06 +00:00
morris
d9819bc7ae
gdma: set transfer ability
2021-07-16 14:47:09 +08:00
morris
d31b1f79e6
async_mcp: apply general esp_check macros
2021-07-16 14:47:09 +08:00
morris
3176ba11d8
gdma: update DMA soc data for esp32-s3
2021-07-16 14:47:09 +08:00
morris
217d3eb690
Merge branch 'feature/adc_single_sample_support_on_s3' into 'master'
...
adc: support adc single read on s3
Closes IDF-3118
See merge request espressif/esp-idf!14036
2021-07-16 06:32:08 +00:00
morris
bae28ed1ff
Merge branch 'refactor/esp_check_on_rtc_tempsensor' into 'master'
...
Refactor/rtc_tempsensor: esp_check update & fix log level
Closes IDFGH-5546
See merge request espressif/esp-idf!14377
2021-07-16 04:25:05 +00:00
Omar Chebib
9dd02354d2
Merge branch 'feature/riscv_panic_backtrace' into 'master'
...
espsystem: add support for RISC-V panic backtrace
Closes IDF-2064
See merge request espressif/esp-idf!12070
2021-07-16 04:13:44 +00:00
Jakob Hasse
24798ab739
Merge branch 'feature/esp_common_header_only' into 'master'
...
esp_common: Add support for linux target providing header only library
See merge request espressif/esp-idf!14310
2021-07-16 03:47:43 +00:00
Angus Gratton
35dd71b31e
Merge branch 'bugfix/va_args_macro' into 'master'
...
Provide `__VA_OPT__(,)` macro for C++20
Closes IDFGH-4898
See merge request espressif/esp-idf!12945
2021-07-16 03:46:37 +00:00
xiongweichao
fbab2fc0e3
Add remove sniff when peer not accepted sniff mode
2021-07-16 11:31:13 +08:00
Wang Meng Yang
32d9852625
Merge branch 'bugfix/ble_acl_tx_flush' into 'master'
...
components/bt: Fix for BLE ACL tx flush issue during reset
See merge request espressif/esp-idf!13949
2021-07-16 02:08:22 +00:00
Angus Gratton
c5d20dc231
fpga: Disable BOD when running on FPGA
2021-07-16 10:50:06 +10:00
KonstantinKondrashov
4ccb5515ef
fpga/bootloader: Fix LoadProhibited error when bootloader_fill_random() is not in iram_loader_seg
2021-07-16 10:50:06 +10:00
Angus Gratton
1a626ef6ca
esp32: App can boot on FPGA image
...
Includes fix for detecting ESP32 ECO3 on FPGA
2021-07-16 10:50:06 +10:00
Angus Gratton
bbbbd5cf0c
esp32s2: FPGA can boot to Hello World
2021-07-16 10:50:06 +10:00
Angus Gratton
8cc8c60b45
soc esp32s2: Use constant for XTAL value
...
ESP32-S2 only supports a 40MHz crystal.
2021-07-16 10:50:06 +10:00
Angus Gratton
192b5925da
bootloader: Can boot to IDF scheduler start on internal-use FPGA
...
On ESP32 & ESP32-S2. Patch doesn't include changes to make the app run fully.
2021-07-16 10:50:06 +10:00
Ivan Grokhotkov
ca51cd67a4
Merge branch 'bugfix/correct_clang_atomics' into 'master'
...
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
Closes LLVM-92
See merge request espressif/esp-idf!14269
2021-07-15 19:01:32 +00:00
Andrei Safronov
40daaa9d56
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
2021-07-15 20:36:40 +03:00
sushant.chougule
4c3d527b2f
component/bt: Fix BLE controller crash during reset/reboot
2021-07-15 22:35:37 +05:30
laokaiyao
27d9657b6c
driver/adc: support adc single sample on s3
2021-07-15 19:13:50 +08:00
Axel Lin
6c2aa59b51
freertos: Apply upstream stack masking fix for xtensa/port.c
...
Link: 6a5784598a (diff-cfa9a8b71a9665b5610f59bd2f56cb81b3ee73beaa6cac3fc965884069588d47)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/7274
2021-07-15 11:55:41 +02:00
Marius Vikhammer
126c6405f1
Merge branch 'feature/s3_default_2_config' into 'master'
...
CI: add S3 default_2 unit test config
See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
SalimTerryLi
ad505e7f03
rtc_tempsensor: esp_check update & fix log level
...
Closes https://github.com/espressif/esp-idf/issues/7271
2021-07-15 17:23:07 +08:00
Jakob Hasse
f6031d469b
[cxx]: No ##__VA_ARGS__ in public header files
...
* ##__VA_ARGS__ is replaced by __VA_OPT__(,)
and __VA_ARGS if C++20 is used.
* Affected header files are: esp_log.h,
portmacro.h and esp_check.h
* Closes https://github.com/espressif/esp-idf/pull/6692
2021-07-15 17:05:57 +08:00
Vladimir Chistyakov
1d74652b5e
Fix portGET_ARGUMENT_COUNT macro
...
portGET_ARGUMENT_COUNT uses a GCC extension ##__VA_ARGS__. It forces
the user to compile the code with GNU extensions enabled instead of ISO
language standard. The suggested change is to replace ##__VA_ARGS__ with
__VA_OPT__(,) __VA_ARGS__ which is supported by the current version of
GCC used in ESP-IDF for both C and C++ ISO standards.
This fix would enable ESP-IDF users to compile their code with ISO C++20
standard in future releases.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2021-07-15 17:01:31 +08:00
Michael (XIAO Xufeng)
ded74889da
Merge branch 'bugfix/spi_slave_wrong_miso_mosi' into 'master'
...
spi_slave: Fix MOSI/MISO inconsistent references on the SPI Slave drivers.
See merge request espressif/esp-idf!13645
2021-07-15 08:51:41 +00:00
Jakob Hasse
3d174f67d9
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-15 16:46:02 +08:00
Michael (XIAO Xufeng)
f4e44b0b8e
Merge branch 'bugfix/i2c_slave_esp32s2' into 'master'
...
i2c: fix I2C slave clock source selection
Closes IDF-3177
See merge request espressif/esp-idf!13670
2021-07-15 08:36:46 +00:00
Ivan Grokhotkov
afe14a5ed2
Merge branch 'bugfix/newlib_dirent_decls' into 'master'
...
newlib: add C++ guards to the platform-specific dirent.h
Closes IDFGH-5465
See merge request espressif/esp-idf!14308
2021-07-15 07:27:14 +00:00
Sachin Parekh
fed4c4c313
Merge branch 'fix/esp32c3_memprot_split_line' into 'master'
...
esp32c3/memprot: Fix incorrect calculations and register access
Closes IDF-3510 and IDF-3514
See merge request espressif/esp-idf!14201
2021-07-15 05:08:14 +00:00
Omar Chebib
0771bd1711
espsystem: Rearchitecture and fix eh_frame_parser bugs
...
eh_frame_parser is architecture independent, thus the files have
been rearchitectured. Some bugs have been fixed in the test.
A README file has also been added to eh_frame_parser host test
directory.
eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr
table (missing DWARF information).
Fix a bug occuring when parsing backtraces originated from abort().
Fix build missing dependencies issue.
2021-07-15 12:47:51 +08:00
Omar Chebib
2575c0d49f
i2c: fix I2C slave clock source selection
...
In I2C slave mode, clock source can now be changed, according to
the flags specified in `i2c_config_t` structure. Thus, ESP32-S2
can now act as an I2C slave, even with a 400KHz master clock.
2021-07-15 12:28:57 +08:00
Zim Kalinowski
f29d873c54
Merge branch 'feature/linenoise_improvement' into 'master'
...
console: re-use the available REPL console API and improve linenoise
Closes IDFGH-5296
See merge request espressif/esp-idf!13897
2021-07-15 03:37:19 +00:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Armando
6bb6f3ebc4
adc: refactor esp32s3 adc_ll.h
2021-07-15 10:33:03 +08:00
Shu Chen
3badc7b70f
Merge branch 'feature/support_154_thread_on_esp32h2' into 'master'
...
esp32h2: enable IEEE 802.15.4 and Thread
See merge request espressif/esp-idf!14315
2021-07-15 02:18:11 +00:00
Omar Chebib
c4f57af6c9
G0: Memory layouts are now part of heap components
2021-07-15 11:38:23 +10:00
Li Shuai
d2aeb9e4ce
light sleep: add gpio configure workaround at slept status for esp32s3
2021-07-14 21:57:21 +08:00
Hrishikesh Dhayagude
48058343fd
Merge branch 'feature/protocomm_mfg_data' into 'master'
...
Provisioning BLE: Add API to set manufacturer data in advertisement (scan response) packets
See merge request espressif/esp-idf!14147
2021-07-14 11:22:15 +00:00
Shu Chen
8e56ecc656
openthread: enable ot_cli on esp32h2
2021-07-14 19:15:24 +08:00
Shu Chen
bdaeeb3169
ieee802154: add IEEE 802.15.4 component
2021-07-14 19:14:30 +08:00
Marius Vikhammer
450aad552a
esptool: update esptool submodule
2021-07-14 18:46:17 +08:00
Marius Vikhammer
b8a322195e
flash encryption: add flash encryption support for ESP32-S3
2021-07-14 18:46:17 +08:00
Mahavir Jain
5270d8216b
Merge branch 'bugfix/fix_timer_delete_crash' into 'master'
...
Nimble: Add fix for crash in esp_timer deletion
Closes IDFCI-731
See merge request espressif/esp-idf!14316
2021-07-14 10:07:16 +00:00
Ivan Grokhotkov
aa404750c3
Merge branch 'bugfix/spi_flash_ubsan_fail' into 'master'
...
hal: spi_flash: avoid calling memcpy with NULL buffer
Closes IDFCI-737
See merge request espressif/esp-idf!14323
2021-07-14 09:30:41 +00:00
Angus Gratton
6f0b36f7be
Merge branch 'doc/flash_manual_encrypt' into 'master'
...
docs: Add manual encryption docs, fix flash encryption efuse bug
Closes IDFGH-3006
See merge request espressif/esp-idf!14178
2021-07-14 09:27:34 +00:00
Marius Vikhammer
19b3d2acb8
Merge branch 'bugfix/psram_fix_bootloader' into 'master'
...
bootloader: disable psram cache bug fix for bootloader
Closes FCS-438 and IDF-3132
See merge request espressif/esp-idf!13299
2021-07-14 09:22:30 +00:00
Angus Gratton
fcd193b024
docs: Use soc_caps instead of chip names for flash encryption docs
...
Clears the way for ESP32-S3 and future chips.
2021-07-14 16:57:31 +10:00
Prasad Alatkar
c8f4153d4f
Provisioning BLE: Add API to set manufacturer data in scan response
...
- Add `wifi_prov_scheme_ble_set_mfg_data` API to set custom manufacturer data
in BLE advertisements.
- Run format.sh script on modified files.
- Fix few typos in `protocomm_nimble.c`.
- Incorporate suggestion to remove extra check on protocomm_ble_mfg_data_len
- Remove few unnecessary comments.
2021-07-14 11:56:04 +05:30
morris
44c175649a
Merge branch 'refactor/replace_wrapped_LOGD_with_macro' into 'master'
...
uart,i2c: deprecate and replace wrapped xxx_CHECK with macro ESP_RETURN_ON_FALSE
See merge request espressif/esp-idf!14297
2021-07-14 05:55:13 +00:00
Marius Vikhammer
fe921291d2
build system: fix cxx init_priority not working on S3
2021-07-14 10:56:24 +08:00
Mahavir Jain
3365a7b21d
Merge branch 'feature/secure_boot_key_check_before_revoke' into 'master'
...
Check if the running app is signed by a valid key before revocation
See merge request espressif/esp-idf!13034
2021-07-13 13:06:27 +00:00
Angus Gratton
cb71466daa
Merge branch 'doc/bootloader_customization' into 'master'
...
docs: Expand bootloader section
Closes IDF-313 and IDFGH-4810
See merge request espressif/esp-idf!5660
2021-07-13 09:57:43 +00:00
Marius Vikhammer
05bb4a5d89
bootloader: disable psram cache bug fix for bootloader
...
The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.
Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
2021-07-13 16:28:22 +08:00
Rahul Tank
d0ad0d6139
system : Add defination of ESP_ERROR_CHECK_WITHOUT_ABORT under CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT flag
2021-07-13 16:20:49 +08:00
Rahul Tank
e81facd3e8
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-13 16:20:49 +08:00
Mahavir Jain
4c41a5bbd0
Merge branch 'feature/upgrade_mbedtls_to_v2.16.11' into 'master'
...
mbedtls: upgrade to release v2.16.11
Closes IDF-3429
See merge request espressif/esp-idf!14294
2021-07-13 08:12:46 +00:00
Supreet Deshpande
92754bd47e
Check if the running app is signed by a valid key before revocation
2021-07-13 13:38:12 +05:30
Mahavir Jain
76bd33e9a4
Merge branch 'cert/skipping_keyelements_validation' into 'master'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection
See merge request espressif/esp-idf!12898
2021-07-13 07:55:49 +00:00
Omar Chebib
b967dc0dbf
espsystem: add support for RISC-V panic backtrace
...
Add .eh_frame and .eh_frame_hdr sections to the binary (can be
enabled/disabled within menuconfig). These sections are parsed
when a panic occurs. Their DWARF instructions are decoded and
executed at runtime, to retrieve the whole backtrace. This
parser has been tested on both RISC-V and x86 architectures.
This feature needs esptool's merge adjacent ELF sections feature.
2021-07-13 15:42:40 +08:00
Zim Kalinowski
34c16dba93
Merge branch 'bugfix/core_dump_image_erase_with_encryption' into 'master'
...
Fix a bug in `core_dump_image_erase` when flash encryption is enabled
Closes IDFGH-5173
See merge request espressif/esp-idf!14060
2021-07-13 07:34:00 +00:00
Angus Gratton
072232a934
docs: Expand bootloader section
...
- Cover customization options
- Cross-link to the "general notes" section which explains the low-level details
Closes IDF-313
2021-07-13 17:33:53 +10:00
morris
8e069dd755
emac: configure data interface early
...
Related to https://github.com/espressif/esp-idf/issues/7227
2021-07-13 15:10:23 +08:00
morris
3e2d98500f
Merge branch 'refactor/common_rom_rtc_apis' into 'master'
...
soc: define reset reasons in soc component
Closes IDF-1993
See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2
Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770
Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
...
bootloader: Add configurable pin level for factory reset (PR)
Closes IDFGH-5337
See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
Mahavir Jain
ea3c901874
mbedtls: fix crt_bundle test to ensure proper server start event
...
This fixes occasional test failure that was observed due to
client task getting started before server was up.
2021-07-13 13:20:16 +08:00
Mahavir Jain
3be3d5fff2
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-13 13:20:16 +08:00
Angus Gratton
36815fa1bf
soc: Add SOC_EFUSE_SUPPORT_XTS_AES_256_KEYS flags for esp32s2,s3
...
Fixes regression in f339b3fc96
2021-07-13 14:24:03 +10:00
morris
1560d6f1ba
soc: add reset reasons in soc component
2021-07-13 10:45:38 +08:00
Kang Zuoling
ee4ca67620
touch_element: add unit test for Touch Element lib
2021-07-12 10:02:46 +08:00
David Cermak
a7d5798b85
esp_common: Add support for linux target providing header only library
2021-07-09 17:29:45 +02:00
morris
8887897f54
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
...
driver/timer: fixed auto reload problem in default isr callback
Closes IDFGH-5229
See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Ivan Grokhotkov
1d44e40fb1
hal: spi_flash: avoid calling memcpy with NULL buffer
...
In practice, calling memcpy with NULL buffer and 0 size works on the
ESP32, but the C standard considers this an undefined behavior.
When building with UBSAN checks enabled, compiler will insert a check
that memcpy argument is non-NULL, regardless of the size argument.
This caused a failure in tools/test_apps/system/panic, which is built
with USBAN enabled for several components.
2021-07-09 11:24:25 +02:00
Mahavir Jain
d838a11d78
Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
Closes IDFGH-5463
See merge request espressif/esp-idf!14224
2021-07-09 07:53:12 +00:00
SalimTerryLi
f545adbceb
i2c.c, uart.c: replace xxx_CHECK with ESP_RETURN_ON_FALSE
2021-07-09 15:13:34 +08:00
Marius Vikhammer
70fd8529e9
Merge branch 'bugfix/s3_soc_update' into 'master'
...
soc: update S3 memory layout
See merge request espressif/esp-idf!14258
2021-07-09 06:13:22 +00:00
Angus Gratton
c2c0e4de3b
Merge branch 'feature/s3_wdt_bringup' into 'master'
...
TIMG and WDT bringup for S3
Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274
See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
Marius Vikhammer
5d184dcfe0
soc: update S3 memory layout
2021-07-09 12:29:56 +08:00
Sachin Parekh
1e17b1d843
esp32c3/memprot: Correct the split line address calculation
2021-07-09 09:33:52 +05:30
Sachin Parekh
29a308e614
esp32c3/memprot: Fix incorrect access to DRAM0 split line registers
...
memprot_ll_set_dram0_split_line_* and memprot_ll_get_dram0_split_line_* APIs were accessing
incorrect configuration register
2021-07-09 09:33:52 +05:30
Michael (XIAO Xufeng)
a85f5b797e
Merge branch 'ci/flash_performance_no_check_EXT_WR_4B' into 'master'
...
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance
See merge request espressif/esp-idf!14247
2021-07-09 02:39:21 +00:00
Omar Chebib
9340cb4c1a
Merge branch 'feature/override_bootloader' into 'master'
...
bootloader: override the 2nd stage bootloader
Closes IDF-2946 and IDFGH-5279
See merge request espressif/esp-idf!13178
2021-07-09 02:25:24 +00:00
Ivan Grokhotkov
cbf207bfb8
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-07-08 15:53:58 +02:00
Ondrej Kosta
a6db3a5e77
esp_eth: Change clock mode setting
...
RMII clock mode is made to be run-time configurable.
Closes https://github.com/espressif/esp-idf/issues/6564
Closes https://github.com/espressif/esp-idf/issues/7107
2021-07-08 14:27:31 +02:00
Marius Vikhammer
4553654f40
build system: fix rtc_data being placed in wrong region for S3
2021-07-08 18:40:01 +08:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
Jakob Hasse
7edb808592
[cxx]: Activated emergency pool test to CI
2021-07-08 17:26:49 +08:00
Angus Gratton
e3ca61a200
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
Shu Chen
d93887f9f0
Merge branch 'feature/openthread-lib' into 'master'
...
openthread: provide prebuilt libopenthread libraries
See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
morris
90f05c42b2
Merge branch 'bugfix/fix_i2c_master_write_bug' into 'master'
...
i2c: application can now call `i2c_master_write` for sending a single byte
Closes IDF-3518 和 IDFCI-741
See merge request espressif/esp-idf!14273
2021-07-08 06:32:39 +00:00
morris
3b821b8ac3
Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
...
bugfix: rotary encoder example isr service install
Closes IDFGH-5105
See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
Kapil Gupta
38d6772507
mbedtls: Add config option key element and key element ext
2021-07-08 09:23:22 +05:30
morris
8694cb7fdf
Merge branch 'bugfix/missing_include_in_rtc_clk' into 'master'
...
rtc: Add missing esp_rom_sys.h header in rtc clk
See merge request espressif/esp-idf!14221
2021-07-08 02:38:42 +00:00
Chen Jian Xing
65efad0122
Merge branch 'bugfix/fix_connect_fail_cause_by_sleep' into 'master'
...
Fix connection failure caused by sleep
Closes WIFI-3710
See merge request espressif/esp-idf!14271
2021-07-07 15:13:17 +00:00
David Čermák
cd47ba03bc
Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
...
mdns: Clean the main mdns module from lwip dependencies
See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Jiacheng Guo
0050248918
openthread: provide prebuilt libopenthread libraries
2021-07-07 15:27:47 +08:00
Jakob Hasse
cdcf88272b
Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3_completely' into 'master'
...
[spi_flash]: temporary disable deadlock test for all targets
See merge request espressif/esp-idf!14248
2021-07-07 05:12:18 +00:00
xiehang
3491da1f3f
Fix connection failure caused by sleep
2021-07-07 11:38:03 +08:00
zwj
f5fcfec2cb
Fixed ESP32S3 BLE controller init failed
2021-07-06 18:04:04 +08:00
Marius Vikhammer
71c1da8952
timer group: add timer group and WDT support for ESP32S3
...
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
Omar Chebib
e9ffe03544
i2c: the user is now allowed to call i2c_master_write even for sending a single byte
2021-07-06 12:12:16 +08:00
WangShichang
8fd261b3eb
esp_phy: update esp32s3 phy init data
2021-07-06 11:38:42 +08:00
chenjianxing
564068d5af
esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue
2021-07-06 11:38:40 +08:00
morris
d9d4db43a1
Merge branch 'feature/dedic_gpio_esp32s3' into 'master'
...
Dedicated gpio driver on esp32s3
Closes IDF-3387
See merge request espressif/esp-idf!14196
2021-07-06 03:20:04 +00:00
Jiang Jiang Jian
0edcf11089
Merge branch 'bugfix/revert_default_country' into 'master'
...
esp_wifi: Revert default country to China
See merge request espressif/esp-idf!14251
2021-07-05 13:15:43 +00:00
yuanjm
f2a0b48cf9
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7202
2021-07-05 20:09:49 +08:00
Michael (XIAO Xufeng)
c6716dcb39
Merge branch 'feature/esp32c3_usbjtag_console_blocking' into 'master'
...
USB_serial_jtag controller: Add driver for supporting VFS on esp32c3(blocking implementation)
Closes IDF-3066 and IDF-3019
See merge request espressif/esp-idf!13414
2021-07-05 07:57:19 +00:00
Kapil Gupta
ecd1d9406e
esp_wifi: Revert default country to China
2021-07-05 12:32:47 +05:30
Angus Gratton
6bbb58c8c2
bootloader: Small cleanup and docs for factory reset level config
...
- Add to docs & config descriptions
- Change to a "choice" to become self-documenting
- Keep the bootloader_common_check_long_hold_gpio() function for compatibility
2021-07-05 12:08:36 +08:00
chegewara
fb7234a13d
bootloader: Add selectable level for factory reset pin
...
Closes https://github.com/espressif/esp-idf/pull/7089
2021-07-05 12:08:36 +08:00
Jakob Hasse
2ac44f1e76
[spi_flash]: fixed test disabling
...
* MR 14212 accidentally disabled the test
"spi_flash deadlock with high priority
busy-waiting task"
for all targets except S3 without legacy
flash implementation. The test is now
disabled for all targets, since
the same issue appeared on other targets, too.
2021-07-05 11:25:15 +08:00
Cao Sen Miao
3aa9ac2469
usb_serial_jtag: Add blocking driver to support vfs.
2021-07-05 11:22:38 +08:00
Michael (XIAO Xufeng)
7f98fbb553
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance
2021-07-05 11:20:55 +08:00
Omar Chebib
a79acb413e
bootloader: override the 2nd stage bootloader
...
Add the possibility to have user bootloader components. This is performed
from an application/project, by creating bootloader components. To do so,
it is required to create a `bootloader_component` directory containing
the custom modules to be compiled with the bootloader.
Thanks to this, two solutions are available to override the bootloader now:
- Using hooks within a user bootloader component
- Using a user defined `main` bootloader component to totally override the
old implementation
Please check the two new examples in `examples/custom_bootloader`
* Closes https://github.com/espressif/esp-idf/issues/7043
2021-07-05 10:25:32 +08:00
Michael (XIAO Xufeng)
acc1e543b0
Merge branch 'bugfix/fix_bit_error_in_ledc_struct' into 'master'
...
LEDC: fix bit error in ledc_struct.h
Closes DOC-1580
See merge request espressif/esp-idf!14161
2021-07-03 14:01:51 +00:00
Jiang Jiang Jian
3636edca1a
Merge branch 'feature/regdomain_support' into 'master'
...
esp_wifi: Add support for regdomain db
Closes WIFI-3596
See merge request espressif/esp-idf!13413
2021-07-02 17:22:08 +00:00
Michael (XIAO Xufeng)
5986b204c6
Merge branch 'feature/i2c_add_static_buffer_transfers' into 'master'
...
i2c: add `i2c_cmd_link_create_static()` to create commands from a given buffer
Closes IDFGH-3087
See merge request espressif/esp-idf!13013
2021-07-02 14:00:03 +00:00
Cao Sen Miao
fecf27e54c
spi_flash: add support for 32Mbit address GD flash, for GD25Q256
2021-07-02 17:13:51 +08:00
Kapil Gupta
a5086e302d
esp_wifi: Add support for regdomain database
2021-07-02 14:11:40 +05:30
Jiang Jiang Jian
b88dc652ed
Merge branch 'bugfix/rrm_caps_for_open_ap' into 'master'
...
wpa_supplicant: Fix some issues in 11kv
Closes WIFI-3673, WIFI-3433, WIFI-3749, and WIFI-3726
See merge request espressif/esp-idf!13694
2021-07-02 08:04:50 +00:00
Ivan Grokhotkov
82a5f9c4b7
Merge branch 'bugfix/tls_alignment' into 'master'
...
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
See merge request espressif/esp-idf!14220
2021-07-02 06:36:09 +00:00
Angus Gratton
b0f68decaf
Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3' into 'master'
...
[spi_flash]: Disable deadlock test from S3
See merge request espressif/esp-idf!14212
2021-07-02 05:49:15 +00:00
Kapil Gupta
16b64e8524
wpa_supplicant: Fix some issues in 11kv
...
Fix following issues:
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 09:41:23 +05:30
Jiang Jiang Jian
2a747b7bb1
Merge branch 'bugfix/ftm_lock_free_issue' into 'master'
...
esp_wifi: Update wifi lib with lock free issue fix
See merge request espressif/esp-idf!14214
2021-07-01 17:39:52 +00:00
David Čermák
76a7c78a0a
Merge branch 'bugfix/esp_netif_dhcps_state' into 'master'
...
esp_netif: Fix dhcps state transitions
Closes IDF-3399
See merge request espressif/esp-idf!13991
2021-07-01 16:01:21 +00:00
Almir Okato
06a849b33e
rtc: Add missing esp_rom_sys.h header in rtc clk
...
rtc_clk.c for esp32, esp32s2 and esp32s3 did not include the
esp_rom_sys.h header which could cause implicit declaration issues for
some function calls.
2021-07-01 12:50:14 -03:00
Michael (XIAO Xufeng)
0e31332693
Merge branch 'feature/add_esp32h2_target' into 'master'
...
esp32h2: add esp32h2 build target
See merge request espressif/esp-idf!13944
2021-07-01 14:46:37 +00:00
Krzysztof Budzynski
f0b2926d70
Merge branch 'docs/s3_get_started' into 'master'
...
docs: updated getting started for S3
Closes IDF-3281 and IDF-3282
See merge request espressif/esp-idf!14174
2021-07-01 14:33:55 +00:00
Ivan Grokhotkov
a6c721b24c
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
...
Regression from 4702feeee
. The TLS segment is located inside
.flash.rodata, so we need to get the alignment of that section, not
.flash.rodata_noload.
2021-07-01 16:13:31 +02:00
David Cermak
619235c2ee
mdns: Fix fuzzer IDF-mock layer
...
Removed lwip dependencies
Simplified the mocks for esp32 and esp-netif
2021-07-01 15:45:05 +02:00
David Cermak
54e329444a
mdns: Clean the main mdns module from lwip dependencies
...
* Reduced number of include paths
* Abstract the internals of mdns packet (specifics defined in
mdns_networking.c)
* Use ESP_IP addresses instead of lwip addresses
2021-07-01 15:01:39 +02:00
David Cermak
7cab3d48e6
esp_netif: IP Address: Add esp-ip addr copy API, IP init macros
2021-07-01 15:01:39 +02:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
David Čermák
6661d01a64
Merge branch 'feature/mdns_query_async' into 'master'
...
mdns: Add asynchronous query API
See merge request espressif/esp-idf!13988
2021-07-01 12:28:54 +00:00
wuzhenghui
112372d598
update rom bootloader addr info
2021-07-01 19:53:50 +08:00
Shu Chen
2df4ddf998
esp32h2: fixes after rebase
2021-07-01 19:53:50 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
e9a51e410a
esp32h2: add stub code for efuse/esp_gdbstub/esp_phy
...
Only stub code for these components:
* efuse
* esp_gdbstub
* esp_phy
2021-07-01 19:53:11 +08:00
Shu Chen
6fce2930d0
esp32h2: enable more components to support esp32h2
...
Involved components:
* app_trace
* esp-tls
* esp_adc_cal
* esp_pm
* esp_serial_slave_link
* esp_timer
* freertos
* idf_test
* log
* mbedtls
* newlib
* perfmon
* spi_flash
* spiffs
* ulp
* unity
* vfs
2021-07-01 19:53:11 +08:00
Shu Chen
c0056813f2
esp32h2: add bootloader support
2021-07-01 19:53:11 +08:00
Shu Chen
5e3689ae0f
esp32h2: update esp_system and esp_hw_support to support esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
7d4b2617e1
esp32h2: copy esp_system and esp_hw_support from esp32c3
...
Copy the esp32c3 code without any change:
* components/esp_hw_support/include/soc/esp32h2
* components/esp_hw_support/port/esp32h2
* components/esp_system/port/soc/esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
37f4cb8b4b
esp32h2: add rom code for esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
205cd469e9
esp32h2: update driver/hal/soc components to support esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
983cca8b27
esp32h2: copy driver/hal/soc components from esp32c3
...
Copy the esp32c3 code without any change:
* components/driver/esp32h2
* components/esp32h2
* components/hal/esp32h2
* components/soc/esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
be9864fa4b
esp_wifi: add CONFIG_WIFI_ENABLED config option
...
The WIFI_ENABLED option is disabled for esp32h2.
2021-07-01 19:53:11 +08:00
Shu Chen
2b9e8fed71
esp32h2: add esp32h2 build target
...
Add esp32h2 support in the following components:
* Kconfig
* components/esptool_py
* components/riscv
* components/xtensa
* tools
2021-07-01 19:51:33 +08:00
David Čermák
68f33b75de
Merge branch 'bugfix/mdns_fuzzer_crashes' into 'master'
...
mdns: Fix null dereferences reported by fuzzer tests
See merge request espressif/esp-idf!14153
2021-07-01 10:46:55 +00:00
Nachiket Kukade
17760237eb
esp_wifi: Update wifi lib with lock free issue fix
2021-07-01 13:58:35 +05:30
David Cermak
d542edbb3d
esp_netif: Fix dhcps state transitions
...
When the DHCP server is stopped before starting the netif,
it should remain stopped -- as per compatibility with previous tcpip_adapter behavior
2021-07-01 10:17:19 +02:00
Jakob Hasse
7a0d40582e
[spi_flash]: Disable deadlock test from S3
2021-07-01 15:29:47 +08:00
Jiang Jiang Jian
97da3e9ed5
Merge branch 'feature/optimize_wifi_log_by_linker_script' into 'master'
...
esp_wifi: move unused WiFi log to noload section to save binary size
Closes IDF-3049
See merge request espressif/esp-idf!13051
2021-07-01 07:11:58 +00:00
Michael (XIAO Xufeng)
e8ff60544d
Merge branch 'bugfix/channel_clk_independent' into 'master'
...
rmt: clean up and support esp32-s3 (no DMA support)
Closes IDF-3296 and IDFGH-5350
See merge request espressif/esp-idf!13244
2021-07-01 04:37:07 +00:00
Zhang Jun Hao
4702feeeeb
esp_wifi: move unused wifi log to noload section to save binary size
2021-07-01 10:18:37 +08:00
David Cermak
d81482d699
mdns: Add asynchronous query API
...
Closes https://github.com/espressif/esp-idf/issues/7090
2021-06-30 17:20:30 +04:00
Nachiket Kukade
eb49ee75b8
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
David Čermák
919e3ef9fb
Merge branch 'feature/mqtt_client_unit_test' into 'master'
...
esp_mqtt - Host unit tests
See merge request espressif/esp-idf!12496
2021-06-30 10:58:57 +00:00
bizhuangyang
1829783886
bugfix:rotary encoder example isr service install
...
Fix the issue mentioned when using two or more encoders. Modify PCNT_CTRL_GND_IO
to avoid the affect of USB JTAG(origin pin 19 is used for USB D-). Update esp32c3.
peripherals.ld and docs for esp32s3.
Closes https://github.com/espressif/esp-idf/issues/6889
2021-06-30 18:44:02 +08:00
morris
c8c3015018
dedic_gpio: support on esp32s3
2021-06-30 18:10:54 +08:00
morris
9df57b3ae6
dedic_gpio: apply general esp_check macro
2021-06-30 18:10:54 +08:00
Angus Gratton
bf48a789ac
Merge branch 'feature/hcd_pipe_persistence' into 'master'
...
(4) USB HCD: Add pipe persistence feature
Closes IDF-3395
See merge request espressif/esp-idf!13934
2021-06-30 09:06:27 +00:00
Euripedes Rocha Filho
f6d23bfee1
mqtt: Adds host tests for mqtt client
2021-06-30 08:55:39 +01:00
Jiang Jiang Jian
144fb64349
Merge branch 'bugfix/add_esp_timer_helper_function' into 'master'
...
Add esp timer helper function
See merge request espressif/esp-idf!13816
2021-06-30 07:50:42 +00:00
Jiang Jiang Jian
063f5089ed
Merge branch 'bugfix/esp32s3_libhal' into 'master'
...
xtensa: update libhal and configuration headers for esp32s3
Closes FV-201
See merge request espressif/esp-idf!14126
2021-06-30 07:38:45 +00:00
Mahavir Jain
d2bd0a4cbd
Merge branch 'feature/esp_tls_improve_error_messages' into 'master'
...
Feature/esp tls improve error messages
Closes IDF-3268
See merge request espressif/esp-idf!13951
2021-06-30 06:37:59 +00:00
Rahul Tank
3159ba1d5a
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
2021-06-30 10:06:40 +05:30
Angus Gratton
2f8debdde1
Merge branch 'feature/esp32s3_remove_rtc_apb_freq_reg' into 'master'
...
esp32s3: Remove APB frequency RTC register
See merge request espressif/esp-idf!11137
2021-06-29 23:50:23 +00:00
Angus Gratton
1969e4b8e5
Merge branch 'bugfix/panic_handler_disable_wdts_early' into 'master'
...
esp_system: Reconfigure the WDTs at the start of the panic handler
Closes IDFCI-361
See merge request espressif/esp-idf!14138
2021-06-29 23:48:40 +00:00
David Čermák
8f67bb57c6
Merge branch 'bugfix/mdns-hostname-set-cleanup' into 'master'
...
mdns: fix memory leak in mdns_free when adding delegated hostnames
See merge request espressif/esp-idf!14123
2021-06-29 16:01:33 +00:00
Ivan Grokhotkov
3ce1fa70aa
xtensa: update libhal for esp32s3
...
Built from:
https://github.com/foss-xtensa/xtensa-hal (commit b014610)
With toolchain:
xtensa-esp32s3-elf-gcc (crosstool-NG esp-2021r1) 8.4.0
Commands:
./configure --host=xtensa-esp32s3-elf CC=xtensa-esp32s3-elf-gcc \
CFLAGS="-mlongcalls -I$IDF_PATH/components/xtensa/esp32s3/include"
make
xtensa-esp32s3-elf-strip --strip-debug src/hal/libhal.a
2021-06-29 16:56:35 +02:00
Ivan Grokhotkov
ca5ed172a5
xtensa: update configuration overlay for esp32s3
...
From LX7_ESP32_S3_MP_linux_redist.tgz with SHA256:
63f305a982b2ee94cc78e5c20e3e3eb8bf0edeeaf703af0227a418bc34f7b848
copied from xtensa-elf/arch/include/xtensa/config/ with changes:
1) pre-commit fixes applied
2) re-added CONFIGID0 and CONFIGID1 in specreg.h
2021-06-29 16:56:35 +02:00
Jiang Jiang Jian
d28417edbc
Merge branch 'bugfix/deep_sleep_rtcwdt_rst_issue' into 'master'
...
clear wakeup and reject int raw signal before entry sleep
Closes FCS-673
See merge request espressif/esp-idf!13982
2021-06-29 13:31:40 +00:00
Darian Leung
d37451f2c7
USB HCD: Add pipe persistence feature
...
This commit adds a pipe persistence feature allowing HCD pipes
to survive a port reset.
2021-06-29 21:09:27 +08:00
Jiang Jiang Jian
59b49d2783
Merge branch 'feature/add-nimble-host-to-blufi' into 'master'
...
Add support of NimBLE host to Blufi
See merge request espressif/esp-idf!13734
2021-06-29 12:54:01 +00:00
Jiacheng Guo
2386113972
mdns: return ESP_OK rather than ERR_OK in API functions
2021-06-29 17:35:45 +08:00
Jiacheng Guo
0baee93211
mdns: fix memory leak in mdns_free when adding delegated hostnames
2021-06-29 17:35:45 +08:00
Angus Gratton
a413cbd784
Merge branch 'feature/esp_timer_with_skip_unhandled_events_does_not_wake_up' into 'master'
...
esp_timer: A timer with skip_unhandled_events won't wake up in light sleep mode
See merge request espressif/esp-idf!13219
2021-06-29 08:10:51 +00:00
Marius Vikhammer
638485b222
docs: updated getting started and other misc. guides for S3
2021-06-29 15:44:45 +08:00
Angus Gratton
57fa883127
esp32s3: Remove APB frequency RTC register
...
Usage of this register changed between ESP32-S3 beta2 and the
final chip.
2021-06-29 17:38:46 +10:00
Jiang Jiang Jian
86cfbc2a24
Merge branch 'bugfix/aes_wrap_failed' into 'master'
...
wpa_supplicant: Fix crypto related bugs
Closes WIFI-3801 and WIFI-3835
See merge request espressif/esp-idf!13854
2021-06-29 07:08:45 +00:00
Michael (XIAO Xufeng)
cd1427f181
Merge branch 'refactor/usb_hcd_test_mock_classes' into 'master'
...
(3) USB: Make unit test mock classes common
Closes IDF-3394
See merge request espressif/esp-idf!13933
2021-06-29 05:42:32 +00:00
Angus Gratton
c02aa6d0ae
Merge branch 'bugfix/switch_jump_tables' into 'master'
...
build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
Closes IDF-3007
See merge request espressif/esp-idf!13458
2021-06-29 04:13:08 +00:00
Li Shuai
6ca207531b
deep sleep: clear wakeup and reject int raw signal before entry sleep
2021-06-29 11:59:54 +08:00
Jiang Jiang Jian
910d3cfe06
Merge branch 'bugfix/correct_gatt_max_macro_name' into 'master'
...
Bluedroid: Fixed issue of option not being set due to incorrect macro
See merge request espressif/esp-idf!13945
2021-06-29 03:24:27 +00:00
Jiang Jiang Jian
d93849baf8
Merge branch 'mesh/bugfix_fix_esp_mesh_send_block_issue' into 'master'
...
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
See merge request espressif/esp-idf!14021
2021-06-29 03:00:59 +00:00
Gustavo Henrique Nihei
ef0041b545
driver: Refactor and clean up SPI Slave test
2021-06-28 18:59:00 -03:00
Gustavo Henrique Nihei
f5bfa0babf
driver: Create TX/RX-only test cases for SPI Slave
2021-06-28 18:59:00 -03:00
Gustavo Henrique Nihei
4bc9e18124
spi: Ensure DMA In-Link EOF is generated by trans_done on SPI Slave
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
fb8d9f76b3
spi: Remove Slave TX/RX set bitlen not effective for ESP32-S2/C3/S3
...
Furthermore, RX_EOF_EN should only be set when SPI Slave is configured
for segment transfer mode and the "ms_data_bitlen" field is configured
to control the "IN_SUC_EOF" interrupt. Since "ms_data_bitlen" is not
set anymore for S2, C3 and S3, "RX_EOF_EN" should be cleared.
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
8f822db28c
spi: Fix SPI Slave TX/RX bitlen configuring wrong registers
...
The maximum input length for the SPI Slave should be applied to the read
buffer configuration, not for the write buffer. Similarly, the output
configuration should also target the write buffer.
2021-06-28 18:58:59 -03:00
Gustavo Henrique Nihei
8639e3511b
spi_slave: Fix MOSI/MISO enable on transaction preparation
...
MOSI and MISO enablement were conditioned to the existence of TX
and RX buffers, respectively. This is valid for the SPI Master,
but for the SPI Slave the opposite is expected.
2021-06-28 13:53:40 -03:00
“sonalipatil”
5175672050
Add support of NimBLE host to Blufi
...
Merges https://github.com/espressif/esp-idf/pull/6904
2021-06-28 19:53:33 +05:30
Kapil Gupta
a7713676b8
wpa_supplicant: Fix crypto related bugs
...
1. Fix aes_unwrap functionality when hardware acceleration is disabled
2. Fix compilation errors when mbedTLS is disabled.
3. Disable WPA3 when mbedTLS is disabled.
2021-06-28 19:50:01 +08:00
Jiang Jiang Jian
d5845abe62
Merge branch 'bugfix/wps_wfa_cert_fixes' into 'master'
...
wpa_supplicant: Add WPS strict in config option
Closes WIFI-3624 and WIFI-3842
See merge request espressif/esp-idf!13545
2021-06-28 10:13:23 +00:00
Michael (XIAO Xufeng)
fc2905384c
Merge branch 'feature/support_esp32s3_728_gpio_driver' into 'master'
...
gpio: update gpio driver to support esp32s3
Closes IDF-3224 and IDF-3273
See merge request espressif/esp-idf!13942
2021-06-28 09:49:01 +00:00
Aditya Patwardhan
0e01a22264
esp_tls_wolfssl: Improved error messages
2021-06-28 14:51:41 +05:30
Aditya Patwardhan
4af1176d15
esp_tls_mbedtls: Improved the error messages.
...
The error message string for error codes is printedwhen log level is set to debug
2021-06-28 14:51:41 +05:30
Mahavir Jain
574fd8b68f
Merge branch 'feature/ssl_components_optimize' into 'master'
...
ssl: Modify some config for optimize ssl components
Closes IDF-3055
See merge request espressif/esp-idf!13141
2021-06-28 08:29:31 +00:00
Angus Gratton
14c7d4965b
esp_system: Reconfigure the WDTs at the start of the panic handler
...
This is mostly important on ESP32 ECO3 with the
ESP32_ECO3_CACHE_LOCK_FIX, because when we stall the other CPU core
before we disable the TG1 WDT then the first CPU can get stuck
in WDT ISR handle_livelock_int routine waiting for the other CPU.
2021-06-28 17:24:39 +10:00
Darian Leung
b901cbd273
USB: Make unit test mock classes common
...
This commit moves the mock classes used for HCD unit tests into
a common header so that other layers of the USB Host stack can
also utilzie them for their own unit tests.
2021-06-28 15:02:58 +08:00
shenjun
aac71d4f02
mesh/ps: esp_mesh_send is blocked in nodes(layer>=3), when a FIXED-ROOT root is duty master
2021-06-28 14:38:21 +08:00
Ivan Grokhotkov
d7928bf1db
Merge branch 'feature/esp32c3_apptrace' into 'master'
...
apptrace: refactoring & esp32c3 support
See merge request espressif/esp-idf!11702
2021-06-28 06:00:24 +00:00
David Čermák
aefc56798f
Merge branch 'feature/sperate_esp_netif_component' into 'master'
...
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code
Closes IDF-3042
See merge request espressif/esp-idf!13014
2021-06-28 04:41:18 +00:00
bizhuangyang
78c67d2384
gpio:support gpio in/out/interrupt for esp32s3(728)
...
Add support of gpio for esp32s3(728). Adjust some pins and comments in test_gpio.c. Add support for gpio functions for gpio19 and gpio20. Update S3 programming guide Peripheral API: gpio and sigmadelta. Add unit test for input and output function of S3 USB pins(GPIO19 and GPIO20) and C3 USB pins(GPIO18 and GPIO19). Adjust input only test in test_spi_master.c.
2021-06-28 11:44:14 +08:00
wuzhenghui
a59eb2d607
update c3 bootloader ld addr info
2021-06-28 10:51:06 +08:00
liuhan
37e08d38a4
tls: Modify tls optimize both mbedtls and wolfssl
2021-06-28 10:22:24 +08:00
Michael (XIAO Xufeng)
afc2bc94b3
Merge branch 'feature/add_opi_flash_psram_support' into 'master'
...
spi flash: opi flash psram support and spi timing tuning support on 727
Closes IDF-3097
See merge request espressif/esp-idf!12946
2021-06-28 01:59:19 +00:00
Angus Gratton
c9287888a5
Merge branch 'feature/driver_mock' into 'master'
...
[driver]: added mocking of spi master and gpio
See merge request espressif/esp-idf!12054
2021-06-28 00:38:44 +00:00
Angus Gratton
a041faec77
Merge branch 'feature/ulp_riscv_delay' into 'master'
...
riscv-ulp: Add DS18B20 1wire RISCV-ULP example
Closes IDF-1746 and IDF-3456
See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
Wang Meng Yang
0b42c8fc73
Merge branch 'bugfix/fix_c3_s3_some_bugs_06_15' into 'master'
...
Bugfix/fix c3 s3 some bugs 06 15
See merge request espressif/esp-idf!14018
2021-06-27 23:45:22 +00:00
Michael (XIAO Xufeng)
25f5fc7d6f
Merge branch 'feature/support_spi_on_728' into 'master'
...
spi_master: enable a unit test closed on esp32s3 before
Closes IDF-3226
See merge request espressif/esp-idf!13845
2021-06-27 05:41:10 +00:00
Chen Yi Qun
a64fc3b452
LEDC: fix bit error in ledc_struct.h
2021-06-25 20:25:45 +08:00
David Čermák
8e3e65a47b
Merge branch 'feature/update_mqtt_submodule' into 'master'
...
MQTT: Support for certificate bundle; Client clean-up
Closes IDFGH-5275 and IDFGH-5276
See merge request espressif/esp-idf!14125
2021-06-25 12:02:05 +00:00
Armando
bc248278f8
spiflash: add octal spi psram support on 727
2021-06-25 19:41:57 +08:00
Wang Meng Yang
6ecffb02aa
Merge branch 'bugfix/ble_start_scan_crash_issue_mr_master' into 'master'
...
ble start scan crash issue
See merge request espressif/esp-idf!13798
2021-06-25 10:31:01 +00:00
laokaiyao
1138be502e
driver/timer: only re-enable alarm in callback when auto reload is true
...
closes https://github.com/espressif/esp-idf/issues/7001
2021-06-25 15:44:23 +08:00
zwj
97188e8068
support hw recorrect
2021-06-25 15:30:02 +08:00
zwj
d8474a92bf
- fix data length update failed
...
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
yuanjm
56b9bebe41
esp_netif: Correct spelling mistakes
2021-06-25 14:52:34 +08:00
yuanjm
d93b3d304e
slip: Fix the definition of cplusplus in the code
2021-06-25 14:51:24 +08:00
yuanjm
bda8cf0c14
esp_netif: Add CONFIG_PPP_SUPPORT and CONFIG_LWIP_SLIP_SUPPORT to sperate the code
2021-06-25 14:51:24 +08:00
David Cermak
4a2e72677c
mdns: Fix crashes reported by the fuzzer tests
2021-06-25 08:34:39 +02:00
David Cermak
dae803335e
mdns/fuzzer: Fix non-instrumentation test to reproduce fuzzer issues
...
Regression from 7d76245173
skipped reading the packet causing issues when locally reproducing crashed found by the fuzzer
2021-06-25 08:33:38 +02:00
Jiang Jiang Jian
08bd291459
Merge branch 'bugfix/debug_prints_caused_build_failure' into 'master'
...
wpa_supplicant: Fix supplicant debug logs errors.
See merge request espressif/esp-idf!13745
2021-06-25 05:45:55 +00:00
Marius Vikhammer
386739595f
RISCV-ULP: Add DS18B20 1wire RISCV-ULP example
2021-06-25 11:26:39 +08:00
Anton Maklakov
b9587c28cc
Merge branch 'ci/change_perf_key' into 'master'
...
ci: update performance test key to db compatible format
See merge request espressif/esp-idf!13993
2021-06-25 03:20:32 +00:00
Jiang Jiang Jian
59b2a378d9
Merge branch 'bugfix/update_esp32_phy_max_tx_power' into 'master'
...
esp_phy: update esp32 phy max tx power
See merge request espressif/esp-idf!14139
2021-06-25 02:48:21 +00:00
David Cermak
4f637e886f
MQTT: Support for certificate bundle; Client clean-up
...
* Closes https://github.com/espressif/esp-idf/issues/7040
* Merges https://github.com/espressif/esp-idf/pull/7041
* Update submodule: git log --oneline 9fdf7b61385633075d5c3b84803f2dd0578d7869..f10321a53b53a146ee299cfecc320b89c0cf6611
Detailed description of the changes:
* Remove unnecessary parentheses
- esp-mqtt commit: db13533904
- esp-mqtt MR: espressif/esp-mqtt!101
* outbox: Cleanup all items when connection closes
- esp-mqtt commit: 1a94efe8b9
- esp-mqtt MR: espressif/esp-mqtt!104
* Outbox: Removes unnecessary calls to outbox_set_pending
- esp-mqtt commit: 36a3990404
- esp-mqtt MR: espressif/esp-mqtt!105
* MQTT: Makes abort connection function void.
- esp-mqtt commit: 67553aba45
- esp-mqtt MR: espressif/esp-mqtt!106
* Client: Removes unused defines
- esp-mqtt commit: eec6f0e17d
- esp-mqtt MR: espressif/esp-mqtt!100
- Closes https://github.com/espressif/esp-mqtt/issues/194
* Config: Added support for certificate bundle
- esp-mqtt commit: 06157be118
- esp-mqtt MR: espressif/esp-mqtt!98
- Closes https://github.com/espressif/esp-mqtt/issues/190
* Config: Adds missing field at config struct (path field)
- esp-mqtt commit: 5b27d1896e
- esp-mqtt MR: espressif/esp-mqtt!96
* Client: Add support for partial transport writes
- esp-mqtt commit: d8c9c7a9e7
- esp-mqtt MR: espressif/esp-mqtt!99
- Partially addresses https://github.com/espressif/esp-idf/issues/6940
* Client: Add support for Retain flag in messages posted by events
- esp-mqtt commit: a00a3134c6
- esp-mqtt MR: espressif/esp-mqtt!99
- Closes https://github.com/espressif/esp-mqtt/issues/193
* esp-mqtt: Added nullchecks for public APIs
- esp-mqtt commit: 2f57985c0b
- esp-mqtt MR: espressif/esp-mqtt!94
- Closes https://github.com/espressif/esp-mqtt/issues/185
* esp-mqtt: Reduce the includes used in all files
- esp-mqtt commit: 87fcce72c9
- esp-mqtt MR: espressif/esp-mqtt!93
* mqtt_outbox: Use STAILQ_FOREACH for outbox_delete_single_expired
- esp-mqtt commit: ff8e64839a
- esp-mqtt MR: espressif/esp-mqtt!97
- Merges https://github.com/espressif/esp-mqtt/pull/187
* Client: Add optimize for depend on ssl
- esp-mqtt commit: 8f3cac8c36
- esp-mqtt MR: espressif/esp-mqtt!95
2021-06-25 03:28:46 +08:00
David Čermák
f86140eb8d
Merge branch 'feature/add_rdnss_kconfig' into 'master'
...
lw-ip: Add ND6 RDNSS DNS server Kconfig option
Closes IDFGH-5209
See merge request espressif/esp-idf!14090
2021-06-24 18:51:43 +00:00
David Čermák
f601cb0fd7
Merge branch 'bugfix/mdns_one_shot_multicast' into 'master'
...
mdns: Support for One-Shot mDNS queries
Closes IDFGH-5375
See merge request espressif/esp-idf!13943
2021-06-24 18:47:06 +00:00
David Čermák
90a2a150dd
Merge branch 'bugfix/dhcps_remove_record_when_request_nak' into 'master'
...
lw-IP: Fix DHCP Server to remove clients record if request not acked
Closes IDFGH-4594
See merge request espressif/esp-idf!12120
2021-06-24 16:31:43 +00:00
Alexey Gerenkov
20fd09728f
apptrace: Adds ESP32-C3 support
2021-06-24 13:16:14 +03:00
Alexey Gerenkov
821869d98d
apptrace: Refactors apptrace for better support various tracing HW
2021-06-24 13:16:13 +03:00
Alexey Gerenkov
792461aa99
esp32c3: Do not enable memory protection under debugger
2021-06-24 13:10:11 +03:00
Alexey Gerenkov
fcad8c7f42
hal/esp32c3: Avoid entering WFI mode under debugger
2021-06-24 13:10:11 +03:00
David Čermák
c345ecf4a0
Merge branch 'feature/netif_dhcp_cleint_server' into 'master'
...
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
Closes IDF-3044
See merge request espressif/esp-idf!13152
2021-06-24 08:45:59 +00:00
Kapil Gupta
d3d977617b
wpa_supplicant: Add WPS strict in config option
...
WPS strict disables workarounds with different APs and may cause
IOT issues. Remove this as default and introduce as a config option.
Also declare esp device as single band mobile device otherwise
WFA sniffer was not able to identify it in the certification setup.
2021-06-24 16:15:15 +08:00
David Cermak
96911fb7ea
lwip: Fix DHCP Server to remove clients record if request not acked
...
When client's request refused by sending NAK, its record still resided
in the linked list of pooled addresses. It is okay from the spec
perspective (RFC2131.p16: Server MAY mark the offered address
unavailable), but would consume some memory if the client didn't retry.
Closes https://github.com/espressif/esp-idf/issues/6410
2021-06-24 15:10:24 +08:00
Marius Vikhammer
ee2f8b1a62
build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
...
Jump tables placed in flash would cause issue with code that needed to be ran from IRAM.
These optimizations are now always disabled.
2021-06-24 14:54:10 +08:00
chenjianxing
3c3c7b2ee0
esp_phy: update esp32 phy max tx power
2021-06-24 14:43:03 +08:00
Wang Meng Yang
d674c94f2e
Merge branch 'bugfix/bt_sleep_state_check_assert_failed' into 'master'
...
Bluetooth: fixed the assertion failure in checking hardware sleep state during wake-up
Closes BT-1705
See merge request espressif/esp-idf!14127
2021-06-24 05:21:37 +00:00
David Cermak
f167238fac
mdns: Support for One-Shot mDNS queries
2021-06-24 07:05:00 +02:00
David Čermák
b1981204f3
Merge branch 'bugfix/tcp_transport_cleanup_tls_ctx' into 'master'
...
tcp_transport: Fix to cleanup esp-tls context on close
See merge request espressif/esp-idf!14076
2021-06-24 04:24:15 +00:00
wangmengyang
a024de7cac
component/bt: fixed the assert in checking hardware sleep state during wake-up
...
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00
Jakob Hasse
79b0256d63
[driver]: partial mocking of driver component
...
* added mocking of spi master and gpio
* mock registering in one function in
component.cmake
2021-06-24 10:10:29 +08:00
liuhan
7d5ae1ee26
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
2021-06-24 09:49:45 +08:00
Angus Gratton
cfb6857f53
Merge branch 'feature/move_libc_psram_to_flash' into 'master'
...
psram: add configuration macros to move workaround libc functions to flash
Closes IDF-309
See merge request espressif/esp-idf!13908
2021-06-23 23:22:13 +00:00
David Čermák
3452c5f194
Merge branch 'feature/mdns-value-len' into 'master'
...
mdns: allow explicit txt value length
See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
Jiang Jiang Jian
be487a08a2
Merge branch 'feature/optimize_firmware_code_size' into 'master'
...
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
Closes IDF-3046 and IDF-3045
See merge request espressif/esp-idf!12976
2021-06-23 14:03:15 +00:00
Ivan Grokhotkov
94611bc281
Merge branch 'bugfix/add_exception_emergency_pool_again' into 'master'
...
[esp_system]: added __cxx_eh_arena_size_get again
See merge request espressif/esp-idf!14089
2021-06-23 10:34:27 +00:00
Wang Meng Yang
045c9a3bed
Merge branch 'feature/support_esp32s3_ble' into 'master'
...
Bluetooth: fixed interrupt flooding during scan and support BLE on ESP32-S3
Closes IDF-3384
See merge request espressif/esp-idf!14015
2021-06-23 10:33:20 +00:00
Omar Chebib
da731a7eeb
psram: add configuration macros to move workaround libc functions to flash
...
Workaround libc can be moved to flash thanks to KConfig macros.
However, the following functions: `itoa`, `memcmp`, `memcpy`, `memset`, `strcat`, `strcmp`, and `strlen` are always kept it in IRAM.
2021-06-23 17:40:02 +08:00
Angus Gratton
dc6750ebf4
Merge branch 'bugfix/pthread_cond_wait_timeout' into 'master'
...
pthread: Fix pthread_cond_timedwait returning early from timeout
Closes IDFGH-5119 and IDF-1055
See merge request espressif/esp-idf!13658
2021-06-23 09:26:54 +00:00
Michael (XIAO Xufeng)
315680de3d
Merge branch 'bugfix/relax_mcpwm_test_requirements' into 'master'
...
test_pwm: relax the requirement of mcpwm test
Closes IDFCI-631
See merge request espressif/esp-idf!14084
2021-06-23 08:56:29 +00:00
Mahavir Jain
e31049eacc
Merge branch 'bugfix/heap_tracing_build_issue_for_c3' into 'master'
...
heap: fix build issue with HEAP_TRACING config for C3
See merge request espressif/esp-idf!13948
2021-06-23 03:44:46 +00:00
Zhang Jun Hao
5df7e7bac6
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size
2021-06-23 11:04:00 +08:00
yuanjm
b0e1a8e752
lwip: Add ND6 RDNSS DNS server Kconfig option
...
Closes https://github.com/espressif/esp-idf/issues/6982
2021-06-23 10:09:26 +08:00
wangmengyang
aff1696c4e
components/bt: fixed two bugs
...
1. Use correct addresses of Bluetooth Low Power Clock registers on Chip 7.2.8 ESP32-S3
2. Disabled CS-RXDONEMSK to avoid RX interrupt flooding during scan event in coexistence scenario
2021-06-23 07:06:28 +08:00
David Čermák
ecd3f85794
Merge branch 'bugfix/ws_client_const_correct' into 'master'
...
ws_client: Fix const correctness on strings (GitHub PR)
Closes IDFGH-5364
See merge request espressif/esp-idf!13952
2021-06-22 16:30:29 +00:00
David Čermák
29c46ad8a9
Merge branch 'feature/optimize_mqtt_option' into 'master'
...
transport: Add CONFI_WS_TRANSPORT for optimize the code size
Closes IDF-3113
See merge request espressif/esp-idf!13171
2021-06-22 16:02:49 +00:00
Michael (XIAO Xufeng)
99988fa454
Merge branch 'refactor/emac_hal' into 'master'
...
hal/emac_hal: refactor of emac_hal
Closes IDF-3155
See merge request espressif/esp-idf!13500
2021-06-22 15:34:51 +00:00
Jiang Jiang Jian
dd1352dec3
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability' into 'master'
...
esp_wifi: fix amsdu & fragment vulnerabilities
Closes WIFI-3700 and WIFI-3733
See merge request espressif/esp-idf!13719
2021-06-22 13:00:42 +00:00
Wang Meng Yang
d685e85ff4
Merge branch 'bugfix/spp_connect_20_fail' into 'master'
...
component_bt: fix spp acceptor deadlock
Closes IDFGH-5172
See merge request espressif/esp-idf!13940
2021-06-22 12:21:10 +00:00
David Čermák
2efc03579a
Merge branch 'feature/lwip_icmp' into 'master'
...
Add CONFIG_LWIP_ICMP to option ICMP
Closes IDF-3119
See merge request espressif/esp-idf!13157
2021-06-22 12:15:54 +00:00
Wang Meng Yang
9ee25986a8
Merge branch 'bugfix/fix_a2dp_sink_blocked' into 'master'
...
Bugfix/Fix a2dp Sink Blocked Bugs
Closes IDFGH-4920, IDFGH-5348, and BT-1740
See merge request espressif/esp-idf!12776
2021-06-22 11:33:31 +00:00
Mahavir Jain
456c52055c
Merge branch 'fix/mbedtls_remove_invalid_menuconfig_options' into 'master'
...
Fix/mbedtls remove invalid menuconfig options
Closes IDF-950
See merge request espressif/esp-idf!13955
2021-06-22 10:02:25 +00:00
Mahavir Jain
a00203b2f5
Merge branch 'feature/update_expat' into 'master'
...
expat: Update library from 2.2.9 to 2.4.1
Closes IDF-2793
See merge request espressif/esp-idf!13918
2021-06-22 09:52:46 +00:00
Roland Dobai
b22fcbef96
Merge branch 'feature/drop_py2_support' into 'master'
...
Drop support for unsupported Python versions
Closes IDF-1676
See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
Michael (XIAO Xufeng)
c82087610a
Merge branch 'feature/hal_assert' into 'master'
...
hal: added platform port layer
Closes IDF-1341
See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
morris
40f350693f
rmt: update soc data with regtool for esp32s3
2021-06-22 15:29:11 +08:00
morris
01a28add47
rmt: apply general check macro
2021-06-22 15:29:11 +08:00
morris
8d9e968d3f
rmt: fix wrong macro of independent channel clock
2021-06-22 15:29:11 +08:00
morris
8e483e34a8
rmt: restructure rmt_signal_conn_t
2021-06-22 15:29:11 +08:00
morris
a1494809b2
rmt: clean up LL driver
2021-06-22 15:29:11 +08:00
xiongweichao
96aff16dd3
fix spp acceptor deadlock
...
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
Mahavir Jain
9ac9b69087
heap: use hal specific API to get cpu cycles count
...
This fixes compilation issue of heap tracing feature for RISC-V
architecture.
2021-06-22 14:14:10 +08:00
Jakob Hasse
64750acbb0
[esp_system]: added __cxx_eh_arena_size_get again
...
* This function has been accidentally removed.
It is necessary to provide the emergency
exception memory pool size for C++ code.
Since our libstdc++ always has exceptions
enabled, this function must exist here even if
-fno-exception is set for user code.
2021-06-22 14:14:08 +08:00
Ivan Grokhotkov
bdb01b8285
Merge branch 'bugfix/longjmp_s3' into 'master'
...
[esp_rom]: fixed S3 longjmp patch
Closes IDF-3391
See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4
ci: added script to check api violations
2021-06-22 11:28:01 +08:00
morris
9afdf54748
hal: added HAL_ASSERT
2021-06-22 11:28:01 +08:00
liuhan
8b02c9026a
transport: Add CONFI_WS_TRANSPORT for optimize the code size
2021-06-22 10:51:04 +08:00
Michael (XIAO Xufeng)
b727dca308
Merge branch 'ci/sdmmc_performance_log' into 'master'
...
ci: add log output for the sdmmc performance test
See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
laokaiyao
48fdf6912d
test_pwm: relax the requirement of mcpwm test
2021-06-22 10:41:09 +08:00
Wang Meng Yang
71250e2984
Merge branch 'bugfix/start_enc_proc_mic_err_fix' into 'master'
...
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
See merge request espressif/esp-idf!14056
2021-06-22 01:52:35 +00:00
Angus Gratton
c685ef303b
pthread: Fix race conditions in existing pthread UTs
2021-06-22 08:26:08 +08:00
Angus Gratton
262107691a
pthread: Fix pthread_cond_timedwait returning early from timeout
...
The reason timeouts would sometimes happen before the abstime deadline was due
to rounding errors converting the timeout to milliseconds, and also because
vTaskDelay(1) only delays until the next tick which is less than one full tick
period.
Closes https://github.com/espressif/esp-idf/issues/6901
2021-06-22 08:26:08 +08:00
Roland Dobai
407053592e
Drop support for unsupported Python versions
2021-06-21 21:48:49 +02:00
“YangZhao”
7bec64eaa3
If the scan window set as 4 slots and the scan interval set as 5 slots
...
,then the device will crash when starting scanning.This commit is to fix
this bug.
2021-06-21 21:14:42 +08:00
liqigan
fd83938f39
fix a2dp sink RxSbcQ bugs
...
Closes https://github.com/espressif/esp-idf/issues/6712
Closes https://github.com/espressif/esp-idf/issues/7100
2021-06-21 20:02:36 +08:00
Armando
6a49ceb67e
spi_master: enable a test closed for s3 before
2021-06-21 19:42:49 +08:00
sushant.chougule
8f7ed33ba3
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller
2021-06-21 17:03:02 +05:30
Liu Han
77d4f3080f
expat: Update library from 2.2.9 to 2.4.1
2021-06-21 17:45:43 +08:00
Shu Chen
30524406f0
Merge branch 'feature/otbr-example' into 'master'
...
openthread: add platform UDP and border router example
See merge request espressif/esp-idf!13885
2021-06-21 08:33:15 +00:00
liuhan
2d80c122b1
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-21 15:14:19 +08:00
Fu Hanxi
cb46558c30
ci: update performance test key to db compatible format
2021-06-21 14:17:45 +08:00
Omar Chebib
f810d51327
coredump: simplify the implementation of esp_core_dump_image_erase
function
...
Closes https://github.com/espressif/esp-idf/pull/6949
2021-06-21 11:26:09 +08:00
Marius Vikhammer
fae5185916
CI: regenerate esp_err_to_name.c
...
Move esp err to name check to pre-check stage in CI to prevent failures like this.
2021-06-21 11:19:56 +08:00
0xFEEDC0DE64
352dc6cf83
Fixed esp_core_dump_image_erase() for flash encryption with 16byte long write buffer
2021-06-21 10:50:47 +08:00
David Cermak
1a7e75036b
tcp_transport: Fix to cleanup esp-tls context on close
2021-06-20 21:21:22 +02:00
Michael (XIAO Xufeng)
67743ac444
Merge branch 'feat/sdio_slave_eof' into 'master'
...
sdio_slave: allow getting end of frame information
See merge request espressif/esp-idf!13510
2021-06-20 16:31:54 +00:00
Aditya Patwardhan
e44bd93cc9
i) wpa_supplicant: Force enable the necessary options for mbedtls in the wpa_supplicant to fix illegal combinations in mbedtls
...
ii) Fix dependancy for one option in mbedtls menuconfig
2021-06-20 08:39:51 +05:30
Michael (XIAO Xufeng)
6d1eddb9c0
sd_test: refactor the test case
2021-06-19 14:27:44 +08:00
Michael (XIAO Xufeng)
bad9ab052d
ci: add log output for the sdmmc performance test
2021-06-19 14:12:22 +08:00
KonstantinKondrashov
f9ad16bb66
esp_timer: Timers with skip_unhandled_events option won't wake up system from light sleep
2021-06-19 12:45:17 +08:00
Island
cdad1eaa9c
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable' into 'master'
...
ble_mesh: stack: Make unprovisioned beacon interval configurable
Closes IDFGH-4930
See merge request espressif/esp-idf!12811
2021-06-18 11:57:45 +00:00
Michael (XIAO Xufeng)
2d5f3a4825
Merge branch 'feature/usb_serial_jtag_s3' into 'master'
...
usb_serial_jtag: add initial support for S3 (no stub support)
See merge request espressif/esp-idf!13890
2021-06-18 10:35:07 +00:00
Wang Meng Yang
e245d4c9cd
Merge branch 'bugfix/bta_hf_client_co_cb_ptr_macro' into 'master'
...
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
See merge request espressif/esp-idf!12335
2021-06-18 09:03:33 +00:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
Angus Gratton
6b468d40fb
Merge branch 'bugfix/exlude_log_linux_make' into 'master'
...
[log]: excluding log_linux.c correctly now
Closes IDFGH-5409
See merge request espressif/esp-idf!13995
2021-06-18 07:37:02 +00:00
Island
380efa1f3c
Merge branch 'bugfix/AuthValue_leak' into 'master'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth...
See merge request espressif/esp-idf!13920
2021-06-18 06:08:14 +00:00
Cao Sen Miao
f2fe0847d5
usb_serial_jtag: add initial support for S3 (including flashing, monitoring, writing, and reading) but console is not avaliable now
2021-06-18 12:42:41 +08:00
Angus Gratton
298729b904
Merge branch 'feature/efuse_reading_wo_locks' into 'master'
...
efuse: Burn operation does not block reading
See merge request espressif/esp-idf!11683
2021-06-18 03:52:57 +00:00
Konstantin Kondrashov
4c0cf40a39
efuse: Burn operation does not block reading
2021-06-18 11:52:47 +08:00
wangjialiang
fbacede604
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-18 11:52:00 +08:00
wangjialiang
7bfae982e4
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-18 11:52:00 +08:00
Angus Gratton
7a74f5f38c
Merge branch 'bugfix/hcd_multiple_bugs' into 'master'
...
(2) USB HCD: Fix multiple bugs
Closes IDF-3393
See merge request espressif/esp-idf!13932
2021-06-18 01:33:04 +00:00
Jiacheng Guo
68ce4f1404
openthread: add platform UDP and border router example
...
This MR adds the OpenThread border router example and supports the
Thread 1.1 border agent feature.
* Adds the OPENTHREAD_BORDER_ROUTER Kconfig option.
* Adds platform UDP and task queue port for the border agent feature.
* Adds `esp_openthread_border_router_*` api.
* Adds the `esp_otbr` example.
2021-06-17 17:29:16 +08:00
wangjialiang
d4232ee8f9
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 17:05:01 +08:00
KonstantinKondrashov
57c7ebc4bc
flash_encrypt: Adds API to switch flash encryption "Development" to "Release"
2021-06-17 12:58:04 +05:00
David Čermák
4d604ee6d2
Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests
Closes IDFCI-653
See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Michael (XIAO Xufeng)
1c14ad0844
Merge branch 'test/flash_perf_thr_update_by_grafana_avg' into 'master'
...
ci: adjust spi_flash performance value according to more test data
See merge request espressif/esp-idf!13958
2021-06-17 05:04:40 +00:00
Michael (XIAO Xufeng)
bf3f315630
Merge branch 'soc/728_header' into 'master'
...
soc: update the csv headers for esp32s3(legacy format)
See merge request espressif/esp-idf!13926
2021-06-17 04:56:38 +00:00
Jakob Hasse
db46ad8ef2
[log]: excluding log_linux.c correctly now
...
* log_linux.c needs to be excluded generally
in make since Linux target isn't supported
when building with make
Closes https://github.com/espressif/esp-idf/issues/7155
2021-06-17 11:09:56 +08:00
ChenJianxing
ef127ab9dd
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-17 10:11:33 +08:00
Michael (XIAO Xufeng)
904afc65f8
ci: adjust spi_flash performance value according to more test data
...
After we have the performance dashboard, we have more data and no longer depend on the threshold to ensure performance.
Set looser performance thresholds to avoid CI failure.
2021-06-17 09:49:04 +08:00
Michael (XIAO Xufeng)
18860ff304
sdio_slave: format source file
2021-06-17 09:40:09 +08:00
Michael (XIAO Xufeng)
591e4c4b31
sdio_slave: allow getting end of frame information
2021-06-17 09:40:08 +08:00
Wang Meng Yang
0ee043a8a7
Merge branch 'bugfix/active_ext_scan_performance_in_coex' into 'master'
...
bugfix/active_ext_scan_performance_in_coex
See merge request espressif/esp-idf!13543
2021-06-17 01:32:16 +00:00
Angus Gratton
059353b0c2
Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
...
secure_boot/flash_encryption: Refactoring
Closes IDF-2582 and IDF-2035
See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96
efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
...
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Cao Sen Miao
11672dc9e5
soc: update the csv headers for esp32s3
2021-06-16 18:04:18 +08:00
Jiacheng Guo
b4e0088b68
mdns: allow explicit txt value length
2021-06-16 17:47:07 +08:00
Michael (XIAO Xufeng)
38f0d52e2c
Merge branch 'bugfix/uart_race_condition' into 'master'
...
Fix couple of UART issues
Closes IDFGH-5254
See merge request espressif/esp-idf!13631
2021-06-16 07:48:06 +00:00
laokaiyao
fe354f1c50
hal/emac_hal: refactord emac_hal
2021-06-16 09:48:21 +08:00
Michael (XIAO Xufeng)
69e26fbcd7
Merge branch 'feature/s3_ci_enable' into 'master'
...
CI: Enable unit tests for S3
See merge request espressif/esp-idf!13875
2021-06-15 16:15:11 +00:00
0xFEEDC0DE64
70b1247a47
ws_client: Fix const correctness in the API config structure
...
Merges https://github.com/espressif/esp-idf/pull/7113
2021-06-15 13:46:13 +02:00
Michael (XIAO Xufeng)
084f1ca3f8
Merge branch 'bugfix/remove_chip_related_comment_for_essl' into 'master'
...
essl: remove chip related comments in essl.h
Closes IDF-2772
See merge request espressif/esp-idf!13444
2021-06-15 11:05:45 +00:00
Darian Leung
5f9692ae97
HCD: Fix multiple bugs
...
This commit fixes the following bugs with the HCD and USB Host HAL
- Make the setting to periodic frame list and scheduling to occur after
a reset command
- All port errors states should put the port into the HCD_PORT_STATE_RECOVERY
state.
- Fixed incorrect return type of hcd_port_command() function
2021-06-15 18:52:56 +08:00
Michael (XIAO Xufeng)
0c1a242433
Merge branch 'refactor/usb_host_irp_to_urb' into 'master'
...
(1) USB HCD: Change IRP to URBs
Closes IDF-3392
See merge request espressif/esp-idf!13931
2021-06-15 07:49:34 +00:00
Marius Vikhammer
693d4a69d8
uart: update S3 uart soc reg headers
2021-06-15 13:39:51 +08:00
Marius Vikhammer
f124536948
system: add support for reset reason hint on S3
2021-06-15 13:39:51 +08:00
Marius Vikhammer
79b5dedeb1
CI: minor testcases fixes and disable some cases that cant run on S3
2021-06-15 13:39:48 +08:00
Shu Chen
2ed6e269e7
Merge branch 'feature/simplify-openthread-init' into 'master'
...
openthread: simplify esp_openthread initialization
See merge request espressif/esp-idf!13900
2021-06-15 03:46:55 +00:00
David Cermak
79ba738626
mdns: Fix crashes reported by the fuzzer
2021-06-11 16:53:06 +02:00
David Cermak
7d76245173
mdns: Minor correction of the test code
2021-06-11 16:53:06 +02:00
David Cermak
14099fe15e
mdns: Fix fuzzer from miss-interpreting adding services as timeouts
2021-06-11 16:53:06 +02:00
Jiacheng Guo
8e0af4267b
openthread: move implementation-specific functions to private headers
2021-06-11 18:02:03 +08:00
Jiang Jiang Jian
9228b7d55d
Merge branch 'bugfix/fix_crash_when_csi_enable' into 'master'
...
esp_wifi: fix crash when csi enable
Closes FCS-669
See merge request espressif/esp-idf!13921
2021-06-11 05:31:04 +00:00
Jiacheng Guo
dea281a48e
openthread: simplify esp_openthread initialization
...
The current OpenThread initialization is too verbose and error-prone.
Using a simple flow will be more user friendly and paves way for
introducing more border router features.
2021-06-11 12:13:02 +08:00
Angus Gratton
eca878b37f
Merge branch 'feature/728_crypto_bringup' into 'master'
...
aes/sha/rsa: 728 bringup
Closes IDF-1792, IDF-1789, and IDF-1788
See merge request espressif/esp-idf!13874
2021-06-11 03:05:40 +00:00
David Cermak
26f9d2d5e1
rtc: Fix minor const char* correction issue
2021-06-10 22:22:48 +08:00
David Cermak
02ac1baee4
wpa_supplicant: Temporarily disable write-string warning
...
Since some assignment of a string literal to `char *` variables were
added and not caught by the CI.
2021-06-10 22:22:48 +08:00
Rahul Tank
9013edfd93
Bluedroid: Fixed issue of option not being set due to incorrect macro
...
name.
2021-06-10 22:06:26 +08:00
David Čermák
a09e413fb6
Merge branch 'feature/add-mdns-delegation' into 'master'
...
mdns: add host and service delegation
See merge request espressif/esp-idf!13063
2021-06-10 13:58:32 +00:00
Zhang Jun Hao
4d612ad053
esp_wifi: fix crash when csi enable
2021-06-10 16:30:50 +08:00
David Cermak
badcbe0fcb
mqtt: Moved weekend tests to test apps
2021-06-10 09:09:14 +02:00
Angus Gratton
ad7ad185e3
Merge branch 'bugfix/c3_s3_apb_freq' into 'master'
...
esp_hw_support: Fix ESP32-C3/S3 APB frequency
See merge request espressif/esp-idf!13296
2021-06-09 23:42:09 +00:00
Michael (XIAO Xufeng)
1322a44588
Merge branch 'feature/mcpwm_refactor_and_support_esp32s3' into 'master'
...
MCPWM: refactor driver and support ESP32-S3
Closes IDF-1765
See merge request espressif/esp-idf!11907
2021-06-09 16:45:20 +00:00
Darian Leung
18f9dabce1
USB: Change IRP to URBs
...
This commit changes the IRP (I/O Request Packet) structure to
the URB (USB Request Block) in order to represent USB transfers
in the host stack. The new URB strcuture:
- Add extra safety with const fields
- Allows each layer of the stack to add their own overhead variables
The HCD layer API and tests have been updated to use this new URB structure
2021-06-09 22:09:46 +08:00
Omar Chebib
7dd499d1f4
i2c: commands can now be re-used without deleting and creating new cmd links
...
It is now possible to call `i2c_master_cmd_begin()` on the same
`i2c_cmd_handle_t` parameter. Thus, no extra allocation will be performed.
Moreover, as commands contains pointers to data, these can be modified
between two calls to `i2c_master_cmd_begin()`. This becomes very handy
for framebuffers.
2021-06-09 17:03:39 +08:00
Jiang Jiang Jian
1d1060e25b
Merge branch 'bugfix/wapi_keymgmt' into 'master'
...
WAPI: Key mgmt type compability issue.
Closes WIFI-3717 and WIFI-3716
See merge request espressif/esp-idf!13752
2021-06-09 08:07:48 +00:00
Angus Gratton
e20ccf4846
Merge branch 'feature/esp_log_level_get_pr6573' into 'master'
...
log: Add esp_log_level_get() function (PR)
Closes IDFGH-4770
See merge request espressif/esp-idf!13881
2021-06-09 07:32:39 +00:00
Omar Chebib
cfcbca1271
i2c: optimize space allocated for read or write buffers
...
Only a single command will be allocated now when a read or write is
prepared in the command list. The size of a command's buffer is not
limited to 255 bytes anymore.
2021-06-09 15:21:20 +08:00
Omar Chebib
e1f388f114
i2c: add i2c_cmd_link_create_static()
to create commands from a given buffer
...
Application can now provide a buffer in order to allocate commands link.
Fixed few unclear details in the documentation.
Added wrappers to simplify I2C transfers.
Closes https://github.com/espressif/esp-idf/issues/5108
2021-06-09 15:21:20 +08:00
Island
74414cc5e3
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure' into 'master'
...
ble_mesh: stack: Add the check of Provisioning Random & Confirmation sent and...
See merge request espressif/esp-idf!13886
2021-06-09 06:34:58 +00:00
Angus Gratton
bc4eb2071c
Merge branch 'feature/toolchain_2021r1' into 'master'
...
Bring 2021r1 toolchains
Closes IDFGH-5009
See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
morris
b47d012720
mcpwm: refactor unit test
2021-06-09 12:27:01 +08:00
morris
d4fe219c49
mcpwm: refactor driver
2021-06-09 12:27:01 +08:00
Angus Gratton
0716520423
Merge branch 'feature/s3_doc_build' into 'master'
...
build docs: enable building of S3 docs
Closes IDF-3284
See merge request espressif/esp-idf!13661
2021-06-09 04:09:55 +00:00
wangjialiang
48979803e8
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-09 03:24:35 +00:00
Island
63e22a1860
Merge branch 'bugfix/btdm_enable_gattc_cache_will_crash' into 'master'
...
component/bt: fix enable gattc nvs cache lead to crash
See merge request espressif/esp-idf!13887
2021-06-09 02:47:34 +00:00
Michael (XIAO Xufeng)
afe9b42cbf
Merge branch 'typo_fix/fix_typo_in_comment_in_uart_ll' into 'master'
...
Fix typo in `include/hal/uart_ll.h`
Closes IDFGH-5320
See merge request espressif/esp-idf!13826
2021-06-09 02:13:36 +00:00
Marius Vikhammer
bdfda351bd
build docs: enable building of S3 docs
...
* Added suport for building esp32s3 docs
* Fixed all related warnings
* Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Angus Gratton
d995086621
Merge branch 'bugfix/memprot_bypass' into 'master'
...
System/Security: Memprot bypassing mitigation
Closes IDF-2700
See merge request espressif/esp-idf!13795
2021-06-09 00:02:30 +00:00
Mahavir Jain
3a65e38bfa
Merge branch 'bugfix/check_for_eof' into 'master'
...
esp_http_server, protocomm: Close the connection when recv() returns 0
Closes IDFGH-4735
See merge request espressif/esp-idf!12747
2021-06-08 14:41:33 +00:00
Jiacheng Guo
c88e1e3712
openthread: fix wrong OpenThread uart read return value handling
2021-06-08 19:49:37 +08:00
Angus Gratton
5b12cd4a76
esp_hw_support: Fix ESP32-C3/S3 APB frequency
...
Regression in e6edf34e82
, APB frequency
accidentally set at 81MHz not 80MHz.
2021-06-08 07:52:32 +00:00
Angus Gratton
6961e4b3d5
Merge branch 'bugfix/ulp_overflow_rtc_mem' into 'master'
...
ulp: ULP_COPROC_RESERVE_MEM limitation
See merge request espressif/esp-idf!13814
2021-06-08 07:20:46 +00:00
Angus Gratton
7529355597
Merge branch 'bugfix/remove_unnecessary_cmake_comment' into 'master'
...
[unity]: deleted unuseful comment for linux target
See merge request espressif/esp-idf!13865
2021-06-08 06:57:11 +00:00
Angus Gratton
6c44fe291c
esp_log: Refactor esp_log_level_get() into a common static function
...
Removes duplicate code for a small runtime & size overhead if
esp_log_level_get() is not called in the firmware.
Follow-up to https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
0xFEEDC0DE64
fc85f8a47d
esp_log: Implemented esp_log_level_get(TAG)
...
Closes https://github.com/espressif/esp-idf/pull/6573
2021-06-08 16:53:23 +10:00
Marius Vikhammer
4786f2d88a
aes/sha/rsa: update registers for ESP32-S3
...
Updates register headers for ESP32-S3 and default
crypto accelerators for S3 to enabled
2021-06-08 14:15:18 +08:00
Mahavir Jain
664c9a343a
Merge branch 'feature/prov_mgr_reset_state' into 'master'
...
wifi_provisioning: Add API to erase credentials and reset provisioning state
See merge request espressif/esp-idf!13756
2021-06-08 05:59:58 +00:00
Siarhei Volkau
ba15970abb
esp_http_server, protocomm: Consider a connection as closed if recv() returns 0
...
This check prevents infinite loop on closed sockets
Closes https://github.com/espressif/esp-idf/pull/6541
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-06-08 05:48:30 +00:00
Michael (XIAO Xufeng)
b94c61497d
Merge branch 'bugfix/revert_spi_flash_cs_setup_argument' into 'master'
...
spi_flash: reverted unwilling cs_setup argument
See merge request espressif/esp-idf!13866
2021-06-07 16:46:06 +00:00
Shubham Kulkarni
f06d1cdc75
wifi_provisioning: Add check for WIFI_REASON_MIC_FAILURE error code in wifi_prov_mgr_event_handler_internal
2021-06-07 12:23:28 +00:00
Shubham Kulkarni
34bdbf9ee2
wifi_provisioning: Add API to reset state if provisioning fails
2021-06-07 12:23:28 +00:00
Michael (XIAO Xufeng)
e005ec0899
Merge branch 'feature/s3_base_support' into 'master'
...
soc: S3 base support
See merge request espressif/esp-idf!13827
2021-06-07 12:07:08 +00:00
Anton Maklakov
e5faf4f924
ci: fix test_build_system* fails
2021-06-07 18:48:38 +07:00
xiewenxiang
96811de932
component/bt: fix enable gattc nvs cache lead to crash
2021-06-07 17:28:12 +08:00
alex.li
db165da4b8
WAPI: Key mgmt type compability issue.
2021-06-07 17:11:01 +08:00
Anton Maklakov
343cc5025b
make build system: fix build for undefined _lock_* funcs
2021-06-07 12:53:45 +07:00
Anton Maklakov
b46b50eaa6
newlib: Add ESP_ROM_HAS_RETARGETABLE_LOCKING capability for C3 and S3 chips
2021-06-07 12:53:45 +07:00
Anton Maklakov
5a982ffe7a
hal: fix ee.get_gpio_in command for esp32-s3
2021-06-07 12:52:50 +07:00
Angus Gratton
0f1b24891b
Merge branch 'bugfix/esp32_u4wdh_quad_io' into 'master'
...
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
Closes IDFGH-4353
See merge request espressif/esp-idf!13111
2021-06-07 04:50:54 +00:00
Angus Gratton
18e3055f75
Merge branch 'bugfix/repl_on_another_uart' into 'master'
...
console: fix a bug preventing us from starting a CLI on non-default UART
Closes IDFGH-5114
See merge request espressif/esp-idf!13594
2021-06-07 03:53:46 +00:00
wangmengyang
775465c140
components/bt: fixed performance issue for extended active scan in coexistence scenario: use the same priority for Rx of AUX_ADV_IND and AUX_SCAN_RSP
2021-06-07 11:31:15 +08:00
Marius Vikhammer
19a492bc8d
soc: add base support for ESP32-S3
...
Updates the following with changes from verification branches:
* esp_rom linker files
* rtc_cntl and system reg and struct headers
Also updates:
* GDMA driver with new register layout
* esptool submodule commit
2021-06-07 10:40:14 +08:00
Jan Brudný
325deed208
esp32: update copyright notice
2021-06-04 11:51:06 +02:00
Michael (XIAO Xufeng)
dc6d6f225e
spi_flash: reverted unwilling cs_setup argument
...
Partially reverted 08f1bbe0c7
.
The host should have this flexibility, which is consistent to the cs_hold argument.
However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-04 15:29:53 +08:00
Michael (XIAO Xufeng)
1596e336a1
Merge branch 'bugfix/spi_flash_cs_setup' into 'master'
...
spi_flash: fix cs line setup to make the flash driver more stable
Closes IDF-3240
See merge request espressif/esp-idf!13623
2021-06-04 07:05:05 +00:00
Angus Gratton
65f70b946f
Merge branch 'bugfix/misc_ci_fixes' into 'master'
...
ci: esp_err_to_name and check_readme_links fixes
See merge request espressif/esp-idf!13859
2021-06-04 06:46:27 +00:00
Jakob Hasse
1dfdf803b3
[unity]: deleted unuseful comment for linux target
2021-06-04 14:03:31 +08:00
Jiang Jiang Jian
5cbea220b0
Merge branch 'feature/decouple_esp_phy' into 'master'
...
esp_phy: decouple esp_phy component from esp_wifi and bt
See merge request espressif/esp-idf!13742
2021-06-04 05:20:17 +00:00
Marius Vikhammer
018582dc64
ULP: reduce max possible memory reserved for ULP coprocessor
...
Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM
range to reflect this.
Closes https://github.com/espressif/esp-idf/issues/7073
2021-06-04 12:15:52 +08:00
Marius Vikhammer
2f705136e9
bootloader: fix verify_load_addresses wrongly reporting "bad load address range"
...
verify_load_addresses would check if load_end was in a certain member range,
but should verify (load_end - 1) which is the actual last byte.
2021-06-04 12:15:52 +08:00
Jiacheng Guo
a4f263948c
mdns: fix test script delayed response
2021-06-04 10:44:36 +08:00
Jiacheng Guo
e6135552d2
mdns: fix wrong SRV/PTR record handling
2021-06-04 10:44:36 +08:00
Jiacheng Guo
439b31d065
mdns: fix wrong service hostname after mangling
2021-06-04 10:44:36 +08:00
Jiacheng Guo
7bbb72d865
mdns: fix empty address change announce packets
2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984
mdns: fix mdns probe/reply behavior
...
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d
mdns: make delegate host address a list
...
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096
mdns: add remove delegate host api
2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1
mdns: add mdns delegation
...
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
5f244c86f2
mdns: fix memory free issue when repeating the query in reply
...
The repeated query will be copied in the next event loop while the
memory is freed instantly. Delay the free to fix this issue.
2021-06-04 10:44:36 +08:00
Angus Gratton
2aa48c9558
Merge branch 'doc/performance_guide' into 'master'
...
doc: Add performance guides for execution speed, binary size, RAM usage
Closes IDF-1136, IDF-486, IDF-487, IDF-485, IDFGH-5238, IDFGH-4923, IDFGH-1516, and IDFGH-408
See merge request espressif/esp-idf!13564
2021-06-04 02:17:26 +00:00
Marius Vikhammer
1ddaef7fc3
system: regenerate esp_err_to_name.c
2021-06-04 10:07:38 +08:00
Shu Chen
246e006aab
esp_phy: update esp-phy-lib and esp32-wifi-lib submodules
2021-06-03 19:08:04 +08:00
Michael (XIAO Xufeng)
b5d2e9478b
Merge branch 'bugfix/spi_ll_intr_bits' into 'master'
...
spi: Fix wrong target register for interrupt disable
See merge request espressif/esp-idf!13646
2021-06-03 10:22:25 +00:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
David Čermák
72f1c47554
Merge branch 'bugfix/mdns_interface_del_crash' into 'master'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
See merge request espressif/esp-idf!13613
2021-06-03 07:31:36 +00:00
Shu Chen
480fcfd7a6
Merge branch 'feature/uprev-openthread-210603' into 'master'
...
openthread: update openthread version
See merge request espressif/esp-idf!13839
2021-06-03 07:25:29 +00:00
Mahavir Jain
d0a8ff12ec
Merge branch 'bugfix/esp_https_ota' into 'master'
...
esp_https_ota: Add check for HTTP error codes and documentation updates
Closes IDFGH-5285 and IDFGH-5298
See merge request espressif/esp-idf!13660
2021-06-03 05:54:49 +00:00
Angus Gratton
f19d6df8eb
Merge branch 'update_copyright_notice_bootloader' into 'master'
...
bootloader: update copyright notice, part 1
See merge request espressif/esp-idf!13494
2021-06-03 04:22:51 +00:00
Jiacheng Guo
84cc1b8e96
openthread: update openthread version
...
Uprev OpenThread to check in TCP message leak fix.
2021-06-03 12:02:17 +08:00
Angus Gratton
1281895785
lwip: Add a note that enabling debug increases the binary size
2021-06-03 13:55:34 +10:00
Angus Gratton
dc6b950257
doc: Add performance guides for execuion speed, binary size, RAM usage
...
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00
Shu Chen
e470e7c4c3
Merge branch 'feature/ot-lwip-interface' into 'master'
...
openthread: add lwIP network interface
See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Suren Gabrielyan
03de74a728
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-02 13:43:54 +00:00
Jan Brudný
dffe49f305
bootloader: update copyright notice
2021-06-02 14:22:09 +02:00
Shubham Kulkarni
3064487c20
esp_https_ota: Add check for HTTP error codes and corresponding error logs
...
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-02 11:19:30 +00:00
Michael (XIAO Xufeng)
e25e02e06d
Merge branch 'feature/usb_esp32s3_add_host_support' into 'master'
...
usb/hal/soc: add USB Host support on ESP32-S3
Closes IDF-2713
See merge request espressif/esp-idf!13522
2021-06-02 09:57:58 +00:00
Alex Lisitsyn
46020fe13a
usb/hal/soc: initial copy of usbh support from esp32s2
...
copy required usbh driver files from esp32s2
check usb host functionality using unit tests on esp32s3
2021-06-02 17:57:50 +08:00
Angus Gratton
a69e6a1a37
Merge branch 'bugfix/rtc_retain_mem_addr' into 'master'
...
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
See merge request espressif/esp-idf!13811
2021-06-02 09:12:19 +00:00
Jiacheng Guo
52a68cb7fe
openthread: integrate OpenThread network interface with esp_netif
2021-06-02 17:03:54 +08:00
Andrey Starodubtsev
8488055711
Fix typo in include/hal/uart_ll.h
...
s/final state machine/finite-state machine/g
Signed-off-by: bizhuangyang <bizhuangyang@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7076
2021-06-02 15:37:30 +08:00
David Čermák
4b7a7e559a
Merge branch 'bugfix/esp_netif_list_match_improvement' into 'master'
...
esp-netif: Improve netif list operations (GitHub PR)
Closes IDFGH-5289
See merge request espressif/esp-idf!13636
2021-06-01 12:47:18 +00:00
David Čermák
a660594e71
Merge branch 'bugfix/esp_netif_ppp_set_auth_fail' into 'master'
...
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
Closes IDFGH-5284
See merge request espressif/esp-idf!13602
2021-06-01 11:30:29 +00:00
Angus Gratton
f486736cbf
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
...
Regression in 83bf2e1ac1
, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 18:58:55 +10:00
Jiang Jiang Jian
2a27e46cd9
Merge branch 'bugfix_fix_ble_ANON_ADV_addr_err' into 'master'
...
Fixed BLE ANON_ADV address error
Closes BT-1706
See merge request espressif/esp-idf!13789
2021-06-01 08:44:54 +00:00
Cao Sen Miao
08f1bbe0c7
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-01 16:41:41 +08:00
Omar Chebib
b911951cad
console: fix a bug preventing us from starting a CLI on non-default UART
...
It is now possible to start a REPL CLI on another UART than the default
one.
Closes https://github.com/espressif/esp-idf/issues/6897
2021-06-01 15:50:15 +08:00
Angus Gratton
fe94de0310
Merge branch 'update_copyright_notice_efuse' into 'master'
...
efuse: update copyright notice
See merge request espressif/esp-idf!13782
2021-06-01 06:54:49 +00:00
Angus Gratton
c49c915bcc
Merge branch 'feature/allow_efuses_be_nested_in_efuse_table' into 'master'
...
efuse: Adds support describe structures of efuses in efuse_table
Closes IDF-3200
See merge request espressif/esp-idf!13643
2021-06-01 06:31:20 +00:00
David Cermak
8ae19ed332
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
...
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-01 05:32:39 +00:00
zhiweijian
a85890dd9d
Fixed ANON_ADV address error
2021-06-01 11:43:40 +08:00
Martin Vychodil
1e58eb6928
system/security: Memprot bypassing mitigation
...
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.
Closes IDF-2700
2021-06-01 00:07:09 +02:00
Ivan Grokhotkov
5f0ec8c9b7
Merge branch 'feature/log_linux' into 'master'
...
[log]: Normal log works on Linux
Closes IDF-3245
See merge request espressif/esp-idf!13610
2021-05-31 17:16:43 +00:00
Gustavo Henrique Nihei
c1b3d77dcf
spi: Fix wrong target register for interrupt disable
2021-05-31 11:25:32 -03:00
Mahavir Jain
863c3ae12f
Merge branch 'update_copyright_notice_esp_tls_http_server_client' into 'master'
...
esp-tls, esp_http_client and esp_http_server: update copyright notice
See merge request espressif/esp-idf!13781
2021-05-31 12:06:15 +00:00
Jan Brudny
967e057906
esp-tls, esp_http_client and esp_http_server: update copyright notice
2021-05-31 20:06:09 +08:00
KonstantinKondrashov
4d35b1fc5b
efuse: Updates common_efuse_table for all chips
2021-05-31 08:42:57 +00:00
KonstantinKondrashov
29f853633d
efuse: Adds support structure of efuses in efuse_table
...
Supported a new format of efuse description using '.' in the name.
It means that RD_DIS.KEYx belongs to the range of the RD_DIS name.
RD_DIS, EFUSE_BLK0, 32, 7, Read protection
RD_DIS.KEY0, EFUSE_BLK0, 32, 1, Read protection for EFUSE_BLK4.
RD_DIS.KEY1, EFUSE_BLK0, 33, 1, Read protection for EFUSE_BLK5.
2021-05-31 08:42:57 +00:00
Michael (XIAO Xufeng)
ff29aded19
Merge branch 'bugfix/i2s_apll_disable_issue' into 'master'
...
i2s: fix driver uninstall issue
Closes IDF-3129
See merge request espressif/esp-idf!13238
2021-05-31 08:16:21 +00:00
Mahavir Jain
64f9bc06ac
Merge branch 'esp32c3/coredump_bt_summary' into 'master'
...
coredump: Parse backtrace info for RISCV
See merge request espressif/esp-idf!13455
2021-05-31 08:12:46 +00:00
Michael (XIAO Xufeng)
aecf85e74b
Merge branch 'update_copyright_notice_driver_part_2' into 'master'
...
driver: update copyright notice, part 2
See merge request espressif/esp-idf!13650
2021-05-31 07:52:19 +00:00
Michael (XIAO Xufeng)
4fac9668c8
Merge branch 'update_copyright_notice_driver_part_3' into 'master'
...
driver: update copyright notice, part 3
See merge request espressif/esp-idf!13651
2021-05-31 07:50:31 +00:00
Michael (XIAO Xufeng)
dd47340d0e
Merge branch 'update_copyright_notice_driver_part_4' into 'master'
...
driver: update copyright notice, part 4
See merge request espressif/esp-idf!13652
2021-05-31 07:37:19 +00:00
Michael (XIAO Xufeng)
23d2d2768a
Merge branch 'refactor/apply_general_check_to_timer' into 'master'
...
driver/timer: apply genral check
See merge request espressif/esp-idf!13746
2021-05-31 07:22:03 +00:00
Angus Gratton
164ccef52c
Merge branch 'docs/fix_allow_external_stack_mem_config_description' into 'master'
...
Freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
See merge request espressif/esp-idf!13739
2021-05-31 05:55:52 +00:00
Jan Brudný
1bac0d1e42
efuse: update copyright notice
2021-05-31 06:43:23 +02:00
Island
cf44d2f6ef
Merge branch 'bugfix/bt_impersonation_passkey_fix' into 'master'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
See merge request espressif/esp-idf!13754
2021-05-28 13:43:14 +00:00
Michael (XIAO Xufeng)
fe7993ead4
Merge branch 'feature/usb_hcd_intr_and_isoc_support' into 'master'
...
USB HCD: Add support for interrupt and isochronous pipes
Closes IDF-3110
See merge request espressif/esp-idf!12807
2021-05-28 10:14:46 +00:00
Chinmay Chhajed
b75e034b3c
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 14:28:54 +05:30
Wang Meng Yang
3a7dc7a595
Merge branch 'bugfix/ble_fix_reconnect_failed_when_using_rpa_public_address' into 'master'
...
Bugfix/ble fix reconnect failed when using rpa public address
Closes BT-1680
See merge request espressif/esp-idf!13741
2021-05-28 08:03:18 +00:00
Michael (XIAO Xufeng)
dd0c1c7d95
Merge branch 'bugfix/delete_i2c_cmd_mux_semaphore_more_cleanly' into 'master'
...
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly
Closes IDFGH-5062
See merge request espressif/esp-idf!13399
2021-05-28 07:56:34 +00:00
Angus Gratton
b9911e01b3
Merge branch 'bugfix/stub_log_level' into 'master'
...
host stubs: Fix log level, add copyright & "this is a stub" notices
Closes IDFGH-5232
See merge request espressif/esp-idf!13637
2021-05-28 05:21:52 +00:00
Angus Gratton
d96e55f5d4
Merge branch 'bugfix/image_load_refactoring' into 'master'
...
bootloader: Fix a wrong offset in image_load after refactoring
See merge request espressif/esp-idf!13736
2021-05-28 05:02:26 +00:00
Jakob Hasse
ef2dba3921
Integrated linux log into fatfs and spiffs host tests
2021-05-28 11:05:55 +08:00
Jakob Hasse
0ea20caa71
[log]: Normal log works on Linux now
...
* also removed strlcpy dependency from log
* added Kconfig option for linux target
Closes IDF-3245
2021-05-28 11:05:22 +08:00
Angus Gratton
928e6c4d1c
host tests: Add copyright notices and "This is a stub" notices to all stub files
2021-05-27 23:57:22 +00:00
Angus Gratton
da1f055e26
host tests: Fix log level in stub header
...
Reported on forum https://www.esp32.com/viewtopic.php?f=14&t=20838&p=76246
2021-05-27 23:57:22 +00:00
laokaiyao
3a6043900d
driver/timer: apply genral check
2021-05-27 15:52:19 +08:00
Hrudaynath Dhabe
a260a1bafa
wpa_supplicant: Fix supplicant debug logs errors.
2021-05-27 13:02:38 +05:30
zwj
8919322c76
Fixed BLE reconnect failed when using rpa public address
2021-05-27 14:08:47 +08:00
laokaiyao
b807f2a666
driver/i2c: add notes to i2c deleteing function
2021-05-27 12:43:22 +08:00
Michael (XIAO Xufeng)
62e1c8ec03
Merge branch 'bugfix/touch_ll_get_sleep_time' into 'master'
...
Fixed error in "touch_ll_get_sleep_time" function for ESP32
Closes IDFGH-5111
See merge request espressif/esp-idf!13272
2021-05-26 17:12:09 +00:00
Darian Leung
7f42104893
HCD: Add support for interrupt and isochronous pipes
...
This commit adds support for interrupt and isochronous pipes to the HCD:
- HCD now internally uses double buffering
- Added test cases for interrupt and isochronous transfers
- Reorganized test cases for each transfer type
- Updated API comments and maintainer's notes
Some minor bugs were also fixed
2021-05-26 22:55:12 +08:00
David Čermák
5b8bcec333
Merge branch 'bugfix/tls_limit_esp_tls_structure_usage' into 'master'
...
esp_tls/tcp_transport: Transport to use esp_tcp_connect directly for plain TCP
Closes IDF-3005 and IDFGH-5162
See merge request espressif/esp-idf!13418
2021-05-26 14:26:13 +00:00
Darian Leung
787873b86b
freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
...
This commit fixes the ambiguity in the description of the
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configuration option.
2021-05-26 21:04:28 +08:00
KonstantinKondrashov
071e00a088
bootloader: Fix a wrong offset in image_load after refactoring
2021-05-26 18:06:11 +08:00
Sergey Gorban
850de61e34
Fixed error in "touch_ll_get_sleep_time" function for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/6895
2021-05-26 16:23:18 +08:00
Michael (XIAO Xufeng)
cd5f4ad4c2
Merge branch 'refactor/apply_general_check_to_ledc' into 'master'
...
ledc: apply general check macro
See merge request espressif/esp-idf!13499
2021-05-26 07:21:50 +00:00
Andrey Starodubtsev
614f1c175a
Fix couple of UART issues
...
- there was a small race in `uart_pattern_link_free`:
`rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
`UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
if these flags weren't set when function was called
Closes https://github.com/espressif/esp-idf/pull/7023
2021-05-26 15:07:00 +08:00
Michael (XIAO Xufeng)
41cc998856
Merge branch 'update_copyright_notice_driver_part_1' into 'master'
...
driver: update copyright notice, part 1
See merge request espressif/esp-idf!13649
2021-05-26 06:58:15 +00:00
Jan Brudný
690974e32f
driver: update copyright notice
2021-05-25 17:43:57 +02:00
Jiang Jiang Jian
4c0ed8844d
Merge branch 'bugfix/wifi_mac_sleep_issue' into 'master'
...
fix wifi mac sleep bug when wifi is initialized multiple times
Closes WIFI-3678
See merge request espressif/esp-idf!13591
2021-05-25 14:31:20 +00:00
Jiang Jiang Jian
bf71f494a1
Merge branch 'bugfix/attack_crash_for_release' into 'master'
...
bugfix/Fix crash when lmp flooding
Closes ESPCS-565
See merge request espressif/esp-idf!13327
2021-05-25 14:26:21 +00:00
Jiang Jiang Jian
6fd403b5e3
Merge branch 'bugfix/phy_calib_data_to_nvs_for_c3_s3' into 'master'
...
esp_wifi: support phy calibration data to nvs for s2 c3 & s3
See merge request espressif/esp-idf!13624
2021-05-25 14:19:43 +00:00
Krzysztof Budzynski
99e7aa1700
Merge branch 'docs/update_chip_comparsion_table' into 'master'
...
docs:translate chip series comparison table and update adc_types.h
Closes DOC-1278
See merge request espressif/esp-idf!13596
2021-05-25 10:44:01 +00:00
David Cermak
f68d7d7023
esp_tls: Renamed public API to indicate the Plain TCP connection
...
Also added parameter checks if used from as a public API
and updated the `is_plein_tcp` description that it's possible to connect
directly using plain tcp transport with the new API.
2021-05-25 10:55:50 +02:00
David Cermak
38fd2ed10b
tcp_transport: Rename common tcp/ssl internals to base-transport
...
Also uses INVALID_SOCKET macro instead of magic number (-1)
2021-05-25 10:55:45 +02:00
David Čermák
c90ee0a7d0
Merge branch 'bugfix/eth_w5500_io_intr_missed' into 'master'
...
esp_eth: w5500: Improve GPIO interrupt processing
See merge request espressif/esp-idf!13101
2021-05-25 07:36:24 +00:00
Angus Gratton
93d07d1f36
Merge branch 'update_copyright_notice_console_cxx' into 'master'
...
console, cxx: update copyright notice
See merge request espressif/esp-idf!13559
2021-05-25 07:26:52 +00:00
David Cermak
6cf077169e
tcp_transport: Rework test to split test code and use fixtures
2021-05-25 07:04:02 +02:00
David Cermak
f249ddd9ae
esp_transport: Use tcp_connect from esp_tls for plain TCP
...
so we don't have to allocate esp_tls structure (~2KB) to save heap when using plain TCP connection
Closes https://github.com/espressif/esp-idf/issues/6940
2021-05-25 07:04:02 +02:00
Jiri Schiebel
c01e259a98
esp_tls: esp_tls_connect: Reduce input params to err_handle
...
Pass only the error_handle instead of instead of the full config structure
2021-05-25 07:04:02 +02:00
David Cermak
45846f06cf
esp_eth: Improve GPIO interrupt processing in w5500 driver
...
Increase the interrupt reassert level timing so the chances of missing
two consecutive events are minimal.
Enable only SIR_RECV interrupt event, so the SEND events are not used
for GPIO signal.
2021-05-25 04:52:46 +00:00
David Cermak
0cd021adb1
esp_eth: Recover the w5500 driver from missed io interrupt
...
If the GPIO interrupt is re-asserted too quickly it could be missed. If this happens the driver goes silent and never receives any data. Recover by periodic checks of the IO signal level
2021-05-25 04:52:46 +00:00
David Čermák
557b1e9fe0
Merge branch 'docs/lwip_fuzzer_tests_document' into 'master'
...
Docs: Added README.md for lwip fuzzer tests
Closes IDFCI-540
See merge request espressif/esp-idf!13186
2021-05-25 04:12:10 +00:00
David Čermák
fbf68044b2
Merge branch 'bugfix/fix_disable_ipv6_build_fail' into 'master'
...
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
Closes IDFGH-5157
See merge request espressif/esp-idf!13339
2021-05-25 04:11:38 +00:00
Mahavir Jain
f7e07fc4a5
Merge branch 'feature/update_esp_cryptoauthlib' into 'master'
...
secure_element: Update esp-cryptoauthlib submodule latest version.
See merge request espressif/esp-idf!13563
2021-05-25 04:10:01 +00:00
David Čermák
36e6938920
Merge branch 'feature/lwip_ipv6_automatic_coap_asio' into 'master'
...
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
Closes IDF-2832
See merge request espressif/esp-idf!13616
2021-05-24 12:39:37 +00:00
David Čermák
5801712caf
Merge branch 'bugfix/start_emac_after_phy_reset' into 'master'
...
esp_eth: speed up Ethernet start up process
Closes WIFI-3563, WIFI-3564, WIFI-3687, and IDFGH-5269
See merge request espressif/esp-idf!13461
2021-05-24 09:30:14 +00:00
Aditya Patwardhan
1abdfee3b7
secure_element: Update esp-cryptoauthlib submodule latest version.
...
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-05-24 07:28:20 +00:00
liaowenhao
6bd7f30199
bugfix/fix crash when lmp flooding
2021-05-24 12:08:03 +08:00
Jiang Jiang Jian
da988bed0f
Merge branch 'bugfix/btdm_delete_adv_priority_high' into 'master'
...
components/bt: Delete BLE ADV priority high
Closes BT-1573
See merge request espressif/esp-idf!13054
2021-05-24 03:58:32 +00:00
Jan Brudný
a93daccabe
driver: update copyright notice
2021-05-24 02:02:15 +02:00
Jan Brudný
6667c5dc2a
driver: update copyright notice
2021-05-24 01:53:34 +02:00
Jan Brudný
58f79e6b00
driver: update copyright notice
2021-05-24 01:06:17 +02:00
David Cermak
c991af7ac5
esp_netif: Update the test to exercise netif list matching APIs
2021-05-21 09:44:08 +02: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
chenjianxing
41882082f7
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-05-20 21:55:59 +08:00
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
Andrey Starodubtsev
6e343c1f8b
Fix typo
...
s/\bUnknow\b/Unknown/g
2021-05-14 18:26:22 +03: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
Darian Leung
3bb5f86a53
Fix incorrect D- pulldown and cleanup USB device struct
...
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL.
The usb_struct.h used by USB device mode has also been cleaned up.
2021-05-13 17:18:35 +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
Jakob Hasse
31bba67491
[driver]: removed redundant code in CMakeLists.txt
2021-04-27 18:07:44 +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