Hrudaynath Dhabe
079b5b1857
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data' into 'master'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data
Closes IDFGH-6773
See merge request espressif/esp-idf!17105
2022-04-20 16:32:45 +08:00
Laukik Hase
864c59c091
esp_tls: Remove deprecated API
...
- Removed deprecated esp_tls_conn_new() viz. duplicated by
esp_tls_conn_new_sync()
- Removed deprecated esp_tls_conn_delete()
- Marked esp_tls_conn_http_new() as deprecated, added alternative
esp_tls_conn_http_new_sync() (similar to esp_tls_conn_http_new_async())
2022-04-20 12:18:25 +05:30
Armando (Dou Yiwen)
5bb59b00e7
Merge branch 'feature/support_bss_on_psram' into 'master'
...
psram: support .bss on psram on esp32s3
Closes IDF-4814, IDF-4396, IDFGH-7148, and IDFGH-7153
See merge request espressif/esp-idf!17557
2022-04-20 11:16:28 +08:00
Aditya Patwardhan
1b4cc4c9f2
test_rsa.c: remove 'use_blinding' variable.
...
The "mbedtls_rsa_private" has made f_rng function mandatory for the
operation.
Also updated the MAX_PERFORMANCE values with offset added with blinding
Added the SOC_CCOMP_TIMER_SUPPORTED Check
2022-04-20 01:07:01 +00:00
Euripedes Rocha
f2c77bb70f
tcp_transport: Fix documentation for connect functions
...
Documentation was incorrectly point that we return the socket number.
The function returns an integer related to the status of the connection.
Closes https://github.com/espressif/esp-idf/issues/8416
2022-04-19 14:18:05 +00:00
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
xiewenxiang
dabcfab7ef
Update esp c3/s3 phy lib (aa05aec)
2022-04-19 20:18:05 +08:00
Darian
fc9c6a6cfb
Merge branch 'feature/freertos_smp_port_local_storage' into 'master'
...
freertos: Disable portUSING_MPU_WRAPPERS
Closes IDF-4563
See merge request espressif/esp-idf!17409
2022-04-19 19:52:29 +08:00
Armando
b5de3ec953
esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
...
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8
psram: support .bss on psram on esp32s3
2022-04-19 19:48:00 +08:00
Ivan Grokhotkov
a4e8a623b3
Merge branch 'bugfix/linux_target_log_macos' into 'master'
...
linux target: add ESP_LOG_BUFFERS support, fix build on macOS
See merge request espressif/esp-idf!17726
2022-04-19 19:45:24 +08:00
Ivan Grokhotkov
93edb8fd52
Merge branch 'bugfix/errno_overlap' into 'master'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Darian Leung
839476b461
freertos: Add SMP FreeRTOS coprocessor unit tests
2022-04-19 13:35:30 +08:00
Darian Leung
8c92d0b2af
freertos: Disable portUSING_MPU_WRAPPERS in FreeRTOS SMP Xtensa port
...
This commit disables portUSING_MPU_WRAPPERS for the FreeRTOS SMP xtensa port.
This was previously enabled due to the need to keep a CPSA (coprocessor save
area pointer) in the TCB. The CPSA pointer is now calculated at run time.
2022-04-19 13:35:30 +08:00
Rahul Tank
8b4e032255
Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
4af0cd89dd
Merge branch 'bugfix/correct_nimble_kconfig' into 'master'
...
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
See merge request espressif/esp-idf!17779
2022-04-18 21:42:51 +08:00
Kapil Gupta
86013e918a
Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
...
wpa_supplicant: Add CA certification bundle support
See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
Darian
2fda413674
Merge branch 'bugfix/freertos_smp_main_task_affinity' into 'master'
...
freertos: Fix main task affinity in SMP FreeRTOS
See merge request espressif/esp-idf!17787
2022-04-18 19:14:55 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-04-18 12:10:30 +02:00
Omar Chebib
bd50aa4dfc
Merge branch 'refactor/remove_hal_dependency_on_log' into 'master'
...
hal: Remove dependency on log component
Closes IDF-4859
See merge request espressif/esp-idf!17709
2022-04-18 17:48:03 +08:00
Darian Leung
79cecf05b3
freertos: Fix main task affinity in SMP FreeRTOS
2022-04-18 15:50:47 +08:00
Konstantin Kondrashov
04bcc17dcc
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Omar Chebib
f772d78317
hal: Remove dependency on log component
...
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
...
In c4bcf111
, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.
Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.
This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Adam Múdry
22b46580f8
fatfs: add esp_vfs_fat_info() + unit tests
2022-04-15 20:49:53 +02:00
Krzysztof Lewandowski
e72151055b
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-15 05:22:24 -04:00
Martin Vychodil
b9e06d7222
Merge branch 'bugfix/sdmmc_cmd38_arg_validation' into 'master'
...
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
Closes IDFGH-7094
See merge request espressif/esp-idf!17684
2022-04-15 04:33:37 +08:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
David Čermák
a7c1112ca4
Merge branch 'feature/ws_client_support_cont_frames' into 'master'
...
transport_ws: Parse and expose frame fin flag
Closes IDFGH-6767 and IDFGH-6737
See merge request espressif/esp-idf!17748
2022-04-14 23:18:12 +08:00
Hrudaynath Dhabe
57905c7ecf
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
...
handling of key RSC.
Closes https://github.com/espressif/esp-idf/issues/8401
2022-04-14 17:13:49 +05:30
Nachiket Kukade
8dea7cbed6
wpa_supplicant/dpp: Avoid deadlock while deleting DPP task
...
Closes https://github.com/espressif/esp-idf/issues/8724
2022-04-14 16:54:47 +05:30
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Rahul Tank
18df58f1df
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
2022-04-14 16:13:21 +05:30
Roland Dobai
667edfa7a9
Merge branch 'bugfix/s3_otg_compressed_flash_with_stub' into 'master'
...
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub
Closes ESPTOOL-372
See merge request espressif/esp-idf!17559
2022-04-14 18:26:18 +08:00
Jiang Jiang Jian
2c434ff4a5
Merge branch 'bugfix/fix_phy_i2c_crash' into 'master'
...
esp_phy: Add IRAM_ATTR for phy i2c spinlock
Closes BT-2323
See merge request espressif/esp-idf!17756
2022-04-14 18:25:24 +08:00
Michael (XIAO Xufeng)
d64c6f581d
ledc: cleanup the clock selection code
2022-04-14 08:15:14 +00:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
KonstantinKondrashov
1e0eef52d3
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
morris
cc71e645be
Merge branch 'feature/ksz8863rll_support' into 'master'
...
ESP IDF infrastructure preparation for ksz8863rll support
See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Ondrej Kosta
90829e64d5
Merge branch 'feature/create_l2tap_example' into 'master'
...
Feature/create l2tap example
Closes IDF-4096
See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Michael (XIAO Xufeng)
46b5363e39
spi_flash: forbid writing to main flash when using invalid init arguments
...
Also refactored the init code to make the logic of device (CS) acquiring
more centralized.
Resolves: https://github.com/espressif/esp-idf/issues/8556
2022-04-13 18:02:34 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
xiewenxiang
ba3770ba30
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-13 12:16:58 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ondrej Kosta
e4217ff868
esp_eth/test_apps: fixed byte order of EthType during raw socket creation
2022-04-12 12:33:57 +00:00
Omar Chebib
047903c612
Merge branch 'typo/heap_test' into 'master'
...
Heap: fix typos in test and component
See merge request espressif/esp-idf!17731
2022-04-12 18:45:04 +08:00
MacDue
1ca3a4fbe3
transport_ws: Parse and expose frame fin flag
...
Note: esp_websocket_client still needs patching to expose this
2022-04-12 11:31:51 +01:00
Roland Dobai
3b161a40d6
esptool_py: Update to support ESP32-S3 USB OTG compressed flashing with stub
2022-04-12 08:53:12 +00:00
Wang Meng Yang
06b7c5c788
Merge branch 'bugfix/fix_spp_initiator_connect_failed' into 'master'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed
Closes BT-2332
See merge request espressif/esp-idf!17698
2022-04-12 14:56:25 +08:00
Kapil Gupta
ea7691ba6c
Merge branch 'bugfix/wmn_scan_fixes' into 'master'
...
wpa_supplicant: Remove scan done event from btm task
See merge request espressif/esp-idf!17705
2022-04-12 14:53:54 +08:00
Jakob Hasse
902611831b
Merge branch 'doc/rng_small_improvements' into 'master'
...
Doc: Clarify RNG usage
See merge request espressif/esp-idf!17695
2022-04-12 14:21:47 +08:00
Mahavir Jain
8fac20d7dc
Merge branch 'feature/upgrade_argtable_3_2_1_files' into 'master'
...
console: upgrade argtable3 to v3.2.1 (multi-file approach)
See merge request espressif/esp-idf!17687
2022-04-12 12:42:29 +08:00
Simon
675e15a6b5
Merge branch 'esptool/temporary_support_mspi_clock' into 'master'
...
spi_flash: esptool temporarily supports C2/H2 clock configurations
See merge request espressif/esp-idf!17721
2022-04-12 10:28:44 +08:00
Ivan Grokhotkov
5f7afd3980
console: argtable3: sync arg_end argument name
...
...between declaration and definition, to silence clang-tidy warnings
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
ebe1acc6b8
console: argtable3: fix -Wwrite-strings warnings
...
Re-apply commit 744c2dcdd9
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
8240144580
console: argtable3: re-introduce arg_print_formatted function
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
21a94dfcb6
console: argtable3: use newlib getopt, disable logs
...
Opted for changing the source code to avoid adding one extra flag to
component public CPPFLAGS.
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
10f72e1086
console: argtable3: update CMakeLists.txt for v3.2.1
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
69d1424c15
console: argtable3: add SPDX copyright headers
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
c0d62c58d3
console: argtable3: upgrade to v3.2.1
...
Source code taken from release archives in
https://github.com/argtable/argtable3/releases/tag/v3.2.1.52f24e5
Applied dos2unix to all files.
Removed trailing whitespace with the pre-commit hook.
Resolves some of the static analysis issues reported in
https://github.com/espressif/esp-idf/issues/6440
(mallocs are replaced by xmalloc wrapper which panics on failed
allocations)
2022-04-11 19:42:52 +02:00
Vamshi Gajjela
0e366db603
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
...
Unit test cases added to verify -ve test, for sdmmc_erase_sectors to
return ESP_ERR_NOT_SUPPORTED
Closes https://github.com/espressif/esp-idf/issues/8704
2022-04-11 15:36:45 +00:00
morris
0164ce894d
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio' into 'master'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
Closes IDFGH-7128
See merge request espressif/esp-idf!17737
2022-04-11 21:15:06 +08:00
Mahavir Jain
235531a770
Merge branch 'bugfix/lwip_dhcps_disabled_build' into 'master'
...
lfix build with CONFIG_LWIP_DHCPS disabled
See merge request espressif/esp-idf!17730
2022-04-11 21:08:17 +08:00
morris
bd3ded195a
Merge branch 'feature/proper_way_register_testapp_component' into 'master'
...
Several driver improvements according to coverify scan report
See merge request espressif/esp-idf!17708
2022-04-11 21:04:14 +08:00
Mahavir Jain
467e9c07d6
lwip: fix build with CONFIG_LWIP_DHCPS disabled
...
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Ivan Grokhotkov
3602d332c4
log: support ESP_LOG_BUFFER* functions for Linux target
2022-04-11 13:29:01 +02:00
Ivan Grokhotkov
7c65370d84
spiffs: add esp_spiffs_gc function to force garbage collection
...
Closes https://github.com/espressif/esp-idf/issues/8626
2022-04-11 11:19:10 +02:00
liqigan
81829c2670
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-11 17:14:02 +08:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
0d52cb04dc
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
...
Closes https://github.com/espressif/esp-idf/issues/8733
2022-04-11 15:34:07 +08:00
songruo
cd83f4f307
rtc_clk: fix esp32 unreachable code in rtc_clk_xtal_freq_estimate
2022-04-11 12:13:00 +08:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Omar Chebib
e7cb672624
Heap: fix typos in test and component
2022-04-11 11:36:52 +08:00
Jakob Hasse
3ceaba5b32
refactor (docs, rng): Clarify RNG usage
2022-04-11 10:55:28 +08:00
wangmengyang
3c63d0cc0e
components/bt: fix the documentations for Bluetooth HID device APIs
2022-04-11 02:50:50 +00:00
Cao Sen Miao
52e88a0073
spi_flash: esptool temporarily supports C2/H2 clock configurations
2022-04-11 10:46:02 +08:00
Jiang Jiang Jian
199d72c19c
Merge branch 'bugfix/fix_i2c_critical_and_iram_funcations' into 'master'
...
Update esp c3/s3 phy lib (dcbe608)
Closes BT-2323
See merge request espressif/esp-idf!17713
2022-04-11 10:28:31 +08:00
Armando (Dou Yiwen)
5e8db9669d
Merge branch 'refactor/move_soc_memory_types_helper_functions_to_esp_hw_support' into 'master'
...
hw_support: move soc_memory_types.h helper functions into esp_hw_support (G1)
Closes IDF-4858
See merge request espressif/esp-idf!17657
2022-04-10 19:10:33 +08:00
Adam Múdry
36db6a6681
spiffs: Add esp_spiffs_check() function
...
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Ondrej Kosta
4051b80b4d
esp_netif: remove dependency of L2 TAP Interface from netif_lwip
...
esp_eth: extended infrastructure to optionally provide more advanced access to MAC/PHY layers
2022-04-08 16:40:29 +02:00
Darian
59202fe43e
Merge branch 'bugfix/freertos_smp_cmakelist' into 'master'
...
freertos: Fix CMakeLists.txt to include esp_additions/private_include
See merge request espressif/esp-idf!17715
2022-04-08 21:35:44 +08:00
Rahul Tank
739cd66866
Nimble: Sync sending Host Number of Completed Packets command
2022-04-08 15:53:22 +05:30
Darian Leung
7ea0106b3f
freertos: Fix CMakeLists.txt to include esp_additions/private_include
2022-04-08 17:23:52 +08:00
xiewenxiang
a5597d67f3
Update esp c3/s3 phy lib (dcbe608)
2022-04-08 16:39:34 +08:00
morris
0a36cad9e0
driver: register test app component by WHOLE_ARCHIVE
2022-04-08 15:15:05 +08:00
morris
a7d380c80a
driver: a better way to avoid new/old driver coexistence
2022-04-08 15:15:05 +08:00
morris
5732e2a4be
driver: fix dead code in error handling path
...
... for gptimer and pulse_cnt driver, reported by Coverity Scan
2022-04-08 15:13:34 +08:00
Armando
a8a47a61f5
spi_flash: move buffer check from hal layer to driver layer
...
Prior to this change, `spi_flash_hal_supports_direct_write` and
`spi_flash_hal_supports_direct_read` will check the buffer pointer
place, which should be done in driver layer, instead of HAL layer.
2022-04-08 11:46:10 +08:00
Armando
c4bcf1117c
esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support
2022-04-08 11:46:10 +08:00
morris
483149e41b
global: fix some potential out-of-bounds issue
...
...that found by Coverity Scan
2022-04-08 11:05:43 +08:00
morris
bb2a57dc71
intr_alloc: fix mix boolean and bit operation
2022-04-08 11:05:43 +08:00
morris
37d8abda0b
gdma: add spin lock for gdma channel
...
... because we allow several control functions to be runable under ISR
context
2022-04-08 10:05:01 +08:00
Martin Gano
d76de32f74
fatfsgen.py: enabled date and time for fatfs
2022-04-07 15:01:28 +02:00
Sudeep Mohanty
f2d355992b
Merge branch 'refactor/remove-portmacro-deprecated-apis' into 'master'
...
freertos: remove portmacro_deprtecated.h file
Closes IDF-4746
See merge request espressif/esp-idf!17661
2022-04-07 14:36:25 +08:00
Michael (XIAO Xufeng)
c01d29a184
Merge branch 'feat/opi_mxic_header_def' into 'master'
...
spi_flash: update def header of MXIC
See merge request espressif/esp-idf!17533
2022-04-07 11:59:00 +08:00
Ivan Grokhotkov
e4d0b7b007
Merge branch 'bugfix/spiffs_check_part_alignment' into 'master'
...
spiffs: add init checks for partition alignment and data types
Closes IDFGH-6974 and IDF-3349
See merge request espressif/esp-idf!17676
2022-04-07 01:27:57 +08:00
Kapil Gupta
92c18f11d9
wpa_supplicant: Remove scan done event in task
2022-04-06 19:49:52 +05:30
David Čermák
3692b15965
Merge branch 'feature/lwip_dns_debug_logs' into 'master'
...
lw-IP: Add DNS debug option.
Closes IDFGH-7076
See merge request espressif/esp-idf!17668
2022-04-06 21:59:09 +08:00
Mahavir Jain
2cee6954e3
Merge branch 'bugfix/esp_crt_bundle_build_issue' into 'master'
...
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled
Closes IDFGH-7106
See merge request espressif/esp-idf!17674
2022-04-06 19:33:06 +08:00
liqigan
2ce516e455
fix SPP initiator can not free resource when connection is failed
2022-04-06 18:17:07 +08:00
Anton Maklakov
a2c8a676a0
Merge branch 'bugfix/explicit_use_bsd_string_in_linux_target' into 'master'
...
docs, spi_flash: explicit use bsd string in linux target
Closes IDF-3267
See merge request espressif/esp-idf!17635
2022-04-06 14:00:36 +08:00
Mahavir Jain
b3d3f74a67
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled
...
Exclude source and include file from build list if certificate bundle feature
is disabled.
Closes https://github.com/espressif/esp-idf/issues/8714
Closes IDFGH-7106
2022-04-06 05:10:43 +00:00
Michael (XIAO Xufeng)
b585d0afd0
Merge branch 'bugfix/phy_regi2c_critical_section' into 'master'
...
esp_phy: use spinlock to avoid regi2c access conflicts
See merge request espressif/esp-idf!17298
2022-04-06 09:30:03 +08:00
Darian
7554194bf1
Merge branch 'feature/freertos_smp_port_idle_hooks' into 'master'
...
freertos: Update idle hooks for SMP
Closes IDF-3337
See merge request espressif/esp-idf!17407
2022-04-06 08:24:04 +08:00
Ivan Grokhotkov
6a172b419f
spiffs: add init checks for partition alignment and data types
...
Closes https://github.com/espressif/esp-idf/issues/8593
2022-04-05 19:14:00 +02:00
Nachiket Kukade
2982910075
esp_wifi: Update wifi libs
...
PMF capable flag in wifi_pmf_config_t is internally enabled,
for devices to be able to connect to WPA3 only AP's without
additional user configuration. But PMF may need to be disabled
for debug purposes or to avoid PMF issues on AP side. Add API
esp_wifi_disable_pmf_config to support this.
2022-04-05 17:44:42 +05:30
Kapil Gupta
62eb06e386
wpa_supplicant: Add CA certification bundle support
...
Add support for CA certificate bundle support for server
certificate validation
2022-04-05 10:57:09 +05:30
Sudeep Mohanty
129e613f15
freertos: remove portmacro_deprtecated.h file
...
This commit removes the portmacro_deprecated.h file and the deprecated
APIs contained in it. Alternate APIs to use are noted in the migration
guide.
2022-04-05 04:38:35 +00:00
Darian
82e9afeade
Merge branch 'feature/freertos_update_task_snapshot_implementation' into 'master'
...
FreeRTOS: Update Task Snapshot Implementation
Closes IDF-3334
See merge request espressif/esp-idf!17496
2022-04-04 07:49:20 +08:00
Bao Hong De
2748b3a4be
Merge branch 'bugfix/not_use_malloc_in_bluedroid' into 'master'
...
component/bt: use osi_malloc instead of malloc in bluedroid
See merge request espressif/esp-idf!17663
2022-04-03 04:24:08 +08:00
Darian Leung
e6d43ab56f
freertos: Update SMP idle hooks
...
This commit updates the usage of idle hooks in SMP FreeRTOS as follows:
- IDF style idle hooks are now called from vApplicationMinimalIdleHook()
- If the user provdies their own vApplicationMinimalIdleHook(), it can be
wrapped using -Wl,--wrap if CONFIG_FREERTOS_USE_MINIMAL_IDLE_HOOK is
enabled.
- SMP port no longer uses vApplicationIdleHook() as it's only called from
the prvIdleTask() and not every prvMinimalIdleTask()
2022-04-01 22:08:45 +08:00
Darian Leung
8c88c6f68f
freertos: Update task snapshot unit tests
...
This commit updates the task snapshot unit tests as follows:
- Both uxTaskGetSnapshotAll() and vTaskGetSnapshot() are now both tested
- Test cases are now dependent on CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
2022-04-01 22:01:16 +08:00
Darian Leung
80f0c64c2a
freertos: Update task snapshot
...
This commit updates task snapshot as follows:
- Refactored implementation to increase readability
- Implementation moved into freertos_tasks_c_additions.h
- freertos_tasks_c_additions.h made a private header
- Support SMP FreeRTOS
- Removed configENABLE_TASK_SNAPSHOT option. CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
is direclty used instead.
2022-04-01 22:01:16 +08:00
Mahavir Jain
4350e6fef8
Merge branch 'feature/security_soc_capabilities' into 'master'
...
soc: add security features related capabilities
Closes IDF-4854
See merge request espressif/esp-idf!17632
2022-04-01 21:55:59 +08:00
Song Ruo Jing
e13bb580c7
Merge branch 'refactor/gpio_unit_test' into 'master'
...
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
Closes IDF-4620
See merge request espressif/esp-idf!17417
2022-04-01 18:38:19 +08:00
Mahavir Jain
03aafb5d52
bootloader: use SOC capability macros for security features related configuration
2022-04-01 09:38:34 +00:00
Mahavir Jain
74005ed2f5
soc: add capability macros for security features
...
- Security features covers "secure boot", "flash encryption" etc.
- ECO revision specific modifications still need to be handled
through kconfig itself, as soc_caps.h is processed before ECO revision
selection
- This will simplify addition of security features for newer chips by
using these SOC capability macros
2022-04-01 09:38:34 +00:00
morris
1459a09978
Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
...
C++: fix several gcc11 warnings
Closes GCC-229
See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Wei Tian Hua
dbe4606eab
Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
...
components/bt: support for vendor specific battery level and docker status...
See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
Michael (XIAO Xufeng)
f3adbf9953
esp_phy: use spinlock to avoid regi2c access conflicts
2022-04-01 10:49:29 +08:00
Michael (XIAO Xufeng)
049ebf9853
regi2c: use safe version of spinlock, instead of ISR ver
2022-04-01 10:48:46 +08:00
Mahavir Jain
e498209ed2
Merge branch 'fix/esp_crt_bundle_init_api' into 'master'
...
esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_init" API.
Closes IDFGH-6769
See merge request espressif/esp-idf!17646
2022-04-01 01:36:55 +08:00
baohongde
65b15cd75a
component/bt: use osi_malloc instead of malloc in bluedroid
2022-03-31 22:27:54 +08:00
Omar Chebib
fa55cf608b
Merge branch 'refactor/remove_esp32comp_dep_on_efuse' into 'master'
...
G0: target components (components/esp32*) don't depend on efuse anymore
See merge request espressif/esp-idf!17623
2022-03-31 17:40:25 +08:00
Marius Vikhammer
36b83fcb98
Merge branch 'docs/cpp_function_ref_fixes' into 'master'
...
docs: fix broken references to misc API functions and types.
Closes IDF-3184 and DOC-2806
See merge request espressif/esp-idf!17569
2022-03-31 16:22:23 +08:00
Anton Maklakov
b415476904
cxx: suppress -Warray-bounds warning for a test
2022-03-31 15:10:28 +07:00
Aditya Patwardhan
c27c6916a7
esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_set" API.
...
Closes https://github.com/espressif/esp-idf/issues/8397
2022-03-31 13:11:11 +05:30
Konstantin Kondrashov
a7578a68c0
Merge branch 'bugfix/ipc_blocking' into 'master'
...
esp_ipc: Fix a case when ipc_task() can wake up blocking task early
Closes IDFGH-6939
See merge request espressif/esp-idf!17508
2022-03-31 13:28:39 +08:00
Konstantin Kondrashov
44a0108d4c
Merge branch 'feature/esp32c3_eco4' into 'master'
...
esp32c3: Adds ECO4 revision
Closes IDF-4848
See merge request espressif/esp-idf!17514
2022-03-31 13:24:34 +08:00
Wu Zheng Hui
506768c9fa
Merge branch 'feature/esp32h2beta2_chip_env' into 'master'
...
Support esp32h2beta2 chip
See merge request espressif/esp-idf!17503
2022-03-31 09:51:12 +08:00
Mengsk
42efbb1a57
Add lwip dns debug option.
2022-03-30 15:45:56 +02:00
Armando (Dou Yiwen)
ee034d5b6a
Merge branch 'feature/support_spi_on_h2' into 'master'
...
spi: support spi on h2
Closes IDF-3796 and IDF-4226
See merge request espressif/esp-idf!17191
2022-03-30 19:59:31 +08:00
songruojing
8d84033b8c
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
...
Eliminate UT_T1_GPIO runner requirement by routing internally through gpio matrix and by setting gpio pins to GPIO_MODE_INPUT_OUTPUT mode for all interrupt related test cases.
2022-03-30 15:11:08 +08:00
songruojing
edcf44679d
ci: add TEST_CASE_CI_IGNORE macro to allow pytest test cases to be ignored in ci
2022-03-30 15:11:08 +08:00
songruojing
11e555d677
unit test: move gpio, dedicated_gpio, sigmadelta unit test from unit-test-app to components/driver/test_apps/gpio
2022-03-30 15:11:08 +08:00
songruojing
bdb5b11b39
unit test: move unit-test_app test_utils_task_delete API to be a utils API (unity_utils_task_delete) in unity component
2022-03-30 15:11:08 +08:00
Laukik Hase
1d71fbae92
https_server: Add provision for callback at session close
...
Closes https://github.com/espressif/esp-idf/issues/8288
2022-03-30 11:25:11 +05:30
Omar Chebib
9380fd6bee
G0: remove components/esp32*
dependency on efuse component
2022-03-30 11:40:37 +08:00
Anton Maklakov
ed1c1f1903
spi_flash, linux target: explicit use strlcpy/strlcat from BSD string.h
2022-03-30 10:37:32 +07:00
morris
6f538b1c95
Merge branch 'refactor/move_periph_ctrl_hw_support' into 'master'
...
hw_support: move periph_ctrl from driver to hw_support
Closes IDF-4796
See merge request espressif/esp-idf!17583
2022-03-30 04:54:07 +08:00
KonstantinKondrashov
754a563750
esp32c3: Adds ECO4 revision
2022-03-30 00:09:46 +08:00
Mahavir Jain
579154f387
Merge branch 'https_server/min_cert_auth_mode' into 'master'
...
https_server: Add config option to set minimum certificate auth mode
Closes IDFGH-7047
See merge request espressif/esp-idf!17630
2022-03-29 18:09:11 +08:00
Rahul Tank
2dd2c78fc6
Merge branch 'bugfix/check_null_callout' into 'master'
...
Wifi_prov_mgr : Fixed crash issue during provisioning using NimBLE
See merge request espressif/esp-idf!17599
2022-03-29 17:43:38 +08:00
Laukik Hase
d7090b4d52
https_server: Add config option to min. cert. auth mode
...
- Added a config option to set the minimum Certificate Verification
mode to Optional
- When this option is enabled, the peer (the client) certificate
is checked by the server, however the handshake continues even if
verification failed.
- By default, the peer certificate is not checked and ignored by the server.
Closes https://github.com/espressif/esp-idf/issues/8664
2022-03-29 08:57:36 +00:00
laokaiyao
f29d329e55
esp32h2beta2: fixed reg base name
2022-03-29 15:17:23 +08:00
Aditya Patwardhan
f178d69b89
Merge branch 'feature/enable_secure_element_for_https_server' into 'master'
...
esp_https_server: Enable secure element support.
Closes IDFGH-6650
See merge request espressif/esp-idf!17613
2022-03-29 14:51:10 +08:00
wuzhenghui
4652f77a7c
esp32h2beta2:update rom layout table
2022-03-29 14:13:06 +08:00
wuzhenghui
218e2c873d
esp32h2beta2:rename __rom_printf_float/__rom_scanf_float
2022-03-29 14:13:06 +08:00
wuzhenghui
ce9cb3a7a4
esp32h2beta2:update rom ld (ESP-ROM:esp32h2beta2-20211201)
2022-03-29 14:12:58 +08:00
Armando
fe9c6cde4f
spi: support spi on h2
2022-03-29 11:54:08 +08:00
morris
bf677182a6
sigmadelta: change gpio number from u8 to int
...
Fix the issue that macro compares unsigned to 0
2022-03-29 11:53:31 +08:00
morris
29e9b5b46a
hw_support: move periph_ctrl from driver to hw_support
2022-03-29 11:53:31 +08:00
baohongde
418b546a7c
components/bt: support for vendor specific battery level and docker status indication over HFP profile
2022-03-29 11:38:09 +08:00
Michael (XIAO Xufeng)
e2ecdfc0a7
spi_flash: update def header of MXIC
2022-03-28 16:40:02 +00:00
Isha Pardikar
c4eb0c3584
Merge branch 'bugfix/wifi_prov_mgr_conn_issue' into 'master'
...
Wifi_prov_mgr: Fix for device disconnection after pairing
Closes IDF-4655 and IDFGH-6661
See merge request espressif/esp-idf!17236
2022-03-28 13:38:20 +08:00
Jakob Hasse
2c3ff999ac
Merge branch 'feature/cxx_tests_pytest_embedded' into 'master'
...
C++: change cxx unit tests to component unit tests
Closes IDF-4807
See merge request espressif/esp-idf!17554
2022-03-28 11:45:20 +08:00
Aditya Patwardhan
4c58685c00
esp_https_server: Enable secure element support.
...
Closes https://github.com/espressif/esp-idf/issues/8286
2022-03-27 14:35:25 +05:30
Marius Vikhammer
a6543f0d21
docs: fix broken references to misc API functions and types.
2022-03-27 16:46:57 +08:00
morris
8f35f16c77
Merge branch 'bugfix/temp_disable_s3_ulp' into 'master'
...
ulp: temporarily disable ULP support for S3
Closes IDF-4818
See merge request espressif/esp-idf!17553
2022-03-27 12:08:31 +08:00
Michael (XIAO Xufeng)
fdcf5ca540
Merge branch 'test/disable_touch_sleep_testcase' into 'master'
...
touch: add protection for touch sleep case
See merge request espressif/esp-idf!17578
2022-03-27 02:44:14 +08:00
Michael (XIAO Xufeng)
80904a5815
Merge branch 'bugfix/spi_free_crash_uninitialized' into 'master'
...
spi: fixed crash when calling spi_bus_free when not initialized
Closes IDFGH-7024
See merge request espressif/esp-idf!17573
2022-03-27 02:31:06 +08:00
baohongde
8a2abff26d
components/bt: Fix the strlcpy length error in BTA_HfClientSendAT
2022-03-25 21:40:49 +08:00
Wei Tian Hua
5c3d7b5524
Merge branch 'bugfix/bt_add_some_debug_log' into 'master'
...
component_bt: Add some bluetooth debug log
Closes BT-2307
See merge request espressif/esp-idf!17492
2022-03-25 21:25:44 +08:00
KonstantinKondrashov
915168c36d
esp_ipc: Fix a case when ipc_task() can wake up blocking task early
...
Closes https://github.com/espressif/esp-idf/issues/8559
2022-03-25 21:15:40 +08:00
Ivan Grokhotkov
c70a69b1dd
Merge branch 'bugfix/remove_ref_non_ex_options' into 'master'
...
config: removed references to non-existing kconfig options
See merge request espressif/esp-idf!17495
2022-03-25 18:02:54 +08:00
Rahul Tank
c46e3ffd0c
Wifi_prov : Fixed crash issue during provisioning using NimBLE
2022-03-25 15:21:16 +05:30
Marius Vikhammer
5618ba80f9
Merge branch 'feature/refactor_esp_sys_deps' into 'master'
...
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
Closes IDF-4656
See merge request espressif/esp-idf!17092
2022-03-25 17:17:43 +08:00
Marius Vikhammer
2efd009dfb
ulp: temporarily disable ULP support for S3
...
Due to a hardware issue ULP support on S3 is temporarily disabled until a fixed is released.
Running ULP + sleep together can potentially cause permanent damage to the chip.
2022-03-25 14:19:12 +08:00
Espressif BOT
f51da7dded
Update esp_crt_bundle certificates
2022-03-25 10:48:34 +05:30
Mahavir Jain
9fea2a19c1
Merge branch 'bugfix/heap_allocator_fix_add_region' into 'master'
...
heap: Fix regression in `heap_caps_add_region` API related to address range checks
See merge request espressif/esp-idf!17570
2022-03-25 12:47:26 +08:00
Jakob Hasse
9e25e0ed4b
refactor (cxx): changed cxx unit tests to component unit tests
2022-03-25 12:14:02 +08:00
Mahavir Jain
98b8ca6475
heap: add test case for region overlap check condition
2022-03-25 09:36:48 +05:30
Mahavir Jain
f13e25d156
heap: Fix regression in heap_caps_add_region
API related to address range checks
...
Regression was introduced in 32408b718f
, which disallowed
addition of heap region with following condition:
`new_start < start && new_end == start`
This caused issues in Bluetooth APIs `esp_bt_mem_release` or `esp_bt_controller_mem_release`.
This commit fixes the problem and also adds API documentation for supported memory address
ranges in heap add region APIs.
2022-03-25 09:36:48 +05:30
Michael (XIAO Xufeng)
bee9b6b9eb
spi: fixed crash when calling spi_bus_free when not initialized
...
introduced in 49a48644e4
Closes: https://github.com/espressif/esp-idf/issues/8642
2022-03-25 01:52:10 +08:00
morris
de662b987e
driver: fix issue found by coverity scan
2022-03-24 21:36:03 +08:00
songruo
38090a0248
gpio: fix GPIO_IS_VALID_(OUTPUT_)GPIO macro
...
... which has the potential of doing bit shift by a negative amount
2022-03-24 21:36:03 +08:00
morris
31f9915603
driver: move deprecated drivers into single folder
2022-03-24 21:34:41 +08:00
morris
fe13b2ed50
lcd: add rgb isr iram safe callback test
2022-03-24 21:23:01 +08:00
Roland Dobai
2860786967
Merge branch 'feature/split_coredump_from_esp_idf' into 'master'
...
Coredump: split corefile and coredump script from idf into a separate package
Closes RDT-75
See merge request espressif/esp-idf!17181
2022-03-24 20:12:45 +08:00
Marius Vikhammer
69271d800a
Merge branch 'bugfix/touch_sleep_early_log' into 'master'
...
sleep: fixed the issue error log not printed
See merge request espressif/esp-idf!17567
2022-03-24 18:32:07 +08:00
Michael (XIAO Xufeng)
974ac3b4b8
touch: add protection for touch sleep case
2022-03-24 18:27:05 +08:00
Isha Pardikar
e751cbe6c0
Merge branch 'bugfix/wifi_prov_mgr_conn_issue' into 'master'
...
NimBLE: Fixed device disconnection issue of wifi prov mgr
Closes IDF-4655
See merge request espressif/esp-idf!17236
2022-03-24 15:35:49 +05:30
Dmitry Yakovlev
8075f44178
Merge branch 'feature/systemview_4_uart' into 'master'
...
Add support for UART to the app trace module.
See merge request espressif/esp-idf!15266
2022-03-24 16:42:02 +08:00
Shubham Kulkarni
b4456bff97
esp_http_client: Add comment for clearing location field in esp_http_client_prepare
2022-03-24 06:23:17 +00:00
Nicklas Frahm
660ca96e23
esp_http_client: fix redirect by resetting location before parsing
...
Closes #8563 .
Signed-off-by: Nicklas Frahm <nicklas.frahm@gmail.com>
2022-03-24 06:23:17 +00:00
Aleksei Apaseev
528cdc1546
core_dump: split corefile and coredump script from idf into a separate package
2022-03-24 13:57:48 +08:00
xiongweichao
2be8875fd7
Fix ESP32C3/S3 build error after enable light sleep
2022-03-24 11:43:04 +08:00
Michael (XIAO Xufeng)
75e80b19f6
sleep: fixed the issue error log not printed
2022-03-24 11:39:46 +08:00
morris
08a4cff6d5
Merge branch 'bugfix/disable_touch_sleep_s3' into 'master'
...
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
Closes IDF-4810
See merge request espressif/esp-idf!17562
2022-03-24 10:22:31 +08:00
Michael (XIAO Xufeng)
a84faa3cef
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
...
This is not supported yet.
2022-03-24 03:00:47 +08:00
Dmitry
1ee7953ebe
app_trace: add support for UART to the app trace module.
...
Add support for UART to the SystemView.
2022-03-23 17:51:14 +03:00
David Čermák
08dab0fafb
Merge branch 'bugfix/eth_opencore' into 'master'
...
esp_eth: Fix open-cores explicit inclusion
See merge request espressif/esp-idf!17551
2022-03-23 22:37:17 +08:00
Ivan Grokhotkov
d17220fc66
Merge branch 'partition/not_aligned_is_error' into 'master'
...
gen_esp32part.py: misaligned partitions now raise an exception
Closes IDF-3742
See merge request espressif/esp-idf!17368
2022-03-23 18:34:55 +08:00
Mahavir Jain
4f04d55f0b
Merge branch 'feature/check_fw_version_at_start_of_ota' into 'master'
...
Check FW version at start of ota with pre-encrypted binary
Closes IDF-4682
See merge request espressif/esp-idf!17479
2022-03-23 16:54:21 +08:00
morris
b40f05ddda
Merge branch 'bugfix/freertos_smp_type_warning' into 'master'
...
freertos: Fix SMP build warning in xTaskCreateStaticPinnedToCore
See merge request espressif/esp-idf!17548
2022-03-23 16:19:03 +08:00
Kevin (Lao Kaiyao)
5381096100
Merge branch 'feature/update_esp32h2_beta2_reg_headers' into 'master'
...
esp32-h2 beta2: update to the latest regs
Closes IDF-4789
See merge request espressif/esp-idf!17520
2022-03-23 16:18:43 +08:00
David Cermak
c63c8d4df1
esp_eth: Fix open-cores explicit inclusion
2022-03-23 09:05:30 +01:00
Kevin (Lao Kaiyao)
ba9d3fe819
Merge branch 'refactor/i2s_major_refactoring_for_ng' into 'master'
...
🔨 i2s: Major refactoring for driver-NG
Closes IDF-4781 and IDF-4779
See merge request espressif/esp-idf!17484
2022-03-23 15:32:46 +08:00
Harshit Malpani
cca208f71a
Check FW version at start of ota for encrypted binary
2022-03-23 11:09:48 +05:30
Anton Maklakov
118d39c8fe
Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
...
Remove IRAM_ATTR from any function declarations
Closes GCC-223
See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
morris
95b3dad771
Merge branch 'bugfix/fix_heap_caps_add_region_with_caps_wrong_check' into 'master'
...
heap: fix wrong memory region check in `heap_caps_add_region_with_caps()`
See merge request espressif/esp-idf!17535
2022-03-23 10:26:52 +08:00
Darian Leung
63d15957d2
freertos: Fix SMP build warning in xTaskCreateStaticPinnedToCore
2022-03-22 23:51:43 +08:00
Ivan Grokhotkov
8506b2f6c9
Merge branch 'bugfix/driver_hal_essl_static_analysis_fixes' into 'master'
...
driver, essl, hal: fix issues reported by PVS-Studio
Closes IDF-2749, IDF-2753, and IDF-2785
See merge request espressif/esp-idf!17490
2022-03-22 21:47:15 +08:00
Vamshi Gajjela
edb66b674f
Merge branch 'bugfix/vfs_fat_(p)write_on_diskfull' into 'master'
...
vfs: bugfix vfs_fat_write/pwrite upon disk-full
Closes IDFGH-2995
See merge request espressif/esp-idf!17515
2022-03-22 21:07:42 +08:00
Ondrej Kosta
318fa0d2e8
Merge branch 'bugfix/iperf_performance' into 'master'
...
Bugfix/iperf performance
Closes IDFCI-907
See merge request espressif/esp-idf!17295
2022-03-22 19:08:39 +08:00
Armando
32408b718f
heap: fix wrong memory region check
...
A memory region starts from REGION_START and ends at
(REGION_START+SIZE-1).
Prior to this change, the check assumes a to-be-added region starting from REGION_START is invalid. Let's take an easy example:
A memory region: 0x1000~0x10ff
new added region: 0x1000~0x1020
This will be valid.
Valid conditions and invalid conditions are illustrated in the code comment
2022-03-22 18:51:40 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Mahavir Jain
9bd036e94b
Merge branch 'feature/crypto_peripherals_caps' into 'master'
...
soc: add capability macros for crypto peripherals
Closes IDF-4790 and IDF-4229
See merge request espressif/esp-idf!17516
2022-03-22 16:42:07 +08:00
Ondrej Kosta
c69b4c817b
Fixed Ethernet lwIP netif error indication
2022-03-22 07:17:40 +00:00
Tomas Rezucha
7db3d28187
Merge branch 'feature/usb_host/ci-tests' into 'master'
...
Run USB Host tests in pipeline
Closes IDF-4425
See merge request espressif/esp-idf!16376
2022-03-22 14:12:12 +08:00
Marius Vikhammer
9274a062fb
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
2022-03-22 11:19:32 +08:00
xiongweichao
7dd9ac9997
Add some bluetooth debug log
2022-03-22 10:35:50 +08:00
laokaiyao
f17edba20b
i2s: extract std/pdm/tdm modes
...
Type structures of these modes are defined. Driver and HAL layer are modified to fit these concepts.
2022-03-22 10:14:45 +08:00
laokaiyao
667c7f94e6
esp32-h2 beta2: update to the latest regs
2022-03-22 02:13:55 +00:00
Mahavir Jain
3af2d15216
mbedtls: Fix build failures for ESP32-C2 with hardware SHA
...
Clean support for SHA peripheral will appear with IDF-3830
2022-03-22 02:06:30 +00:00
Mahavir Jain
f7fc3e2d88
esp_hw_support: cleanup crypto lock APIs for ESP32-C2
2022-03-22 02:06:30 +00:00
Mahavir Jain
0621a6f513
mbedtls: use soc capability macros in build CMakeLists
2022-03-22 02:06:30 +00:00
Mahavir Jain
75eb97fc94
esp32c2: remove AES related configs, hardware AES not supported on this chip
2022-03-22 02:06:30 +00:00
Mahavir Jain
102f8e961f
esp-tls: use SOC capability macros instead of target names
2022-03-22 02:06:30 +00:00
Mahavir Jain
36377b9cc3
mbedtls: use SOC capability macros instead of target names
2022-03-22 02:06:30 +00:00
Mahavir Jain
bcc4883c25
soc: add capability macros for crypto peripherals
...
Closes IDF-4790
2022-03-22 02:06:30 +00:00
Tomas Rezucha
e3ba980d11
usb_host: Use USB_Host library calls for desc printing
2022-03-21 18:34:25 +01:00
Tomas Rezucha
0377fc8d92
tinyusb: Allow dynamic configuration descriptor
...
and remove ringbuf.h include from public headers
and unused HID descriptor code
2022-03-21 18:34:25 +01:00
Vamshi Gajjela
66561f838d
vfs: bugfix vfs_fat_write/pwrite upon disk-full
...
Closes https://github.com/espressif/esp-idf/issues/5027
2022-03-21 17:28:46 +00:00
Mahavir Jain
5f646b1d43
mbedtls: move locally managed root certificates to separate file
...
Purpose:
This will allow for easily automating periodic updates to
"cacrt_all.pem" file.
Note:
For now newly created "cacrt_local.pem" contains single "DST Root CA X3"
which we are keeping to manage compatibility with endpoints like
"howsmyssl.com". Please note this Root CA is expired and is not part of
Mozilla’s NSS root certificate store.
2022-03-21 22:39:24 +05:30
Ivan Grokhotkov
b95d2e30d0
Merge branch 'feature/vfs_spiffs_(f)truncate_support' into 'master'
...
spiffs: Add vfs (f)truncate api support
Closes IDFGH-316 and IDFGH-2880
See merge request espressif/esp-idf!17524
2022-03-21 17:52:45 +08:00
Laukik Hase
52170fba7f
esp_crt_bundle: Fix build error
...
- When `esp_crt_bundle.h` is included before any config,
a build error (`esp_err_t` not defined) is observed
Closes https://github.com/espressif/esp-idf/issues/8606
2022-03-21 09:05:06 +00:00
Darian
790aed683b
Merge branch 'feature/freertos_smp_task_creation_with_affinity' into 'master'
...
FreeRTOS: Add task creation functions with affinity
Closes IDF-4745
See merge request espressif/esp-idf!17429
2022-03-21 15:59:51 +08:00
Marius Vikhammer
671b6ae82f
Merge branch 'ci/disable_s3_sleep_tests' into 'master'
...
CI: disable S3 sleep related example tests
See merge request espressif/esp-idf!17530
2022-03-21 14:57:01 +08:00
Shubham Kulkarni
d5a8a57686
esp_https_ota: Add check for 303 and 308 status code
...
Closes https://github.com/espressif/esp-idf/issues/8581
2022-03-21 04:27:43 +00:00
Shubham Kulkarni
ec6f222625
esp_http_client: Add new status code 303 and 308
2022-03-21 04:27:43 +00:00
Marius Vikhammer
0cd07d907e
CI: disable S3 sleep related example tests
2022-03-21 11:56:01 +08:00
Darian Leung
199df492b7
freertos: Update task creation pinned to core functions
...
This commit updates the "xTaskCreate...PinnedToCore()" functions to
call the "xTaskCreate...AffinitySet()" equivalent functions.
2022-03-21 11:37:21 +08:00
Darian Leung
6a38499172
freertos: Add task creation with affinity functions to FreeRTOS SMP
...
This commit syncs adds task creation with affinity functions to
FreeRTOS SMP by syncing with upstrea commit
a97741a08d
2022-03-21 11:09:24 +08:00
Armando (Dou Yiwen)
36457b1346
Merge branch 'refactor/adc_unify_adc_unit' into 'master'
...
adc: adc single driver NG pre-step - unify adc_ll_num_t and adc_unit_t
See merge request espressif/esp-idf!17408
2022-03-18 20:29:36 +08:00
Vamshi Gajjela
0e5c9702c6
spiffs: Add vfs (f)truncate api support
...
Unit test cases added to verify truncate.
Closes https://github.com/espressif/esp-idf/issues/2234
2022-03-18 15:49:57 +05:30
Mahavir Jain
93987e6b79
Merge branch 'fix/remove_test_cert_files_from_mbedtls_port_directory' into 'master'
...
mbedtls: Remove certs.c and certs.h from port directory
Closes IDF-4709
See merge request espressif/esp-idf!17485
2022-03-18 16:47:53 +08:00
Armando
386363cafd
adc: unify adc_ll_num_t and adc_unit_t
2022-03-18 11:36:50 +08:00
Jiang Jiang Jian
36f41372a2
Merge branch 'bugfix/scan_mixed_keymgmt_issue' into 'master'
...
Correctly identify AP's with mixed key management during scan
Closes IDFGH-6799
See merge request espressif/esp-idf!17482
2022-03-18 10:42:40 +08:00
Ivan Grokhotkov
2f9d47c708
Merge branch 'feature/gdbstub_rt_multicore' into 'master'
...
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)
See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Anton Maklakov
6200d2328d
Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
...
components: correct printf() placeholder for time_t
See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Nachiket Kukade
01c49082c4
esp_wifi: Update wifi lib
...
1. In scan, correctly identify AP's with mixed key mgmt
2. Fix PMF Required setting not working in SoftAP config
Closes https://github.com/espressif/esp-idf/issues/8426
2022-03-17 13:04:58 +05:30
Kapil Gupta
2bdaa49cb0
Merge branch 'bugfix/pvs_warning_fixes' into 'master'
...
wpa_supplicant: fix issues reported in static analysis
Closes IDF-2733
See merge request espressif/esp-idf!17499
2022-03-17 12:47:05 +08:00
Ivan Grokhotkov
d1abdbae88
Merge branch 'bugfix/stdatomic_builtin-declaration-mismatch' into 'master'
...
newlib: stdatomic: fix builtin-declaration-mismatch
See merge request espressif/esp-idf!16954
2022-03-17 03:36:18 +08:00
Michael (XIAO Xufeng)
5a2f672d5a
Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
...
example/deep_sleep: add example of EXT0 and using internal pullups
Closes IDF-4657 and IDFGH-6711
See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Jiang Jiang Jian
5b8108c01b
Merge branch 'feature/support_80211_tx_ht40' into 'master'
...
esp_wifi: add ht40 support for 80211_tx
Closes WIFI-4187
See merge request espressif/esp-idf!16662
2022-03-16 15:49:28 +08:00
Kapil Gupta
6da52cf0d8
wpa_supplicant: static analysis fixes
2022-03-16 10:50:49 +05:30
Marius Vikhammer
453516fbbe
Merge branch 'bugfix/replace_deprecated_options' into 'master'
...
kconfig: replace deprecated options with new values
See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Michael (XIAO Xufeng)
5cc751ca9c
soc/esp32s3: merge gpio caps into soc_caps.h
2022-03-15 22:34:29 +08:00
morris
cd10ac50cb
Merge branch 'bugfix/temp_sensor_coexist_issue' into 'master'
...
temp_sensor: avoid coexistence of new and legacy driver
See merge request espressif/esp-idf!17395
2022-03-15 21:43:05 +08:00
Mahavir Jain
37e006af53
Merge branch 'feature/mbedtls_time_alt' into 'master'
...
mbedtls: Add config for `MBEDTLS_PLATFORM_TIME_ALT`
Closes IDF-4752
See merge request espressif/esp-idf!17448
2022-03-15 21:30:44 +08:00
Matus Fabo
6bc7b4b5e2
change: misaligned partitions now raise an exception
...
change: alignment for data partitions is now 4kB instead of 4B
remove: STRICT_DATA_ALIGNMENT variable
remove: warning tests for misaligned partitions
add: assertion test for misaligned partitions
add: breaking change documentation
2022-03-15 12:54:59 +01:00
Aditya Patwardhan
f31d8dd295
mbedtls: Remove certs.c and certs.h from port directory
2022-03-15 17:16:07 +05:30
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Kapil Gupta
e3c084a2dc
Merge branch 'bugfix/dpp_crypto_mbedtls_3x' into 'master'
...
wpa_supplicant: Add changes to fix broken dpp crypto
Closes WIFI-4368
See merge request espressif/esp-idf!17487
2022-03-15 16:53:14 +08:00
Anton Maklakov
6f85a33335
Merge branch 'bugfix/ubsan_builtin_prototypes' into 'master'
...
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch
See merge request espressif/esp-idf!17445
2022-03-15 16:31:45 +08:00
Marius Vikhammer
ca3c056ac9
kconfig: replace deprecated options with new values
2022-03-15 16:28:53 +08:00
Jiang Jiang Jian
10f3aba770
Merge branch 'feature/final_h2' into 'master'
...
Add support in Nimble for ESP32H2
See merge request espressif/esp-idf!16329
2022-03-15 16:03:24 +08:00
morris
923b0c9570
Merge branch 'bugfix/spi_slave_intr_iram' into 'master'
...
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
Closes IDFGH-1617
See merge request espressif/esp-idf!17491
2022-03-15 15:49:55 +08:00
Cao Sen Miao
880ce3c25a
spi_flash: remove xmc hpm support, because there is some compatible issue with ROM,
...
Closes https://github.com/espressif/esp-idf/issues/8560
2022-03-15 11:17:58 +08:00
Anton Maklakov
7efbca6701
Merge branch 'bugfix/oom_null_deref' into 'master'
...
spi_flash, newlib: fix NULL pointer dereference on OOM
Closes IDF-2788 and IDF-2789
See merge request espressif/esp-idf!17489
2022-03-15 09:24:43 +08:00
Anton Maklakov
b044bc4509
Merge branch 'bugfix/gdbstub_bounds_check' into 'master'
...
gdbstub: fix array overrun
Closes IDF-2786
See merge request espressif/esp-idf!17471
2022-03-15 09:23:06 +08:00
Ivan Grokhotkov
cda3c2b92b
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
...
Closes https://github.com/espressif/esp-idf/issues/3870
2022-03-14 23:30:51 +01:00
Ivan Grokhotkov
12717cbc00
hal: fix issues reported by PVS-Studio
...
https://www.viva64.com/en/b/0790/#ID369075A8F4
https://www.viva64.com/en/b/0790/#IDF03E449184
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
6a4a6d584b
essl: fix logical bug in argument check
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#IDBDD4F1FD2D
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
0fe3281713
driver: fix issues reported by PVS-Studio
...
https://www.viva64.com/en/b/0790/#ID88049D3FA2
https://www.viva64.com/en/b/0790/#IDE0890EE01C
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:47 +01:00
Ivan Grokhotkov
4aa2719e13
spi_flash, newlib: fix NULL pointer dereference on OOM
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#ID88049D3FA2
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:16:42 +01:00
morris
98e19b3355
Merge branch 'contrib/github_pr_8496' into 'master'
...
SPI LCD support large color transfers (GitHub PR)
Closes IDFGH-6874
See merge request espressif/esp-idf!17391
2022-03-14 22:22:00 +08:00
ChenJianxing
764b606d9d
esp_wifi: add ht40 support for 80211_tx & espnow
2022-03-14 21:23:48 +08:00
Kapil Gupta
a1b842b1c6
wpa_supplicant: Add changes to fix broken dpp crypto
2022-03-14 18:26:35 +05:30
David Čermák
db8fb1f47b
Merge branch 'bugfix/lwip_dhcps_cleanup' into 'master'
...
lw-IP: Support for multiple DHCP servers
Closes IDF-4599 and IDF-4458
See merge request espressif/esp-idf!16895
2022-03-14 19:30:31 +08:00
morris
ca1e2af1d6
Merge branch 'feature/i2s1_lcd_mode_esp32' into 'master'
...
LCD driver various improvements
Closes IDF-3781, IDFGH-6753, IDFGH-6632, and IDFGH-6569
See merge request espressif/esp-idf!17323
2022-03-14 18:30:24 +08:00
Mahavir Jain
c5d982b235
Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
...
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Anton Maklakov
0d86151b82
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch
2022-03-14 09:31:00 +00:00
Anton Maklakov
e27f1331e4
components: correct printf() placeholder for time_t
...
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
morris
3517ae6387
lcd: check return value of xQueueReceive
...
Fix warnnings reported by Coverity Scan Test
2022-03-14 14:00:40 +08:00
morris
a019db6880
lcd: delay 1us between DMA start and LCD start
...
Closes https://github.com/espressif/esp-idf/issues/8212
2022-03-14 14:00:40 +08:00
morris
7112009473
lcd: support rgb lcd interupt iram safe
2022-03-14 14:00:40 +08:00
morris
f06a13ad82
lcd: workaround auto next frame hardware bug
...
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
morris
9422fe077a
lcd: support I2S1 LCD mode on esp32
2022-03-14 13:55:01 +08:00
morris
f35edeb5a3
lcd: add debug log on/off Kconfig
2022-03-14 13:49:18 +08:00
Anton Maklakov
18f62f067d
Merge branch 'contrib/github_pr_8520' into 'master'
...
esp_http_server: reword error messages (GitHub PR)
Closes IDFGH-6900
See merge request espressif/esp-idf!17398
2022-03-14 13:31:19 +08:00
Mahavir Jain
177cb601c6
Merge branch 'bugfix/linenoise_unint_buffer_and_color' into 'master'
...
console: linenoise: fix usage of an uninitialized buffer, fix no-color output
Closes IDF-2752
See merge request espressif/esp-idf!17470
2022-03-14 12:20:40 +08:00
Laukik Hase
1c65ab5307
mbedtls: Add config for MBEDTLS_PLATFORM_TIME_ALT
2022-03-14 09:42:33 +05:30
morris
5963de1caf
Merge branch 'ci/fix_duplicated_test_names' into 'master'
...
CI: rename some tests to avoid duplicated test names
See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
David Cermak
27375c7917
esp_netif: Cleanup dhcp-server allocations
2022-03-13 19:40:00 +01:00
David Cermak
1b49cf373f
lwip/dhcps: Fix fuzzer compilation
2022-03-13 19:40:00 +01:00
David Cermak
3d1c05aefb
lwip/dhcps: Add dhcps callback argument for associated netif
2022-03-13 19:40:00 +01:00
David Cermak
775c3a6253
lwip/dhcps: Add simple start/stop unit cases
2022-03-13 19:40:00 +01:00
David Cermak
5f135741a1
lwip/dhcpserver: Add return value to API that could fail
2022-03-13 19:40:00 +01:00
David Cermak
76e9d3cad0
lwip/dhcpserver: Add doxy documentation
2022-03-13 19:40:00 +01:00
David Cermak
afe6bc0c88
lwip/dhcp_server: Fix mem-leaks caught by UT's
2022-03-13 19:40:00 +01:00
David Cermak
adc00d1813
lwip: Fix fuzzer layers after dhcps update
2022-03-13 19:40:00 +01:00
David Cermak
c005b04d1c
lwip/dhcps: Support for dynamic dhcp server instances
2022-03-13 19:39:21 +01:00
David Cermak
bab051f450
lwip/dhcps: Cleanup internal lwip and esp-netif dependency
2022-03-13 19:38:15 +01:00
Michael (XIAO Xufeng)
aab535fe4a
Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'
...
hw_support: fixed regi2c not protected by lock on ESP32S2
See merge request espressif/esp-idf!16653
2022-03-13 02:47:53 +08:00
Michael (XIAO Xufeng)
d5bdf95580
hw_support: fixed regi2c not protected by lock on ESP32S2
2022-03-13 00:24:08 +08:00
Anton Maklakov
13fbb4d8bc
Merge branch 'feature/update_esptool' into 'master'
...
esptool: Update esptool submodule
See merge request espressif/esp-idf!17446
2022-03-12 23:14:35 +08:00
David Čermák
99d125a06b
Merge branch 'feature/esp_netif_manual_set_default' into 'master'
...
esp_netif: Support for manual set-default-netif
Closes IDFGH-6701
See merge request espressif/esp-idf!17228
2022-03-12 17:21:29 +08:00
Aditya Patwardhan
bfc2fd9d5d
Merge branch 'bugfix/mbedtls_tls1_3' into 'master'
...
mbedtls: Disable `MBEDTLS_DYNAMIC_BUFFER` when TLS 1.3 is enabled
See merge request espressif/esp-idf!17415
2022-03-12 16:24:14 +08:00
Roland Dobai
d761a60211
Merge branch 'feature/enable-long-names-support-fatfsgen' into 'master'
...
fatfsgen.py: enabled long names support
Closes IDFGH-6520, IDF-4044, and IDF-4675
See merge request espressif/esp-idf!17090
2022-03-12 13:23:59 +08:00
Armando (Dou Yiwen)
6ed3ffbbf1
Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
...
cache: remove redundant rom cache dependency in bootloader
Closes IDF-4523
See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Ivan Grokhotkov
fdef8aecb7
gdbstub: fix array overrun
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#ID487F9D1F5B
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-11 21:05:32 +01:00
Ivan Grokhotkov
eab33e7174
console: linenoise: fix usage of an uninitialized buffer
...
Reported in https://github.com/espressif/esp-idf/issues/6440
The issue could occur if esp_console_config_t::hint_color
was set to -1.
2022-03-11 20:54:09 +01:00
Ivan Grokhotkov
49e8b97de3
console: disable colored hints if CONFIG_LOG_COLORS is not set
2022-03-11 20:54:06 +01:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
David Cermak
fabad2a13a
esp_netif: Extend unit test to validate route_prio
...
Also updates the auto routing loop after a netif is destroyed
2022-03-11 14:02:17 +01:00
David Cermak
f8907b7884
esp_netif: Support for manual set-default-netif
...
Closes https://github.com/espressif/esp-idf/issues/8330
2022-03-11 14:02:17 +01:00
Chen Yudong
6c56f54ed8
temperature_sensor: fix typo
2022-03-11 20:56:48 +08:00
Harshit Malpani
de2f915092
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
2022-03-11 16:52:08 +05:30
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Erhan Kurubas
c5f5c84f67
freertos_additions: add debug params table for openocd
2022-03-11 11:33:08 +01:00
Martin Gaňo
fea2b5b64e
fatfsgen.py: enabled long names support
...
Closes https://github.com/espressif/esp-idf/issues/8171
2022-03-11 11:20:31 +01:00
Anton Maklakov
b02ac9cab9
Merge branch 'bugfix/passing_cmake_cxx_std_option' into 'master'
...
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround
See merge request espressif/esp-idf!17362
2022-03-11 17:29:48 +08:00
Wang Meng Yang
8b5ad2ab4f
Merge branch 'bugfix/upd_nimble_warnings' into 'master'
...
nimble: update because of warnings
See merge request espressif/esp-idf!17354
2022-03-11 17:01:07 +08:00
Anton Maklakov
e1ee578281
Merge branch 'bugfix/fix_mqtt_warnings' into 'master'
...
esp-mqtt: fix warnings (clang)
See merge request espressif/esp-idf!17357
2022-03-11 16:02:48 +08:00
Mahavir Jain
61c68b7f4d
Merge branch 'contrib/github_pr_8544' into 'master'
...
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)
Closes IDFGH-6924
See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +08:00
Darian
3ba055653d
Merge branch 'refactor/rename_esp_macro_header' into 'master'
...
esp_common: Rename esp_macro.h to esp_macros.h
See merge request espressif/esp-idf!17452
2022-03-11 13:50:04 +08:00
Mahavir Jain
0d667447df
Merge branch 'contrib/github_pr_8526' into 'master'
...
Bugfix/protocomm correct string (GitHub PR)
Closes IDFGH-6906
See merge request espressif/esp-idf!17457
2022-03-11 13:04:18 +08:00
Laukik Hase
87d3296c37
mbedtls: Disable MBEDTLS_DYNAMIC_BUFFER
when TLS 1.3 is enabled
...
- Resulted in a crash in the handshake stage when
used alongside TLS 1.3 (MBEDTLS_SSL_PROTO_TLS1_3)
- Fix build error when MBEDTLS_HARDWARE_SHA=n &&
MBEDTLS_DYNAMIC_BUFFER=y
- Fix build error when TLS 1.3 is enabled with
MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=n
2022-03-11 10:03:48 +05:30
KonstantinKondrashov
47be69329b
esptool: Update esptool submodule
2022-03-11 04:05:30 +00:00
Ondrej Kosta
0e0c5f93e3
Merge branch 'bugfix/test_esp_eth_ip101' into 'master'
...
esp_eth/test_apps: test stability/performance improvement
Closes IDFCI-1150
See merge request espressif/esp-idf!17411
2022-03-11 12:03:30 +08:00
Mahavir Jain
99e7059cbe
Merge branch 'bugfix/kconfig_defaults' into 'master'
...
kconfig: Changed default values of `bool` configs
Closes IDF-4747
See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
Mahavir Jain
3b0cb10b9d
protocomm: fix copyright header
2022-03-11 09:17:20 +05:30
lorenzo.consolaro
c000673540
protocomm: Fix debug print on encrypting failure
...
Closes https://github.com/espressif/esp-idf/pull/8526
2022-03-11 09:15:53 +05:30
David Čermák
4196c3f591
Merge branch 'update/discontinue_tcpip_adapter' into 'master'
...
esp_netif: Remove tcpip_adapter compatibility layer
Closes IDF-4457
See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
Mahavir Jain
a8ba5a0264
Merge branch 'ci/all_alloc_psram_config' into 'master'
...
[ci] Add unit test configs with aggressive PSRAM allocations
See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Konstantin Kondrashov
00ab35ade0
Merge branch 'feature/bootloader_add_app_test_lvl' into 'master'
...
bootloader: Adds a level selection for the app's test pin.
Closes IDFGH-6703
See merge request espressif/esp-idf!17425
2022-03-10 22:48:15 +08:00
Darian Leung
94c2467dd6
esp_common: Rename esp_macro.h to esp_macros.h
2022-03-10 21:22:35 +08:00
Wang Meng Yang
c412cb15ac
Merge branch 'feature/update_hfp_hf_version' into 'master'
...
component_bt: Update HFP_HF version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!16950
2022-03-10 20:17:06 +08:00
MacDue
e47419374c
esp_https_ota: add user_ctx to decrypt_cb
...
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
2022-03-10 14:26:37 +05:30
morris
f38c13adea
Merge branch 'contrib/github_pr_8497' into 'master'
...
ledc: Do not drive output during init if the output is inverted (GitHub PR)
Closes IDFGH-6875
See merge request espressif/esp-idf!17433
2022-03-10 16:55:59 +08:00
David Cermak
7db0f0feb1
esp_mesh: Document that hard-coded non-root nodes do not need TCP/IP
2022-03-10 08:19:44 +01:00
David Cermak
13ffddc0f3
phy: Use htobe32 instead of htonl to decouple from lwip
2022-03-10 08:19:43 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Ondrej Kosta
be24d90e14
esp_eth/test_apps: test stability/performance improvement
2022-03-10 08:16:18 +01:00
Kapil Gupta
9130988299
Merge branch 'bugfix/security_validation' into 'master'
...
wpa_supplicant: Add BTM security checks
Closes WIFI-4075 and WIFI-4081
See merge request espressif/esp-idf!16619
2022-03-10 15:14:06 +08:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Anton Maklakov
101af84d77
Merge branch 'bugfix/spiffs_readdir_truntate_snprintf' into 'master'
...
spiffs: fix format-truncation warning
See merge request espressif/esp-idf!17240
2022-03-10 14:57:52 +08:00
morris
2c7cfdd784
spi: define tranfer max bit length in LL
2022-03-10 13:40:43 +08:00
Laukik Hase
3b3b668256
ci: Disable failing UTs
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
2022-03-10 05:01:17 +00:00
Laukik Hase
c5decf291e
ci: Fix for ETSTimers arm & disarm run from IRAM
UT
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
- Forced `esp_timer_create` to allocate resource from the internal memory
- WiFi/BT coexistence will sometimes arm/disarm timers from an ISR
where flash may be disabled. This can lead to a cache-based
exception as the timer instance will be located in the PSRAM.
2022-03-10 05:01:17 +00:00
Laukik Hase
6f9fc0ba8e
esp_system: Place ipc_task semaphores on DRAM
...
- For CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL < 92, the ipc_task semaphores
were allocated on SPIRAM rather than internal RAM
- SemaphoreHandle_t has a size of 92, thus the failure
2022-03-10 05:01:17 +00:00
Dai Zi Yan
1462367eeb
Merge branch 'docs/translate_coexist' into 'master'
...
docs/ translate coexist
Closes DOC-2479
See merge request espressif/esp-idf!16830
2022-03-10 10:59:18 +08:00
Jiang Jiang Jian
7c7e8a83b9
Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
...
Remove legacy system event framework.
Closes IDF-3608
See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
Simon
fb4ee8e31f
Merge branch 'feature/support_hpm_on_flash' into 'master'
...
spi_flash: Building a framework to enable HPM when flash works under high speed mode, take GD as an example.
Closes IDF-4537
See merge request espressif/esp-idf!16660
2022-03-10 03:04:21 +08:00
KonstantinKondrashov
21dd929c72
bootloader: Adds a level selection for the app's test pin.
...
Closes https://github.com/espressif/esp-idf/issues/8332
2022-03-09 19:52:37 +08:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Cao Sen Miao
8dce0cbf6b
spi_flash: Fix bug that in bootloader dummy is 0 when mosi is 0
2022-03-09 18:49:34 +08:00
Cao Sen Miao
85dd785d8d
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-03-09 18:49:34 +08:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
morris
da28f7e2d9
Merge branch 'feature/rmt_hal_dma' into 'master'
...
rmt: document and improve LL driver
See merge request espressif/esp-idf!17297
2022-03-09 17:55:08 +08:00
Shubham Kulkarni
a4afeed209
esp_http_server: Minor updates in error messages
...
idf_http_server_test/client.py: Update test script with new error message
2022-03-09 14:43:10 +05:30
Kevin (Lao Kaiyao)
733a991e2f
Merge branch 'bugfix/touch_wait_circle_after_wakeup_from_sleep_on_s3' into 'master'
...
touch: fix the touch sensor wait cycle on s3
See merge request espressif/esp-idf!15531
2022-03-09 16:41:55 +08:00
Darian
98f27378f2
Merge branch 'contrib/github_pr_8372' into 'master'
...
fix: choose_va_arg macro (GitHub PR)
Closes IDFGH-6742
See merge request espressif/esp-idf!17367
2022-03-09 14:40:04 +08:00
David Cermak
42ba8a8338
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98
mdns: Add API to control custom network interfaces
2022-03-09 07:33:23 +01:00
Vamshi Gajjela
bee6053fc0
Merge branch 'feature/ftruncate_vfs_fatfs_support' into 'master'
...
fatfs: Implement ftruncate function in VFS and FAT VFS
Closes IDFGH-6641
See merge request espressif/esp-idf!17389
2022-03-09 13:20:54 +08:00
Kapil Gupta
c098c253b1
wpa_supplicant: Add BTM security checks
2022-03-09 03:58:39 +00:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Anton Maklakov
e7bfc44caf
spiffs: fix format-truncation warning
2022-03-09 10:43:30 +07:00
Jiang Jiang Jian
4778c249e6
Merge branch 'Optimize/null_pointer_judgment_of_eb' into 'master'
...
esp_netif:optimize the null pointer judgment of eb
Closes IDF-4576
See merge request espressif/esp-idf!16934
2022-03-09 11:38:24 +08:00
morris
4dfbc9ee7b
rmt: remove deprecated functions
2022-03-09 10:58:14 +08:00
morris
9f55712c03
rmt: document and improve LL driver
2022-03-09 10:58:12 +08:00
xiongweichao
6514f9e94c
docs: translate coexist from CN to EN
2022-03-09 02:50:00 +00:00
David Čermák
06df46e26a
Merge branch 'bugfix/security_update_pppos_crash' into 'master'
...
lw-ip: Apply security fixes from upstream; Fix PPPoS and NAPT ip-forward
Closes IDFGH-6668 and IDFGH-6825
See merge request espressif/esp-idf!17227
2022-03-09 03:04:52 +08:00
Mahavir Jain
5ca79a00dd
Fix build issues for implicit declaration for esp_fill_random
2022-03-08 14:05:23 +00:00
Sachin Parekh
32a6550e87
mbedtls: Added ECC hardware accelerator support on ESP32C2
...
ESP32C2 has a ECC hardware accelerator capable of performing point
multiplication and point verification with a significant performance
boost
2022-03-08 14:05:23 +00:00
Sachin Parekh
bc1d35a14e
esp32c2/hal: Added ECC HAL layer
2022-03-08 14:05:23 +00:00
David Cermak
98e9426b66
CI/mdns: Fix fuzzer build
2022-03-08 14:25:34 +01:00
David Cermak
bec42ff85d
mdns: Add support for registering custom netif
2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b
mdns: Use predefined interfaces to prepare for custom netifs
2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8
mdns: Prepare for dynamic esp-netif support
2022-03-08 13:39:53 +01:00
Vladimir Chistyakov
216703c0ef
esp_macro: Fix CHOOSE_MACRO_VA_ARG() for C++20
...
Closes https://github.com/espressif/esp-idf/pull/8372
Closes https://github.com/espressif/esp-idf/issues/8371
[darian@espressif.com: Updated macro description and commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-03-08 20:21:26 +08:00
Darian
8b902739ac
Merge branch 'feature/freertos_smp_base_master_483237711' into 'master'
...
Add baseline SMP FreeRTOS
Closes IDF-3420, IDF-3348, IDF-3331, IDF-3333, IDF-3701, IDF-3341, IDF-3346, IDF-3339, IDF-3685, IDF-3338, and IDF-3342
See merge request espressif/esp-idf!17016
2022-03-08 19:58:11 +08:00
Vamshi Gajjela
ea9f7cc370
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-03-08 16:58:25 +05:30
Omar Chebib
cfee73658b
Merge branch 'bugfix/fix_heap_free_memory' into 'master'
...
Heap: fix free bytes calculation for TLSF heap
Closes IDFGH-6628
See merge request espressif/esp-idf!17337
2022-03-08 18:08:30 +08:00
Shu Chen
fcfe75b7d6
Merge branch 'feature/openthread-update-220303' into 'master'
...
openthread: Update OpenThread submodule
See merge request espressif/esp-idf!17338
2022-03-08 18:02:20 +08:00
laokaiyao
93b162c767
touch: fix the touch sensor wait cycle on s3
2022-03-08 09:11:14 +00:00
David Cermak
92f7ecd632
lwip: Security fixes; PPPoS null-deref; NAPT ip-forward
...
* Cherry-pick important fixes to 2.1.2-esp
- CVE-2020-22283: Attacker could craft a packet that would disclose 8 bytes of some heap memory:
- icmp6: Don't copy too much data
- icmp6: Fix copying of chained pbuf in reply
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages
- CVE-2020-22284: ZEP - ZigBee Encapsulation Protocol/6LoWPAN is not supported in IDF,
the netif module (zepif.c) is not included in the build, but users can still inject
the file into compilation process, implement IO interface and use this.
- zepif: Copy possibly chained output pbuf properly
- Add #define for minimum IPv6 MTU length
- pbuf: Add pbuf_copy_partial_pbuf library function
* PPPoS: Fix null-deref when processing double break packet
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
* NAPT: Fix PBUF_REF type to clone the pbuf before forwarding
- IP-FORWARD: If packet-type is PBUF_REF clone it before forwarding
- Add NAPT unit test to exercise NAT feature for both RAM and REF pbuf types
* version: Update version numbers to match 2.1.2-esp
* Update submodule: 2749568fe1...76303df238
- test/napt: Add unit test for IP forward with PBUF_REF (espressif/esp-lwip@76303df2 )
- napt: Fix PBUF_REF type to clone the pbuf before forwarding (espressif/esp-lwip@39068263 )
- version: Update version numbers to match 2.1.2-esp (espressif/esp-lwip@2b922919 )
- pppos: fix in_tail null (espressif/esp-lwip@537c69d5 )
- PPP: Add test exhibiting empty packet null-deref (espressif/esp-lwip@202a07da )
- pbuf: Add pbuf_copy_partial_pbuf library function (espressif/esp-lwip@1c9cd9c1 )
- Add #define for minimum IPv6 MTU length (espressif/esp-lwip@d2dc577b )
- zepif: Copy possibly chained output pbuf properly (espressif/esp-lwip@64ab7f2a )
- icmp6: Don't copy too much data (espressif/esp-lwip@4a64731b )
- icmp6: Fix copying of chained pbuf in reply (espressif/esp-lwip@7c822ff4 )
- icmp6: keep to the RFC and send as much as possible with icmp6 error messages (espressif/esp-lwip@29100ab6 )
- dns: Add API to clear dns cache (espressif/esp-lwip@ee59f77d )
- CI: Fixed adding gitlab key (espressif/esp-lwip@5a2bdba7 )
- test case: modify test case test_tcp_new_max_num_remove_FIN_WAIT_1 (espressif/esp-lwip@6b090f7d )
Closes https://github.com/espressif/esp-idf/issues/8300
Closes https://github.com/espressif/esp-idf/issues/8451
2022-03-08 09:38:42 +01:00
Darian Leung
c2f2b1e228
freertos: Add SMP FreeRTOS porting notes
...
This commit adds some notes about the SMP FreeRTOS port
2022-03-08 14:59:18 +08:00
Darian Leung
27f5c90e2e
freertos: Fix usage of vTaskSuspendAll()/xTaskResumeAll()
...
IDF FreeRTOS uses vTaskSuspendAll()/xTaskResumeAll() to stop preemption
on a particular core. However, those functions behave differently in FreeRTOS SMP.
This commit replaces all calls of vTaskSuspendAll()/xTaskResumeAll() with
vTaskPreemptionDisable()/vTaskPreemptionEnable() when compiling with SMP FreeRTOS.
2022-03-08 14:59:18 +08:00
Darian Leung
883da858b0
freertos: Fix various build errors
...
This commit fixes various build errors in IDF (and tests) when compiling
with SMP FreeRTOS:
- Updated usage of xTaskGetIdleTaskHandle()
- Disable sysview tracing macros
- Update some task snapshot functions
- Disabled test_freertos_hooks.c test as vApplicationIdleHook() and
vApplicationTickHook() are used.
2022-03-08 14:59:18 +08:00
Darian Leung
9da5d7c40a
freertos: Add changes to FreeRTOS SMP sources
...
This commit adds the necessary changes to the FreeRTOS SMP source and
and header files so that it can be compatible with ESP-IDF.
2022-03-08 14:59:18 +08:00
Darian Leung
37c270b337
freertos: Update Xtensa port files to support FreeRTOS SMP
...
This commit updates the copied Xtensa port to support the new porting interfaces
of the FreeRTOS SMP kernel. These modifications are mainly contained in
- FreeRTOSConfig.h
- FreeRTOSConfig_smp.h
- portmacro.h
- port.c
Some porting interfaces have changed in FreeRTOS SMP. In order to allow building
with IDF, compatibility interfaces have been added.
2022-03-08 14:59:18 +08:00
Darian Leung
163ddc3818
freertos: Update components CMakeLists.txt and Add SMP Kconfig option
...
This commit does the following:
- Add a Kconfig option to select between the IDF FreeRTOS kernel and the
FreeRTOS SMP kernel.
- Updates the freertos component's CMakeLists.txt so that FreeRTOS SMP
files are now built based the the new configuration option.
This commit WILL NOT compile. The port files for FreeRTOS SMP still need to
be updated.
2022-03-08 14:59:18 +08:00
Darian Leung
89dd2fe7f5
freertos: Copy IDF xtensa port files
...
This commit copies over ESP-IDF Xtensa portable files to the
FreeRTOS-Kernel-SMP directory. No changes were made, this commit
only copies the portable source files.
Notes:
- This commit WILL NOT compile
- Some SPDX header dates were updated to pass pre-commit check
2022-03-08 14:59:18 +08:00
Darian Leung
2d1afaf35b
freertos: Add FreeRTOS SMP upstream files
...
This commit copies over the sources files from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/smp based on the
commit 4832377117b4198db43009f2b548497d9cdbf8da
The FreeRTOS SMP sources are added to components/freertos/FreeRTOS-Kernel-SMP
Notes:
- This commit WILL NOT compile correctly. It simply copies over sources files
- copyright_ignore.txt entries added so that we can avoid using SPDX headers
- Portable files are not added yet
2022-03-08 14:58:57 +08:00
Anton Maklakov
b4ebc77975
esp-mqtt: fix warnings
2022-03-08 11:30:56 +07:00
morris
21e29f285f
temp_sensor: avoid coexistence of new and legacy driver
2022-03-08 11:57:53 +08:00
Omar Chebib
4ce4c5a68a
Heap: fix free bytes calculation for TLSF heap
...
* Closes https://github.com/espressif/esp-idf/issues/8270
2022-03-08 11:42:23 +08:00
Cao Sen Miao
12e050b38c
opi_flash: Add new 16MB opi flash (MXIC25UW12345G) support,
...
Closes https://github.com/espressif/esp-idf/issues/7996
2022-03-08 11:02:49 +08:00
Aditya Patwardhan
8f67af174e
Merge branch 'contrib/github_pr_8462' into 'master'
...
Add WolfSSL esp_tls TLS1.3 configuration option (GitHub PR)
Closes IDFGH-6838 and IDFGH-6683
See merge request espressif/esp-idf!17324
2022-03-08 10:57:05 +08:00
MacDue
72e322fbba
esp_http_server: reword error messages
2022-03-07 17:39:02 +00:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
morris
4aa81975d1
Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
...
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
Closes IDFGH-6893
See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
Ivan Grokhotkov
5f1c6ac605
Merge branch 'contrib/github_pr_8500' into 'master'
...
Fix compiler error in mbedtls (GitHub PR)
Closes IDFGH-6879 and IDFGH-6881
See merge request espressif/esp-idf!17380
2022-03-07 22:17:30 +08:00
Vamshi Gajjela
a9454c9776
Merge branch 'feature/sdmmc_erase_cmd_support' into 'master'
...
[sdmmc] Add erase command support
Closes IDFGH-5947 and IDFGH-5935
See merge request espressif/esp-idf!17054
2022-03-07 21:52:23 +08:00
Ivan Grokhotkov
5bc1cd7d26
Merge branch 'feature/flash_emu_linux_component' into 'master'
...
[spi_flash] LINUX target emulation of Partition API
See merge request espressif/esp-idf!13929
2022-03-07 20:36:38 +08:00
Simon
4bf4a020a6
Merge branch 'refactor/abstract_temperature_sensor' into 'master'
...
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3
Closes IDF-3665, IDF-3367, and IDF-1793
See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Alexander Klassen
a46776ad02
Add WolfSSL esp_tls TLS1.3 configuration option
...
Closes https://github.com/espressif/esp-idf/issues/8313
2022-03-07 09:44:23 +00:00
Jiacheng Guo
323b35af58
openthread: Update OpenThread submodule
...
* Remove log region macros and move to the new OpenThread logging module
* Remove TREL support
2022-03-07 15:45:16 +08:00
Island
f31be6ca5d
Merge branch 'feature/add_proxy_conn_and_disconn_event' into 'master'
...
ble_mesh: stack: Add proxy server connect and disconnect event
See merge request espressif/esp-idf!16917
2022-03-07 15:10:22 +08:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
0xFEEDC0DE64
9b7c345bce
Fix compiler error in mbedtls
...
Closes https://github.com/espressif/esp-idf/pull/8500
Closes https://github.com/espressif/esp-idf/issues/8499
Closes IDFGH-6879
Closes IDFGH-6881
2022-03-07 12:15:08 +05:30
morris
75e835efe6
Merge branch 'bugfix/fix_regi2c_analog_cali_num_macro' into 'master'
...
regi2c: fix analog calibration register num macro
See merge request espressif/esp-idf!17376
2022-03-07 14:08:47 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Konstantin Kondrashov
e17b0df8ec
Merge branch 'feature/adds_efuses_to_table' into 'master'
...
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
See merge request espressif/esp-idf!17294
2022-03-07 13:05:55 +08:00
Armando
f41c9d154a
regi2c: fix analog calibration register num macro
2022-03-07 11:48:57 +08:00
Kevin Guilloy
1fce1616c4
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
...
Merges: https://github.com/espressif/esp-idf/pull/8513
2022-03-07 10:40:57 +08:00
Armando (Dou Yiwen)
748037708f
Merge branch 'bugfix/fix_adc_digital_not_reset_issue' into 'master'
...
adc: fix adc digital part not reset issue
Closes IDF-4680
See merge request espressif/esp-idf!17279
2022-03-06 13:49:18 +08:00
wangjialiang
089637cfa3
ble_mesh: stack: Bugfix the proxy client abnormal disconnection
2022-03-05 11:14:28 +00:00
wangjialiang
c49b5b2409
ble_mesh: stack: Add proxy server connect and disconnect event
2022-03-05 11:14:28 +00:00
Vamshi Gajjela
964592e189
fatfs: Add trim ioctl call, set FF_USE_TRIM as default option.
...
FF_USE_TRIM is set by default with this commit. Fatfs invokes disk_ioctl
with CTRL_TRIM to erase the sectors calling sdmmc_erase_sectors to choose the right
argument for the erase operation based on media type.
2022-03-05 16:35:37 +05:30
Vamshi Gajjela
ffdbeee9f6
sdmmc: Add erase command-38. Support erase/trim/discard/sanitize
...
options.
Erase command (38) for SD cards allows option for erase/dicard/fule
operation at block level and for MMC cards supports option for
discard/trim at block level. When Sanitize is executed only the
portion of data that was unmapped by a Discard command shall be
removed by the Sanitize command.
Unit test cases added to verify ERASE feature in SD/SDSPI mode.
TRIM/DISCARD/SANITIZE tests for eMMC devices.
Closes https://github.com/espressif/esp-idf/pull/7635
Closes https://github.com/espressif/esp-idf/issues/7623
2022-03-05 16:02:01 +05:30
Armando (Dou Yiwen)
48daa38a63
Merge branch 'bugfix/fix_adc_calibration_light_sleep_issue' into 'master'
...
adc: fix calibration error when waking up from light sleep
Closes IDF-4406, IDF-4605, IDFGH-6252, and IDFGH-6651
See merge request espressif/esp-idf!16259
2022-03-04 23:05:09 +08:00
Martin Vychodil
9a5f39ec2c
spi_flash: Linux target emulation of Partition API
...
Emulator of Partition API layer for Linux OS
2022-03-04 14:36:46 +00:00
xiongweichao
7ee85858b4
Update HFP_HF version to 1.7.2
2022-03-04 11:52:12 +00:00
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd
Merge branch 'feature/support_esp32h2_gpio' into 'master'
...
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix
Closes IDF-4232 and IDF-3439
See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
Cao Sen Miao
214e206111
Temperature_sensor: Add temperature support for ESP32-S3
2022-03-04 18:13:27 +08:00
Cao Sen Miao
441900caa2
Temperature_sensor: keep legacy drivers
2022-03-04 17:59:07 +08:00
Anton Maklakov
ea0d2123c8
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround
2022-03-04 16:52:37 +07:00
Nonoo
062f6164ae
ledc: Do not drive output during init if the output is inverted
2022-03-04 08:39:57 +01:00
Marius Vikhammer
374712921a
CI: add configs for running S2, S3 unit tests with PSRAM
...
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
Marius Vikhammer
36ef485c4e
soc: support placing task stacks in external memory for S2 and S3
2022-03-04 15:25:52 +08:00
Marius Vikhammer
e543e97c7b
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-03-04 15:25:52 +08:00
rrforte
ffe19e0c8d
Bugfix: LCD component support for large SPI color transfers
2022-03-03 22:43:12 -08:00
Mahavir Jain
171b4ec13a
Merge branch 'fix/update_licenses_of_file_wrt_mbedtls_3_1_change' into 'master'
...
mbedtls: Update licenses of files updated in mbedtls-3.1 update
Closes IDF-4725
See merge request espressif/esp-idf!17335
2022-03-04 13:55:11 +08:00
Jiang Jiang Jian
081828d494
Merge branch 'bugfix/add_pll_track_feature_mr_master' into 'master'
...
Add pll track feature
Closes BT-2030
See merge request espressif/esp-idf!17284
2022-03-04 13:53:59 +08:00
Aditya Patwardhan
4582af75b8
mbedtls: Update licenses of files updated in mbedtls-3.1 update
2022-03-04 05:18:58 +00:00
morris
52fcdbacc3
Merge branch 'feature/pcnt_driver_ng' into 'master'
...
⛵ Driver-NG: Introduce a brand new driver for PCNT
Closes IDF-2196 and IDF-2896
See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
Armando
494b996ecc
sleep: restore analog calibration registers after waking up from light sleep
...
Closes https://github.com/espressif/esp-idf/issues/8287
Closes https://github.com/espressif/esp-idf/issues/7921
2022-03-04 12:10:20 +08:00
Armando
d7512d8b38
adc: add adc single read & light sleep test
2022-03-04 12:10:20 +08:00
Omar Chebib
dc25a8a6ba
Merge branch 'refactor_rtc_wdt_code' into 'master'
...
RTC WDT: refactor code to remove duplicated code
See merge request espressif/esp-idf!16845
2022-03-04 11:52:15 +08:00
Armando
e66f59ae0b
rng: fix rng adc digital inpu not disabled issue
2022-03-04 03:49:33 +00:00
Armando
4ca115be98
adc: fix adc digital not reset issue
2022-03-04 03:49:33 +00:00
songruojing
c8c137f2b7
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Anton Maklakov
924178d407
nimble: update because of warnings
2022-03-04 10:00:54 +07:00
Ivan Grokhotkov
6b8e4212be
driver: sdspi: set default DMA channel compatible with S3, C3 or later
2022-03-03 21:40:04 +01:00
Ivan Grokhotkov
c19203be0e
mbedtls: disable files generation, specify Python interpreter to use
...
When GEN_FILES is enabled, Perl interpreter should be available. There
is a check in mbedTLS that disables GEN_FILES on Windows (where Perl
is not available by default) but it is broken for recent CMake
versions.
Also set Python interpreter to the one IDF uses, just to avoid calling
into some other Python version which CMake might manage to find.
2022-03-03 15:56:15 +01:00
morris
0d920a47f7
unit_test: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
04b3f8b210
pcnt: deprecated as legacy driver
2022-03-03 22:38:32 +08:00
morris
ec8defaa96
pulse_cnt: new driver for PCNT peripheral
2022-03-03 22:38:32 +08:00
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Sudeep Mohanty
bc82613847
Merge branch 'docs/ulp_documentation_updates' into 'master'
...
docs: Updated ULP documentation
Closes IDF-3306
See merge request espressif/esp-idf!17225
2022-03-03 19:16:27 +08:00
Alex Lisitsyn
dcaac79380
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues' into 'master'
...
modbus: fix tcp slave destroy issues
Closes IDFGH-6568
See merge request espressif/esp-idf!16856
2022-03-03 16:34:33 +08:00
Alex Lisitsyn
224901fed3
modbus: fix tcp slave destroy issues
2022-03-03 16:34:33 +08:00
Song Ruo Jing
ed3469ea65
Merge branch 'bugfix/i2c_iram_placement_fix' into 'master'
...
i2c: Correct hal functions iram placement
Closes IDFGH-6795
See merge request espressif/esp-idf!17282
2022-03-03 16:19:31 +08:00
Yang Zhao
000f398ab9
Update ESP32-C3 and ESP32-S3 bt lib and phy lib
...
Add the pll track feature to keep the ble connection stable when the environment
temprature increase form 0 to 74.
2022-03-03 07:39:22 +00:00
Omar Chebib
96b362d1da
RTC WDT: Use target name instead of caps for rtc wdt
2022-03-03 13:47:22 +08:00
Omar Chebib
dbba26643f
RTC WDT: refactor code to remove duplicated code
2022-03-03 13:47:22 +08:00
Kevin (Lao Kaiyao)
433d6ee1fd
Merge branch 'bugfix/i2s_dac_incorrect_clock' into 'master'
...
i2s: fix adc/dac clock calculation
Closes IDFGH-6715
See merge request espressif/esp-idf!17233
2022-03-03 12:23:13 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Wang Meng Yang
cdc00140d0
Merge branch 'bugfix/a2dp_sniff_master' into 'master'
...
Fix crash when host exit sniff mode
Closes BT-1802
See merge request espressif/esp-idf!14434
2022-03-03 11:26:05 +08:00
morris
869e503875
Merge branch 'bugfix/i2s_mono_issue_on_c3_s3' into 'master'
...
🔧 i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
See merge request espressif/esp-idf!16843
2022-03-03 10:46:13 +08:00
Marius Vikhammer
706a14884f
Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
...
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
Closes IDFGH-6589
See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Marius Vikhammer
29db173536
Merge branch 'feature/move_target_kconfig' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
Aditya Patwardhan
72f12a0c8c
Fix issue in wpa_supplicant
2022-03-03 01:37:10 +05:30
Laukik Hase
f5feb7813e
mbedtls: Fix build errors related to TLS 1.3
...
- Kconfig: Enabled MBEDTLS_HKDF_C by default when TLS 1.3 support is enabled
- esp-tls (mbedtls): Forced client to use TLS 1.3 when TLS 1.3 support is enabled
2022-03-03 01:37:10 +05:30
Laukik Hase
0868513ddd
ci: Fix unit test failures
...
- protocomm: Fix leakage due to ECDH context not being
initialised and freed properly
- mbedtls (RSA): Added mandatory RNG parameter wherever required
Disabled `test performance RSA key operations` UT
- mbedtls (AES_GCM): Added mbedtls_gcm_update_ad() wherever required
for updating associated data
- unit_test_app: Fix build issue when heap tracing is enabled
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8cbfb18037
mbedtls-3.x: Update Kconfig macros
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
8111286668
Add entropy_poll.h in port directory
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
03ccb1a0b5
mbedtls-3.X: Updated the openthread submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
740f1afe20
Update nimble submodule
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
a52144da04
Update mbedtls submodule to 3.1
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
66a9243d3b
mbedtls 3.X update:
...
*MBEDTLS_ECDH_LEGACY_CONTEXT is now disabled by default.
*Fixed MBEDTLS_ECDH_LEGACY_CONTEXT issue for protocomm component.
*Removed all code under MBEDTLS_DEPRECATED_REMOVED
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
60b167f2d6
mbedtls-3.1 update: Removed the MBEDTLS_PRIVATE
from multiple files
...
after they have been again made public in mbedtls-3.1
*Added `MBEDTLS_ALLOW_PRIVATE_ACCESS` in some files.
2022-03-03 01:37:10 +05:30
Kapil Gupta
6a164cc5bc
Fix issues in wpa2 enterprise with mbedTLS 3.0
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
0483bfbbfe
Initial Changes for updating mbedtls to v3.0
2022-03-03 01:37:09 +05:30
Kapil Gupta
84f9aa13c9
Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
...
esp_example: Enable MbedTLS for DPP enrollee by default
Closes WIFI-4275
See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
KonstantinKondrashov
6d11c57b2a
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
...
Closes https://github.com/espressif/esp-idf/issues/8357
2022-03-02 18:48:42 +08:00
Anton Maklakov
3ab9acddc1
newlib: stdatomic: fix conflicting types for atomic built-in functions
...
Also use `unsigned int`, `short unsigned int`,`long long unsigned int` etc types
instead of uintN_t. Because some platforms have uintN_t types that don't
conrrespont to built-in prototypes.
2022-03-02 16:22:45 +07:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
laokaiyao
db3a1c707e
i2s: add mclk_div underflow check
...
Closes https://github.com/espressif/esp-idf/issues/8344
2022-03-02 04:17:36 +00:00
Stephan Hadinger
2f0e7e9b6c
Fix for mclk/bclk divisors #8326
...
Merges https://github.com/espressif/esp-idf/pull/8327
2022-03-02 04:17:36 +00:00
xiongweichao
3fe222d17b
Fix crash when host exit sniff mode
2022-03-02 03:56:52 +00:00
laokaiyao
b336a838b6
i2s: fix bug of switching mono/stereo mode by 'i2s_set_clk' on c3/s3
2022-03-02 03:34:25 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
Shubham Kulkarni
6e0308d352
Merge branch 'bugfix/http_client_body' into 'master'
...
esp_http_client: Fix data corruption in http_on_body callback
Closes IDF-4597
See merge request espressif/esp-idf!17219
2022-03-02 05:45:09 +08:00
Michael (XIAO Xufeng)
78165c541e
Merge branch 'bugfix/bootloader_uart_custom_gpio' into 'master'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect
Closes IDF-4606
See merge request espressif/esp-idf!16910
2022-03-02 02:35:14 +08:00
Dmitry
a8c3fe56c8
This commit add to GDBstup:
...
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Shubham Kulkarni
18fa343161
esp_http_client: Cache received data in http_on_body callback.
...
This change fixes issue with data loss when multiple body chunks are
received after calling esp_http_client_fetch_headers.
2022-03-01 15:41:36 +00:00
songruojing
b6887416d4
uart: fixed reset logic on ESP32-S3
2022-03-01 18:21:31 +08:00
songruojing
d4334cc109
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-01 18:21:27 +08:00
Michael (XIAO Xufeng)
395cd494f8
bootloader: fixed the issue custom_uart_gpio doesn't take effect
2022-03-01 17:54:34 +08:00
KonstantinKondrashov
7d097511fa
soc: Fix efuse_hal_get_chip_revision for esp32
2022-03-01 16:55:43 +08:00
Sudeep Mohanty
4067bc40fc
docs: Updated ULP documentation
...
This commit updates documentation for ULP.
2022-03-01 09:02:41 +05:30
wuzhenghui
1a4d4b9cd6
remove esp32h2 rev1/2 unsupported efuse field
2022-02-28 19:37:43 +08:00
wuzhenghui
95418fd22e
remove esp32c3 unsupported efuse field
2022-02-28 19:37:38 +08:00
Mahavir Jain
15ab3466fa
Merge branch 'contrib/github_pr_8467' into 'master'
...
Fix typos. (GitHub PR)
Closes IDFGH-6843
See merge request espressif/esp-idf!17289
2022-02-28 16:50:33 +08:00
songruojing
1ceb7c8cd6
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset
...
Closes https://github.com/espressif/esp-idf/issues/8422
2022-02-28 15:44:35 +08:00
Marius Vikhammer
c974a000d7
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
2022-02-28 14:15:25 +08:00
Mahavir Jain
47fb454baa
esp_system: Fix copyright header
2022-02-28 11:41:02 +05:30
Kevin (Lao Kaiyao)
cc1d89ebba
Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
...
i2c: support i2c on esp32c2 and esp32h2
Closes IDF-3918
See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Konstantin Kondrashov
44e5ac2c59
Merge branch 'feature/efuse_hal' into 'master'
...
hal: Adds efuse hal layer
See merge request espressif/esp-idf!16354
2022-02-28 13:38:43 +08:00
Eva Dengler
9fd621c7ad
Fix typos.
...
alignement -> alignment
2022-02-25 19:32:15 +01:00
morris
b85eeb3224
Merge branch 'feature/lcd_isr_in_iram' into 'master'
...
refactor LCD unit tests into test apps
Closes IDF-4666
See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
Jing Li
0a64094a60
Merge branch 'bugfix/a_small_fix_for_multi_heap' into 'master'
...
Heap: fix wrong arg passed to assert_valid_block
See merge request espressif/esp-idf!17274
2022-02-25 05:09:13 +00:00
David Čermák
2a91e4c895
Merge branch 'bugfix/mdsn_fuzzer_extend' into 'master'
...
mdns: Extend fuzzing and Fix various petty issues
Closes IDFGH-6675
See merge request espressif/esp-idf!17006
2022-02-24 23:03:50 +00:00
Ivan Grokhotkov
4a553510b7
Merge branch 'bugfix/interrupted_thread_gdb_bt' into 'master'
...
riscv: Fixes GDB backtrace of interrupted threads
See merge request espressif/esp-idf!16939
2022-02-24 20:21:17 +00:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
David Cermak
b5149e3ee7
mdns: Update to drop our own packet if bounced back
2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525
mdns: Fix potential read behind parsed packet
2022-02-24 11:01:26 +01:00
David Cermak
9cbdb8767b
mdns: Fix memleak when adding delegated host
2022-02-24 11:01:26 +01:00
David Cermak
a57be7b7d1
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
2022-02-24 11:01:13 +01:00
David Cermak
2c1007156e
mdns: Update fuzzer test (add delegation, check memory)
...
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
2022-02-24 09:41:56 +00:00
David Čermák
ca7e5b3ef5
Merge branch 'bugfix/mdns_missing_includes' into 'master'
...
mdns: Added missing includes; Removed deprecated event API
See merge request espressif/esp-idf!17190
2022-02-24 09:39:30 +00:00
Alexey Gerenkov
dea45a9d72
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
72822dfc8f
riscv: Adds support for returning from exception handler
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
088e940528
riscv: Fixes GDB backtrace end function to point to prvTaskExitError
2022-02-24 08:55:40 +00:00
Alexey Gerenkov
54569fb001
riscv: Fixes GDB backtrace of interrupted threads
...
Save missed SP value on stack
2022-02-24 08:55:40 +00:00
morris
8c91ef7599
Merge branch 'contrib/github_pr_8430' into 'master'
...
ADC Fix compiling when included from C++ (GitHub PR)
Closes IDFGH-6804
See merge request espressif/esp-idf!17216
2022-02-24 08:42:06 +00:00
jingli
6c25dd4ec1
fix param passed to assert_valid_block, should be block not ptr
2022-02-24 13:50:16 +08:00
Darian
c2efc1781f
Merge branch 'bugfix/twai_workarounds_default_enable' into 'master'
...
TWAI: Enable ESP32 errata workarounds by default
See merge request espressif/esp-idf!17205
2022-02-24 05:12:50 +00:00
Mahavir Jain
4861ca0179
Merge branch 'update/remove_openssl' into 'master'
...
openssl: Remove deprecated component
Closes IDF-3925 and IDFCI-1102
See merge request espressif/esp-idf!17200
2022-02-24 03:46:01 +00:00
Darian Leung
2f2df82bc5
twai: Enable ESP32 errata workarounds by default
2022-02-23 20:22:02 +08:00
David Cermak
0630834bc3
openssl: Remove deprecated component
2022-02-23 13:08:12 +01:00
Harshit Malpani
1cb9ba5076
Push out coap
to idf-extra-component repository
2022-02-23 15:08:36 +05:30
xueyunfei
473cc00667
optimize the null pointer judgment of eb
2022-02-23 16:01:19 +08:00
laokaiyao
cf353c505a
i2c: support esp32h2
2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae
i2c: support esp32c2
2022-02-23 15:19:37 +08:00
Mahavir Jain
46d5f92533
Merge branch 'bugfix/remove_rtc_dummy_sections' into 'master'
...
System: Memory section .rtc.dummy removed
Closes IDF-4395
See merge request espressif/esp-idf!17242
2022-02-23 06:11:15 +00:00
Kevin (Lao Kaiyao)
1d30c23455
Merge branch 'feature/i2c_use_input_only_pin_in_slave_mode' into 'master'
...
i2c: support using input-only pin as SCL in slave mode
Closes IDFGH-6682
See merge request espressif/esp-idf!17137
2022-02-23 02:54:49 +00:00
Sudeep Mohanty
f163ab26a9
Merge branch 'feature/ulp_fsm_support_on_esp32s3' into 'master'
...
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
See merge request espressif/esp-idf!17197
2022-02-23 02:20:39 +00:00
morris
5951d7480c
Merge branch 'feature/fatfs_14b_update' into 'master'
...
fatfs: Update to version 0.14b
Closes IDF-1981
See merge request espressif/esp-idf!16791
2022-02-23 01:44:37 +00:00
Marius Vikhammer
06d8a5bf33
Merge branch 'bugfix/inline_intrmask_from_isr' into 'master'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
Closes IDFGH-6669
See merge request espressif/esp-idf!16970
2022-02-23 01:05:40 +00:00
Martin Vychodil
0e52b9d230
System: Memory section .rtc.dummy removed
...
ESP32H2 doesn't support access to RTC memory through various buses, thus .rtc.dummy section
makes no sense here. The section is used for blind padding in LD script - to provide proper section offsets)
2022-02-22 13:52:46 +01:00
Jakob Hasse
7963f3a270
Merge branch 'bugfix/spiffs_wear_levelling_update_copyrights' into 'master'
...
spiffs, wear_levelling: update copyright headers
See merge request espressif/esp-idf!17229
2022-02-22 11:57:27 +00:00
Jiang Guang Ming
453146fe75
Merge branch 'bugfix/update_esp32c2_soc_memory_addr' into 'master'
...
soc: update memory address for esp32c2
See merge request espressif/esp-idf!17085
2022-02-22 10:23:35 +00:00
Jiang Jiang Jian
876fedc46b
Merge branch 'bugfix/update_stack_init_check' into 'master'
...
Nimble: Remove stack initialization status from unwanted functions
See merge request espressif/esp-idf!15989
2022-02-22 07:55:40 +00:00
Sudeep Mohanty
4d8a0cce29
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
...
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-02-22 12:25:57 +05:30
Mo Fei Fei
347262f179
Merge branch 'docs/update_wear_levelling_cn_trans' into 'master'
...
docs: update components/wear_levelling/README cn translation
Closes DOC-2721
See merge request espressif/esp-idf!17218
2022-02-22 06:29:48 +00:00
morris
f1235d8418
Merge branch 'bugfix/esp_common_copyrights' into 'master'
...
esp_common: update copyright headers
See merge request espressif/esp-idf!17213
2022-02-22 04:45:17 +00:00
Song Ruo Jing
da3b7f106b
Merge branch 'feature/support_esp32c2_reset_cause' into 'master'
...
esp_system: support esp32c2 reset reason
Closes IDF-3832 and IDF-4244
See merge request espressif/esp-idf!17158
2022-02-22 03:12:44 +00:00
Ivan Grokhotkov
911a8fc714
spiffs, wear_levelling: update copyright headers
2022-02-22 00:09:24 +03:00
Darian
19061022db
Merge branch 'refactor/freertos_legacy_hooks' into 'master'
...
FreeRTOS: Refactor legacy hooks
Closes IDF-4685
See merge request espressif/esp-idf!17199
2022-02-21 15:53:58 +00:00
Adam Múdry
bb8587a139
fatfs: Update to version 0.14b
...
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
Mahavir Jain
307fe58eb6
Merge branch 'bugfix/wpa_supplicant_missing_includes' into 'master'
...
wpa_supplicant: added missing includes
See merge request espressif/esp-idf!17189
2022-02-21 13:35:48 +00:00
morris
116197040f
i2s: update copyright
2022-02-21 21:28:48 +08:00
Ivan Grokhotkov
b8e46ac0da
Merge branch 'feature/flash_size_gt_16mb_pr' into 'master'
...
add support for Flash 32MB..128MB (S2, S3) (Github PR + fixups)
Closes IDF-2961, IDFGH-5984, and IDFGH-6003
See merge request espressif/esp-idf!17211
2022-02-21 12:31:24 +00:00
intern
89bec6cd27
docs: update wear levelling cn trans
2022-02-21 19:10:33 +08:00
John
bcf7608cf8
i2c: Enable I2C Slave mode with input-only pin as SCL.
...
Merges https://github.com/espressif/esp-idf/pull/8312
If we use I2C in slave mode, we can use input-only pin for SCL line (GPI 34-39).
But there is a problem in i2c_set_pin() which is called by i2c_param_config().
In case of using GPI as SCL the following statements are failed:
1. gpio_set_level(scl_io_num, I2C_IO_INIT_LEVEL);
Function fails because it cannot set level for input pin. As a result a ESP_LOGE() is called.
2. gpio_set_direction(scl_io_num, GPIO_MODE_INPUT_OUTPUT_OD);
Function fails because it accepts only GPIO pins. ESP_LOGE() is called, input mode is not enabled for the pin and as a result - no interrupts from the pin.
2022-02-21 17:32:04 +08:00
Ivan Grokhotkov
f071558117
partition_table: add a test for total partition size error
2022-02-21 10:28:29 +03:00
rudi ;-)
f242a1705a
add support for Flash 32MB..128MB (S2, S3)
...
ESP32-S2 and ESP32-S3
supports up to 1 GB of external flash and RAM
add support for
- 32MB
- 64MB
- 128MB ( example NOR spiFLASH 1G-BIT W25Q01JVZEIQ Winbond 0xEF 0x40 0x21 )
Merges https://github.com/espressif/esp-idf/pull/7688
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-21 10:26:41 +03:00
David Čermák
c04803e88b
Merge branch 'bugfix/mdns_clear_notif_value' into 'master'
...
mdns: Clear notification value in mdns_hostname_set
Closes IDFGH-6647
See merge request espressif/esp-idf!17121
2022-02-21 07:20:22 +00:00
David Cermak
e46aa515bd
mdns: Remove legacy esp_event API
2022-02-21 07:54:07 +01:00
Nachiket Kukade
7ed8fdac59
esp_wifi: Always connect Station in PMF mode if possible
...
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-02-21 11:31:56 +05:30
Ivan Grokhotkov
413375453b
esp_common: update copyright headers
2022-02-21 00:51:49 +03:00
Ivan Grokhotkov
6782971332
sdmmc: accept CMD_DONE being is reported together with RTO
...
SDMMC databook specifies that when an error interrupt is generated
(such as RTO, DCRC, RCRC), CMD_DONE interrupt is also generated.
The code used to break out of the event handling loop to wait for
another interrupt event to happen, reporting CMD_DONE.
However if interrupt processing was delayed, it is possible that
a single event contains both RTO and CMD_DONE. Previously, CMD_DONE
would not be handled, and the state machine would be stuck in
SDMMC_SENDING_CMD state, until a timeout. This didn't change the
outcome (err=0x107), but delayed the handling of response timeout
event.
Fix by not breaking out of the event handler, optionally processing
the CMD_DONE interrupt if it has been reported in the same message.
2022-02-20 12:39:36 +00:00
0xFEEDC0DE64
c86fba7919
Fix compiling when included from C++
2022-02-18 15:37:07 +01:00
Darian Leung
5f5daaa420
freertos: Remove legacy hooks
...
This commit refactors the legacy hooks as follows:
- Removed CONFIG_FREERTOS_LEGACY_HOOKS
- FreeRTOS hooks are now enabled via:
- CONFIG_FREERTOS_USE_IDLE_HOOK
- CONFIG_FREERTOS_USE_TICK_HOOK
- Update IDF hooks documentation
2022-02-18 19:56:35 +08:00
h2zero
83a4ddbd25
mdns: Clear notification value in mdns_hostname_set
...
Merges https://github.com/espressif/esp-idf/pull/8284
2022-02-18 15:23:25 +04:00
Rahul Tank
3387d816e2
Nimble: Check stack initialization status before executing stack command
...
Previous commit added checks in some functions that can be called
without stack initalization. Corrected such instances.
2022-02-18 11:47:48 +05:30
Jakob Hasse
41e1eea9a9
Merge branch 'contrib/github_pr_8388' into 'master'
...
esp_event: constify event_data pointer (GitHub PR)
Closes IDFGH-6760
See merge request espressif/esp-idf!17195
2022-02-17 14:44:32 +00:00
Mahavir Jain
69f51a989c
Merge branch 'feature/pre_encrypted_binary' into 'master'
...
feature: Pre Encrypted Binary during OTA updates
Closes IDF-3256, IDF-3254, and IDFGH-4334
See merge request espressif/esp-idf!16434
2022-02-17 13:36:54 +00:00
Jakob Hasse
28d09c7dbe
mdns: added missing includes
2022-02-17 16:20:52 +08:00
Jakob Hasse
b9d66670e8
wpa_supplicant: added missing includes
2022-02-17 16:11:56 +08:00
Jiang Jiang Jian
b66cc63c41
Merge branch 'bugfix/fix_ble_adv_underrun_error' into 'master'
...
components/bt: Fix ble adv_underrun issue
See merge request espressif/esp-idf!16729
2022-02-17 06:07:04 +00:00
Mahavir Jain
fbc9c729b2
esp_https_ota: rename config option for more clarity
2022-02-17 10:54:06 +05:30
Mahavir Jain
7fd2d5ea03
esp_https_ota: add support for decryption callback
...
- Decryption callback is additional feature, default disabled
- This callback can help to plug in external components managing
additional encapsulation layers on firmware image format
2022-02-17 10:54:04 +05:30
Mahavir Jain
3eb8f3b54e
esp_https_ota: add some return values to API documentation
2022-02-17 10:49:15 +05:30
Mahavir Jain
4ae6cce2a5
esp_https_ota: add check for image descriptor magic in relevant API
2022-02-17 10:49:15 +05:30
Mahavir Jain
0b3a8881e0
esp_https_ota: Increase default ota buffer size and few other cleanups
...
- Increased OTA buffer size to 1K, this can easily cover image headers
- Reduced OTA redirection buffer size, this buffer is used to only consume
redirection headers
- Added static assert to check on OTA buffer size
2022-02-17 10:49:15 +05:30
Marius Vikhammer
b6540b7a4a
Merge branch 'feature/c2_clean_up_not_supported_periphs' into 'master'
...
docs: remove peripherals docs that are not supported on C2
Closes IDF-4201, IDF-4673, and IDF-4658
See merge request espressif/esp-idf!17168
2022-02-17 03:12:04 +00:00
Amaryllis Kulla
1858901241
esp_event: constify event_data pointer
...
Also update copyright headers.
2022-02-16 16:16:45 +01:00
Jakob Hasse
d5e1362e14
bugfix (freertos): added stdint.h to linux portmacro header
2022-02-16 16:51:22 +08:00
xiewenxiang
dd9e2f4ac6
components/bt: Fix ble adv_underrun issue
...
components/bt: Fix LLCP collision for channel map update
2022-02-16 16:35:00 +08:00
morris
0d03c17ab2
Merge branch 'bugfix/eth_test_emac_init' into 'master'
...
ci/esp_eth: Fix incorrect esp32 emac init
See merge request espressif/esp-idf!17178
2022-02-16 08:15:47 +00:00
Mahavir Jain
af9a194672
Merge branch 'feature/websocket_server_support_close_handle' into 'master'
...
esp_http_server: Websocket CLOSE frame can support callback function
Closes IDFGH-5785
See merge request espressif/esp-idf!17086
2022-02-16 07:08:57 +00:00
Jiang Jiang Jian
290177c1a1
Merge branch 'bugfix/assoc_comeback_fail_issue' into 'master'
...
Fix assoc comeback causing invalid state & FTM cleanup
Closes WIFI-4299
See merge request espressif/esp-idf!16848
2022-02-16 04:36:24 +00:00
Marius Vikhammer
6d50a8dd7a
docs: remove peripherals that are not supported from C2 docs
2022-02-16 10:22:46 +08:00
Marius Vikhammer
63edf76c36
soc: remove sigma delta and DS caps from soc_caps.h
...
These two peripherals do not exist on C2
2022-02-16 10:21:09 +08:00
David Cermak
25dbf35867
ci/esp_eth: Fix incorrect esp32 emac init
...
Regression from 8da2e4088c
2022-02-15 18:38:40 +01:00
Mahavir Jain
71e29053cf
Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
...
esp_https_server: API cleanup
Closes IDFGH-6540
See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
Ondrej Kosta
7512bdecfe
Merge branch 'feature/emac_start_stop_test' into 'master'
...
test_emac: extended Ethernet start/stop stress test
Closes IDF-4540
See merge request espressif/esp-idf!16755
2022-02-15 13:23:01 +00:00
David Čermák
412fb564ca
Merge branch 'bugfix/emac_config_dma_burst_len' into 'master'
...
esp_eth: Make EMAC DMA burst size configurable (GitHub PR)
Closes IDFGH-6199 and IDFGH-5658
See merge request espressif/esp-idf!16412
2022-02-15 10:36:51 +00:00
jiangguangming
0894a689cc
esptool: update submodule esptool
2022-02-15 15:14:42 +08:00
jiangguangming
0265a86361
soc: update memory address for esp32c2
2022-02-15 15:14:42 +08:00
songruojing
b860fa96e0
esp_system: support esp32c2 reset reason
2022-02-15 13:50:22 +08:00
David Cermak
8da2e4088c
esp_eth: Update esp32's EMAC API to decouple driver and vendor config
2022-02-14 16:17:29 +00:00
David Cermak
1dc60730ee
esp_eth: ESP32 EMAC to use common DMA busrt size for both Tx and Rx
2022-02-14 16:17:29 +00:00
David Cermak
2553fb5845
esp_eth: Make EMAC DMA burst size configurable
...
Merges https://github.com/espressif/esp-idf/pull/7874
Closes https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Simon Schubert
a6ca3d39a8
emac: reduce rx burst length to avoid SPI DMA collision bug
...
See <https://github.com/espressif/esp-idf/issues/7380 >.
2022-02-14 16:17:29 +00:00
AndriiFilippov
d69c11e017
ci/esp_eth: Replaced ethernet download task with ethernet download function
...
Rename eth_download_task to eth_start_download. Remove eth_event_group's
download bit
Delete unused variables
2022-02-14 16:02:45 +01:00
Nachiket Kukade
af51170b99
esp_wifi: Update wifi lib
...
1. Fix assoc comeback causing invalid state
2. Better cleanup in some FTM failure cases
2022-02-14 19:42:50 +05:30
Harshit Malpani
94056fd4a5
esp_https_server: API cleanup
2022-02-14 16:25:54 +05:30
morris
dbfde65515
lcd: refactor ut into test app
2022-02-14 18:43:50 +08:00
Ondrej Kosta
57225f99c7
Created EMAC start/stop stress test under heavy traffic
2022-02-14 08:21:43 +01:00
Ondrej Kosta
e97fd4b076
esp_eth: EMAC start/stop optimization
2022-02-14 08:21:43 +01:00
Marius Vikhammer
3da0b2249b
Merge branch 'bugfix/ulp_depr_headers' into 'master'
...
ulp: change deprecated headers to use relative includes to avoid recursivly...
See merge request espressif/esp-idf!17112
2022-02-14 03:31:04 +00:00
morris
84b750cbe8
Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
...
lcd soc ll update according trm
See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
Kapil Gupta
20847eeb96
Merge branch 'bugfix/eap_client_crash' into 'master'
...
wpa_supplicant: Fix memory corruption
Closes WIFI-4299
See merge request espressif/esp-idf!16841
2022-02-11 09:54:27 +00:00
Omar Chebib
5bd204eac9
Merge branch 'bugfix/lwip_timeout_not_compliant' into 'master'
...
Make `sys_arch_sem_wait` POSIX compliant (required by lwip_select)
See merge request espressif/esp-idf!16911
2022-02-11 08:48:40 +00:00
Jiang Jiang Jian
019af183ce
Merge branch 'bugfix/fix_s2_phy_bbpll_cal_fail' into 'master'
...
esp_phy: fix s2 sar2 init no cal and bbpll cal fail
See merge request espressif/esp-idf!16948
2022-02-11 08:28:09 +00:00
Ivan Grokhotkov
c372248624
Merge branch 'contrib/github_pr_7710' into 'master'
...
sdspi_host: fix clock being sent out before the bus is acquired (GitHub PR)
Closes IDFGH-6024
See merge request espressif/esp-idf!16851
2022-02-11 08:27:06 +00:00
Marius Vikhammer
8a48b55197
ulp: change deprecated headers to use relative includes to avoid recursivly including the same header
2022-02-11 14:56:11 +08:00
Marius Vikhammer
5ef585b1b9
Merge branch 'feature/remove_frc2_timer' into 'master'
...
esp_timer: remove legacy ESP32 FRC timer implementation
Closes IDF-3805
See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Darian Leung
2cebfcf885
freertos: Refactor configuration files
...
This commit refactors the FreeRTOS configuration headers as follows:
- Layout is now similar to FreeRTOSConfig.h found in other upstream demos
- Separate out Vanilla FreeRTOS configurations and ESP-IDF additions
- Move/remove some irrelevant/unused macros and configurations
2022-02-10 21:23:46 +08:00
Omar Chebib
95cc6cfac4
LWIP: Make system timeout POSIX compliant (required by lwip_select)
...
`lwip_select` uses `sys_arch_sem_wait` function making the assumption that it
is POSIX compliant. This commit makes that function wait for at least
timeout (milliseconds), as required by POSIX specification.
* Relates to https://github.com/espressif/esp-idf/issues/7514
2022-02-10 10:36:09 +00:00
Darian Leung
7d78cec149
ledc: Remove usage of legacy FreeRTOS type
2022-02-10 15:19:36 +08:00
Marius Vikhammer
edb76f14d6
esp_timer: remove legacy ESP32 FRC timer implementation.
2022-02-10 15:17:49 +08:00
Omar Chebib
0cfa7ca20f
Merge branch 'bugfix/fix_i2c_crash' into 'master'
...
I2C: Fix I2C Master operation with repeated start condition
Closes IDFGH-6719 and IDFGH-6724
See merge request espressif/esp-idf!17035
2022-02-10 07:05:59 +00:00
Anton Maklakov
3a04b712fa
Merge branch 'bugfix/fix_abs_using' into 'master'
...
build: fix abs() use
See merge request espressif/esp-idf!16952
2022-02-10 05:18:32 +00:00
Darian
61639fe1ec
Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
...
FreeRTOS: Remove usage of legacy data types
Closes IDF-4566
See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Jiang Jiang Jian
cca2234619
Merge branch 'feature/pmf_support_for_softAP' into 'master'
...
esp_wifi: Add pmf support for softAP.
Closes WIFI-1353
See merge request espressif/esp-idf!14906
2022-02-10 04:17:00 +00:00
ChenJianxing
9909c4a3dc
esp_phy: fix esp32s2 sar2 init no cal and bbpll cal fail
2022-02-10 11:56:37 +08:00
Song Ruo Jing
40d1102ca5
Merge branch 'bugfix/cpu_reset_perip_clk_disable' into 'master'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison
See merge request espressif/esp-idf!15492
2022-02-10 03:44:15 +00:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
aditi_lonkar
a8de305620
esp_wifi: Add softap pmf support for 8684.
2022-02-09 19:00:18 +05:30
aditi_lonkar
c3a661c0fd
esp_wifi: Add pmf support for softAP.
2022-02-09 18:58:37 +05:30
morris
5810ed1d04
Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
...
esp_rom: remove ets_sys.h dependency from public header files
See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
Martin Vychodil
c143090109
Merge branch 'bugfix/driver_sdmmc_host_disable' into 'master'
...
driver: disable sdmmc in cmake based on soc_caps
Closes IDF-613
See merge request espressif/esp-idf!17069
2022-02-09 11:33:24 +00:00
songruojing
c1dedb33fa
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
2022-02-09 15:54:34 +08:00
morris
5893797bf0
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap' into 'master'
...
rmt: rx wrap doesn't support on esp32s2
Closes IDFGH-6725
See merge request espressif/esp-idf!17052
2022-02-09 06:54:41 +00:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
yuanjm
7f1cba9912
esp_http_server: Websocket CLOSE frame can support callback function
...
Closes https://github.com/espressif/esp-idf/issues/7493
2022-02-09 10:15:36 +08:00
Marius Vikhammer
d57dce5b0e
gpio: update gpio sleep workaround config name
2022-02-09 09:27:27 +08:00
Ivan Grokhotkov
01dd2dd45d
driver: disable sdmmc in cmake based on soc_caps
2022-02-08 21:22:36 +01:00
Kapil Gupta
9b38b15180
wpa_supplicant: Fix invalid memory dereference
2022-02-08 23:08:51 +08:00
morris
9bc2dd0b53
Merge branch 'fix/update_documentation_for_ds_apis' into 'master'
...
Digital Signature (ds):) Update the documentation for ds APIs
Closes IDFGH-6600
See merge request espressif/esp-idf!16997
2022-02-08 10:23:34 +00:00
Roland Dobai
52bdfa6c74
Merge branch 'feature/enable-fat16' into 'master'
...
Enable FAT16 for FATFS generator
Closes IDF-4046
See merge request espressif/esp-idf!16283
2022-02-08 09:05:09 +00:00
morris
955cb4c656
Merge branch 'bugfix/perfmon_copyright_headers' into 'master'
...
perfmon: add SDPX headers
See merge request espressif/esp-idf!17030
2022-02-08 08:38:49 +00:00
Jiang Jiang Jian
ff6b863736
Merge branch 'bugfix/fix_common_clock_bug' into 'master'
...
esp_wifi: fix common clock bug
See merge request espressif/esp-idf!16964
2022-02-08 07:23:16 +00:00
Darian
a00117cb7f
Merge branch 'refactor/freertos_macro_selection' into 'master'
...
freertos: Add CHOOSE_MACRO_VA_ARG selector
See merge request espressif/esp-idf!16904
2022-02-08 06:48:14 +00:00
morris
9887c7e780
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-08 13:57:31 +08:00
Mahavir Jain
79d95455de
Merge branch 'contrib/github_pr_8337' into 'master'
...
Set success when closing socket (GitHub PR)
Closes IDFGH-6709
See merge request espressif/esp-idf!17022
2022-02-08 04:41:26 +00:00
morris
35ad282b5d
Merge branch 'bugfix/spi_flash_unused_variable_warning' into 'master'
...
spi_flash: fix unused variable warning with SPI_FLASH_DANGEROUS_WRITE_ALLOWED
Closes IDFGH-6700
See merge request espressif/esp-idf!17020
2022-02-08 03:53:06 +00:00
Armando (Dou Yiwen)
579bd2cd44
Merge branch 'feature/adc_calibration_version_2_on_c3' into 'master'
...
adc: upgrade adc calibration algorithm to version 2 on c3
Closes IDF-4557
See merge request espressif/esp-idf!16876
2022-02-08 03:45:24 +00:00
Marius Vikhammer
0ffeaf9350
Merge branch 'feature/confgen_rename_many_to_one' into 'master'
...
kconfig: update confgen to handle sdkconfig.rename with target specific markup
Closes IDF-4544
See merge request espressif/esp-idf!16949
2022-02-08 02:38:22 +00:00
Marius Vikhammer
6895a662aa
Merge branch 'bugfix/pm_trace' into 'master'
...
freertos: add pm_trace header include
Closes IDF-4637
See merge request espressif/esp-idf!17039
2022-02-08 01:47:41 +00:00
Martin Gaňo
f3425dea96
fatfsgen.py: enabled automatic detection of the FATFS type for FAT12 and FAT16
2022-02-07 17:22:58 +01:00
Darian Leung
c5fd79547a
freertos: Add CHOOSE_MACRO_VA_ARG selector
...
This commit adds a CHOOSE_MACRO_VA_ARG() selector to allow selection between two
versions of a macro based on the number of arguments. This replaces the previous
portGET_ARGUMENT_COUNT() selector.
- portYIELD_FROM_ISR() now uses CHOOSE_MACRO_VA_ARG()
- portYIELD_FROM_ISR(arg) version added to risc-v port
- Old vPortEvaluateYieldFromISR() and portGET_ARGUMENT_COUNT removed
2022-02-07 20:01:11 +08:00
Mahavir Jain
e97b034b3e
transport_ssl: use return value from close
for non-TLS case
...
Also fix copyright header for this file
2022-02-07 17:17:16 +05:30
Dániel Buga
2ffa82a397
Set success when closing socket
...
Closes https://github.com/espressif/esp-idf/pull/8337
Closes IDFGH-6709
2022-02-07 17:16:36 +05:30
Alex Lisitsyn
6ddf2ea05e
Merge branch 'bugfix/tinyusb_fix_idfgh6508' into 'master'
...
tinyusb: fix idfgh-6508: return type in tu_fifo_peek_n()
See merge request espressif/esp-idf!16858
2022-02-07 10:43:16 +00:00
Ivan Grokhotkov
d3f1867725
Merge branch 'bugfix/apptrace_copyright_headers' into 'master'
...
app_trace: add SPDX headers, mention SystemView in copyrights doc
See merge request espressif/esp-idf!17029
2022-02-07 10:38:58 +00:00
Marius Vikhammer
0fc8ede204
freertos: add pm_trace header include
2022-02-07 17:44:33 +08:00
Ivan Grokhotkov
45ffbd0150
Merge branch 'contrib/github_pr_8338' into 'master'
...
unity: Better readline for interactive test menu (GitHub PR)
Closes IDFGH-6708
See merge request espressif/esp-idf!17021
2022-02-07 09:37:32 +00:00
David Čermák
95c3f96801
Merge branch 'bugfix/wundef_wsign_compare' into 'master'
...
esp_netif: Fix -Wundef issues with esp_netif.h (GitHub PR)
Closes IDFGH-6598
See merge request espressif/esp-idf!16801
2022-02-07 09:03:52 +00:00
xiewenxiang
8ecc8cf40a
component/bt: check the ble ext adv parameters
2022-02-07 16:10:50 +08:00
Ivan Grokhotkov
e27679b636
perfmon: add SDPX headers
2022-02-07 08:02:13 +00:00
Aditya Patwardhan
bb7be628a0
Digital Signature (ds):) Update the documentation for esp_ds_sign and
...
esp_ds_start_sign with additional information.
ii) Updated the DS docs for signature calculation.
Closes https://github.com/espressif/esp-idf/issues/8242
2022-02-07 12:44:06 +08:00
Armando
2f874dbf10
adc: upgrade adc calibration algorithm to version 2 on c3
2022-02-07 12:12:25 +08:00
Marius Vikhammer
ca6f76d831
spi flash: fix cache accessed while disabled issues at -O0
...
mask_get_id and gpio_hal_iomux_func_sel were called while cache
is disabled, but were not inlined as expected at -0O.
Force these functions to always be inlined.
2022-02-07 11:33:33 +08:00
Marius Vikhammer
8220b2bb34
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-02-07 11:32:45 +08:00
Dmitry Koptsov
57716e3d86
I2C: Fix I2C Master operation with repeated start condition
...
* Closes https://github.com/espressif/esp-idf/pull/8353
2022-02-07 10:58:13 +08:00
Mahavir Jain
4c6d72ba90
Merge branch 'bugfix/esp32c3_sysview_examples_build_error' into 'master'
...
riscv: fix portSTACK_GROWTH redefinition error
See merge request espressif/esp-idf!17011
2022-02-05 05:43:05 +00:00
Michael (XIAO Xufeng)
c1b30491dd
Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
...
UART: add uart wakeup event for esp32c3 and esp32s3
Closes IDF-3416
See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
gabsuren
6c26d65203
websocket: Added configs reconnect_timeout_ms
and network_timeout_ms
...
Closes https://github.com/espressif/esp-idf/issues/8263
2022-02-04 04:07:31 +08:00
Ivan Grokhotkov
4cedf84626
app_trace: add SPDX headers, mention SystemView in copyrights doc
...
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-03 17:44:59 +01:00
Erhan Kurubas
88889e2f88
esp32c3: fix portSTACK_GROWTH redefinition error
2022-02-03 14:55:49 +01:00
MacDue
ef25590277
unity: unity_gets remove unnecessary UINT8_MAX clamp + extra comments
2022-02-03 10:09:32 +00:00
Darian Leung
1c60d6a895
freertos: Add SPDX license identifiers and update xtensa port files
...
This commit does the following:
- Adds SPDX license identifiers to FreeRTOS sources. Remove those FreeRTOS sources from
the copyright ignore list.
- Update xtensa port files to match FreeRTOS v10.4.3. Added SPDX license identifiers
to the port files.
- Fixed some improperly licensed files
- Removed portbenchmark.h from RISC-V port
2022-02-03 17:08:14 +08:00
Darian Leung
3336b057d6
xtensa: Move saving of a0 register to match upstream
...
Upstream xtensa exception handling will save PS, PC, and a0 registers
together when saving a minimal context. This commit ppdates the xtensa
exception handling to match upstream behavior.
2022-02-03 17:08:14 +08:00
Mahavir Jain
98a74e431c
spi_flash: fix unused variable warning with SPI_FLASH_DANGEROUS_WRITE_ALLOWED
...
Closes https://github.com/espressif/esp-idf/issues/8329
Closes IDFGH-6700
2022-02-03 09:52:06 +05:30
MacDue
f19f43dce1
unity: Better readline for interactive test menu
...
This commit replaces the use of esp_rom_uart_rx_string() with
a new simple readline function that supports echoing back
the input, along with backspaces.
2022-02-02 13:39:19 +00:00
Mahavir Jain
68f67db984
Merge branch 'feature/efuse_esp8684' into 'master'
...
efuse(esp32c2): Support eFuse key APIs
Closes IDF-3818
See merge request espressif/esp-idf!16290
2022-02-01 11:30:00 +00:00
KonstantinKondrashov
ebdc52d4e2
efuse(esp32c2): Support eFuse key APIs
2022-02-01 17:30:31 +08:00
Mahavir Jain
db58d00d64
Merge branch 'bugfix/ds_gen_test_cases_fix' into 'master'
...
ds: update gen_digital_signature_tests.py to handle different max key sizes
Closes IDFGH-6601
See merge request espressif/esp-idf!16915
2022-02-01 04:25:32 +00:00
Laukik Hase
db914d6272
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-01-31 15:03:54 +05:30
Marius Vikhammer
4a3f50faa0
ds: update gen_digital_signature_tests.py to handle different max key sizes
...
Max key size is now decided by target parameter, and related parameters are
no longer hard coded.
Closes https://github.com/espressif/esp-idf/issues/8243
2022-01-31 12:22:10 +08:00
Marius Vikhammer
23c55946a6
kconfig: also parse target specific sdkconfig.rename.TARGET files
...
Adds functionality for target specific sdkconfig.rename files which can be
used when certain renames are only needed for a specific target.
2022-01-31 11:36:08 +08:00
Jakob Hasse
e899edd793
Merge branch 'bugfix/nvs_coverity_issues' into 'master'
...
bugfix (nvs): Fixed issues found by Coverity
Closes IDF-4391
See merge request espressif/esp-idf!16951
2022-01-29 21:52:18 +00:00
Anton Maklakov
8bb06df68f
components: correct abs() use for unsigned and 64-bit arguments
2022-01-29 12:07:16 +07:00
Shu Chen
095fb1afc1
Merge branch 'feature/ot-multicast-routing' into 'master'
...
openthread: enable 1.2 multicast routing
See merge request espressif/esp-idf!16943
2022-01-28 15:43:04 +00:00
Anton Maklakov
7cdd151612
Merge branch 'bugfix/nocommon' into 'master'
...
enable and fix warnings on common symbols
Closes IDFGH-3055 and IDF-3013
See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
aleks
25578cc926
set to esp-based_on_9e992698
2022-01-28 12:23:56 +00:00
Sudeep Mohanty
1c393a32c4
Merge branch 'refactor/refactor_ulp_component' into 'master'
...
ulp: refactor ulp component
Closes IDF-4520
See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
Konstantin Kondrashov
7f1dc675ae
Merge branch 'feature/clean_up_fe_sb_in_bootloader_for_esp32h2' into 'master'
...
bootloader_support: Removes old code of SB and FE for esp32h2
See merge request espressif/esp-idf!16935
2022-01-28 09:44:16 +00:00
David Čermák
5dcd630444
Merge branch 'feature/dhcps_more_client_info' into 'master'
...
lw-IP: Add more client's infor to dhcp server cb
Closes IDFGH-5839
See merge request espressif/esp-idf!16433
2022-01-28 07:31:32 +00:00
Kapil Gupta
096fe163ca
Merge branch 'bugfix/wps_scan_resumption' into 'master'
...
wpa_supplicant: Scan resumption in PBC mode
Closes WIFI-4313
See merge request espressif/esp-idf!16912
2022-01-28 06:00:12 +00:00
Kapil Gupta
f57ccaabee
esp_example: Enable MbedTLS for DPP enrollee by default
2022-01-28 13:53:39 +08:00
morris
9f893130ad
Merge branch 'feature/lcd_i2c_oled_example' into 'master'
...
lcd: add i2c oled example
See merge request espressif/esp-idf!16506
2022-01-28 04:07:34 +00:00
morris
0f11a17678
Merge branch 'docs/add_cb_to_ledc_rst' into 'master'
...
ledc: Mention source clock and fade end callback in LEDC API reference
Closes IDFGH-5637 and IDF-3293
See merge request espressif/esp-idf!14683
2022-01-28 03:12:10 +00:00
Ivan Grokhotkov
05b644ec50
Merge branch 'bugfix/twai_isr_iram' into 'master'
...
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2
See merge request espressif/esp-idf!16881
2022-01-27 22:14:05 +00:00
Jakob Hasse
4c8c2a8079
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-01-27 19:30:58 +08:00
liuning
2a8c8686ac
esp_wifi: fix common clock bug
2022-01-27 19:21:48 +08:00
songruojing
31f9a69454
ledc: Update LEDC programming guide
...
Add source clock in timer config
Add fade end callback and ledc_fade_stop usage
Explain ledc_fade_mode_t difference and limitation
2022-01-27 19:13:53 +08:00
Ivan Grokhotkov
84d11d1c3e
Merge branch 'refactor/nvs_remove_mbedtls_dep' into 'master'
...
NVS: removed mbedtls as default dependency
Closes IDF-2085
See merge request espressif/esp-idf!16324
2022-01-27 10:17:42 +00:00
Jiacheng Guo
a271753a6a
openthread: enable 1.2 multicast routing
...
This MR enables Thread 1.2 Backbone Border Router(BBR) feature and
multicast routing.
2022-01-27 15:22:27 +08:00
Sudeep Mohanty
2fc9bd61bf
ulp: refactor ulp component
...
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.
This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Anton Maklakov
85462d17a5
components/bt: move deinit_semaphore definition to source file
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
9a7d9b59c1
usb: mark global variable declared in header 'extern'
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
67c52657cf
bluedroid: mark dequant_long_* as extern variables
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
20286b37b2
blufi: remove duplicate definition of blufi_env
...
Keeping the single definition in blufi_prf.c
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
f770cf721a
fatfs: make global constants extern
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
771f5d32eb
tinyusb: removed set-but-never-used global variable tusb_desc_set
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
336d0b64de
riscv: fix panic_reasons being an instance of enum, not type name
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
d4190a9471
wpa_supplicant: mark global variables defined in headers 'extern'
...
...to avoid defining common symbols.
GCC since version 10 defaults to -fno-common and doesn't generate
common symbols, leading to duplicate definitions of these symbols.
2022-01-27 11:00:09 +07:00
Konstantin Kondrashov
c4d91581ca
Merge branch 'bugfix/efuse_timesettings_for_esp32s3' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32S3
See merge request espressif/esp-idf!16907
2022-01-26 09:33:39 +00:00
Jakob Hasse
1d4061d3f2
refactor (nvs_flash)!: removed mbedtls as default dependency
...
mbedtls is only required in NVS if NVS encryption is enabled.
Hence the mbedtls dependency is now only added if encryption
is enabled, otherwise it is not added.
BREAKING CHANGE: Removed mbedtls as default dependency
2022-01-26 17:32:23 +08:00
KonstantinKondrashov
f761cee32e
bootloader_support: Removes old code of SB and FE for esp32h2
2022-01-26 15:21:20 +08:00
David Cermak
05911fd4a1
lwip: Add dhcp servers post processing hook
...
In order to access DHCP messages from clients in different states
and possibly to implement custom handlers that alter the current state,
e.g. reject a client with specific hostname using NAK.
2022-01-26 07:18:48 +01:00
Song Ruo Jing
3821a09f83
Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
...
ledc: Bugfixes for issues related to fade protection on ESP32
Closes IDFGH-4918 and IDFGH-5565
See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
Omar Chebib
08b1d7544b
Merge branch 'breaking/remove_custom_uart_isr' into 'master'
...
UART & I2C: remove custom ISR registration function
See merge request espressif/esp-idf!16798
2022-01-26 03:54:14 +00:00
Wu Zheng Hui
76614e39ca
Merge branch 'bugfix/fix_console_linenosie' into 'master'
...
console: fix console stuck in auto test
See merge request espressif/esp-idf!16913
2022-01-26 03:28:39 +00:00
Zim Kalinowski
67f51a4ce5
Merge branch 'bugfix/riscv_i2c_description' into 'master'
...
i2c: fix the controller count in the header description
Closes IDFGH-6476
See merge request espressif/esp-idf!16718
2022-01-26 03:13:07 +00:00
KonstantinKondrashov
45d2d2470b
efuse: Fixes eFuse timesettings issue on esp32S3
2022-01-25 22:09:14 +08:00
Jiang Jiang Jian
3fa37be643
Merge branch 'ci/split_assign_test_and_add_c3_integration_test' into 'master'
...
ci: split assign test and add esp32c3 integration tests
See merge request espressif/esp-idf!16664
2022-01-25 13:06:06 +00:00
Mahavir Jain
0027483e93
Merge branch 'feature/mbedtls-2.28.0' into 'master'
...
mbedtls: Upgrading to v2.28.0
Closes IDFGH-6478
See merge request espressif/esp-idf!16568
2022-01-25 12:41:19 +00:00
KonstantinKondrashov
3a23340e40
bootloader_support: Support eFuse key APIs in SB and FE
2022-01-25 20:25:39 +08:00
David Cermak
e3d71c984a
lwip: Add client's MAC addr to dhcp server cb
...
* Extended storage for staipassigned events to pass client's MAC address.
* Added client's MAC to dhcp server callback
* Posting the staipassigned events with clients IP and MAC address
2022-01-25 13:08:43 +01:00
Roland Dobai
019be31a6c
Merge branch 'feat/tools_monitor_console_baud' into 'master'
...
Tools: IDF Monitor follows the UART console baud rate by default
Closes IDF-1866
See merge request espressif/esp-idf!16878
2022-01-25 11:17:56 +00:00
Kapil Gupta
dfb60c0436
wpa_supplicant: Scan resumption in PBC mode
2022-01-25 16:41:51 +05:30
laokaiyao
c4cfb654d2
uart: support light sleep on esp32s3
2022-01-25 17:43:02 +08:00
Chen Wu
35941de800
debug: esp32c3 uart1 wakeup
2022-01-25 17:43:02 +08:00
Chen Yi Qun
56e9920958
uart: add wakeup event for esp32c3
2022-01-25 17:43:02 +08:00
Ivan Grokhotkov
0ebf93c01e
Merge branch 'bugfix/linux_taret_fixes' into 'master'
...
linux target: various minor fixes
See merge request espressif/esp-idf!16905
2022-01-25 08:43:38 +00:00
wuzhenghui
ee532d55c5
fix console stuck in auto test
2022-01-25 16:19:35 +08:00
Omar Chebib
473974c8f6
UART & I2C: remove custom ISR registration function
...
Breaking change for v5.0: custom UART ISR and I2C ISR cannot be installed anymore.
2022-01-25 14:46:43 +08:00
Laukik Hase
424c45df91
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
2022-01-25 10:51:27 +05:30
Laukik Hase
befc93aa2d
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-01-25 10:51:27 +05:30
Laukik Hase
09de379731
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-01-25 10:51:27 +05:30
Laukik Hase
76a29cd68d
wpa_supplicant: Saved message-type digest used in handshake for PRF operations
2022-01-25 10:51:27 +05:30
Laukik Hase
8bf7882e84
mbedtls: Moved mbedtls_mpi_mul_int to port layer
2022-01-25 10:51:27 +05:30
Laukik Hase
285790e5aa
mbedtls: Added config options for v2.28.0 upgrade
2022-01-25 10:51:27 +05:30
Laukik Hase
547d5f84b8
mbedtls: Upgrade to v2.28.0
2022-01-25 10:51:27 +05:30
Mahavir Jain
34c21cb693
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_when_image_invalid' into 'master'
...
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
Closes IDFGH-6633
See merge request espressif/esp-idf!16906
2022-01-25 04:23:56 +00:00
Chen Yudong
dd4f27801f
ci: move integration test related files outside of components
2022-01-25 11:49:55 +08:00
Chen Yudong
151d8cdcd2
ci: split assign tests
2022-01-25 11:49:53 +08:00
Mahavir Jain
c4ddfc9f06
Merge branch 'bugfix/efuse_timesettigs_in_burn_op' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32c3
Closes FCS-849
See merge request espressif/esp-idf!16885
2022-01-25 03:44:51 +00:00
songruojing
68e12f7092
ledc: Add ledc_fade_stop API to support stopping the fade operation.
...
Note that ESP32 cannot support this new feature.
2022-01-25 11:19:20 +08:00
songruojing
be2ab09832
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
2022-01-25 11:19:10 +08:00
morris
cf9a7d8509
Merge branch 'example/pytest_for_component_ut' into 'master'
...
Example/pytest for component ut
See merge request espressif/esp-idf!16234
2022-01-25 02:34:34 +00:00
David Čermák
a4e54e5b06
Merge branch 'feature/mdns_null_value_txt' into 'master'
...
mdns: Support for null-value TXT records
Closes IDFGH-6624
See merge request espressif/esp-idf!16887
2022-01-24 18:29:52 +00:00
KonstantinKondrashov
4eef5fd36f
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
...
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 02:16:18 +08:00
Ivan Grokhotkov
f18d16d5e6
esp_common: don't generate custom sections when building for Linux
...
When building for Linux, a standard linker script is used. Ignore
all attributes related to custom sections.
2022-01-24 18:53:12 +01:00
Ivan Grokhotkov
f72ce6720d
linux: add dummy sys/lock.h implementation (single threaded only)
...
Useful for building IDF code which relies on the legacy locking
functions from newlib.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
7830af1eb9
partition_table: allow enabling this component for Linux target
...
Currently partition_table_bin target is not added as a dependency
when building Linux app, and has to be specified manually
(idf.py partition-table).
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
fd1c213be4
esp_rom: support building for Linux target with Clang
...
This fixes passing -Wimplicit-fallthrough=0 flag to Clang, which it
doesn't recognize, and is not necessary for this file.
Also the flag is changed from PUBLIC to PRIVATE since it is necessary
when compiling this component only.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
e7e059cc0a
linux: allow "sys/queue.h" to be used on macOS
...
macOS and other BSD-like systems have <sys/queue.h> header. Fall back
to it if bsd/sys/queue.h (provided on Linux by libbsd) is not found.
2022-01-24 18:51:40 +01:00
Roland Dobai
36a4011ff8
Tools: Custom baud-rate setup is not possible for IDF Monitor from menuconfig anymore
...
IDF Monitor follows the console baud rate by default. Other baud rate
can be set from command line by "idf.py monitor -B <baud>" or through
environment variables. Run "idf.py monitor --help" for more information.
2022-01-24 18:13:38 +01:00
Roland Dobai
aedb846a20
Tools: IDF Monitor follows the UART console baud rate by default
2022-01-24 18:13:38 +01:00
David Čermák
4a3d0525f2
Merge branch 'update/mqtt_refs' into 'master'
...
mqtt: Fix sending log data; dup flag after queue
See merge request espressif/esp-idf!16874
2022-01-24 15:04:21 +00:00
songruojing
e175086226
ledc: Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
2022-01-24 19:36:13 +08:00
David Cermak
6aefe9c185
mdns: Use memcpy() for copy to support non-text TXTs
2022-01-24 12:27:26 +01:00
David Cermak
23c2db406d
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
2022-01-24 12:27:26 +01:00
morris
2ab7d92785
lcd: improve LL driver according to TRM
2022-01-24 18:58:37 +08:00
morris
1938d7c006
log: skip unused tag string wanring in esp_check.h
2022-01-24 18:45:46 +08:00
Fu Hanxi
62a397a9b5
ci: add flaky test
2022-01-24 16:37:23 +08:00
Fu Hanxi
a801555299
ci: replace all component ut with pytest-embedded
2022-01-24 16:37:23 +08:00
David Čermák
faf0f61cdb
Merge branch 'bugfix/mdns_txt_alloc_issue' into 'master'
...
mdns: Fix alloc issue if TXT has empty value
See merge request espressif/esp-idf!16888
2022-01-21 18:22:38 +00:00
David Cermak
205f6ba854
mdns: Fix alloc issue if TXT has empty value
2022-01-21 14:18:22 +01:00
Ivan Grokhotkov
e090b6b031
Merge branch 'bugfix/semihosting_vfs_asm' into 'master'
...
xtensa: fix semihosting arguments potentially begin optimized out
See merge request espressif/esp-idf!16880
2022-01-21 10:28:19 +00:00
KonstantinKondrashov
4ede9aaa26
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-21 16:45:50 +08:00
Alex Lisitsyn
2cad565781
Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict' into 'master'
...
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)
See merge request espressif/esp-idf!12162
2022-01-21 05:18:01 +00:00
Alex Lisitsyn
e9cdb3e0d3
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)
2022-01-21 05:18:00 +00:00
morris
24e6fdf3c6
lcd: add i2c oled example with lvgl port
2022-01-21 11:21:38 +08:00
morris
dcee019311
Merge branch 'feature/rgb_panel_example' into 'master'
...
lcd: add rgb panel example
Closes IDF-4429
See merge request espressif/esp-idf!16459
2022-01-21 03:06:04 +00:00
Marius Vikhammer
cbe23087fc
Merge branch 'feature/ulp_stop' into 'master'
...
ULP: add functions for stopping/restarting the ulp-riscv
Closes IDFGH-6588
See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
Ivan Grokhotkov
2ebde60cbb
hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2
2022-01-20 22:24:27 +01:00
Ivan Grokhotkov
355b501126
driver: show TWAI config menu only if TWAI is supported
2022-01-20 22:23:45 +01:00
Ivan Grokhotkov
aeed91b589
xtensa: fix semihosting arguments potentially begin optimized out
...
The compiler was not informed that the assembly block should be
treated as a memory barrier and could optimize out the initialization
of local arrays which could be used as semihosting arguments.
This resulted in garbage values being passed as semihosting call
arguments.
Additionally this commit changes the approach for placing values into
specific register. Instead of clobbers, local register variables are
used. This results in simpler generated code, since the compiler is
able to place values directly into the registers used for semihosting
arguments, avoiding additional moves.
2022-01-20 19:48:05 +01:00
morris
821634b24e
lcd: add rgb panel example
2022-01-20 22:09:23 +08:00
morris
0e15844706
lcd: alloc framebuffer in alignment
2022-01-20 22:06:02 +08:00
morris
8ea1c12d80
lcd: split gpio check for de and hv mode
2022-01-20 22:06:02 +08:00
David Cermak
2d4cd7772e
mqtt: Fix sending log data; dup flag after queue
...
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6
Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
- See merge request espressif/esp-mqtt!111
- ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c )
* Client: Remove usage of legacy FreeRTOS types
- See merge request espressif/esp-mqtt!120
- ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d )
- See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
- See merge request espressif/esp-mqtt!117
- Closes https://github.com/espressif/esp-mqtt/issues/214
- See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
- See merge request espressif/esp-mqtt!116
- See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-01-20 12:58:55 +01:00
Simon
e04d4ac2b5
Merge branch 'bugfix/remove_usb_check' into 'master'
...
usb_serial_jtag: remove the strict condition check in esp_phy
See merge request espressif/esp-idf!16857
2022-01-20 10:48:33 +00:00
David Čermák
af221101db
Merge branch 'bugfix/mdns_service_instance_crash' into 'master'
...
mdns: Fix random crash when defalt service instance queried
Closes IDFGH-6606
See merge request espressif/esp-idf!16850
2022-01-20 08:27:46 +00:00
David Čermák
d7d22ef0fd
Merge branch 'bugfix/fix_tcp_transport_exeception' into 'master'
...
tcp_transport: fix tcp trasnport exception
See merge request espressif/esp-idf!16793
2022-01-20 06:48:07 +00:00
Marius Vikhammer
ff6f927b5f
ULP: add functions for stopping/restarting the ulp-riscv
...
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
Michael (XIAO Xufeng)
81b92af5cf
Merge branch 'bugfix/adc2_cal_assert_arbiter_failed' into 'master'
...
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration
See merge request espressif/esp-idf!16836
2022-01-19 15:55:07 +00:00
xutao
e794786c74
tcp_transport: fix tcp transport execption pointer
2022-01-19 13:44:20 +01:00
Cao Sen Miao
bf8ea223ac
usb_serial_jtag: remove the strict condition check in esp_phy
2022-01-19 19:08:35 +08:00
Kevin (Lao Kaiyao)
bf8d4d55d0
Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
...
esp8684: rename esp8684 to esp32c2
Closes IDF-4530
See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
Wu Zheng Hui
1415106db2
Merge branch 'feature/memory_layout_config_for_esp8684' into 'master'
...
heap_init: Adjust the stack/DRAM region size for ESP8684
See merge request espressif/esp-idf!16725
2022-01-19 08:57:55 +00:00
Wang Qi Xiang
41640e2e03
heap_init: Adjust the stack/DRAM region size for ESP8684
2022-01-19 08:57:54 +00:00
laokaiyao
a8ab869a84
i2s: fix mclk stop issue when setting clock
2022-01-19 11:52:09 +08:00
Jiang Jiang Jian
b35a66e173
Merge branch 'bugfix/btdm_fix_common_symbols' into 'master'
...
components/bt: avoid defining common symbols in libbtdm_app.a of ESP32
See merge request espressif/esp-idf!16810
2022-01-19 03:30:08 +00:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
lovyan03
8bb95150bf
sdspi_host: bugfix The clock may be sent out before the bus that was used immediately before is released.
...
Merges https://github.com/espressif/esp-idf/pull/7710
2022-01-18 21:07:10 +00:00
David Cermak
f46dffca62
mdns: Fix random crash when defalt service instance queried
...
Merges https://github.com/espressif/esp-idf/pull/8248
2022-01-18 17:15:35 +01:00
songruojing
5f6a128b64
tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY
2022-01-18 22:44:05 +08:00
David Čermák
004c02b8bd
Merge branch 'contrib/github_pr_8164' into 'master'
...
Replace lwIP byte order functions with built-in functions (GitHub PR)
Closes IDFGH-6512
See merge request espressif/esp-idf!16627
2022-01-18 12:35:12 +00:00
Ivan Grokhotkov
187e6ff66f
Merge branch 'bugfix/config_desc_total_length' into 'master'
...
Bugfix: make wTotalLength uint16_t to avoid truncation
See merge request espressif/esp-idf!16833
2022-01-18 10:45:55 +00:00
Ivan Grokhotkov
76c7fd6664
Merge branch 'contrib/github_pr_7754' into 'master'
...
Fix infinite recursion in FLAG_ATTR operator (GitHub PR)
Closes IDFGH-6073
See merge request espressif/esp-idf!16631
2022-01-18 10:30:25 +00:00
David Čermák
0fa3c5b331
Merge branch 'bugfix/mqtt_docs_custom_outbox' into 'master'
...
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implementation
Closes IDFGH-6554
See merge request espressif/esp-idf!16828
2022-01-18 09:39:35 +00:00
Sudeep Mohanty
d4db7aeabf
Merge branch 'feature/ulp_riscv_support_for_esp32s3' into 'master'
...
ulp: Added ULP RISC-V support for esp32s3
Closes IDF-1833
See merge request espressif/esp-idf!16549
2022-01-18 09:04:14 +00:00
Marius Vikhammer
6566c1f394
Merge branch 'bugfix/rsa_gen_key_test' into 'master'
...
mpi: reduce RSA generate key test key size
See merge request espressif/esp-idf!16837
2022-01-18 08:53:15 +00:00
morris
a416b13d4c
Merge branch 'bugfix/unused_tag_string_warnings' into 'master'
...
Fix build warnings when CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is set to true
Closes IDFGH-6608
See merge request espressif/esp-idf!16827
2022-01-18 05:57:52 +00:00
Sudeep Mohanty
2ed15d8b1e
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Michael (XIAO Xufeng)
403577e3ff
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration
...
Issue exist since first IDF version supporting ESP32-S2.
2022-01-18 12:26:55 +08:00
Marius Vikhammer
90ad86e0d8
Merge branch 'feature/more_aes_gcm_test' into 'master'
...
AES: improve AES-GCM test coverage.
See merge request espressif/esp-idf!16792
2022-01-18 02:19:52 +00:00
Marius Vikhammer
b9415373d3
mpi: reduce RSA generate key test key size
...
Reduce key size to make the test run faster in CI, reduce the chance of timeouts.
2022-01-18 10:06:38 +08:00
morris
a298e44b33
gptimer: added a section to describe the thread safety
2022-01-18 10:06:26 +08:00
morris
608a1dc237
driver: place iram functions by linker generator
2022-01-18 10:06:26 +08:00
morris
e51474ef70
build: fix unused tag string
...
Closes https://github.com/espressif/esp-idf/issues/8250
2022-01-18 10:06:08 +08:00
Zim Kalinowski
d0890037c5
Merge branch 'feature/esp_ipc_isr_init_in_ipc_task' into 'master'
...
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
See merge request espressif/esp-idf!16495
2022-01-18 00:54:37 +00:00
David Čermák
9fc95216da
Merge branch 'contrib/github_pr_8103' into 'master'
...
mdns: Fix mDNS memory leak
Closes IDFGH-6448
See merge request espressif/esp-idf!16701
2022-01-17 14:56:45 +00:00
Martin Valik
022fc12ed1
Bugfix: make wTotalLength uint16_t to avoid truncation
2022-01-17 13:43:37 +01:00
David Cermak
c9794ad08f
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implentation
...
Closes https://github.com/espressif/esp-mqtt/issues/217
2022-01-17 10:47:59 +01:00
David Cermak
fad62cc1ed
mdns: Fix minor memory leaks when creating services
2022-01-17 08:31:16 +01:00
David Čermák
124b5f5245
Merge branch 'feature/mdns_unicast_query_api' into 'master'
...
mdns: Allow for unicast PTR queries
Closes IDFGH-6263
See merge request espressif/esp-idf!16441
2022-01-17 06:54:32 +00:00
David Čermák
c45d34aea2
Merge branch 'bugfix/lwipopts_cleanup' into 'master'
...
lw-IP: Cleanup of config options and flags
Closes IDF-3594
See merge request espressif/esp-idf!15248
2022-01-17 06:46:27 +00:00
Otto Winter
eb29ee27ef
bugfix (esp_common): remove infinite recursion in FLAG_ATTR operator
...
Closes https://github.com/espressif/esp-idf/pull/7754
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-01-17 12:22:42 +08:00
wangmengyang
941165e380
components/bt: fix the definition of "le_scan_duplicate_option" to avoid defining common symbols
2022-01-17 10:46:00 +08:00
Cao Sen Miao
5bf739aef3
spi_flash: Add hint for explaining erase yield
2022-01-17 09:52:54 +08:00
Michael (XIAO Xufeng)
3ba47f1628
Merge branch 'test/remove_spi_flash_perf_thr' into 'master'
...
spi_flash_test: remove threshold from unit test
See merge request espressif/esp-idf!16803
2022-01-16 19:19:15 +00:00
Michael (XIAO Xufeng)
1cbf9506b2
spi_flash_test: remove threshold from unit test
2022-01-16 19:19:14 +00:00
Mahavir Jain
b149ff8dda
Merge branch 'bugfix/http_auto_redirect' into 'master'
...
esp_http_client: Added event for HTTP redirection
Closes IDFGH-6371
See merge request espressif/esp-idf!16753
2022-01-16 05:59:21 +00:00
Mahavir Jain
7b87ea2a15
Merge branch 'feature/expat_to_component_manager' into 'master'
...
Push out `expat` to idf-extra-components repository
Closes IDF-4546
See merge request espressif/esp-idf!16785
2022-01-16 05:49:36 +00:00
Martin Vychodil
f76d695aba
Merge branch 'feature/vfs_semihosting_c3' into 'master'
...
vfs: add support for semihosting on ESP32-C3
Closes IDF-2287
See merge request espressif/esp-idf!11890
2022-01-14 20:20:26 +00:00
Martin Vychodil
f01b9a583e
Merge branch 'bugfix/vfs_open_errno' into 'master'
...
vfs: don't overwrite errno by a hard coded ENOENT (Github PR)
Closes IDFGH-6378
See merge request espressif/esp-idf!16790
2022-01-14 17:23:07 +00:00
David Cermak
125c312552
mdns: Use multi/uni-cast types in API
2022-01-14 17:12:51 +00:00
David Cermak
7eeeb01ea7
mdns: Allow for unicast PTR queries
...
Adresses https://github.com/espressif/esp-idf/issues/7932
2022-01-14 17:12:51 +00:00
David Cermak
99dd8eedb1
mdns: Fix potential null deref for ANY query type
2022-01-14 17:12:51 +00:00
Ivan Grokhotkov
876f4d6a1c
vfs: add support for semihosting on ESP32-C3
2022-01-14 17:29:03 +01:00
David Cermak
5d7489eae4
lwip: Fix minor lwip dependency issue
...
Clean-up config option rename file
2022-01-14 16:41:38 +01:00
David Cermak
b597dbff7c
vfs: Warn aobut using deprecated select option
...
Add LWIP_USE_ONLY_LWIP_SELECT for compatibility, as the dependency may
break backward compatibility if LWIP_USE_ONLY_LWIP_SELECT=y.
2022-01-14 16:41:38 +01:00
David Cermak
cfc52bacbc
lwip: Cleanup lwipopts flags and options
...
* Removed unused and flags
* Fixed comments
* Order of flags lwip/esp-specific
* Used 1/0 logic for boolean flags
2022-01-14 16:41:38 +01:00
Scott Shawcroft
94ce8444fc
esp_netif: Fix -Wundef issues with esp_netif.h
...
Partially addresses https://github.com/espressif/esp-idf/pull/5179
2022-01-14 16:19:31 +01:00
Ivan Grokhotkov
bce69ab7c1
vfs: add test for errno value after 'open'
2022-01-14 13:34:22 +01:00
hörbert
71fe41d0e0
vfs: don't overwrite errno by a hard coded ENOENT
...
Calling "open" in CHECK_AND_CALL sets a perfectly correct errno.
There is no need to overwrite that with a value of ENOENT, since doing
so hides lower level errors like EIO.
Closes https://github.com/espressif/esp-idf/pull/8036
2022-01-14 13:34:21 +01:00
Ivan Grokhotkov
f010729e74
Merge branch 'contrib/esp_idf_github_pr_7413' into 'master'
...
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails (Github PR)
Closes IDFGH-5692
See merge request espressif/esp-idf!14972
2022-01-14 12:32:20 +00:00
morris
6050388f51
Merge branch 'feature/i80_lcd_psram_s3' into 'master'
...
lcd: i80 lcd can transfer framebuffer in PSRAM
Closes IDFGH-6426
See merge request espressif/esp-idf!16548
2022-01-14 06:36:08 +00:00
Mahavir Jain
833f8bf6fb
Merge branch 'bugfix/check_chip_id_at_start_ota' into 'master'
...
esp_https_ota: fix for checking chip id at start of OTA
Closes IDF-1724
See merge request espressif/esp-idf!16739
2022-01-14 04:14:01 +00:00
morris
a611b39254
lcd: update i80 lcd example to work with PSRAM
2022-01-14 11:35:34 +08:00
morris
070dc53e0b
lcd: i80 bus can transfer PSRAM buffer
...
Closes https://github.com/espressif/esp-idf/issues/8085
2022-01-14 11:03:50 +08:00
Marius Vikhammer
ef3724411e
AES: improve AES-GCM test coverage.
2022-01-14 10:55:06 +08:00
caixf
6c3b528917
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails
...
Closes https://github.com/espressif/esp-idf/pull/7413
2022-01-13 17:17:42 +01:00
KonstantinKondrashov
f49787ac9f
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
...
It helps to reduce the memory usage at startup.
Closes https://github.com/espressif/esp-idf/issues/8111
2022-01-13 21:28:08 +08:00
Omar Chebib
bb730292d4
i2c: fix the controller count in the header description
...
Closes https://github.com/espressif/esp-idf/issues/8133
2022-01-13 18:25:41 +08:00
Harshit Malpani
c0b796532b
esp_https_ota: fix for checking chip id at start of OTA
2022-01-13 15:20:26 +05:30
Shu Chen
991874ae43
Merge branch 'feature/lwip-ip6-input-hook' into 'master'
...
ladd ip6 input hook
See merge request espressif/esp-idf!16646
2022-01-13 07:21:15 +00:00
Armando (Dou Yiwen)
ebf7e811b1
Merge branch 'refactor/spiram_common_file' into 'master'
...
psram: abstract MMU/Cache and PSRAM hardware related code into lower layer on ESP32S2
Closes IDF-4328
See merge request espressif/esp-idf!16090
2022-01-13 05:49:34 +00:00
Jiacheng Guo
d6c4e2cb34
lwip: add ip6 input hook
...
The MR adds Kconfig options and a default weak implementation for the
lwIP ip6 input hook.
2022-01-13 12:23:38 +08:00
Armando
7240ad2b3a
psram: refactor spiram.c on esp32s2
2022-01-13 11:07:57 +08:00
Armando
9cf4126656
psram: add a ut for putting flash.text and rodata in psram
2022-01-13 11:07:57 +08:00
Ivan Grokhotkov
b83d249e61
Merge branch 'feature/cmake_time_t_automatic' into 'master'
...
newlib: auto-detect sizeof(time_t)
See merge request espressif/esp-idf!16682
2022-01-12 23:49:22 +00:00
Michael (XIAO Xufeng)
7fb3e06c69
Merge branch 'bugfix/adc_include_sdkconfig' into 'master'
...
adc: add explicit sdkconfig.h include
See merge request espressif/esp-idf!16746
2022-01-12 15:35:13 +00:00
Michael (XIAO Xufeng)
a2fc3629bd
adc: add explicit sdkconfig.h include
2022-01-12 15:35:12 +00:00
Armando (Dou Yiwen)
342c830d9b
Merge branch 'feature/support_spi_on_8684' into 'master'
...
spi: support spi on 8684
Closes IDF-4470 and IDF-4024
See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Hrudaynath Dhabe
190b31bb1b
Merge branch 'bugfix/eap_method_selection' into 'master'
...
esp_wifi: Fix the negotiation of method with eap server.
Closes IDFGH-6088
See merge request espressif/esp-idf!16246
2022-01-12 08:46:32 +00:00
Yuan Jian Min
9485873669
Merge branch 'bugfix/fix_smartconfig_setopt_fail' into 'master'
...
smartconfig: Fix smartconfig set socket option fail
Closes IDFGH-6539
See merge request espressif/esp-idf!16634
2022-01-12 06:16:47 +00:00
Laukik Hase
ca84d2d6c9
esp_http_client: Added event for HTTP redirect
...
- Allows users to manually intercept and process the HTTP redirection
when disable_auto_redirect (from the esp_http_client handle) is set to true
Closes https://github.com/espressif/esp-idf/issues/8029
2022-01-12 11:40:32 +05:30
Mahavir Jain
b08323c903
Push out expat
to idf-extra-components repository
...
This component will be used through IDF component manager.
2022-01-12 10:13:23 +05:30
Armando
6a74cb695d
spi: support spi on 8684
2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
d2b894862c
newlib: auto-detect sizeof(time_t)
...
To make the transition from 32-bit time_t to 64-bit time_t smoother,
detect the size of this type in CMake and remove the manual option in
Kconfig.
The information about 64-bit time_t support is moved from Kconfig help
string into the "system time" section of the API reference.
2022-01-11 19:01:21 +01:00
yuanjm
467a8726c4
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-11 22:01:17 +08:00
Mahavir Jain
fba8582da4
Merge branch 'feature/nghttp_sh2lib_component_manager' into 'master'
...
Push out nghttp and sh2lib to IDF component manager
Closes IDF-4529
See merge request espressif/esp-idf!16618
2022-01-11 13:45:59 +00:00
Ivan Grokhotkov
18af031791
Merge branch 'bugfix/rom_time_t_size_deps' into 'master'
...
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers
Closes IDFGH-6318
See merge request espressif/esp-idf!16679
2022-01-11 12:58:55 +00:00
David Čermák
8f476e586f
Merge branch 'bugfix/lwip_lowpan6_config' into 'master'
...
lw-ip: Prepare lwip CMake for 6LoWPAN options (GitHub PR)
Closes IDFGH-5731
See merge request espressif/esp-idf!14956
2022-01-11 09:09:08 +00:00
Omar Chebib
a07b3acf9a
Merge branch 'bugfix/coredump_data_section' into 'master'
...
espcoredump: fix a bug where tracked DRAM data were not dumped
Closes IDFGH-6498
See merge request espressif/esp-idf!16573
2022-01-11 07:43:25 +00:00
Jiang Jiang Jian
1d6f6044f8
Merge branch 'bugfix/support_esp32s2_eco1' into 'master'
...
ESP32S2: Support ESP32S2 ECO1
Closes WIFI-4227
See merge request espressif/esp-idf!16264
2022-01-11 07:12:25 +00:00
Kevin (Lao Kaiyao)
cc3adce8d7
Merge branch 'bugfix/i2s_return_error_code' into 'master'
...
i2s: revert the reading/writing can return timeout error
Closes IDFGH-6464
See merge request espressif/esp-idf!16546
2022-01-11 07:06:01 +00:00
Kevin (Lao Kaiyao)
7e36902ea7
Merge branch 'feature/peripherals_support_chip_specific_clock_frequency' into 'master'
...
ESP32H2: Fix the unit of apb frequency
Closes IDF-3614
See merge request espressif/esp-idf!15834
2022-01-11 06:21:17 +00:00
Mahavir Jain
77929ec0ac
docs/en: Add entry for http_parser in copyrights page
2022-01-11 10:26:25 +05:30
Mahavir Jain
e7db313c63
mqtt: replace nghttp with http_parser references
2022-01-11 10:26:25 +05:30
Mahavir Jain
8e94cf2bb1
Add http_parser (new component) dependency
2022-01-11 10:26:25 +05:30
Mahavir Jain
a67d7b7d5b
nghttp: Remove component and move to idf-extra-components repository
...
This component will now be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
Mahavir Jain
d2956f208b
http_parser: Split nghttp port and create new http_parser component
...
Note: nghttp will be moved to IDF component manager
2022-01-11 10:26:24 +05:30
Jiang Jiang Jian
8b38fe6dda
Merge branch 'bugfix/move_lib_printf_esp_phy' into 'master'
...
Bugfix:Move lib_printf.c to esp_phy
See merge request espressif/esp-idf!16728
2022-01-11 04:07:34 +00:00
marcusbirkin
b65447ac09
lwIP: Remove redundant lowspan6 source files
...
This is a preparation for adding 6LoWPAN config options. We would
optionally add:
* "lwip/src/netif/lowpan6_common.c"
* "lwip/src/netif/lowpan6.c"
* "lwip/src/netif/lowpan6_ble.c"
But only if LWIP_LOWPAN6_SUPPORT is enabled in lwip menuconfig.
Merges https://github.com/espressif/esp-idf/pull/7436
2022-01-10 11:51:13 +01:00
morris
f8bb2741d4
Merge branch 'refactor/remove_toolchain_prefix_in_kconfig' into 'master'
...
cmake: using toolchain prefix determined by cmake itself
See merge request espressif/esp-idf!16703
2022-01-10 10:17:33 +00:00
likunqiao
8b3cddf09a
esp_phy: move lib_printf.c to esp_phy
...
* fix the issue when esp32h2 target using phy_printf and rtc_printf
2022-01-10 17:51:52 +08:00
Fu Hanxi
60c5b37bfe
Merge branch 'refactor/ldgen' into 'master'
...
refactor: ldgen
Closes IDF-605 and IDFGH-6271
See merge request espressif/esp-idf!16509
2022-01-10 09:15:44 +00:00
laokaiyao
6e39b4b3bd
i2s: revert reading/writing return error code
...
Closes https://github.com/espressif/esp-idf/issues/8121
Revert reading/writing return ESP_ERR_TIMEOUT introduced in commit b26da6f
2022-01-10 15:51:01 +08:00
laokaiyao
cd10bb7fa2
esp32h2: fix apb freq bug
2022-01-10 12:43:31 +08:00
Wang Meng Yang
df1f9ec26e
Merge branch 'bugfix/a2dp_source_congest' into 'master'
...
component_bt: Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
Closes IDFGH-6485
See merge request espressif/esp-idf!16537
2022-01-10 03:00:05 +00:00
morris
1267738149
cmake: using toolchain prefix determined by cmake itself
2022-01-10 10:06:09 +08:00
David Čermák
7d43be9675
Merge branch 'contrib/github_pr_8106' into 'master'
...
Add mDNS miss comment (GitHub PR)
Closes IDFGH-6445
See merge request espressif/esp-idf!16629
2022-01-07 15:58:13 +00:00
David Cermak
6f2e0d53a4
lwip: Fix spacing issue
2022-01-07 16:38:40 +01:00
David Cermak
c83678f64f
mdns: Fix copyright
2022-01-07 16:16:31 +01:00
Mahavir Jain
397639da7d
Merge branch 'feature/rsa_intr' into 'master'
...
MPI: add kconfig option for doing intr-based exp-mod operations
Closes IDF-4389
See merge request espressif/esp-idf!16558
2022-01-07 13:27:53 +00:00
yuanjm
2e31779931
smartconfig: Fix smartconfig set socket option fail
...
Closes https://github.com/espressif/esp-idf/issues/8189
2022-01-07 20:05:21 +08:00
chenjianxing
7a9947f3c6
esp_phy: Update ESP32S2 phy lib to support eco1 chip
2022-01-07 19:59:41 +08:00
David Cermak
1882cbe44e
mdns: Make fuzzer layers compatible with llvm>=6
2022-01-07 16:18:32 +08:00
Fu Hanxi
4f779bb7c6
ci: use python -m coverage
instead of coverage
executable
2022-01-07 16:18:32 +08:00
morris
705788a13f
unit_tests: replace legacy timer group with gptimer
2022-01-07 14:59:09 +08:00
morris
02f6b83f47
app_trace: support gptimer as timestamp source
2022-01-07 14:59:09 +08:00
morris
7000f5d85a
legacy_timer: move unit test to test app
2022-01-07 14:44:50 +08:00
morris
5deb83b12d
gptimer: new driver for previous timer group
2022-01-07 14:44:50 +08:00
Marius Vikhammer
79cc650d75
Merge branch 'feature/deprecate_freertos_assert' into 'master'
...
freertos: remove FREERTOS_ASSERT option
Closes IDF-2294
See merge request espressif/esp-idf!16563
2022-01-07 06:35:05 +00:00
Anton Maklakov
d500c8205e
Merge branch 'bugfix/fix_spi_cs_hold_time_issue' into 'master'
...
spi_master: fix spi cs_ena_posttrans issue
Closes IDFGH-6077
See merge request espressif/esp-idf!15925
2022-01-07 04:06:12 +00:00
Marius Vikhammer
ba3f12a9fe
rsa: add generate RSA keys test case
2022-01-07 11:35:35 +08:00
Wang Meng Yang
da63b3bb5a
Merge branch 'bugfix/config_parse_crash_after_flash_erase' into 'master'
...
component_bt: fixed config parse crash after flash_erase
Closes IDFGH-4331
See merge request espressif/esp-idf!16677
2022-01-07 03:05:40 +00:00
Wang Meng Yang
5f28c0c36b
Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
...
bugfix/handle_3_esp_hid_PRs
Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586
See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
Marius Vikhammer
7255497146
freertos: remove FREERTOS_ASSERT option
...
Freertos asserts are now configured the same way as all other asserts in IDF,
i.e. by configuring COMPILER_OPTIMIZATION_ASSERTION_LEVEL.
2022-01-07 09:16:48 +08:00
morris
4bf67afd0a
Merge branch 'refactor/remove_public_api_soc_dependency' into 'master'
...
remove public api soc dependency
Closes IDF-4424, IDF-3670, and IDFGH-6525
See merge request espressif/esp-idf!16541
2022-01-06 23:50:24 +00:00
Jiang Jiang Jian
cde8b94a65
Merge branch 'bugfix/dpp_no_ip_issue' into 'master'
...
Fix STA not getting IP after DPP issue
Closes IDFGH-5958
See merge request espressif/esp-idf!15578
2022-01-06 15:16:47 +00:00
morris
f7c9b8fd58
soc: remove dport register assert for esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8176
2022-01-06 23:10:22 +08:00
morris
869bed1bb5
soc: don't expose unstable soc header files in public api
2022-01-06 23:10:22 +08:00
Ivan Grokhotkov
24c20d188e
esp_rom: remove functions which depend on sizeof(struct stat)
...
...and all their callers.
With the upcoming switch from sizeof(time_t)==4 to sizeof(time_t)==8,
sizeof(struct stat) is also increasing.
A few newlib functions present in ROM allocate 'struct stat' on the
stack and call _fstat_r on this structure. The implementation of
fstat is provided in ESP-IDF. This implementation will often do
memset(st, 0, sizeof(*st)), where st is 'struct stat*', before setting
some fields of this structure. If IDF is built with sizeof(st)
different from sizeof(st) which ROM was built with, this will lead
to an out-of-bounds write and a stack corruption.
This commit removes problematic ROM functions from the linker script.
Here are the functions which allocate 'struct stat':
* _isatty_r (in ROM)
* __swhatbuf_r, called by __smakebuf_r, called by __swsetup_r and
__srefill_r (in ROM)
* _fseeko_r (not in ROM)
* glob2 (not in ROM)
* _gettemp (not in ROM)
As a result, these functions are used from libc.a, and use correct
size of 'stat' structure.
Closes https://github.com/espressif/esp-idf/issues/7980
2022-01-06 15:20:04 +01:00
morris
24acdf23ee
soc: move peripheral base address into reg_base.h
2022-01-06 21:43:12 +08:00
morris
8cdcb4e291
rmt: move RMT item definition from soc to driver
2022-01-06 21:43:12 +08:00
morris
d8f2eaf94e
gpio: remove legacy rtc_io description for esp32
2022-01-06 21:43:12 +08:00
Darian
d95b15c557
Merge branch 'feature/usb_host_cleanup' into 'master'
...
USB: Host stack cleanup and QOL update
Closes IDFGH-6120, IDF-2747, IDFGH-4592, and IDFGH-6402
See merge request espressif/esp-idf!16349
2022-01-06 12:18:47 +00:00
xiongweichao
6d86b07546
fixed config parse crash after flash_erase
...
Closes https://github.com/espressif/esp-idf/issues/6170
2022-01-06 20:17:43 +08:00
Armando
56a707eef4
spi_master: fix spi cs_ena_posttrans issue
2022-01-06 17:54:58 +08:00
Omar Chebib
51917cb49c
espcoredump: add a test for coredump dumped sections
2022-01-06 16:53:41 +08:00
Omar Chebib
b0afae5e60
espcoredump: fix a bug where tracked DRAM data where not dumped
...
Variables marked as COREDUMP_DRAM_ATTR will now be part of the core dump.
* Closes https://github.com/espressif/esp-idf/issues/8151
2022-01-06 16:53:35 +08:00
Darian Leung
ada1c9c5b8
usb: Add USB Host Library documentation
...
This commit adds the USB Host Library documentation and fixes some nitpicks
in the Host Stack types.
Closes https://github.com/espressif/esp-idf/issues/6408
2022-01-06 15:15:32 +08:00
Darian Leung
b6dfadb168
usb: Update USB Host Library
...
This commit updates the USB Host Library as follows:
- usb_helpers.h
- Removed dependency on USB Host Library API
- Added function to print string descriptors
- usbh
- Fixed bug where an interface/endpoint could be claimed/allocated multiple times
- Removed redundant device ref_count change
- Added unit test for USB Host Library API usage
2022-01-06 15:14:10 +08:00
Darian Leung
22c152c388
usb: Hub Driver and USBH recover port automatically after disconnection
...
This commit updates the Hub Driver and USBH as follows:
- Updated communication mechanism between Hub Driver and USBH
- USBH notifies the Hub Driver via Hub request callback (usbh_hub_req_cb_t)
- Hub Driver notifies the USBH via usbh_hub_pass_event()
- Hub Driver now defers all event handling to hub_process.
- Hub Driver and USBH will now automatically recover the port after a disconnected
device has been closed.
- Fixed incorrect assert in usbh_dev_close()
2022-01-06 15:12:16 +08:00
Darian Leung
1aad12468a
usb: Hub Driver Update and Refactor
...
Hub Driver is refactored as follows:
This commit update and refactors the Hub Driver as follows:
- Refactored enumeration state machine and stage functions
- Enumeration stage is now incremented
- Combined transfer stages of enumeration into common functions
- Comments updated
- Fixed usbh_hal_disable_debounce_lock() that would cause root_port_handle_events()
to fail the HCD_PORT_CMD_RESET call because the previous port connection interrupt
was not cleared.
The following features were added to the Hub Driver
- Enumeration config descriptor is now fetched in two separate stages
- Header is fetched first to determine the wTotalLength of the descriptor
- Fetching the full descriptor will request exactly wTotalLength bytes
- This works around some non-compliant devices that will babble/return zero
when requesting a length > wTotalLength
- Closes https://github.com/espressif/esp-idf/issues/7799
- Enumeration now stores string descriptors
- The Manufacturer, Product, and Serial Number string descriptors are
now read and stored during enumeration
- String descriptors are now part of usb_device_info_t
- Added unit test to test enumeration
2022-01-06 15:11:13 +08:00
Darian Leung
854127a57c
usb: USB Host stack uses USB PHY driver
...
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.
- The hcd_install() now expects the USB PHY and OTG Contorller to be
already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
the user wants to setup their own USB PHY (e.g., in the case of using
and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY
Closes https://github.com/espressif/esp-idf/issues/8061
2022-01-06 15:09:39 +08:00
Darian Leung
5a2ef15565
usb: HCD multiple fixes
...
This commit fixes the following bugs in the HCD
- HCD control pipes fill incorrect transfer size
_buffer_fill_ctrl() would fill the transfer descriptors length with
wLength instead of transfer->num_bytes. Therefore, the remaining length
would be incorrect when a control transfer requests more bytes than are
available.
- Fix USB_TRANSFER_FLAG_ZERO_PACK behavior
The previous behavior of USB_TRANSFER_FLAG_ZERO_PACK was incorrect, and did not
support interrupt pipes. A zero length packet can now be added to Bulk/Interrupt
OUT transfers where the length is a multiple of the endpoint's MPS.
- Fixed HCD port suspend and resume test case
Halting a control pipe mid control transfer can lead some test devices to get stuck
2022-01-06 15:07:56 +08:00
Darian Leung
bb29b199ad
usb: Tidy up usbh
...
- Remove enum_todo_flags from usbh
- USBH move config_desc to constant fields
2022-01-06 15:06:44 +08:00
xiongweichao
83b9320d2e
btc_a2dp_control_set_datachnl_stat is only used by a2dp sink
2022-01-06 14:10:18 +08:00
xiongweichao
688700f33b
remove btc_a2dp_dispatch_datapath_evt and event
2022-01-06 14:02:03 +08:00
xiongweichao
c5af97759f
Fixed the crash caused by calling esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_START) after stream started
2022-01-06 14:02:03 +08:00
xiongweichao
061ae4c07a
Fixed a2dp source audio data packet congestion causing choppy audio in a2dp sink
2022-01-06 14:02:03 +08:00
Michael (XIAO Xufeng)
476da74796
Merge branch 'bugfix/ledc_fade_array_check' into 'master'
...
ledc: fixed check to s_ledc_fade_rec array
See merge request espressif/esp-idf!16086
2022-01-06 03:28:10 +00:00
Michael (XIAO Xufeng)
466f3a91cb
ledc: fixed check to s_ledc_fade_rec array
2022-01-06 03:28:05 +00:00
Michael (XIAO Xufeng)
b84abb1b17
Merge branch 'bugfix/rtcio_increase_size' into 'master'
...
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
Closes IDF-4526 and IDF-4505
See merge request espressif/esp-idf!16617
2022-01-06 03:03:58 +00:00
Wang Meng Yang
d29755b7d5
Merge branch 'bugfix/rd_rem_ext_feats_delayed_cs' into 'master'
...
bugfix/fix cs event for rd_rem_ext_feats delayed issue
Closes ESPCS-7232
See merge request espressif/esp-idf!15919
2022-01-06 00:39:47 +00:00
Tomas Rezucha
af28416116
Merge branch 'feature/usb_device/multi_cdc' into 'master'
...
USB: Extend USB CDC device with second channel
See merge request espressif/esp-idf!16458
2022-01-05 09:53:04 +00:00
Ondrej Kosta
fa9cc49b9e
Merge branch 'bugfix/esp_eth_start_tx_buff' into 'master'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size`
Closes WIFI-4194
See merge request espressif/esp-idf!16457
2022-01-05 09:40:12 +00:00
Jiang Jiang Jian
477cf09f45
Merge branch 'bugfix/ci_check_blobs' into 'master'
...
ci: improve checks for Wi-Fi/PHY libraries
See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
zlq
ef88625583
fix c3 brownout bug after deepsleep
2022-01-05 17:06:18 +08:00
Tomas Rezucha
6330d5d312
usb: Extend CDC device with second CDC channel
...
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Guo Jia Cheng
fa8364a544
Merge branch 'bugfix/openthread-socket-multicast' into 'master'
...
openthread: sync lwip multicast groups to Thread stack
See merge request espressif/esp-idf!16490
2022-01-05 07:04:30 +00:00
Mahavir Jain
6e1f534cab
Merge branch 'feature/esp_tls_api_cleanup' into 'master'
...
esp-tls: mark esp_tls_conn_delete API as deprecated
See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
jincheng
6a9afa65a2
fix cs event for rd_rem_ext_feats delayed issue
2022-01-05 14:48:04 +08:00
Murray Fordyce
00a23ec544
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
morris
ce2a220098
Merge branch 'refactor/make_adc2_wifi_private' into 'master'
...
clean up deprecated and private header files for driver and esp_hw_support component
See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
morris
ef5cfb217c
Merge branch 'contrib/github_pr_8172' into 'master'
...
Fix compile issue when TinyUSB task is not enabled. (GitHub PR)
Closes IDFGH-6521
See merge request espressif/esp-idf!16611
2022-01-04 13:21:23 +00:00
Jiacheng Guo
d610282742
openthread: sync lwip multicast groups to Thread stack
...
This MR synchornizes the lwIP multicast groups to the Thread stack. This
will fix sockets failing to receive messages sent to multicast groups
issue.
2022-01-04 20:08:15 +08:00
Nachiket Kukade
02a415d494
esp_wifi: Update wifi lib
...
Fix STA not getting IP after DPP
Closes https://github.com/espressif/esp-idf/issues/7646
2022-01-04 16:24:45 +05:30
Jiang Jiang Jian
69757842aa
Merge branch 'bugfix/ftm_misc_issues' into 'master'
...
Miscellaneous FTM bugfixes
Closes WIFI-4126
See merge request espressif/esp-idf!16525
2022-01-04 10:39:42 +00:00
Mahavir Jain
201e0b39a7
esp-tls: remove redundant snippet from CMakeList
2022-01-04 15:41:06 +05:30
Mahavir Jain
c26500cd5a
esp-tls: mark esp_tls_conn_delete API as deprecated
...
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
Jack
9802bf41d6
phy: update phy lib to remove ets_printf references
2022-01-04 15:41:58 +08:00
morris
113cbb88a6
hw_support: remove deprecated header files
2022-01-04 14:16:17 +08:00
morris
090b4aa1f3
adc: make adc2_wifi share resource private
2022-01-04 13:59:24 +08:00
Wang Meng Yang
7e39aa61fa
Merge branch 'bugfix/fix_null_pointer_deference_issue_master_mr' into 'master'
...
Fix the null pointer deference issue via Reconnection Spamming
See merge request espressif/esp-idf!16502
2022-01-04 04:06:27 +00:00
Omar Chebib
a8b40927b5
Merge branch 'bugfix/i2c_spiram_bug' into 'master'
...
I2C: fix buffer check when SPIRAM used as a heap
Closes IDFGH-6522
See merge request espressif/esp-idf!16612
2022-01-04 02:48:46 +00:00
morris
6e661871c5
tusb: optional compile tusb_task
2022-01-04 10:38:13 +08:00
morris
cba1f57147
tusb: update copyright header
2022-01-04 10:25:06 +08:00
Ivan Grokhotkov
3049ac6dbb
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00
Roland Dobai
c43d14c2bf
Merge branch 'contrib/github_pr_8169' into 'master'
...
fix fatfs_create_spiflash_image() feature
Closes IDFGH-6383
See merge request espressif/esp-idf!16601
2022-01-03 15:19:38 +00:00
Hrudaynath Dhabe
6d81821516
esp_wifi: Fix the negotiation of method with eap server.
2022-01-03 13:31:32 +05:30
Martin Gaňo
140f5be289
Updated typehints from str values to bytes
2022-01-03 01:02:16 +01:00
Martin Gaňo
f7983fd313
Use bytes instead of strings in tests
2022-01-03 00:47:00 +01:00
Michael (XIAO Xufeng)
46f8d868d3
soc: updated soc_caps about rtc_io and the format
2022-01-01 03:13:45 +08:00
Michael (XIAO Xufeng)
9382b24d1d
sleep: fixed ext1 cannot wakeup via RTCIO >= 18 issue
2021-12-31 08:09:43 +00:00
Ivan Grokhotkov
f1c5dfbfc9
Merge branch 'contrib/github_pr_8013' into 'master'
...
Add message about alternative functions. (GitHub PR)
Closes IDFGH-6352
See merge request espressif/esp-idf!16610
2021-12-31 07:09:08 +00:00
Omar Chebib
8d1fa78378
i2c: fix buffer check when SPIRAM used as a heap
...
* Closes https://github.com/espressif/esp-idf/issues/8173
2021-12-31 14:36:16 +08:00
Xie Wen Xiang
6cb6087dd0
Merge branch 'bugfix/fix_bluedroid_compile_issue' into 'master'
...
components/bt: Fix bluedroid compile issue
Closes IDFGH-6486
See merge request espressif/esp-idf!16589
2021-12-31 02:03:49 +00:00
Venelin Efremov
8e3ad708b2
Fix compile isse when TinyUSB task is not enabled.
2021-12-30 04:49:03 -08:00
Song Ruo Jing
2906fbfb9e
Merge branch 'feature/support_esp8684_gpio' into 'master'
...
ESP8684: Support ESP8684 gpio
Closes IDF-4019 and IDF-3841
See merge request espressif/esp-idf!15667
2021-12-30 09:16:23 +00:00
“YangZhao”
8d48a56249
There is an issue that if the the btm_cb.p_sec_dev_rec_list is full,but at the same
...
time we can't find old device to be replaced,then this can cause crash. So we need
to change the way to malloc the new device or replace the old in the list.
2021-12-30 15:50:07 +08:00
Nachiket Kukade
f38144a689
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
Closes https://github.com/espressif/esp-idf/issues/8127
2021-12-30 12:22:42 +05:30
Cao Sen Miao
d397464fc4
spi_flash: refactor spi_flash.h to esp_rom_spiflash.h but keep the content in spi_flash.h
2021-12-30 14:12:31 +08:00
morris
8e220f7bbe
esp_rom: add README to describe the component layout
2021-12-30 14:05:12 +08:00
Cao Sen Miao
b0decda1e3
bootloader: move bootloader flash support to isolate folders
2021-12-30 14:05:12 +08:00
Cao Sen Miao
3a4db97cec
spi_flash: move patch files to common rom patch folder
2021-12-30 14:05:12 +08:00
Cao Sen Miao
3dd1cfea18
spi_flash: refactor spi_flash.h to decline duplicated code
2021-12-30 14:05:12 +08:00
xiewenxiang
50748009e4
components/bt: Fix bluedroid compile issue
2021-12-30 11:54:47 +08:00
Levente Tamas
df2ae4689c
fix fatfs_create_spiflash_image() feature (IDFGH-6383)
...
Open the files in binary mode, and remove the redundant encode
2021-12-30 00:22:13 +02:00
Sudeep Mohanty
6a2a6e4220
Merge branch 'feature/remove-depricated-cpu-util-functions' into 'master'
...
esp_hw_support: Removed deprecated CPU util functions
Closes IDF-2868
See merge request espressif/esp-idf!16391
2021-12-29 16:44:17 +00:00
songruojing
e0bc3a923c
esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
Marius Vikhammer
a9a7160cb6
MPI: add kconfig option for doing intr-based exp-mod operations
2021-12-29 18:55:48 +08:00
José Simões
dd9fe9761a
Replace lwIP byte order functions with built-in functions
2021-12-29 09:49:18 +00:00
Kevin (Lao Kaiyao)
952b4d848f
Merge branch 'bugfix/apll_coeff_calculate' into 'master'
...
i2s: impove the clock division calculation
Closes IDFGH-6283
See merge request espressif/esp-idf!16095
2021-12-29 09:35:13 +00:00
Simon
d204bf4651
Merge branch 'bugfix/usb_default_print_wifi' into 'master'
...
esp_phy: enable usb under default(without choosing USB_SERIAL_JTAG).
Closes IDFGH-6474
See merge request espressif/esp-idf!16504
2021-12-29 08:54:34 +00:00
Jiang Jiang Jian
95c02402be
Merge branch 'bugfix/fix_task_wdt_timeout_when_ota_temporarily' into 'master'
...
heap: adjust the order of RTC memory heap caps and regions
See merge request espressif/esp-idf!16031
2021-12-29 08:49:44 +00:00
Jing Li
a0e794b2ca
heap: adjust the order of RTC memory heap caps and regions
2021-12-29 08:49:42 +00:00
morris
1f06c1bd1b
Merge branch 'feature/fast_gpio_esp32c2' into 'master'
...
fast gpio support on esp32c2/esp8684
See merge request espressif/esp-idf!16531
2021-12-29 07:01:41 +00:00
Wang Meng Yang
bc1a679052
Merge branch 'doc/update_document_of_demo_bt_discovery' into 'master'
...
Doc/update document of demo bt discovery
Closes BT-2133
See merge request espressif/esp-idf!16265
2021-12-29 06:07:19 +00:00
Chen Yu Dong
e8cfba0745
Merge branch 'bugfix/set_authmode_by_switching_number_to_string' into 'master'
...
CI: change ap authmode from number to string
Closes IDFCI-1019
See merge request espressif/esp-idf!16552
2021-12-29 04:27:37 +00:00
Xie Wen Xiang
446ec9dc65
Merge branch 'bugfix/fix_bluedroid_ble50_adv_data_length_issue' into 'master'
...
Bugfix/fix bluedroid ble50 adv data length issue
See merge request espressif/esp-idf!16565
2021-12-29 03:57:45 +00:00
laokaiyao
4f28b33bbc
apll: add lock for apll
2021-12-29 10:13:13 +08:00
laokaiyao
af4e448928
i2s: impove the clock division calculation
...
Reported from: https://esp32.com/viewtopic.php?f=25&t=24542&p=87595#p87595
2021-12-29 10:13:13 +08:00
Sudeep Mohanty
e22b4007d3
esp_hw_support: Removed deprecated CPU util functions
...
The following files were deleted:
- components/esp_hw_support/include/soc/cpu.h
- components/soc/esp32s3/include/soc/cpu.h
The following functions are deprecated:
- get_sp()
The following functions declared in soc/cpu.h are now moved to esp_cpu.h:
- esp_cpu_configure_region_protection()
The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h:
- esp_cpu_process_stack_pc()
All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-28 16:58:37 +05:30
xiewenxiang
54298708fe
component/bt: Support set HW CCA threshold value
2021-12-28 18:15:18 +08:00
Mahavir Jain
355e8bba76
Merge branch 'feature/s3_rng' into 'master'
...
Bootloader add rng sampling
Closes IDF-1878 and IDF-4417
See merge request espressif/esp-idf!15737
2021-12-28 04:24:12 +00:00
morris
5624dffc52
Merge branch 'contrib/github_pr_8139' into 'master'
...
ledc.h - fix extern "C" to include ledc_cb_register() (GitHub PR)
Closes IDFGH-6484
See merge request espressif/esp-idf!16557
2021-12-28 03:50:22 +00:00
xiewenxiang
04328cf384
component/bt: fix periodic adv parameters detection issue
2021-12-28 11:29:41 +08:00
morris
f028107359
fast_gpio: support esp32c2/esp8684
2021-12-28 10:18:18 +08:00
morris
1a9dbf9e2f
bootloader: print MMU info after 2nd bootloader banner
2021-12-28 10:12:57 +08:00
Guo Jia Cheng
f79602c65b
Merge branch 'feature/update_openthread_lib' into 'master'
...
openthread: fix rcp version, update openthread lib and submodule
See merge request espressif/esp-idf!16544
2021-12-28 02:00:57 +00:00
Mahavir Jain
a5227db2a7
Merge branch 'bugfix/Wsign_conversion_compatibility' into 'master'
...
freertos: fix build warnings with -Wsign-conversion CFLAG
Closes IDFGH-2901
See merge request espressif/esp-idf!15311
2021-12-27 12:58:02 +00:00
huchaoru
675a9f95fc
CI: change ap authmode from number to string
2021-12-27 19:55:56 +08:00
Jiang Jiang Jian
d95b56a435
Merge branch 'bugfix/rrm_dpp_task_delete' into 'master'
...
wpa_supplicant: Correct task deletion for RRM and DPP tasks
Closes IDFGH-5688
See merge request espressif/esp-idf!14940
2021-12-27 10:26:33 +00:00
Ivan Grokhotkov
8b6ff2299a
Merge branch 'bugfix/modbus_port_fix_lgpl_licensed_files' into 'master'
...
freemodbus: fix port contains lgpl licensed files
Closes IDF-4317
See merge request espressif/esp-idf!16130
2021-12-27 10:01:27 +00:00
Mahavir Jain
5968bf6b0c
Merge branch 'wifi_prov_mgr/service_key_check' into 'master'
...
wifi_prov_mgr: Added check for passphrase length in softAP scheme
Closes IDFGH-6404
See merge request espressif/esp-idf!16545
2021-12-27 09:34:24 +00:00
Omar Chebib
b54f7aa7b4
Merge branch 'bugfix/uart_no_int_after_flush' into 'master'
...
UART: RX interrupts are now properly restored after a flush
Closes IDF-4374
See merge request espressif/esp-idf!16328
2021-12-27 08:56:00 +00:00
Harshit Malpani
2c84db95d2
freertos: fix build warnings with -Wsign-conversion CFLAG
...
Closes https://github.com/espressif/esp-idf/issues/4946
2021-12-27 13:31:34 +05:30
Cao Sen Miao
f82ab4c757
usb_serial_jtag: can print when wifi enabled by default
...
Closes https://github.com/espressif/esp-idf/issues/8131
2021-12-27 14:52:07 +08:00
Mahavir Jain
d9b71e7c5d
Merge branch 'bugfix/memprot_debug_mode_c3' into 'master'
...
memprot: fix debug mode check for ESP32-C3
See merge request espressif/esp-idf!16529
2021-12-27 06:51:44 +00:00
Jakob Hasse
64a355eba8
feat (bootloader): added rng sampling
...
Set maximum RNG query frequency to save value known from tests
2021-12-27 13:59:20 +08:00
Laukik Hase
5261d7adf1
wifi_prov_mgr: Added check for passphrase length in softAP scheme
...
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-27 10:57:50 +05:30
Omar Chebib
708e3b6ec0
UART: RX interrupts are now properly restored after a flush
...
Added a unit test to make sure the expected behavior happens
2021-12-27 12:31:25 +08:00
zhangwenxu
1b8e55d730
openthread: fix rcp version, update openthread lib and submodule
2021-12-27 12:13:53 +08:00
Michael (XIAO Xufeng)
322a0beb87
Merge branch 'bugfix/sdio_slave_dma_desc_int' into 'master'
...
sdio_slave: Fixed the issue that DMA descriptors allocated to non-DMA capable area
See merge request espressif/esp-idf!16159
2021-12-27 03:10:52 +00:00
Ivan Grokhotkov
2dd6b66375
Merge branch 'contrib/github_pr_8107' into 'master'
...
Fix GDB backtraces in optimized builds (GitHub PR)
Closes IDFGH-6444
See merge request espressif/esp-idf!16436
2021-12-24 11:47:34 +00:00
Ivan Grokhotkov
a13fcc00db
Merge branch 'bugfix/freertos_appcpu_int_disable' into 'master'
...
freertos: ensure interrupts are disabled before enabling tick timer
See merge request espressif/esp-idf!16460
2021-12-24 11:45:07 +00:00
Omar Chebib
28f08197e3
Merge branch 'bugfix/fatfs_volumes_crash' into 'master'
...
FATFS: fix system crash when mounting more than 2 volumes
See merge request espressif/esp-idf!16435
2021-12-24 10:39:25 +00:00
Kapil Gupta
69e404e7b8
wpa_supplicant: Correct task deletion for RRM and DPP tasks
...
Closes https://github.com/espressif/esp-idf/issues/7409
2021-12-24 13:52:29 +05:30
Robin Krens
08acf7979b
spacing styling correction
2021-12-24 16:21:06 +08:00
Robin Krens
8d5a823a41
minor styling changes
2021-12-24 16:20:44 +08:00
Robin Krens
ba5f19e5b1
esp_hid: fix output report char declaration
...
Current issue: output reports sent by Windows not received.
The report characteristic declaration should also support write without
response as specified by HIDS profile:
See https://www.bluetooth.com/specifications/GATT/ (page 14)
2021-12-24 16:20:31 +08:00
jincheng
b7a99614a1
fix on esp_hidh report map length checking function
...
Closes https://github.com/espressif/esp-idf/issues/7586
2021-12-24 15:21:48 +08:00
Jiang Jiang Jian
2e06f1fee5
Merge branch 'bugfix/install_key_refactor' into 'master'
...
esp_wifi: refactor key install code
Closes WIFI-4014
See merge request espressif/esp-idf!14878
2021-12-24 06:56:41 +00:00
Zhang Wen Xu
048efc3e14
Merge branch 'support/ot_br_connect_wifi_using_console_input' into 'master'
...
openthread:support config wifi connect using console
See merge request espressif/esp-idf!16227
2021-12-24 05:31:13 +00:00
morris
0afafb743d
Merge branch 'bugfix/app_compatible_with_3_1_bootloader' into 'master'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos
See merge request espressif/esp-idf!16480
2021-12-24 03:43:52 +00:00
Jiang Jiang Jian
d7b83208c1
Merge branch 'bugfix/wpa3_memory_leak' into 'master'
...
esp_wifi: Fixes memory leak in wpa3.
Closes WIFI-4196
See merge request espressif/esp-idf!16520
2021-12-24 03:15:01 +00:00
Kevin (Lao Kaiyao)
4586bd7ec8
Merge branch 'bugfix/i2s_receive_data_lost' into 'master'
...
i2s: fix message queue overflow condition
Closes IDFGH-5854
See merge request espressif/esp-idf!15551
2021-12-24 03:12:12 +00:00
zhangwenxu
91f54c673d
openthread: add a manual mode in Thread border router example
2021-12-24 11:09:51 +08:00
Omar Chebib
a37bf7753a
Merge branch 'refactor/remove_task_snapshot_header_inclusion' into 'master'
...
FreeRTOS: Remove task_snapshot inclusion from task.h
Closes IDF-3683
See merge request espressif/esp-idf!16224
2021-12-24 02:21:28 +00:00
Emil Muratov
d4de08182e
ledc.h - fix extern "C" to include ledc_cb_register()
2021-12-24 02:05:43 +03:00
Ivan Grokhotkov
6a37b41df8
memprot: fix debug mode check
...
Regression from dd938eb9
, the fault injection check was always failing
in debug mode.
2021-12-23 16:39:12 +01:00
Mahavir Jain
3bd5ae6b78
Merge branch 'bugfix/rtc_section_alignment' into 'master'
...
System: fix RTCFAST section alignment
See merge request espressif/esp-idf!16513
2021-12-23 14:31:04 +00:00
Kapil Gupta
0336584f3e
esp_wifi: Refactor key install code
2021-12-23 21:31:31 +08:00
Li Qi Gan
c3c37b95e7
Merge branch 'bugfix/fix_spp_open_err_bda' into 'master'
...
Component_bt/Fix SPP acceptor open with wrong remote address
Closes BT-2205
See merge request espressif/esp-idf!16503
2021-12-23 12:29:31 +00:00
Song Ruo Jing
7f5e93a582
Merge branch 'bugfix/remove_ref_tick_on_s3' into 'master'
...
ledc: Remove REF_TICK as a supported clock source for LEDC driver on S3
See merge request espressif/esp-idf!16408
2021-12-23 12:21:01 +00:00
Martin Vychodil
16891e7a6c
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-23 19:58:39 +08:00
laokaiyao
45ea21e8a0
doc: add application notes for i2s
2021-12-23 18:59:56 +08:00
laokaiyao
c74b2e8635
i2s: fix the wrong condition of event queue
2021-12-23 18:59:56 +08:00
Ondrej Kosta
1150a11c56
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-23 10:48:38 +01:00
aditi_lonkar
1eeac4943c
esp_wifi: Fixes memory leak in wpa3 connection.
2021-12-23 12:26:58 +05:30
morris
8f2199cd88
timer: unit test and doc update for esp8684
2021-12-23 11:54:41 +08:00
morris
4ed33afc3f
timer: stop alarm if alarm value doesn't change in ISR handler
...
Alarm will be disabled by hardware when alarm event happend.
In the ISR, if auto-reload is enabled, we should re-enable the alarm.
If the alarm target value is changed in user's callback,
the alarm will be reenabled as well.
Closes https://github.com/espressif/esp-idf/issues/7001
Closes https://github.com/espressif/esp-idf/issues/8095
2021-12-23 11:39:32 +08:00
morris
2c810f8451
timer: save alarm value in driver layer
2021-12-23 11:39:32 +08:00
morris
b170aba93a
timer: fix wrong kconfig soc caps
2021-12-23 11:39:32 +08:00
Wang Meng Yang
91e81877d2
Merge branch 'bugfix/scannable_adv_duration_estimation' into 'master'
...
[Coexistence]: fixed BLE scannable extended adv performance issue in case of Wi-Fi coexistence
Closes BT-1607
See merge request espressif/esp-idf!16438
2021-12-22 14:45:10 +00:00
liqigan
cccd22a080
fix SPP open with wrong remote bd_addr
2021-12-22 17:04:58 +08:00
liqigan
66e88fbdbe
clear old event bits when malloc a slot
2021-12-22 16:44:51 +08:00
Jiang Jiang Jian
acee790f98
Merge branch 'bugfix/fix_heap_memory_corruption' into 'master'
...
Heap: Fix a bug in the TLSF allocator
See merge request espressif/esp-idf!16296
2021-12-22 08:35:07 +00:00
Mahavir Jain
1f435b4703
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable...
Closes IDFGH-6437
See merge request espressif/esp-idf!16471
2021-12-22 08:19:14 +00:00
wangmengyang
219bffce9f
component/bt: fixed coexistence scannable extended adv performance issue
2021-12-22 10:55:33 +08:00
Michael (XIAO Xufeng)
ad90373a69
sdio_slave: fixed the issue DMA desc not capable
2021-12-22 01:34:38 +08:00
David Čermák
2c0d760816
Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
...
mdns: Minor err print fix in socket-networking layer (GitHub PR)
Closes IDFGH-6447 and IDFGH-6434
See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Ivan Grokhotkov
1cbea5a504
Merge branch 'feature/espefuse_adds_args_to_execute_scripts_cmd' into 'master'
...
esptool/espefuse: execute_scripts can be run nested way
See merge request espressif/esp-idf!16411
2021-12-21 12:24:06 +00:00
Martin Válik
4f7c36d859
Merge branch 'feature/usb-msc' into 'master'
...
USB MSC class
Closes IDFGH-4584
See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
Kapil Gupta
826aee5683
Merge branch 'bugfix/wps_fixes' into 'master'
...
wpa_supplicant: Add WPS Fixes
Closes WIFI-4185
See merge request espressif/esp-idf!16331
2021-12-21 09:17:30 +00:00
Mahavir Jain
2264f4d9b8
Merge branch 'feature/memprot_api_unified_c3' into 'master'
...
Memprot API unified - ESP32C3
Closes IDF-3849
See merge request espressif/esp-idf!15086
2021-12-21 08:45:33 +00:00
Li Jingyi
2b1402890d
fix(mbedtls): fix compiling error when open MBEDTLS_SSL_PROTO_DTLS and disable MBEDTLS_SSL_PROTO_DTLS when open MBEDTLS_DYNAMIC_BUFFER
2021-12-21 16:11:03 +08:00
Omar Chebib
fcd11ba125
FreeRTOS: Remove task_snapshot inclusion from task.h
...
Remove ESP's addition of task_snapshot.h from task.h. This line was
added previously for backward compatibility. For IDF v5.0, this can
be removed.
2021-12-21 07:10:22 +00:00
Michael (XIAO Xufeng)
59f3d98d45
Merge branch 'feat/support_mxic_unlock' into 'master'
...
spi_flash: support unlock MXIC flash chips
Closes IDF-3575
See merge request espressif/esp-idf!15238
2021-12-21 07:09:57 +00:00
Mahavir Jain
c408aa397e
Merge branch 'feature/mbedtls-2.16.12-integration' into 'master'
...
mbedtls: upgrade to release v2.16.12
Closes IDF-4463
See merge request espressif/esp-idf!16442
2021-12-21 07:03:02 +00:00
KonstantinKondrashov
ff96769b0e
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2021-12-21 14:48:14 +08:00
Jiang Jiang Jian
ae63455164
Merge branch 'bugifx/nimble_timer_memory_leak' into 'master'
...
[NimBLE]: Fixed memory leak of timer during NimBLE Host start-stop process
Closes BT-2142
See merge request espressif/esp-idf!16430
2021-12-21 04:31:28 +00:00
Guo Jia Cheng
cfd2d177be
Merge branch 'feature/mdns-always-announce-address' into 'master'
...
mdns: always send A/AAAA records in announcements
See merge request espressif/esp-idf!16254
2021-12-21 04:09:29 +00:00
songruojing
8e3bc160bc
ledc: Remove REF_TICK as a supported clock source for LEDC driver on esp32s3
2021-12-21 11:43:18 +08:00
baohongde
d4aeef6ced
components/bt: Update the document of demo bt discovery
2021-12-21 10:54:54 +08:00
Martin Vychodil
dd938eb952
System/Security: Memprot API unified (ESP32C3)
...
Unified Memory protection API for all PMS-aware chips (ESP32C3)
Closes JIRA IDF-3849
2021-12-21 01:50:36 +01:00
Ivan Grokhotkov
5d32e80ea7
freertos: ensure interrupts are disabled before enabling tick timer
...
xPortStartScheduler calls vPortSetupTimer -> _frxt_tick_timer_init,
which enables tick timer interrupt and sets up the first timeout.
From that point on, the interrupt can fire. If the interrupt happens
while _frxt_dispatch is running, the scheduler will enter an infinite
loop. This is because _frxt_dispatch isn't supposed to be preemptable,
and the tick interrupt will overwrite some of the registers used by
_frxt_dispatch.
Note that this situation doesn't practically occur on the real
hardware, where the execution of vPortSetupTimer and _frxt_dispatch
happens quickly enough. However it can be reproduced on an emulator
if the tick period is set to 1ms.
Add an explicit call to portDISABLE_INTERRUPTS in xPortStartScheduler
to guarantee that _frxt_dispatch doesn't run with interrupts enabled.
This is similar to the esprv_intc_int_set_threshold(1); call in
RISC-V version of port.c.
2021-12-20 17:25:56 +01:00
Kapil Gupta
14b949077d
wpa_supplicant: Add WPS Fixes
...
Add following bugfixes
1. Station not able to connect when WPS pin is pressed first on AP.
2. PBC overlap getting detected for selected registrar PIN APs.
3. Station not considering authorised MACs for PIN method.
4. For PIN methodm If no AP is found, station will loop through
APs in its vicinity and try to do WPS with them one by one till
WPS timeout occurs. This is for some APs which do not set
selected registrar correctly.
2021-12-20 17:34:30 +05:30
Martin Valik
73dce765d5
USB: added MSC Host Driver with VFS support
...
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Guo Jia Cheng
5fdbd40404
Merge branch 'bugfix/mdns-query-instance-filter' into 'master'
...
mdns: filter instance name for ANY queries
See merge request espressif/esp-idf!16255
2021-12-20 10:38:19 +00:00
Michael (XIAO Xufeng)
9894019909
bootloader: support unlock MXIC flash chips
2021-12-20 18:01:12 +08:00
Wang Mengyang
5e95537f9c
component/bt/host/nimble: fixed memory leak due to timer not destroyed during NimBLE host start-stop
2021-12-20 15:49:14 +08:00
Mahavir Jain
36c712368d
mbedtls: upgrade to release v2.16.12
...
For release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.12
2021-12-20 10:28:14 +05:30
Mahavir Jain
bcadeeb7d3
mbedtls: small documentation update
2021-12-20 10:27:44 +05:30
Marius Vikhammer
c2d00810a6
Merge branch 'feature/esp8684_doc_build' into 'master'
...
docs: update docs to be able to build with esp8684
Closes IDF-4313
See merge request espressif/esp-idf!15849
2021-12-20 03:32:28 +00:00
Omar Chebib
1bad4f18ed
FATFS: fix system crash when mounting more than 2 volumes
...
* Fixes https://github.com/espressif/esp-idf/issues/7513
2021-12-20 03:16:18 +00:00
Omar Chebib
95d0514c57
Heap: Add a target test to check that TLFS allocates the requested size
2021-12-20 11:10:16 +08:00
Omar Chebib
9516fd09c2
Heap: Fix a possible bug in the TLSF allocator
...
Fix a bug that could return a chunk of memory smaller than requested,
easily leading to a memory corruption, when the required memory alignment
passed to the allocator is 4.
2021-12-20 10:57:43 +08:00
Marius Vikhammer
82325f6037
docs: update docs to be able to build with esp8684
2021-12-20 10:32:49 +08:00
morris
c14638878b
Merge branch 'bugfix/dedic_gpio_initial_occupy_mask' into 'master'
...
fast_gpio: fix wrong initial occupy mask
See merge request espressif/esp-idf!16219
2021-12-18 05:39:53 +00:00
Ivan Grokhotkov
b5d17f85a8
Merge branch 'bugfix/stdatomic_sync_op_and_fetch' into 'master'
...
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
Closes IDF-4397
See merge request espressif/esp-idf!16404
2021-12-17 14:42:57 +00:00
Dániel Buga
a02d1e35ee
Allow enabling task function wrappers in more cases
2021-12-17 11:17:21 +01:00
Jakob Hasse
7c7fbb1fd0
Merge branch 'feature/i2c_cxx_improve' into 'master'
...
I2C C++ Several improvements, breaking changes
See merge request espressif/esp-idf!16102
2021-12-17 09:45:27 +00:00
David Čermák
8caa8195d4
Merge branch 'bugfix/mdns_null_deref_fuzzer' into 'master'
...
mdns: Fix potential null deref reported by fuzzer test
See merge request espressif/esp-idf!16299
2021-12-17 09:37:55 +00:00
caffreyfans
08e081340d
Add mDNS miss comment
2021-12-17 16:39:43 +08:00
caffreyfans
119b4a9dd1
Fix mDNS memory leak
2021-12-17 16:21:21 +08:00
caffreyfans
f5ffd53aeb
Fix mDNS memory leak
2021-12-17 16:05:38 +08:00
morris
e8c5f8656b
fast_gpio: fix wrong initial occupy mask
2021-12-17 15:49:44 +08:00
Jakob Hasse
7572f75d6b
refactor (cxx)!: I2C C++ classes use strong value types now
...
Added host-based I2C C++ unit tests
BREAKING CHANGE: I2C C++ interface changes, raw values for
arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
David Cermak
f1b8f5c102
mdns: Minor err print fix in socket-networking layer
2021-12-16 16:00:44 +01:00
KonstantinKondrashov
4cef1e2f8b
esptool/espefuse: execute_scripts can be run nested way
...
Added args for execute_scripts cmd
Cleaned up only_burn_at_end args, it does not need anymore
2021-12-16 22:32:20 +08:00
Ivan Grokhotkov
5b3b5f006f
Merge branch 'feature/cmake_weak_deps_helper' into 'master'
...
cmake: add idf_component_optional_requires utility function, simplify some component dependencies
Closes IDF-3086
See merge request espressif/esp-idf!16373
2021-12-16 13:46:45 +00:00
David Čermák
e8a4c4b440
Merge branch 'bugfix/mdns_add_result_count_async' into 'master'
...
mdns: Added results count to async API (GitHub PR)
Closes IDFGH-6340
See merge request espressif/esp-idf!16362
2021-12-16 12:48:39 +00:00
David Čermák
c86183d54d
Merge branch 'bugfix/mdns_server_instance_mismatch' into 'master'
...
mdns: fix mdns server instance mismatch
Closes IDFCI-1011
See merge request espressif/esp-idf!16420
2021-12-16 12:05:04 +00:00
morris
5efc7bf2b4
Merge branch 'bugfix/build_spaces_in_path_kconfig_ldgen_esptool' into 'master'
...
kconfig, ldgen, esptool, cmake: changes to support spaces in paths
See merge request espressif/esp-idf!15429
2021-12-16 10:32:49 +00:00
zhangwenxu
6173dd7809
mdns: fix mdns server instance mismatch
2021-12-16 16:52:05 +08:00
caffreyfans
87506f46e2
unified errno format
2021-12-16 14:10:52 +08:00
Marius Vikhammer
5040803ff0
Merge branch 'feature/remove_deprecated_rom_headers' into 'master'
...
rom: remove deprecated headers from esp32 components
Closes IDF-2828
See merge request espressif/esp-idf!16372
2021-12-16 04:36:33 +00:00
Armando
103d310aaa
adc: make adc_ll.h unavailable on 8684
2021-12-16 00:19:15 +00:00
Armando
4dc0d6b2fe
adc: support adc dma driver on all chips
2021-12-16 00:19:15 +00:00
Chinmay Chhajed
5ddce053ea
Merge branch 'bugfix/bt_enc_proc_finish' into 'master'
...
bt/bugfix: ACL Rx data is sent to host before enc change event
See merge request espressif/esp-idf!16346
2021-12-15 12:07:59 +00:00
Sudeep Mohanty
07bfc09d0c
Merge branch 'task/remove-portmacro.h-from-task.h' into 'master'
...
freertos: remove portmacro.h inclusion from task.h
Closes IDF-3793
See merge request espressif/esp-idf!16307
2021-12-15 11:17:51 +00:00
Simon
878c643743
Merge branch 'bugfix/xtal_to_pll_8684' into 'master'
...
rtc_clk: change clock source from XTAL to PLL on real board(8684)
See merge request espressif/esp-idf!16397
2021-12-15 08:47:42 +00:00
Ondrej Kosta
da9a6d9082
Merge branch 'cleanup/netif_glue_cont' into 'master'
...
Cleanup/netif glue cont
See merge request espressif/esp-idf!16403
2021-12-15 07:07:21 +00:00
Zhang Wen Xu
c9ee50a0be
Merge branch 'feature/support_multiple_instance_for_mdns_service_txt_set' into 'master'
...
mdns: support multiple instance for mdns service txt set
See merge request espressif/esp-idf!16105
2021-12-15 06:44:53 +00:00
Cao Sen Miao
e3d14858c7
rtc_clk: change clock source from xtal to pll on real board(ESP8684)
2021-12-15 12:21:11 +08:00
morris
7b32d8138c
Merge branch 'bugfix/mcpwm_ll_missing_type_conversion' into 'master'
...
mcpwm: fix implicit conversion in LL function
Closes IDFGH-6407
See merge request espressif/esp-idf!16396
2021-12-15 03:58:04 +00:00
Ivan Grokhotkov
7056fd3129
bootloader: don't add nonexistent directories to EXTRA_COMPONENT_DIRS
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
6b361d923c
esptool_py: fix quoting issues in run_serial_tool.cmake
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
50799e3026
esptool_py: fix passing arguments to cmake -P
...
Fixes WORKING_DIRECTORY argument being passed with spaces escaped `\ `
which causes failure in run_cmd.cmake, since the WORKING_DIRECTORY is
interpreted as having a literal backslash character in it.
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
01033a3a60
newlib: stdatomic: implement missing "op_fetch", "nand" builtins
...
* Adds implementations of __{atomic,sync}_nand_fetch_n. These builtins
were implemented for other operations but were not defined for NAND.
* Adds implementation of __atomic_OP_fetch_n for all OPs.
* Adds implementation of __sync_OP_and_fetch_n for all OPs.
Reported in https://github.com/espressif/arduino-esp32/issues/5948
2021-12-14 16:06:12 +01:00
Ondrej Kosta
30e03e2c1d
netif_glue: removal of unused global variable
2021-12-14 15:23:07 +01:00
Hrudaynath Dhabe
a65eff3b88
Merge branch 'bugfix/wpa_supplicant_logs' into 'master'
...
esp_wifi: Change the verbosity of wpa_supplicant logs.
Closes IDFGH-6370
See merge request espressif/esp-idf!16332
2021-12-14 12:17:49 +00:00
Simon
1c82e6eac7
Merge branch 'ci/8684_build_ci' into 'master'
...
CI: Enable ESP8684 build (2nd stage) CI on master (except example build)
Closes IDF-4388
See merge request espressif/esp-idf!16197
2021-12-14 11:12:10 +00:00
Simon
2fa0b2fb4c
Merge branch 'flash/add_th_support' into 'master'
...
spi_flash: add support for TH 1M flash
Closes IDF-4071
See merge request espressif/esp-idf!16210
2021-12-14 09:53:44 +00:00
Jakob Hasse
b856ea2ff6
Merge branch 'contrib/github_pr_8037' into 'master'
...
Don't return a hard coded errno in vfs_fat_access (GitHub PR)
Closes IDFGH-6377
See merge request espressif/esp-idf!16366
2021-12-14 09:49:14 +00:00
morris
ac5c2eaa28
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-14 17:26:55 +08:00
Ivan Grokhotkov
44d18506b2
Merge branch 'feature/posix_compat_functions' into 'master'
...
newlib: implement posix_memalign, sysconf, realpath
Closes IDFGH-4268 and IDFGH-6119
See merge request espressif/esp-idf!16355
2021-12-14 08:56:33 +00:00
Hrudaynath Dhabe
9469f08a0b
esp_wifi: Change the verbosity of wpa_supplicant logs.
...
Closes https://github.com/espressif/esp-idf/issues/8030
2021-12-14 14:23:31 +05:30
Armando (Dou Yiwen)
a86d2aff2c
Merge branch 'bugfix/fix_adc1_chan8_9_not_defined_on_s3' into 'master'
...
adc: fix adc1 channel 8 and 9 not defined bug on s3
Closes IDF-4421
See merge request espressif/esp-idf!16326
2021-12-14 08:10:00 +00:00
Michael (XIAO Xufeng)
b23ed0ee81
Merge branch 'feature/update_adc_cali_due_to_efuse_version_change' into 'master'
...
adc: update s3 adc calibration efuse version
Closes IDF-4069
See merge request espressif/esp-idf!15843
2021-12-14 07:27:35 +00:00
zhangwenxu
50f6302c5d
mdns: support multiple instance for mdns service txt set
2021-12-14 15:10:25 +08:00
Michael (XIAO Xufeng)
590c18f5c8
Merge branch 'feature/support_s3_octal_psram_ecc_feature' into 'master'
...
psram: add octal psram Error Correcting Code (ECC) feature
Closes IDF-4258
See merge request espressif/esp-idf!15832
2021-12-14 06:56:21 +00:00
morris
11b2973b0a
Merge branch 'bugfix/gdma_potential_uaf_bug' into 'master'
...
gdma: fix potential use after free issue
See merge request espressif/esp-idf!16196
2021-12-14 06:16:11 +00:00
Wang Meng Yang
7e2a9feb27
Merge branch 'bugfix/fix_blufi_encryption_fail' into 'master'
...
components/bt: fix blufi encryption fail
See merge request espressif/esp-idf!16313
2021-12-14 03:17:03 +00:00
Wang Meng Yang
92ffcba739
Merge branch 'feature/support_ble_direct_ind_low_adv' into 'master'
...
components/bt: Support low duty cycle directed advertising
See merge request espressif/esp-idf!16371
2021-12-14 03:15:14 +00:00
Mo Fei Fei
7929f6eb65
Merge branch 'docs/fix_typo_in_head_file' into 'master'
...
docs: fix typo in sdmmc_cmd.h and inconsistency in spi_master.h
Closes DOC-2397 and DOC-2382
See merge request espressif/esp-idf!16368
2021-12-14 02:44:03 +00:00
morris
14c926350a
gdma: fix potential use after free issue
2021-12-14 10:08:26 +08:00
Marius Vikhammer
6fbef44ffc
rom: remove deprecated headers from esp32 components
...
These have been replaced by headers in the esp_rom component.
2021-12-14 09:48:11 +08:00
Ivan Grokhotkov
8df306ab60
freertos,esp_system: make dependencies on some components optional
...
Dependencies on gdbstub, espcoredump, app_trace will only be added
if these components are present in the build.
2021-12-13 18:39:49 +01:00
Ivan Grokhotkov
d83ce227aa
newlib: implement posix_memalign, sysconf, realpath
...
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-13 14:40:21 +01:00
Kapil Gupta
8d329951c3
Merge branch 'bugfix/static_analysis_fixes' into 'master'
...
ESP_WIFI: Remove static analysis warnings
See merge request espressif/esp-idf!15871
2021-12-13 12:57:03 +00:00
Jiang Jiang Jian
e3137693c1
Merge branch 'bugfix/fix_rx_fragment_error_issue' into 'master'
...
esp_wifi: fix fragment issue and PMF compatible for faulty APs
Closes WIFI-4218
See merge request espressif/esp-idf!16321
2021-12-13 12:32:33 +00:00
Armando
9a6f894046
psram: add octal psram ECC feature
2021-12-13 20:24:52 +08:00
Armando
fee1d38467
psram: add a ut to test if it's heap allocable
2021-12-13 20:24:52 +08:00
Armando
021e8817cf
psram: make psram wrap mode unavailable
2021-12-13 20:19:32 +08:00
xiewenxiang
0030fba89c
components/bt: Fix high duty cycle directed advertising will not be stopped when timeout
2021-12-13 20:10:21 +08:00
Cao Sen Miao
be510e0498
cleanup: dalete makefile in esp8684 folder
2021-12-13 19:18:47 +08:00
Cao Sen Miao
e81841318f
CI: Enable ESP8684 build stage CI on master
2021-12-13 19:18:47 +08:00
David Čermák
0b77be5108
Merge branch 'bugfix/eth_test_app_race' into 'master'
...
esp_eth/CI: Fix app-test to start recv test after sock bound
See merge request espressif/esp-idf!16350
2021-12-13 10:36:52 +00:00
Ivan Grokhotkov
7a5ed12c6b
lwip: make some of the component dependencies optional
2021-12-13 10:53:22 +01:00
xiewenxiang
132875a6eb
components/bt: Support low duty cycle directed advertising
2021-12-13 17:07:23 +08:00
Sudeep Mohanty
ee9a102841
freertos: remove portmacro.h inclusion from task.h
...
This commit removes the portmacro.h include from task.h as portmacro.h
gets pulled in via FreeRTOS.h. This aligns with upstream FreeRTOS code.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-13 14:33:37 +05:30
intern
467525f846
docs: fix typo in header files
2021-12-13 13:17:17 +08:00
Armando
bfb2a264c6
adc: update adc calibration efuse version
...
ADC calibration scheme and algorithm are not changed. Only the eFuse bit BLOCK1_VERSION is changed. This MR updated the logic to recognize the adc efuse version
2021-12-13 13:00:13 +08:00
Cao Sen Miao
56edc81b5d
spi_flash: add support for th 1M flash
2021-12-13 11:47:48 +08:00
Michael (XIAO Xufeng)
43643716a2
bugfix (nvs): fixed wrong pointer check
2021-12-13 10:42:45 +08:00
David Cermak
c297301ecc
mdns: Minor fix of API description and API usage
2021-12-10 13:25:03 +01:00
David Čermák
3fc6ca6477
Merge branch 'bugfix/tcp_transport_leak' into 'master'
...
BUGFIX/tcp_transport: Fix Websocket transport initialization
See merge request espressif/esp-idf!16281
2021-12-09 18:29:38 +00:00
Simon
db2d471636
Merge branch 'cleanup/clean_tidy_mr_8684' into 'master'
...
Clean up ESP8684 codes(last time), update register headers
Closes IDF-4300 and IDF-4296
See merge request espressif/esp-idf!16005
2021-12-09 16:18:20 +00:00
Simon
9a0e902045
Merge branch 'refactor/fun_pointer_opi' into 'master'
...
opi_flash: Add a function pointer for opi required registers
See merge request espressif/esp-idf!16322
2021-12-09 16:16:30 +00:00
David Čermák
43f4a76df0
Merge branch 'refactor/remove_esp_websocket_client_send_api_v5' into 'master'
...
websocket: removing deprecated API "esp_websocket_client_send" in v5.0
Closes IDF-1470
See merge request espressif/esp-idf!16245
2021-12-09 15:33:31 +00:00
David Cermak
f181c3c23a
esp_eth/CI: Fix app-test to start recv test after sock bound
2021-12-09 16:27:37 +01:00
Tomas Rezucha
6e9229945a
Merge branch 'feature/usb_host/cdc_driver' into 'master'
...
USB: Add CDC-ACM subclass host driver
See merge request espressif/esp-idf!14515
2021-12-09 15:21:24 +00:00
David Čermák
5c33570524
Merge branch 'bugfix/eth_test_app_regex' into 'master'
...
esp_eth/CI: Fix app-test regex for parsing DUT's MAC
Closes IDFCI-989
See merge request espressif/esp-idf!16327
2021-12-09 12:03:55 +00:00
Cao Sen Miao
463cf2cf1c
ESP8684: Clean up ESP8684 code, remove useless code, update headers
2021-12-09 18:36:39 +08:00
Tomas Rezucha
dd1b698075
usb: Add USB host CDC-ACM class driver
2021-12-09 10:28:46 +01:00
Suren Gabrielyan
7f6ab93f7e
websocket: removed deprecated API "esp_websocket_client_send"
...
Closes IDF-1470
2021-12-09 13:28:13 +04:00
Jiang Jiang Jian
6e7716bcf7
Merge branch 'bugfix/fix_phy_enable_watchdog_timeout_issue' into 'master'
...
Fix the ble task watchdog timeout issue
See merge request espressif/esp-idf!16285
2021-12-09 08:32:25 +00:00
Ondrej Kosta
c91aaf161e
Merge branch 'cleanup/netif_glue' into 'master'
...
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers
Closes IDF-3736
See merge request espressif/esp-idf!15988
2021-12-09 08:31:10 +00:00
Chinmay Chhajed
556cd73a7e
bt/bugfix: ACL Rx data is sent to host before enc change event
2021-12-09 15:23:50 +08:00
Mahavir Jain
6380585649
Merge branch 'bugfix/address_few_coverity_scan_issues' into 'master'
...
Fix various warnings generated from Coverity scan
See merge request espressif/esp-idf!16298
2021-12-09 07:04:30 +00:00
Ivan Grokhotkov
c358aceb1b
Merge branch 'feature/soc_caps_build_sys' into 'master'
...
build-system: parse soc caps and integrate into kconfig
Closes IDF-2223
See merge request espressif/esp-idf!15305
2021-12-09 06:54:08 +00:00
David Cermak
d1dee48b2d
CI: Use Console.logs instead of prints in eth test apps
2021-12-09 07:37:26 +01:00
David Cermak
caae336f6e
esp_eth/CI: Fix app-test regex for parsing DUT's MAC
2021-12-09 07:28:11 +01:00
Shu Chen
ad2ec6bcaa
Merge branch 'feature/update_rcp_compile_file_list' into 'master'
...
openthread: update rcp compile file list
See merge request espressif/esp-idf!16295
2021-12-09 05:15:16 +00:00
Mahavir Jain
203f82cc49
Fix various warnings generated from Coverity scan
...
esp_timer:
Control flow issues (DEADCODE)
Execution cannot reach this statement: "break;".
protocomm_httpd:
(UNUSED_VALUE)
Assigning value from "cookie_session_id" to "cur_cookie_session_id" here, but that stored value is overwritten before it can be used.
esp_flash_api:
Null pointer dereferences (REVERSE_INULL)
Null-checking "chip" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2021-12-09 09:38:53 +05:30
xiewenxiang
9006d20355
components/bt: fix blufi encryption fail
2021-12-09 10:40:01 +08:00
Cao Sen Miao
32cdfb36ec
opi_flash: Add a function pointer for opi required registers
2021-12-09 09:57:59 +08:00
Kapil Gupta
d3542495ab
ESP_WIFI: Remove static analysis warnings
2021-12-08 17:32:22 +05:30
NikLeberg
317a11cb05
allow for minimal scope of wifi_init_config_t
...
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
2021-12-08 19:39:41 +08:00
Shang Zhou
fffed159f8
docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
2021-12-08 19:39:41 +08:00
muhaidong
832123a5e1
esp_wifi: fix fragment plt loss and update header file
...
1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn
2. pmf allow keyindex in big endian format to workaround faulty APs
3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file
4. allow for minimal scope of wifi_init_config_t
2021-12-08 19:39:14 +08:00
Yang Zhao
28e9c69303
Update esp32c3 and esp32s3 phy lib and bb lib
...
Fix the ble task watchdog timeout issue caused by phy enable when exit modem sleep.
2021-12-08 19:17:31 +08:00
hörbert
ed2a21e1c7
Don't return a hard coded errno in vfs_fat_access
...
Why should the return value of vfs_fat_access be hard coded as ENOENT?
This hides errors like FR_DISK_ERR of the lower layers.
2021-12-08 11:43:18 +01:00
Armando
964f40be35
adc: fix adc1 channel 8 and 9 not defined bug on s3
2021-12-08 18:21:28 +08:00
Jakob Hasse
9ee974e626
Merge branch 'refactor/test_utils_memory_check' into 'master'
...
memory leak detection functions now in separate file
See merge request espressif/esp-idf!16011
2021-12-08 09:15:20 +00:00
Ondrej Kosta
7e864d6856
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers
2021-12-08 09:21:30 +01:00
Bao Hong De
23b5e16e93
Merge branch 'bugfix/update_licenses' into 'master'
...
components/bt: Update licenses
Closes BT-2150
See merge request espressif/esp-idf!16273
2021-12-08 06:47:26 +00:00
Jiang Jiang Jian
5a5fe48fcb
Merge branch 'bugfix/crypto_allocate_lldesc' into 'master'
...
crypto: dont create DMA descriptors on the stack
Closes IDFGH-6275, IDFGH-6216, and WIFI-4202
See merge request espressif/esp-idf!16007
2021-12-08 06:40:37 +00:00
Jiang Jiang Jian
7fd6328da6
Merge branch 'bugfix/fix_sniffer_t_fcs_crash_issue' into 'master'
...
esp_wifi:compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode
Closes WIFI-3967 and WIFI-3969
See merge request espressif/esp-idf!16160
2021-12-08 06:02:10 +00:00
Marius Vikhammer
97e05c6f8b
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 12:09:01 +08:00
Marius Vikhammer
7fc7c49e5d
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 12:09:01 +08:00
Mahavir Jain
ba355f924e
Merge branch 'bugfix/secure_boot_v2_doc_correction' into 'master'
...
docs: fix salt length in secure-boot-v2 guide
See merge request espressif/esp-idf!16286
2021-12-08 03:25:10 +00:00
Jakob Hasse
16514f93f0
refactor (test_utils)!: separate file for memory check functions
...
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.
BREAKING CHANGE: renamed memory check function names which may be used
in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
baohongde
c138e47f45
components/bt: Update licenses
2021-12-08 10:59:06 +08:00
Jakob Hasse
2e1c7d876c
Merge branch 'bugfix/minimal_stacksize_watchpoint_aware' into 'master'
...
[freertos]: Changed minimal stack size to regard watchpoint usage
See merge request espressif/esp-idf!16269
2021-12-08 02:57:11 +00:00
Marius Vikhammer
23c4534d23
Merge branch 'bugfix/spi_slave_test_non_dma' into 'master'
...
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
See merge request espressif/esp-idf!16293
2021-12-08 02:42:31 +00:00
David Cermak
cb5653fd94
mdns: Fix potential null deref reported by fuzzer test
2021-12-07 16:17:53 +01:00
Kevin (Lao Kaiyao)
9bc274b47b
Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
...
i2s: deprecate confusing names
Closes IDF-4368
See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
zhangwenxu
21ff116993
openthread: update rcp compile file list
2021-12-07 17:32:44 +08:00
Marius Vikhammer
ee684b58fb
spi-slave: fix single-board: hd test failing due to DMA buffers ending up in PSRAM
2021-12-07 16:39:33 +08:00
Simon
6f9b89f619
Merge branch 'bugfix/usb_no_rom_log' into 'master'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom/bootloader log when restarting
Closes IDF-4173
See merge request espressif/esp-idf!16057
2021-12-07 08:16:10 +00:00
Song Ruo Jing
210b131529
Merge branch 'bugfix/gpio_intr_on_core1_s3' into 'master'
...
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
Closes IDFGH-6211 and IDFGH-3635
See merge request espressif/esp-idf!15945
2021-12-07 06:07:19 +00:00
Sudeep Mohanty
4143a3f572
Merge branch 'feature/update-freertos-module-handles-to-struct-type' into 'master'
...
freertos: update module handles to struct type
Closes IDF-3768, IDF-3769, and IDF-3770
See merge request espressif/esp-idf!15766
2021-12-07 04:40:29 +00:00
Mahavir Jain
5cdd3999c7
bootloader_support: fix Coverity scan warning
...
Null pointer dereferences (REVERSE_INULL) :
Null-checking "part" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2021-12-07 09:49:12 +05:30
Jiacheng Guo
456f80b754
mdns: always send A/AAAA records in announcements
2021-12-07 11:44:49 +08:00
Omar Chebib
5d7b188a73
Merge branch 'bugfix/typo_in_i2c_macro' into 'master'
...
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
Closes IDFGH-6351
See merge request espressif/esp-idf!16266
2021-12-07 03:42:35 +00:00
Jakob Hasse
8ebea6f689
bugfix (freertos): Changed minimal stack size to regard watchpoint usage
2021-12-07 10:42:05 +08:00
Euripedes Rocha
ae8eeaade9
tcp_transport: Fix Websocket transport initialization
...
In case of a failure in alocation of WS transport handle, parent leaks.
2021-12-06 14:28:30 -03:00
Guo Jia Cheng
120b0ba2af
Merge branch 'feature/update_openthread_components' into 'master'
...
openthread: update libs
See merge request espressif/esp-idf!16247
2021-12-06 08:56:53 +00:00
Ondrej Kosta
914eafe2db
Merge branch 'feature/ksz80xx_support_extension' into 'master'
...
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
Closes IDFGH-6203 and IDF-3522
See merge request espressif/esp-idf!16024
2021-12-06 08:54:33 +00:00
songruojing
91f1159f9c
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Add a test case for checking the interrupt on other cores.
Closes https://github.com/espressif/esp-idf/issues/7885
2021-12-06 14:17:03 +08:00
songruojing
0e8286c57b
gpio: Bugfix - Move esp_intr_free() out of the critical section in gpio_uninstall_isr_service()
...
Closes https://github.com/espressif/esp-idf/issues/5571
Fix the bug that if the API was called from one core to free the interrupt source on the other core, it would trigger interrupt watchdog.
2021-12-06 14:15:54 +08:00
David Čermák
13978c9556
Merge branch 'feature/asio_ssl_esp' into 'master'
...
asio: Use internal ssl context and engine impl
Closes IDF-3432
See merge request espressif/esp-idf!15523
2021-12-06 05:54:14 +00:00
Marius Vikhammer
97d11c709d
soc: Merge soc_caps for H2 rev1 and rev2
...
These files were identical.
2021-12-06 12:37:11 +08:00
Marius Vikhammer
c6d60615c6
build-system: include soc_caps defines into kconfig
...
Adds gen_soc_caps_kconfig.py which parses the soc caps (soc_caps.h) into
a format that can be included in kconfig.
2021-12-06 12:37:07 +08:00
paul
ef1df8d41a
I2C: Fix typo in I2C_TIMING_VAL_ERR_STR macro name
...
* Closes https://github.com/espressif/esp-idf/pull/8012
2021-12-06 11:43:49 +08:00
Sudeep Mohanty
40c1f3e06e
freertos: update module handles to struct type
...
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Torsten Martinsen
ea8072a361
Add message about alternative functions.
2021-12-05 15:54:21 +01:00
Ondrej Kosta
970986e5b6
Added KSZ8041/81 and LAN8720 Driver IDF v5.0 migration description
...
LAN8720 function call clean up
2021-12-03 14:28:52 +01:00
Jiacheng Guo
5d0c47303d
mdns: filter instance name for ANY queries
...
The instance name in ANY quries was ignored. The MR fixes the issue.
2021-12-03 19:20:14 +08:00
Sudeep Mohanty
88aa3e78c3
NimBLE: Invoke xTimerGetExpiryTime in npl porting layer only when freertos timer is used
...
This commit adds an esp timer guard check to call in the function
npl_freertos_callout_remaining_ticks() to enable fetching remaning ticks
when esp timer is enabled.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-03 15:57:19 +05:30
David Cermak
d823106aa6
asio: Use internal ssl context and engine impl
...
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage
Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue
2021-12-03 09:32:42 +01:00
Mahavir Jain
8fadcd844e
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
Closes IDF-4402
See merge request espressif/esp-idf!15323
2021-12-03 04:55:01 +00:00
Mahavir Jain
fbeb711e06
Merge branch 'bugfix/invalid_url_cause_to_crash' into 'master'
...
http: Fix parsing invalid url cause to crash
Closes ESPAT-953
See merge request espressif/esp-idf!16153
2021-12-03 04:53:56 +00:00
zhangwenxu
a732884944
openthread: update libs
...
* update lib802154: fix assert caused by prcessing isr delay
* update libopenthread_port: aggressively process pending tasks
* update openthread(1267bdb)
2021-12-03 12:18:59 +08:00
Ivan Grokhotkov
e96545b261
Merge branch 'bugfix/esp_adc_cal_cmake' into 'master'
...
esp_adc_cal: minor simplification
See merge request espressif/esp-idf!15814
2021-12-02 15:08:08 +00:00
David Čermák
f6d0605bd4
Merge branch 'bugfix/add_mqtt_connect_unit_test' into 'master'
...
CI/MQTT: Add more unit tests with actual broker
See merge request espressif/esp-idf!15408
2021-12-02 11:51:17 +00:00
0xFEEDC0DE64
f391d610e8
Added results count to MDNS
2021-12-02 12:33:10 +01:00
Fischerauer Christian
3fb83f2866
esp_eth: rework KSZ80xx implementation and add more KSZ80xx PHYs
...
* add support for KSZ8001, KSZ8021, KSZ8031, KSZ8051 and KSZ8061
* remove duplicate code
* simplify architecture to make the code base extensible (for future work)
2021-12-02 11:56:08 +01:00
Li Qi Gan
54c5d42a62
Merge branch 'bugfix/fix_spp_listen_err' into 'master'
...
Component_bt/Fix SPP cannot malloc slot bugs
Closes BCI-300
See merge request espressif/esp-idf!16035
2021-12-02 07:20:58 +00:00
Chen Wu
c10683f493
http: Fix parsing invalid url cause to crash
...
Reason:
For example, if an url is lack of leading 'http:' by mistake, it causes to http_parser_parse_url() cannot parse http host item,
and then pass the null host pointer to _get_host_header(), crash happens.
Fix:
http added null pointer check now.
Closes https://jira.espressif.com:8443/browse/ESPAT-953
2021-12-02 14:15:43 +08:00
David Čermák
d7f2e30b24
Merge branch 'feature/update_option_len_default_value' into 'master'
...
lw-ip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
Closes IDFGH-6064 and IDFGH-6059
See merge request espressif/esp-idf!15623
2021-12-02 05:55:59 +00:00
morris
815203f401
Merge branch 'bugfix/i2s_hal_remove_dup_code_fifo_mod' into 'master'
...
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default
See merge request espressif/esp-idf!16208
2021-12-02 03:37:08 +00:00
Ivan Grokhotkov
4d246baa46
esp_adc_cal: update h2 code to use esp_check.h
...
Same changes as in commit c45c6f52f
for c3.
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
dbd3aa5bfc
driver: adc: use SOC_ADC_PERIPH_NUM for array size
...
ADC_UNIT_MAX is no longer equal to the number of ADC units.
This makes the static s_adc_cali_param arrays larger than necessary.
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
e697e7ff0f
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
e95b4c2b90
esp_adc_cal: simplify CMakeLists.txt
2021-12-01 20:05:04 +01:00
Roland Dobai
f4d1bb017a
Merge branch 'feature/add-wl-support-fatfs' into 'master'
...
Add wear levelling support for fatfs partition generator
Closes IDF-4043 and IDF-2053
See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
muhaidong
f9b2cb6f11
esp_wifi:compute packet length use lldesc length instead of rx_ctl sig_len in sniffer mode
2021-12-01 21:07:32 +08:00
Mahavir Jain
b9b55bc32b
Merge branch 'contrib/github_pr_7971' into 'master'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h>
Closes IDFGH-6308
See merge request espressif/esp-idf!16202
2021-12-01 11:59:20 +00:00
Roland Dobai
73ee08c09b
Merge branch 'feature/carve_out_cmp' into 'master'
...
Remove cbor, jsmn and libsodium
Closes IDF-2169
See merge request espressif/esp-idf!16025
2021-12-01 11:32:05 +00:00
Li Jingyi
981ef057c4
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-01 17:15:25 +08:00
morris
0cec107c01
Merge branch 'bugfix/lcd_rgb_pclk_default_to_low' into 'master'
...
lcd: set rgb pclk idle level default to low
See merge request espressif/esp-idf!16193
2021-12-01 07:59:25 +00:00
yuanjm
9c1520d1f9
lwip: Update LWIP_DHCP_OPTIONS_LEN default value when LWIP_DHCP_DISABLE_VENDOR_CLASS_ID disabled
...
Closes https://github.com/espressif/esp-idf/issues/7742
2021-12-01 07:19:18 +00:00
liqigan
aa6f86fbc5
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-01 14:59:14 +08:00
Michael (XIAO Xufeng)
14213d883b
hal/i2s: remove duplicated code in i2s_hal_rx_set_pdm_mode_default
2021-12-01 05:47:36 +00:00
Wang Meng Yang
fe289ec670
Merge branch 'bugfix/fix_can_not_find_mac_addr_error_mr' into 'master'
...
fix can not find mac addr error
Closes BT-2032
See merge request espressif/esp-idf!16143
2021-12-01 02:53:34 +00:00
Tomas Rezucha
ebaca79557
other: Move cbor, jsmn and libsodium to idf-component-manager
...
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components .
They are distributed via idf-component-manager, see
https://components.espressif.com .
2021-11-30 21:44:48 +01:00
Andrii Filippov
6a11f6fb20
Merge branch 'bugfix/replace_PING_CHECK_macro' into 'master'
...
Replace PING_CHECK macro by ESP_GOTO_ON_FALSE
Closes IDF-4241
See merge request espressif/esp-idf!15930
2021-11-30 17:20:51 +00:00
Mahavir Jain
f667b1039b
Fix copyright headers for few include files
2021-11-30 22:25:33 +05:30
AndriiFilippov
f42d1f48c6
unified replace PING_CHECK by ESP_GOTO_ON_FALSE
...
unified replace PING_CHECK by ESP_GOTO_ON_FALSE
replace PING_CHECK macro by ESP_GOTO_ON_FALSE
Include header
grammar fix
2021-11-30 10:12:09 +01:00
lovyan03
cb91b51c52
bugfix: Conflicting declaration error with include<esp_efuse.h>, and Unified secure_boot.h include guard to "pragma once".
2021-11-30 15:46:49 +09:00
Yang Zhao
4b7a71673e
Add the feature that switch random address to origin mac addr in the ADV
...
report data.
2021-11-30 14:14:42 +08:00
morris
89e37837d0
lcd: rgb pclk idle default to low
2021-11-30 13:44:06 +08:00
Ivan Grokhotkov
4675dc428f
Merge branch 'bugfix/vfs-select-lock-latency' into 'master'
...
vfs: reduce lock in vfs_select
Closes WIFI-4063 and WIFI-4207
See merge request espressif/esp-idf!16161
2021-11-30 03:55:44 +00:00
morris
43fd499547
Merge branch 'bugfix/reduce_bootup_time_when_using_usb-serial-jtag' into 'master'
...
rtc_clk: reduce bootup time when using usb-serial-jtag
Closes IDF-4319
See merge request espressif/esp-idf!16173
2021-11-30 03:32:55 +00:00
Martin Gano
7460deeae8
support for wear levelling in fatfs partition generator
...
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Ondrej Kosta
fcd634faec
Merge branch 'contrib/github_pr_7958' into 'master'
...
fix: missing initializer waring in esp_eth
Closes IDFGH-6293
See merge request espressif/esp-idf!16178
2021-11-29 13:24:58 +00:00
Cao Sen Miao
17ea9d7faf
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2021-11-29 20:26:09 +08:00
aleks
b8c1d26f56
freemodbus: fix port contains lgpl licensed files
...
Initial version of freemodbus master port files have been added to ESP-IDF based on https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32 .
The overall repository license, at the time of adding these files, has been BSD 3-clause. However at that time, several port files carried LGPL license headers. As the author of these files confirmed in https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32/issues/61#issuecomment-977828450 , this wasn't intentional. ESP-IDF version of modbus master port has been rewritten to target FreeRTOS instead of RT-Thread, but the license headers remained from the original version. This commit corrects this, replacing the license of these files with BSD 3-clause.
2021-11-29 12:50:53 +01:00
Mahavir Jain
92b1ea2199
Merge branch 'bugfix/hardware_mpi_fallback_issue' into 'master'
...
mbedtls: fix hardware MPI (bignum) related regression
See merge request espressif/esp-idf!15854
2021-11-29 11:19:51 +00:00
jingli
0ea1825f64
reduce bootup time when using usb-serial-jtag
2021-11-29 17:21:11 +08:00
Shu Chen
961407ca42
Merge branch 'feature/add_mtd_for_openthread' into 'master'
...
openthread : support MTD
See merge request espressif/esp-idf!16006
2021-11-29 08:27:46 +00:00
Jiang Jiang Jian
7878255f17
Merge branch 'bugfix/repeated_ftm_failures_issue' into 'master'
...
Fix FTM failures after repeated operations
Closes IDFGH-6015
See merge request espressif/esp-idf!15689
2021-11-29 07:39:22 +00:00
Simon
e9f3f56ba1
Merge branch 'refactor/delete_clk_header' into 'master'
...
cleanups: Delete some deprecated headers to make idf cleaner(clk.h esp_cache_err.h)
Closes IDF-4294
See merge request espressif/esp-idf!16012
2021-11-29 07:31:55 +00:00
Mahavir Jain
12fee76695
esp_bignum: move check for supported MPI bits at start of API
...
This can allow hardware MPI API to return as soon as it identifies
that it can handle require bitlength operation.
2021-11-29 15:13:05 +08:00
Mahavir Jain
5d9392d999
mbedtls: update mbedtls submodule pointer for MPI API change
2021-11-29 15:13:05 +08:00
Mahavir Jain
c097e6bcab
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-11-29 15:13:05 +08:00
Mahavir Jain
1a390f4518
mbedtls: update kconfig help to correct on supported MPI bits
2021-11-29 15:13:02 +08:00
Darian
567f626ef7
Merge branch 'bugfix/freertos_pd_ticks_to_ms_precision' into 'master'
...
Freertos: Fix loss of precision in pdTICKS_TO_MS (GitHub PR #7856 )
Closes IDFGH-6179
See merge request espressif/esp-idf!16133
2021-11-29 06:36:00 +00:00
Jiacheng Guo
b00d6d0a95
vfs: reduce lock in vfs_select
2021-11-29 14:09:07 +08:00
zhangwenxu
f3fc4deade
openthread : support MTD
2021-11-29 13:17:49 +08:00
David Cermak
cd085992c6
MQTT: Fix disconnect/reconnect, Adds empty client id, ...
...
Updated MQTT submodule: git log --oneline 89894bd0c611b1392967fe90bb49682eba858383...b86d42c130ac64a916ce6cf299d99f9756692394
* Added support for client with empty id
* Fixed user requested disconnect to correctly send MQTT disconnection message
* Fixed reconnection request with disabled autoreconnect
* Added qos and dup flags to data events
* Added Support for suback massage payload in mqtt events
Detailed description of the changes (89894bd0c6...b86d42c130
):
* Adds the possibility of client with empty id
- See merge request esp-mqtt!114
- esp_mqtt commit 09287a1156
- esp_mqtt commit 1fd50dd2cb
- Related IDF-4124
* Client: Disconnect/Reconnect improvements
- See merge request esp-mqtt!113
- esp_mqtt commit 3f05b1aedc
- esp_mqtt commit 86e40f8615
- Related https://github.com/espressif/esp-mqtt/issues/206
- Related https://github.com/espressif/esp-mqtt/issues/208
* Events: Support qos/dup flags and suback payload in mqtt events (GitHub PR)
- See merge request esp-mqtt!112
- esp_mqtt commit de47f1c341
- esp_mqtt commit e1d5a9402f
- Related https://github.com/espressif/esp-mqtt/issues/200
- Related https://github.com/espressif/esp-mqtt/pull/203
2021-11-26 13:57:32 +01:00
David Cermak
3b0dcf8901
MQTT: Add more tests
2021-11-26 13:34:56 +01:00
David Cermak
acf0caa04a
MQTT: Add more unit tests with actual broker
2021-11-26 11:45:32 +01:00
Vladimir Chistyakov
2b944ca056
fix: missing initializer warning in esp_eth
...
remove auto_nego_en member from esp_eth_config_t as it is not used
anywhere
2021-11-26 17:42:38 +07:00
Cao Sen Miao
7f0a746e6a
move brownout trax cache_int_err to private folder
2021-11-26 18:27:53 +08:00
Cao Sen Miao
c794808297
cache_err_int: delete old headers
2021-11-26 14:56:30 +08:00
Cao Sen Miao
eddc196081
esp_clk: refactor target/clk.h to private/esp_clk.h
2021-11-26 14:56:30 +08:00
Gustavo Henrique Nihei
d0846e48e5
Merge branch 'bugfix/bootloader_utility_warnings' into 'master'
...
bootloader_support: Fix compiler warnings
See merge request espressif/esp-idf!16083
2021-11-26 04:13:37 +00:00
Michael (XIAO Xufeng)
c4310fb0db
Merge branch 'feature/add_h2_beta2_target_support' into 'master'
...
esp32h2: Add support for esp32h2 beta2 version
Closes IDF-4230
See merge request espressif/esp-idf!15630
2021-11-26 03:56:01 +00:00
Alexey Gerenkov
47921a1588
Merge branch 'bugfix/app_trace_tmo_init' into 'master'
...
startup: init timer before calling esp_apptrace_tmo_init
See merge request espressif/esp-idf!16084
2021-11-25 19:35:46 +00:00
lisekt84
b3e0c9213a
freertos: Fix loss of precision in pdTICKS_TO_MS
...
Closes https://github.com/espressif/esp-idf/pull/7856
Closes https://github.com/espressif/esp-idf/issues/7853
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2021-11-25 21:55:39 +08:00
Gustavo Henrique Nihei
c6391f12db
bootloader_support: Fix unused-but-set-variable compiler warning
...
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-25 21:12:52 +08:00
Gustavo Henrique Nihei
acbf871d2f
bootloader_support: Fix unused-variable compiler warning
...
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-25 21:12:52 +08:00
Nachiket Kukade
c3d971c52e
esp_wifi: Update wifi lib
...
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
timeout issue in ASAP mode
Closes https://github.com/espressif/esp-idf/issues/7702
Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
FlorianR
4db3fd17d9
Clarify when the socket is closed if a custom session closing callback is used
...
When using a custom session closing callback, the IDF will not close the socket for the user. This might result in the system running out of fds. Without any note on that in the documentation, this is easy to miss.
2021-11-25 17:19:11 +08:00
Mahavir Jain
ef98a363e3
Merge branch 'feature/adds_fault_injection_protection_for_check_anti_rollback' into 'master'
...
bootloader_support: Adds fault injection protection for check_anti_rollback
See merge request espressif/esp-idf!15662
2021-11-25 09:01:59 +00:00
Mahavir Jain
140efc3857
Merge branch 'bugfix/scheduler_state_query_thread_safety' into 'master'
...
freertos: fix thread safety for checking scheduler state
Closes IDFGH-6041
See merge request espressif/esp-idf!16097
2021-11-25 07:31:33 +00:00
David Čermák
ae4b8ea08e
Merge branch 'bugfix/wifi_netif_on_off_cycle_race' into 'master'
...
wifi: Fix race conditon invoking invalid callback on deinit
Closes IDFGH-5880
See merge request espressif/esp-idf!15393
2021-11-25 07:28:59 +00:00
Ondrej Kosta
a789cf705f
Merge branch 'feature/eth_raw_frame_intf' into 'master'
...
Feature/eth raw frame intf
Closes IDF-4102
See merge request espressif/esp-idf!13873
2021-11-25 07:21:19 +00:00
Wang Meng Yang
588235f3b1
Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable' into 'master'
...
component/bt: fix assert fail when interrupt hlevel disable
See merge request espressif/esp-idf!16042
2021-11-25 06:08:45 +00:00
Marius Vikhammer
93afdea821
Merge branch 'bugfix/s3_rtc_ram_deepsleep_test' into 'master'
...
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
Closes IDFCI-137
See merge request espressif/esp-idf!16116
2021-11-25 04:15:52 +00:00
Marius Vikhammer
469d047aeb
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
...
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.
Fixed wrong usage of stack size and slightly increased it.
2021-11-25 10:25:59 +08:00
Shu Chen
87d19d7ef9
Merge branch 'feature/Add_zigbee_light_example' into 'master'
...
zigbee: add light example
See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Shu Chen
a08d2732d5
Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
...
fix watch dog trigger when iperf udp is running
See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00
Darian Leung
289730820b
freertos: Add missing INCLUDE_ configurations for some functions
...
This commit adds missing INCLUDE_ configurations to FreeRTOSConfig.h for
the following functions:
- xTaskAbortDelay()
- xTaskGetHandle()
Unit tests for these functions were also added.
Closes https://github.com/espressif/esp-idf/issues/7902
2021-11-25 00:04:07 +08:00
xiewenxiang
6d35819d16
component/bt: fix assert fail when interrupt hlevel disable
2021-11-24 20:10:00 +08:00
Mahavir Jain
ec9b69d7e3
Merge branch 'feature/add_get_errno_api_for_http_client' into 'master'
...
esp_http_client: add a get HTTP client session errno API for esp_http_client
See merge request espressif/esp-idf!15869
2021-11-24 11:25:04 +00:00
Martin Vychodil
388686804e
Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix' into 'master'
...
[Storage]: Re-enable FatFS write/read speed test
Closes IDF-1421
See merge request espressif/esp-idf!15383
2021-11-24 10:15:53 +00:00
xutao
10377ce2ff
esp_http_client: add a get HTTP client session errno api for esp_http_client
2021-11-24 17:23:09 +08:00
Mahavir Jain
5d40016ddb
freertos: fix thread safety for checking scheduler state
...
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-24 14:34:40 +05:30
Chen Jian Xing
f41494f5a4
Merge branch 'bugfix/modify_mexico_channel_refer_fcc' into 'master'
...
esp_wifi: update Mexico channel refer to FCC
See merge request espressif/esp-idf!15698
2021-11-24 08:01:31 +00:00
laokaiyao
fa4e77eb44
i2s: deprecate confusing names
2021-11-24 13:21:13 +08:00
laokaiyao
f21020ce04
esp32h2: update reg and struct for beta2
2021-11-24 12:34:17 +08:00
wuzhenghui
388615add0
update esp32h2beta2 chip_id to 14
2021-11-24 12:30:43 +08:00
wuzhenghui
968c42d88c
822 FPGA rnv init
2021-11-24 12:30:17 +08:00
laokaiyao
b9a84b96ce
esp32h2: add support for beta2
2021-11-24 12:30:17 +08:00
Sudeep Mohanty
a5bd8f4a65
Merge branch 'doc/s3-prog-guide-system-chip-independent' into 'master'
...
docs: update programming guide for esp32s3 chip independent system chapters
Closes IDF-3308
See merge request espressif/esp-idf!15992
2021-11-24 04:29:21 +00:00
Mahavir Jain
9cecde6fb4
bootloader: add anti-FI checks around secure version in anti-rollback scheme
2021-11-24 11:37:27 +08:00
zhangwenxu
0fe32adb58
iperf: handle NO_MEM error in OpenThread iperf
...
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Anton Maklakov
05d2c540a4
Merge branch 'fix/virt_efuse_example_test' into 'master'
...
efuse_example_test: Fix the example test
See merge request espressif/esp-idf!16065
2021-11-24 01:12:00 +00:00
Erhan Kurubas
4741682c50
startup: timer_early_init before calling esp_apptrace_tmo_init
2021-11-24 01:43:15 +01:00
Gustavo Henrique Nihei
0a15a3fa96
Merge branch 'bugfix/bootloader_debug_buffers' into 'master'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function
See merge request espressif/esp-idf!15998
2021-11-23 11:54:42 +00:00
David Cermak
9739adc85f
wifi: Fix race conditon invoking invalid callback on deinit
...
Closes https://github.com/espressif/esp-idf/issues/7579
2021-11-23 11:26:54 +01:00
Ondrej Kosta
3a7a67f174
netif: added ESP-NETIF L2 TAP interface
2021-11-23 11:17:22 +01:00
Aditya Patwardhan
5d61eea847
efuse_example_test: Fix the example test ( broken due to latest change
...
in info message)
*Unify the log messages when UART ROM Download mode is kept enabled
2021-11-23 15:21:32 +05:30
ChenJianxing
ed0fcf21a5
esp_wifi: update Mexico channel range refer to FCC
2021-11-23 15:19:04 +08:00
Sudeep Mohanty
722a6b7cf4
docs: update programming guide for esp32s3 chip independent system chapters
...
This commit updates the chip independent system chapters of the
programming guide for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-23 12:48:10 +05:30
Hrudaynath Dhabe
75f32ffdcf
Merge branch 'feature/support_eap_fast' into 'master'
...
esp_wifi: Add support for EAP-FAST authentication method.
Closes WIFI-2820 and WIFI-4198
See merge request espressif/esp-idf!14232
2021-11-23 06:22:22 +00:00
Mahavir Jain
9b4b266042
Merge branch 'fix/remove_warning_when_disabling_rom_dl_mode' into 'master'
...
secure_boot: Fix warning when UART ROM DL mode is disabled
See merge request espressif/esp-idf!15903
2021-11-23 05:54:51 +00:00
Chen Jian Xing
582da32f4a
Merge branch 'bugfix/fix_esp32s3_usb_otg' into 'master'
...
esp_phy: fix esp32s3 phy work with USB-OTG issue
Closes WIFI-4157
See merge request espressif/esp-idf!15913
2021-11-23 03:41:00 +00:00
Guo Jia Cheng
2a97578ce0
Merge branch 'bugfix/mdns-ptr-record-cnt' into 'master'
...
mdns: fix wrong PTR record count
See merge request espressif/esp-idf!15891
2021-11-23 03:13:02 +00:00
Wang Meng Yang
c788274658
Merge branch 'feature/add_coex_hci_command_master' into 'master'
...
Add hci command to set coexistence status
Closes BT-1886
See merge request espressif/esp-idf!14830
2021-11-23 03:08:50 +00:00
Wang Meng Yang
ee5192960c
Merge branch 'bugfix/fix_static_check_error_mr' into 'master'
...
Fix the high-impact issues from the code analysis report from customer.
Closes BT-2079
See merge request espressif/esp-idf!15976
2021-11-23 03:07:05 +00:00
Roland Dobai
2b9c81cbdc
xtensa: Pass the test with latest gdb
2021-11-22 18:17:36 +01:00
Roland Dobai
1c22f1e15e
xtensa: Revert back Makefile for trax test
...
Revert back the regression of 766aa57084
2021-11-22 18:02:08 +01:00
Gustavo Henrique Nihei
f75f74ac40
bootloader_support: Fix and re-enable bootloader_debug_buffer function
...
The body of the bootloader_debug_buffer function was conditioned to
macros that were never defined, resulting in deactivated code.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-22 12:13:58 -03:00
Hrudaynath Dhabe
5f96a6ffd2
esp_wifi: Add support for EAP-FAST authentication method
2021-11-22 17:33:36 +05:30
xiongweichao
c80ac536d7
Add hci command to set coexistence status
2021-11-22 19:57:01 +08:00
Darian
150818e4f5
Merge branch 'feature/freertos_try_enter_critical' into 'master'
...
freertos: Add portTRY_ENTER_CRITICAL() and clean up old port mux API
Closes IDF-2047 and IDFGH-3318
See merge request espressif/esp-idf!15568
2021-11-22 10:34:09 +00:00
“YangZhao”
12ec4866b8
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
Omar Chebib
a857f52107
Merge branch 'bugfix/sleep_wrong_log_lvl' into 'master'
...
Sleep: fix wrong print function in critical section
Closes IDFGH-6273
See merge request espressif/esp-idf!16027
2021-11-22 08:14:24 +00:00
Aditya Patwardhan
be65338212
secure_boot: Fix warning when UART ROM DL mode is disabled
...
*Additionally use updated calls to enable rom secure download mode
2021-11-22 12:01:15 +05:30
Jiang Jiang Jian
5f86e13455
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit' into 'master'
...
[nimble]: clear timer handle during de-initialization
See merge request espressif/esp-idf!15950
2021-11-22 05:45:44 +00:00
Darian Leung
9b3796d2f1
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
...
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()
Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()
Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
thus the spinlock test pass threshold had to be increased to account for the extra runtime.
Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 13:28:39 +08:00
Omar Chebib
c676b83d2f
Sleep: fix wrong debug level
...
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.
* Closes https://github.com/espressif/esp-idf/issues/7942
2021-11-22 10:52:19 +08:00
Kapil Gupta
4cbd4b19cb
esp_wifi: Remove scan done event for supplicant scans
...
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-20 18:25:55 +05:30
Kapil Gupta
fa8f057ba8
wpa_supplicant: Fix compilation error when debug enabled
...
Closes https://github.com/espressif/esp-idf/issues/7789
2021-11-20 18:24:56 +05:30
Kapil Gupta
27e3422a23
wpa_supplicant: Optimize BTM request scan
2021-11-20 18:24:56 +05:30
wangmengyang
8cfffa260b
[nimble]: clear timer handler during de-initialization
2021-11-19 15:08:55 +08:00
Isha Pardikar
28db922cfd
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
Fix for potential allocation bug in protocomm_nimble.c
Closes IDFGH-6005
See merge request espressif/esp-idf!15669
2021-11-19 04:47:44 +00:00
Wang Meng Yang
2ee3c7b542
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-19 02:59:12 +00:00
Wang Meng Yang
83a5823564
Merge branch 'bugfix/fix_device_name_len_limited_mr' into 'master'
...
Fix the issue of device name len limited
Closes BT-2066
See merge request espressif/esp-idf!15880
2021-11-19 02:36:25 +00:00
Wang Meng Yang
412808909c
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_master' into 'master'
...
fix modem sleep hw error
See merge request espressif/esp-idf!15824
2021-11-19 02:34:39 +00:00
Wei Tian Hua
4d3323d4cc
Merge branch 'bugfix/leedarson_master' into 'master'
...
component_bt: Fix some code logic errors
Closes BT-2079
See merge request espressif/esp-idf!15943
2021-11-19 02:03:15 +00:00
KonstantinKondrashov
209702d055
esp_ipc: Update documentation and API descriptions
...
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
xiongweichao
ce2d72ddfb
Missing break in switch
2021-11-18 19:47:09 +08:00
xiongweichao
5152b33385
Dereference null return value
2021-11-18 19:47:09 +08:00
xiongweichao
1bada6c0f6
already defined in bt_target.h
2021-11-18 19:47:09 +08:00
xiongweichao
752b1976c0
Dereference after null check
2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110
Dereference before null check
2021-11-18 19:38:48 +08:00
xiongweichao
564f9e8f68
Logically dead code
2021-11-18 19:38:48 +08:00
isha pardikar
7377f8a5a6
Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
...
NimBLE: Fixed potential allocation bug in protocomm_nimble.c
Closes https://github.com/espressif/esp-idf/issues/7689
See merge request espressif/esp-idf!15669
2021-11-18 14:15:08 +05:30
Yang Zhao
3b84612582
Update esp32 bt-lib
...
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-18 15:23:36 +08:00
Jiang Jiang Jian
aa2047a83f
Merge branch 'mesh/bugfix_fix_layer2_node_connection_issue' into 'master'
...
mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
See merge request espressif/esp-idf!15181
2021-11-18 03:55:00 +00:00
Zim Kalinowski
d7d280b9df
Merge branch 'staging/improve_riscv_vector_s_file' into 'master'
...
RISC-V: Fix vectors.S assembly file indentation and macro usage
See merge request espressif/esp-idf!15927
2021-11-18 00:50:35 +00:00
isha pardikar
e2a37b2712
Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
...
NimBLE: Fixed wifi_prov_mgr crash after provisioning
See merge request espressif/esp-idf!15793
2021-11-17 18:35:40 +05:30
chenjianxing
65f3bf4a8a
esp_phy: fix esp32s3 phy work with USB-OTG issue
2021-11-17 11:08:01 +08:00
Matus Fabo
a390efe798
fix: pin definitions for other boards
...
fix: re-enabled fatfs r/w test on sdspi
fix: copyright notice
add: pin definitions for esp32c3
fix: Changed fixed spi dma channel to a macro definition
2021-11-16 14:13:25 +01:00
Ondrej Kosta
6d4ff2c05e
Merge branch 'feature/eth_ioctl_speed_duplex' into 'master'
...
esp_eth: esp_eth_ioctl update
Closes IDF-1240 and IDF-4060
See merge request espressif/esp-idf!15607
2021-11-16 11:56:18 +00:00
Ondrej Kosta
d1f2a3dfcc
esp_eth: added ioctl options to set Ethernet speed and duplex mode
...
esp_eth_ioctl third argument always acts as untyped pointer to memory now
2021-11-16 08:34:07 +01:00
morris
2e008825a9
Merge branch 'feat/rm_makefiles' into 'master'
...
Build & config: Remove leftover files from the unsupported make build system
Closes IDF-4273 and IDF-2827
See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
morris
207891ef6c
clk: fix esp32h2 print wrong CPU frequency
2021-11-15 17:40:51 +08:00
Mahavir Jain
c5b904745f
Merge branch 'bugfix/efuse_utility_header' into 'master'
...
efuse: Add missing esp_rom_sys.h include file
See merge request espressif/esp-idf!15939
2021-11-15 09:24:13 +00:00
Omar Chebib
220e52fca1
RISC-V: Fix vectors.S assembly file indentation and macro usage
...
The file is now more consistent as the macros have been fixed, more comments
have been added and the indentation is now using spaces only.
2021-11-15 17:17:24 +08:00
Wang Meng Yang
6322632a37
Merge branch 'bugfix/add_warning_print_timer' into 'master'
...
NimBLE: Modified timer not started / running warning print
See merge request espressif/esp-idf!15177
2021-11-15 08:32:47 +00:00
Li Shuai
5b766e63c0
Merge branch 'bugfix/wifi_bt_mac_bb_pd_light_sleep' into 'master'
...
fixes some sleep related issues
Closes AUD-3278
See merge request espressif/esp-idf!15844
2021-11-15 05:05:47 +00:00
Simon
197d6c05b6
Merge branch 'feature/support_new_psram' into 'master'
...
PSRAM: Add ESP32-D0WDR2-V3 support
Closes IDF-4308
See merge request espressif/esp-idf!15875
2021-11-15 03:43:59 +00:00
Li Shuai
37e1e9c540
Merge branch 'bugfix/memory_region_define_rtc_fast' into 'master'
...
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
Closes WIFI-4115
See merge request espressif/esp-idf!15743
2021-11-15 02:34:35 +00:00
Gustavo Henrique Nihei
626d78c2e0
efuse: Add missing esp_rom_sys.h include file
...
This prevents the compiler error for the implicit declaration of
function "esp_rom_printf".
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 17:35:59 -03:00
Gustavo Henrique Nihei
4a011f3183
Merge branch 'bugfix/efuse_stdbool' into 'master'
...
efuse: Add missing stdbool.h include file
See merge request espressif/esp-idf!15917
2021-11-12 16:18:07 +00:00
Gustavo Henrique Nihei
5f0e213d9d
efuse: Enable C++ linkage for the include headers on esp_efuse.h
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-12 09:17:02 -03:00
Li Shuai
c99cb930c3
sleep: deep sleep does not need cpu and wifi/bt mac retention
2021-11-12 17:46:56 +08:00
Li Shuai
d9e3204115
light sleep: replace new kconfig option of mac bb power down & phy reduce tx power
2021-11-12 17:46:18 +08:00
Shang Zhou
6da09b3542
Merge branch 'docs/update_syntax_error_for_customer_feedback' into 'master'
...
docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup
Closes DOC-2263
See merge request espressif/esp-idf!15909
2021-11-12 06:41:49 +00:00
Cao Sen Miao
ce1ee3d8ae
psram: add ESP32-D0WD-R2-V3 support
2021-11-12 13:52:24 +08:00
Sudeep Mohanty
0497f18688
Merge branch 'feature/esp-timer-add-api-for-expiry-time' into 'master'
...
esp_timer: Added esp_timer_get_period/expiry_time APIs
Closes IDF-4285
See merge request espressif/esp-idf!15835
2021-11-12 05:13:34 +00:00
Mahavir Jain
f104bf1b76
Merge branch 'bugfix/httpd_stop' into 'master'
...
Check for failure in stopping http server [GitHub PR]
Closes IDFGH-7843
See merge request espressif/esp-idf!15904
2021-11-12 04:21:33 +00:00
Jakob Hasse
c14c81733d
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility' into 'master'
...
nvs: add config to ignore "encrypted" flag of nvs partitions
Closes IDFGH-6162
See merge request espressif/esp-idf!15912
2021-11-12 03:24:19 +00:00
Omar Chebib
76fbd73b20
Merge branch 'bugfix/ledc_auto_clk_refactor' into 'master'
...
ledc: improved support for ESP32-C3 and refactored divisor calculation
Closes IDF-2441
See merge request espressif/esp-idf!13837
2021-11-12 03:21:46 +00:00
Gustavo Henrique Nihei
77a6347849
efuse: Add missing stdbool.h include file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-11 18:04:26 -03:00
Simon
4f7e51231f
Merge branch 'refactor/flash_qio_overidable' into 'master'
...
spi_flash: refactor flash qio to make it overridable
Closes IDF-3089
See merge request espressif/esp-idf!15371
2021-11-11 17:54:47 +00:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Song Ruo Jing
2c606c29b1
Merge branch 'bugfix/gpio_interrupt_on_app_cpu' into 'master'
...
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
Closes IDFGH-5900
See merge request espressif/esp-idf!15901
2021-11-11 12:28:53 +00:00
Mahavir Jain
ad9230fb34
spi_flash: minor cleanup, use type/subtype from esp_partition.h
2021-11-11 16:35:55 +05:30
likunqiao
5ae287b240
Bug fix: cmakelist update for build ieee802154 driver from src
2021-11-11 19:03:13 +08:00
Mahavir Jain
e67128dd0a
nvs: add config to ignore "encrypted" flag of nvs partitions
...
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.
It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.
Please see commit aca9ec28b3
which
introduced check to not allow NVS partitions with "encrypted" flag set.
More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667
Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-11 15:20:57 +05:30
Sudeep Mohanty
5806e57773
esp_timer: Added esp_timer_get_period/expiry_time APIs
...
Added the following new APIs to the esp_timer module:
- esp_timer_get_period(): Returns the period of a timer in microseconds.
- esp_timer_get_expiry_time(): Returns the timeout value of a one-shot timer in microseconds.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-11 15:13:05 +05:30
Shang Zhou
1669504614
docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup
2021-11-11 17:25:45 +08:00
David Čermák
f788c337b1
Merge branch 'bugfix/esp_eth_test_deinit' into 'master'
...
esp_eth: Update test_emac.c (GitHub PR)
Closes IDFGH-6178 and IDFGH-6177
See merge request espressif/esp-idf!15873
2021-11-11 07:45:42 +00:00
Omar Chebib
44df880c12
Merge branch 'feature/move_ipc_to_esp_system' into 'master'
...
IPC: Move ipc sources to esp_system
Closes IDF-2160
See merge request espressif/esp-idf!15234
2021-11-11 06:57:44 +00:00
Dániel Buga
994038e0e9
esp_http_server: Check for failure in stopping http server
...
In some cases, sending the shutdown signal may fail, which causes `httpd_stop` to wait indefinitely.
This PR adds a check to prevent this infinite loop.
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/7843
2021-11-11 11:43:57 +05:30
Cao Sen Miao
981abed2b2
spi_flash: refact that flash qio can be overidable
2021-11-11 12:28:21 +08:00
Omar Chebib
1e8a0909f6
LEDC: divisor calculation will now be rounded up when necessary
...
Closes https://github.com/espressif/esp-idf/issues/7722
2021-11-11 12:21:22 +08:00
Omar Chebib
aa2ca7dd94
LEDC: improved support for ESP32-C3 and refactored divisor calculation
...
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2021-11-11 12:21:15 +08:00
songruojing
7ec38fcc42
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
...
Introduced in 874a720286
Closes https://github.com/espressif/esp-idf/issues/7594
2021-11-11 12:14:32 +08:00
Wang Meng Yang
534cd5bb31
Merge branch 'bugfix/fix_custmoer_issues' into 'master'
...
bugfix/fix_3_controller_issues
Closes ESPCS-721, IDFGH-5407, IDFGH-5712, and IDFGH-6082
See merge request espressif/esp-idf!15821
2021-11-11 03:39:37 +00:00
Jiang Jiang Jian
3a443d523f
Merge branch 'bugfix/fix_memory_leak_controller_deinit' into 'master'
...
ESP32: Fix memory leak in controller deinit function
See merge request espressif/esp-idf!15449
2021-11-11 03:36:18 +00:00
Yang Zhao
66fa67cde6
Fix the issue of device name len limited
2021-11-11 11:35:36 +08:00
Zim Kalinowski
9502656640
Merge branch 'bugfix/github-7830' into 'master'
...
docs: fix a small typo in logging library docs
Closes IDFGH-6153
See merge request espressif/esp-idf!15831
2021-11-11 03:30:02 +00:00
Jiang Jiang Jian
c6ad0e4658
Merge branch 'bugfix/power_down_bluetooth_module_when_deinit' into 'master'
...
component/bt: Power down bluetooth module when deinit
Closes WIFI-4180
See merge request espressif/esp-idf!15716
2021-11-11 03:23:46 +00:00
Omar Chebib
9d5923a13e
IPC: Move ipc sources to esp_system
...
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
Jiang Jiang Jian
6ef6c2a2c7
Merge branch 'bugfix/esp32_light_sleep_crash' into 'master'
...
Fix crash caused by bluetooth high level interrupt
Closes BT-2047 and BT-2048
See merge request espressif/esp-idf!15867
2021-11-10 14:41:30 +00:00
Roland Dobai
016198f68f
Merge branch 'feat/remove_make' into 'master'
...
Build & config: Remove the "make" build system
Closes IDF-4272
See merge request espressif/esp-idf!15818
2021-11-10 14:13:25 +00:00
David Čermák
f4bb97c56a
Merge branch 'bugfix/DM9051_network_communication_abnormal' into 'master'
...
esp_eth: DM9051 tx throughput rate optimization
See merge request espressif/esp-idf!15099
2021-11-10 11:31:55 +00:00
Jiacheng Guo
5d3f8157e0
mdns: fix wrong PTR record count
2021-11-10 17:29:09 +08:00
Roland Dobai
9c1d4f5b54
Build & config: Remove the "make" build system
...
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
xiongweichao
422cf3cf37
Fix crash caused by bluetooth high level interrupt
2021-11-10 16:11:10 +08:00
Rahul Tank
897926d21c
NimBLE: Modified timer not started / running warning print
...
Current check for valid timer throws a print which can mislead to be a crash. Modified the same
Closes: https://github.com/espressif/esp-idf/issues/7550
2021-11-10 12:44:39 +05:30
Zim Kalinowski
04d80db499
freertos: Move Espressif's specific esp_reent_init into collective ifdef
2021-11-10 10:55:05 +08:00
Omar Chebib
86fbe68d94
Merge branch 'bugfix/xStreamBufferReset_crashing' into 'master'
...
FreeRTOS: Fix xStreamBufferReset function always crashing
Closes IDFGH-6040
See merge request espressif/esp-idf!15626
2021-11-10 02:12:30 +00:00
Jing Li
caa9e323cc
Merge branch 'bugfix/fix_ota_crash' into 'master'
...
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
See merge request espressif/esp-idf!15720
2021-11-09 08:45:01 +00:00
jincheng
74e121af88
fix HCI_Read_Clock error
...
fix HCI_Create_Connection_Cancel error
fix ASSERT_WARN during epr
2021-11-09 14:37:13 +08:00
Tian Sen Wen
c6ba84e5cd
esp_eth: optimize dm9051 Tx throughput
2021-11-09 14:04:11 +08:00
Omar Chebib
8376276b14
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-11-09 14:04:02 +08:00
baohongde
11656377af
components/bt: Fix the issue caused by the power off the bt power domain
2021-11-09 12:03:49 +08:00
lisekt84
474073c0a9
Update test_emac.c
...
Test of uninstall driver always return ESP_OK (IDFGH-6177) #7854
2021-11-08 19:45:11 +01:00
Alex Lisitsyn
58283e385a
Merge branch 'feature/modbus_update_for_other_targets' into 'master'
...
modbus: update to support other targets
See merge request espressif/esp-idf!12345
2021-11-08 16:28:56 +00:00
Alex Lisitsyn
0586be45d2
modbus: update to support other targets
2021-11-08 16:28:55 +00:00
Li Shuai
bf650edc55
fix the wifi scan fail issue caused by the power off the wifi power domain
2021-11-08 20:59:10 +08:00
morris
83d16aa00c
gdma: support IRAM interrupt
2021-11-08 16:14:51 +08:00
morris
490d3fee71
Merge branch 'refactor/make_peripheral_ctrl_as_private_api' into 'master'
...
global: make periph enable/disable APIs private
Closes IDF-3647
See merge request espressif/esp-idf!15632
2021-11-08 07:31:01 +00:00
Wang Fang
b86619fc61
Merge branch 'docs/add_a_note_to_mck_io_num' into 'master'
...
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
Closes DOC-2218
See merge request espressif/esp-idf!15812
2021-11-08 05:14:41 +00:00
morris
16677b0d3c
global: make periph enable/disable APIs private
...
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
morris
7bc3506350
tinyusb: sync to master 9245b8f89f5
2021-11-08 09:57:42 +08:00
Cao Sen Miao
599227a1b6
ESP8684: Add esp8684 target to other repo for passing build
2021-11-06 17:33:45 +08:00
Cao Sen Miao
9ab043574d
ESP8684: update esptool
2021-11-06 17:33:45 +08:00
Cao Sen Miao
5add6593f4
ESP8684: Add esp_gdbstub, mbedtls, esp_timer
2021-11-06 17:33:45 +08:00
Cao Sen Miao
742f99f7d0
ESP8684: add esp8684, esp_adc_cal, esp_common
2021-11-06 17:33:44 +08:00
Cao Sen Miao
a9f0a3531e
ESP8684: add driver esp_pm heap support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
36f6d16b8d
ESP8684: add soc, riscv, newlib support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
09487761cf
ESP8684: add freertos, hal, esp_system support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
3934e24d22
ESP8684: add spi_flash, efuse, hw_support support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
bf6fa70812
ESP8684: update bootloader, bootloader_support, esp_rom
2021-11-06 17:33:44 +08:00
Cao Sen Miao
7f5c415401
ESP8684: introduce a new target esp8684
2021-11-06 17:33:44 +08:00
Ivan Grokhotkov
53015490e3
Merge branch 'bugfix/freemodbus_tcp_master_fix_long_frame_buffer_issue' into 'master'
...
freemodbus: fix tcp master long frame buffer issue
See merge request espressif/esp-idf!11687
2021-11-05 16:23:35 +00:00
Alex Lisitsyn
0d393558d3
freemodbus: fix tcp master long frame buffer issue
2021-11-05 16:23:35 +00:00
aleks
ee104f8de2
freemodbus: fix timer port to use esp_timer instead of group timer
2021-11-05 13:19:09 +00:00
Jiacheng Guo
674a3ff878
openthread: support updating RCP with OTA over spinel
2021-11-05 16:47:30 +08:00
Xie Wen Xiang
579aa4bd90
Merge branch 'bugfix/fix_crash_when_shutdown_bt' into 'master'
...
component/bt: fix crash when shutdown bt
See merge request espressif/esp-idf!15705
2021-11-05 03:00:09 +00:00
Ivan Grokhotkov
0b376251df
Merge branch 'feature/kconfig_for_reproducible_build' into 'master'
...
Feature: kconfig for reproducible build
See merge request espressif/esp-idf!15100
2021-11-04 22:07:29 +00:00
Ondrej Kosta
cb8432e0f2
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter
...
Closes https://github.com/espressif/esp-idf/issues/7750
2021-11-04 16:17:45 +00:00
Roland Dobai
71dd63c5f1
Merge branch 'feature/gcov_esp32c3' into 'master'
...
debug_stubs and gcov: Refactor and add support for RISCV
See merge request espressif/esp-idf!15212
2021-11-04 13:56:18 +00:00
Wang Meng Yang
328450b8c2
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection' into 'master'
...
component/bt: check the ble ext conn parameter
See merge request espressif/esp-idf!15767
2021-11-04 12:23:42 +00:00
Wang Fang
21378f007f
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
2021-11-04 19:38:51 +08:00
Jakob Hasse
465d6a37cc
Merge branch 'feature/wear_levelling_test_app' into 'master'
...
wear_levelling: move tests from unit-test-app to a component test app
See merge request espressif/esp-idf!15582
2021-11-04 06:58:04 +00:00
Wu Zheng Hui
f64efe6076
Merge branch 'feature/update_c3_h2_soc_caps' into 'master'
...
heap: update memory heap caps
See merge request espressif/esp-idf!15792
2021-11-04 06:34:25 +00:00
wuzhenghui
ca1c4114bc
heap: update esp32&s2&c3&h2 soc caps
2021-11-04 10:40:57 +08:00
Marius Vikhammer
f578a67ec7
Merge branch 'bugfix/aes_gcm_unaligned_psram' into 'master'
...
aes: fix potential unaligned access in aes-gcm
Closes IDFGH-5506
See merge request espressif/esp-idf!15668
2021-11-04 02:23:57 +00:00
Uri Shaked
18b398cfb4
fix a small typo in logging library docs
2021-11-04 04:08:35 +02:00
Alexey Gerenkov
e7dd7d3110
gcov: Fixes interference of gcov dump with normal IPC calls
2021-11-04 01:33:24 +03:00
Alexey Gerenkov
e4e4bbae5e
gcov: Do not use shrunk ROM's fake stdout and stderr FILE struct
2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bb9cd84cdc
debug_stubs: Refactor and add support for RISCV
2021-11-04 01:33:24 +03:00
David Čermák
9466fd1e16
Merge branch 'bugfix/LAN8720_reset_assertion' into 'master'
...
Increased LAN8720 ETH-PHY reset assertion time
Closes IDFGH-6132 and IDFGH-6018
See merge request espressif/esp-idf!15636
2021-11-03 16:29:09 +00:00
jingli
efbc980d4f
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-03 20:56:42 +08:00
Martin Gano
3c4034d36e
support for generating FATFS on a host
2021-11-03 13:06:11 +01:00
Ivan Grokhotkov
5962a7e931
wear_levelling: move tests from unit-test-app to a component test app
...
* Migrate test cases from IDF test runner to Unity fixture.
* Tighten heap checks in the test case a bit.
* Run formatting script on test_wl.c
* NEW: Define 4 test configurations, including configs with 512 byte
sector size. Previously these configs weren't tested in CI.
* NEW: The test app only runs for ESP32 and ESP32-C3 (one chip for
each architecture). The component is pretty high level so we don't
need to test it for each chip. This reduces the load on CI.
2021-11-03 09:56:20 +01:00
Jakob Hasse
32e3444701
feat (pthread): reader-writer locks implementation
...
* Added implementation based on cond. variables
* Added unit tests
Closes https://github.com/espressif/esp-idf/issues/7411
2021-11-03 16:38:14 +08:00
Marius Vikhammer
1cb07a1288
aes: fix potential unaligned access in aes-gcm
2021-11-03 14:10:11 +08:00
Jakob Hasse
7df16fdf8f
Merge branch 'feature/i2c_mock' into 'master'
...
feat (driver): Added mocking for i2c.h
See merge request espressif/esp-idf!15641
2021-11-03 05:49:04 +00:00
Mahavir Jain
268143b732
Merge branch 'bugfix/mbedtls_disable_dhe_by_default' into 'master'
...
mbedtls: disable Diffie-Hellman key exchange modes by default
Closes IDF-1230
See merge request espressif/esp-idf!15642
2021-11-03 04:30:30 +00:00
Shu Chen
117bb79ec2
Merge branch 'feature/add_ieee802154_timer' into 'master'
...
ieee802154: Add ieee802154 timer APIs
See merge request espressif/esp-idf!15752
2021-11-03 02:31:03 +00:00
Island
417ef24b06
Merge branch 'bugfix/ble_mesh_host_init' into 'master'
...
ble_mesh: nimble: return error if init host twice
See merge request espressif/esp-idf!13065
2021-11-03 02:25:03 +00:00
Island
e595fb43cd
Merge branch 'bugfix/sig_ble_mesh_errata_e16350' into 'master'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
See merge request espressif/esp-idf!15645
2021-11-03 02:24:59 +00:00
Darian
ea6a0dde5a
Merge branch 'bugfix/usb_hcd_robustness' into 'master'
...
USB Host: Fix how disconnections an EP halts are handled
Closes IDFGH-5797 and IDFGH-6108
See merge request espressif/esp-idf!15640
2021-11-02 13:50:09 +00:00
lly
a1535faad5
ble_mesh: nimble: return error if init host twice
2021-11-02 20:40:49 +08:00
lly
277a5947ee
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-02 20:39:56 +08:00
Darian
44b2b7c22c
Merge branch 'bugfix/freertos_round_robin_scheduling_retain_skip' into 'master'
...
freertos: Implement best effort round robin scheduling
Closes IDFGH-5528
See merge request espressif/esp-idf!15507
2021-11-02 11:58:48 +00:00
Mahavir Jain
bd2c528241
Merge branch 'bugfix/manual_secure_boot_v2_multiple_digest_issue' into 'master'
...
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
Closes IDF-4248
See merge request espressif/esp-idf!15688
2021-11-02 10:57:47 +00:00
David Čermák
7bd93e3362
Merge branch 'bugfix/eth_emac_reset_dma_desc' into 'master'
...
esp-eth: emac: Reset Tx DMA channel owner on init
Closes IDFGH-6071
See merge request espressif/esp-idf!15685
2021-11-02 10:29:02 +00:00
Ondrej Kosta
380864861f
Copyright message fix for 'Increased LAN8720 ETH-PHY reset assertion time'
2021-11-02 09:57:03 +01:00
Mahavir Jain
f7ed95349f
mbedtls: fix dynamic buffer feature build
2021-11-02 15:52:09 +08:00
Mahavir Jain
8c9a3da695
mbedtls: disable Diffie-Hellman key exchange modes by default
...
Using these ciphers can constitute a security risk if the server
uses a weak prime for the key exchange.
Footprint impact:
Roughly 3K saved in text+rodata in default https_request example
2021-11-02 15:52:09 +08:00
Mahavir Jain
2a885ae694
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
...
This commit fixes issue where empty (unprogrammed) digest slot out of
multiple supported (e.g. 3 for ESP32-C3) could cause issue in
workflow enablement process.
Notes:
1. This issue was applicable for chips supporting "secure-boot-v2"
scheme with multiple digests slots
2. This issue was affecting only manual workflow, where digest of
public was pre-flashed in efuse
3. Change in "flash_encrypt.c" is only for additional safety purpose
2021-11-02 15:26:24 +08:00
xiewenxiang
f0ef891901
component/bt: check the ble ext conn parameter
2021-11-02 14:33:24 +08:00
Darian Leung
189899180f
usb: Change API and refactor tests
...
This commit updates the USB Host Library API in the following wasy:
- usb_host_client_handle_t and usb_device_handle_t made into struct pointers
to generate compiler warnings about conflicting handle types
- usb_host_client_config_t changed to future proof API for Synchronous Clients
- Added usb_host_lib_unblock()
- Added usb_host_device_addr_list_fill()
- Return of usb_host_device_free_all() updated to indicate whether there
are still devices yet to be freed.
- Blockg APIs are now marked explicitly
- Fixed a bug in usb_host_transfer_submit_control() when checking the bEndpointAddress
of a control transfer.
Tests are also refactored to move some common macros into shared headers
Closes https://github.com/espressif/esp-idf/issues/7786
2021-11-02 14:30:58 +08:00
Darian Leung
54b6c902d3
usb: Add USB Host Library sudden disconnect tests
2021-11-02 14:30:58 +08:00
Darian Leung
6a12e28333
usb: Fix USBH handling of disconnections
...
This commit fixes how the USBH handling of a sudden device disconnection,
more specifically handling of device gone.
- Previously the USBH would only halt, flush, and dequeue the device's
default EP, then send a device gone event to the Host Library layer.
- Now the USBH will also halt and flush all non-default EPs, allowing
all of the URBs to be dequeud.
- Some internal object members are now protected by a mutex instead of
a spinlock.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-02 14:30:58 +08:00
Darian Leung
0c758c8557
usb: Fix how the HCD handles sudden disconnection
...
This commit fixes how the USB Host HCD handles sudden disconnections.
Bugs:
- HW channels remain active when the port suddenly disconnects, and
previously the channel would be disabled by setting the disabled bit,
then waiting for a disabled interrupt. However, ISOC channels do not
generate the disabled interrupt when the port is invalid, thus leading
to tasks getting indefinitely blocked in hcd_pipe_command().
Fix:
On a sudden disconnection, forcibly treat all channels as halted even
if their HCCHAR.ChEna bit is still set. We do a soft reset after a port
error anyways, so the channels will eventually be reset.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-02 14:30:58 +08:00
Darian Leung
0159c37cf2
usb: Fix LL 8/16 bit register field access
...
This commit addes the 8/16 bit register field access workarounds to
the DWC_OTG peripheral. This workaround was applied to all other
peripherals in commit 874a720286
.
2021-11-02 14:30:58 +08:00
Jakob Hasse
1eb96cfc79
feat (driver)!: Added mocking for i2c.h
...
BREAKING CHANGE: removed ringbuf.h from public i2c.h
2021-11-02 14:16:31 +08:00
xiaqilin
3fc4a0c9c1
ieee802154: add timer APIs
2021-11-02 14:08:34 +08:00
Darian Leung
8babb3bca6
freertos: Fix SMP round robin scheduling
...
The previous SMP freertos round robin would skip over tasks when
time slicing. This commit implements a Best Effort Round Robin
where selected tasks are put to the back of the list, thus
makes the time slicing more fair.
- Documentation has been updated accordingly.
- Tidy up vTaskSwitchContext() to match v10.4.3 more
- Increased esp_ipc task stack size to avoid overflow
Closes https://github.com/espressif/esp-idf/issues/7256
2021-11-02 14:00:14 +08:00
Zim Kalinowski
13ab2cd9f9
Merge branch 'bugfix/spiram_abort_allocation_failure' into 'master'
...
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
Closes IDFGH-5870
See merge request espressif/esp-idf!15454
2021-11-02 05:36:18 +00:00
Omar Chebib
96391ef62b
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
2021-11-02 05:36:18 +00:00
Zim Kalinowski
6b3201605e
Merge branch 'bugfix/riscv_fix_vector_mcause' into 'master'
...
RISC-V: fix usage of special register when interrupts are enabled
Closes IDF-3955
See merge request espressif/esp-idf!15370
2021-11-02 05:31:06 +00:00
morris
b2c2e2302b
Merge branch 'feature/KSZ8091_support' into 'master'
...
Add support for Eth PHY KSZ8091
Closes IDFGH-5845
See merge request espressif/esp-idf!15702
2021-11-02 02:37:53 +00:00
xiewenxiang
9b16f5d831
component/bt: fix crash when shutdown bt
2021-11-02 10:29:10 +08:00
Ivan Grokhotkov
f47e8f90ce
Merge branch 'bugfix/multi_heap_get_info_impl' into 'master'
...
heap: fix multi_heap_get_info_impl
See merge request espressif/esp-idf!15470
2021-11-01 21:21:22 +00:00
Frank Sautter
5e7df077d6
Increased LAN8720 ETH-PHY reset assertion time (IDFGH-6018)
...
Increase reset assertion time from 100µs (as specified minimum in the datasheet) to 150µs.
Some specimen of the LAN8720 need the reset signal asserted longer than 100µs to initialise properly. Otherwise they are in a zombie state where they are establishing and loosing an Ethernet link once in a seconds interval.
2021-11-01 22:03:30 +01:00
gaoxiaojie
0028e2c23c
heap: fix multi_heap_get_info_impl
2021-11-01 16:08:07 +00:00
ma-lalonde
0f754551dd
Add support for Eth PHY KSZ8091
2021-11-01 11:11:18 -04:00
KonstantinKondrashov
884a6b17cc
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-01 21:49:24 +08:00
Cao Sen Miao
049349a087
Merge branch 'feature/usb_serial_default_option' into 'master'
...
usb_serial_jtag: Add secondary menu to support using usb_serial port to print when primary is uart
Closes IDF-3525 and IDF-3555
See merge request espressif/esp-idf!14554
2021-11-01 11:22:35 +00:00
Martin Vychodil
8a86434ece
Merge branch 'feature/fatfs_disk_status_implementation' into 'master'
...
fatfs: Implementation of disk_status for SD/MMC card
Closes IDF-4125
See merge request espressif/esp-idf!15488
2021-11-01 09:48:59 +00:00
Armando (Dou Yiwen)
742517bcea
Merge branch 'bugfix/fix_120m_sdr_flash_config_on_non_s3_bug' into 'master'
...
spi_flash: make 120m config only visible on s3 sdr mode
See merge request espressif/esp-idf!15704
2021-11-01 09:06:13 +00:00
Cao Sen Miao
adfb7bed96
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-01 15:48:36 +08:00
Jan Procházka
fb22c1f182
fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
...
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.
If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.
stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;
Closes IDF-4125
2021-11-01 15:11:40 +08:00
Omar Chebib
5206afe755
Merge branch 'bugfix/fix_select_timeout' into 'master'
...
VFS: `select` function's timeout is now POSIX compliant
Closes IDFGH-5807
See merge request espressif/esp-idf!15374
2021-11-01 07:01:20 +00:00
Steinbart Andreas (HAU-EDS)
f9d6fa2b84
esp-eth: emac: Reset Tx DMA channel owner on init
...
Reset ethernet TX DMA descriptors sets owner to CPU, so re-installing the ethernet driver will now not result in packet loss
Merges https://github.com/espressif/esp-idf/pull/7752
2021-11-01 06:16:59 +00:00
Shubham Kulkarni
33e6549597
Merge branch 'bugfix/http_client_breaking_changes' into 'master'
...
esp_http_client: v5.0 specific breaking changes
Closes IDFGH-4777 and IDF-2985
See merge request espressif/esp-idf!15639
2021-10-31 04:53:26 +00:00
Li Shuai
9ac58e32a2
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2021-10-29 21:24:09 +08:00
Mahavir Jain
a89d56082f
Merge branch 'bugfix/memprot_bad_esp_restart_check' into 'master'
...
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
See merge request espressif/esp-idf!15414
2021-10-29 12:17:32 +00:00
Chinmay Chhajed
da0234ca01
Merge branch 'bugfix/ble_conn_latency_max_value' into 'master'
...
BLE: Set connection max latency value to 499.
Closes BT-2025
See merge request espressif/esp-idf!15706
2021-10-29 12:16:55 +00:00
Shubham Kulkarni
5bf49e1cd6
esp_http_client: Support handling larger content lengths
...
Closes https://github.com/espressif/esp-idf/issues/6580
2021-10-29 18:14:22 +08:00
Shubham Kulkarni
436249de4f
esp_http_client: Disable HTTP digest auth by default
2021-10-29 18:14:22 +08:00
Island
c33db5d4f5
Merge branch 'bugfix/ble_mesh_update_license' into 'master'
...
ble_mesh: stack: update license of esp specific files
See merge request espressif/esp-idf!15603
2021-10-29 09:56:33 +00:00
Chinmay Chhajed
7caa6ca45f
BLE: Set connection max latency value to 499.
2021-10-29 14:24:45 +05:30
Martin Vychodil
dffb92e45f
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-29 16:28:28 +08:00
Shu Chen
546a66c65e
Merge branch 'bugfix/fix_esp32h2_efuse_get_ext_mac' into 'master'
...
efuse: fix esp32h2 get ext_mac
See merge request espressif/esp-idf!15682
2021-10-29 08:20:28 +00:00
Sudeep Mohanty
4846222102
freertos: update freertos folder structure to match upstream
...
The following changes have been made:
1. All FreeRTOS kernel source files are now placed in the
freertos/FreeRTOS-Kernel folder to match with the upstream folder structure.
2. All kernel include files are now placed in freertos/FreeRTOS-Kernel/include.
3. All port files are now placed in freertos/FreeRTOS-Kernel/portable.
4. All additions/customizations are placed in freertos/esp_additions.
5. All other miscellaneous files (README, License files etc.) are moved to
freertos/FreeRTOS-Kernel folder to match with the upstream.
6. Updated esp-cryptoauthlib to latest commit to resolve FreeRTOS
include dependencies.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-29 12:05:13 +08:00
Sudeep Mohanty
a3db2dd4a8
Merge branch 'bugfix/ringbuf_read_pointer_wrap' into 'master'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
Closes IDFGH-5624 and IDFGH-5649
See merge request espressif/esp-idf!15373
2021-10-29 03:59:21 +00:00
baohongde
e6ceedf3a0
component/bt: Power down bluetooth module when deinit
2021-10-29 10:42:23 +08:00
Wei Tian Hua
347e04cf73
Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32' into 'master'
...
Doc/Make Classic BT related document links only visible for ESP32
Closes IDFGH-5008, IDFGH-6022, and AUD-3378
See merge request espressif/esp-idf!15635
2021-10-29 02:27:24 +00:00
KonstantinKondrashov
f45d25d380
efuse_table_gen: Fixes wrong joining fields with omitted names
...
The issue is related to the non-sequential way of description when
such fields going together sequential.
Related to esp32h2 chip for eFuses: MAC_FACTORY and MAC_EXT.
The issue is in wrong indexes of MAC_EXT.
MAC_EXT got indexes like it is joined to MAC_FACTORY.
const esp_efuse_desc_t* ESP_EFUSE_MAC_FACTORY[] = {
&MAC_FACTORY[0],
&MAC_FACTORY[1],
&MAC_FACTORY[2],
&MAC_FACTORY[3],
&MAC_FACTORY[4],
&MAC_FACTORY[5],
NULL
};
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[6],
&MAC_EXT[7],
NULL
};
This commit fixed it to:
const esp_efuse_desc_t* ESP_EFUSE_MAC_EXT[] = {
&MAC_EXT[0],
&MAC_EXT[1],
NULL
};
2021-10-28 23:53:38 +08:00
zhangwenxu
55fd8cb685
efuse: fix esp32h2 get ext_mac
2021-10-28 23:53:38 +08:00
lly
eeb9a9bd2c
ble_mesh: stack: Update license of esp specific files
2021-10-28 21:20:27 +08:00
shenjun
5532c33be9
esp_wifi_mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2021-10-28 20:16:31 +08:00
yuanjm
9f875b8db5
esp_http_client: Fix HEAD request will affect the all next HTTP requests unless we close the HTTP request
...
Closes https://github.com/espressif/esp-idf/issues/7777
2021-10-28 19:53:12 +08:00
Armando
f9fa38463a
spi_flash: make 120m config only visible on s3 sdr mode
2021-10-28 19:36:34 +08:00
weitianhua
0ea06fa336
Remove dummy defines of Classic BT
2021-10-28 19:26:46 +08:00