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
Sudeep Mohanty
ac0cbebb89
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-10-28 14:02:18 +05:30
Sudeep Mohanty
0d81eb9855
Merge branch 'bugfix/ringbuf_send_semaphore_release_order' into 'master'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend
Closes IDFGH-6030 and IDFGH-6036
See merge request espressif/esp-idf!15657
2021-10-28 05:30:31 +00:00
Jiang Jiang Jian
05a618ce10
Merge branch 'feature/decouple_softap_and_8684_support' into 'master'
...
Feature/decouple softap and 8684 support
See merge request espressif/esp-idf!15564
2021-10-28 04:13:18 +00:00
Omar Chebib
73303e5de0
VFS: select
function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-10-28 02:52:59 +00:00
Chen Jian Xing
4f5ab6be05
Merge branch 'bugfix/fix_phy_usb_issue' into 'master'
...
esp_phy: fix esp32c3/s3 PHY disable USB & RSSI issue
Closes ESPCS-710 and WIFI-3946
See merge request espressif/esp-idf!15596
2021-10-27 13:16:35 +00:00
weitianhua
64aa94d823
Make Classic BT related document links only visible for ESP32
2021-10-27 15:28:47 +08:00
Cao Sen Miao
bd2a524a12
Merge branch 'bugfix/esp_timer_before_init' into 'master'
...
esp_timer: allow querying the timer before esp_timer_init is called
Closes IDF-3570
See merge request espressif/esp-idf!14428
2021-10-27 05:49:06 +00:00
RichFalk
1222f6dd3a
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-10-27 09:54:36 +05:30
Zhang Jun Hao
a568b4fddf
esp_wifi: support station only mode for code size down
2021-10-27 11:48:22 +08:00
Island
8037e2462f
Merge branch 'bugfix/heartbeat_filter_with_acceptlist' into 'master'
...
ble_mesh: stack: Fix heartbeat filter with accept list error
See merge request espressif/esp-idf!14529
2021-10-27 02:50:00 +00:00
David Čermák
bcbef9a8db
Merge branch 'bugfix/ping_sock_0_valid' into 'master'
...
lw-ip: Fix ping socket create to allow for fd=0
See merge request espressif/esp-idf!15644
2021-10-26 14:27:45 +00:00
Cao Sen Miao
b0123199da
esp_timer: init rtc timer and system timer in early init
2021-10-26 19:07:34 +08:00
Ivan Grokhotkov
249abb3fe8
esp_timer: allow querying the timer before esp_timer_init is called
2021-10-26 19:07:34 +08:00
Anton Maklakov
e525964f67
Merge branch 'bugfix/gdbstub_4_c3' into 'master'
...
Add missing function for C3
See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Alexey Gerenkov
e777653222
Merge branch 'feature/esp32s3_apptrace' into 'master'
...
apptrace/trax: Adds ESP32-S3 support
Closes IDF-1785
See merge request espressif/esp-idf!14857
2021-10-26 09:50:40 +00:00
lly
fc97277e2f
ble_mesh: stack: Update the license of provisioner_main.c
2021-10-26 17:44:36 +08:00
wangjialiang
0578c3a126
ble_mesh: stack: Fix heartbeat filter with accept list
2021-10-26 17:43:53 +08:00
Ivan Grokhotkov
569440bd3c
Merge branch 'bugfix/highint_hdl_link_gnumake' into 'master'
...
esp_system: fix high level interrupt handler not linked for GNU Make
Closes IDFGH-5728 and IDFGH-6078
See merge request espressif/esp-idf!15615
2021-10-26 09:25:34 +00:00
chenjianxing
5918bb73d9
esp_phy: fix esp32c3/s3 phy USB & RSSI issue
2021-10-26 15:22:01 +08:00
Kevin (Lao Kaiyao)
bc1cebe042
Merge branch 'bugfix/i2s_ws_polarity_in_tdm' into 'master'
...
i2s: fix ws signal polarity in tdm mode
Closes IDF-4140
See merge request espressif/esp-idf!15534
2021-10-26 07:13:49 +00:00
David Cermak
7b91343ca7
lwip: Fix ping socket create to allow for fd=0
...
0 is a valid socket description, so should be accepted after we create a
socket. In IDF, though, it's just a theoretical issue, as customers have
to configure:
* FD_SETSIZE = CONFIG_LWIP_MAX_SOCKETS (from makefiles)
* CONFIG_VFS_SUPPORT_IO = n (from menuconfig)
(this configuration is currently broken, but if we adjust the IDF here
and there we could reproduce the issue)
2021-10-26 08:19:26 +02:00
laokaiyao
f37595dee9
i2s: fix ws signal polarity in tdm mode
2021-10-26 11:12:30 +08:00
Jakob Hasse
04dc51732b
Merge branch 'feature/spi_cxx' into 'master'
...
[cxx]: simple spi master class
Closes IDF-3750
See merge request espressif/esp-idf!13363
2021-10-26 02:44:35 +00:00
Fu Hanxi
9919b75ec1
build: add CONFIG_APP_REPRODUCIBLE_BUILD menuconfig option to produce reproducible binaries
2021-10-26 10:43:15 +08:00
Wei Tian Hua
23dd7a4a29
Merge branch 'bugfix/remove_assert_when_inq_done' into 'master'
...
component_bt: fix crash after inquiry has finished
Closes IDFGH-4967 and IDFGH-5850
See merge request espressif/esp-idf!13505
2021-10-25 10:03:28 +00:00
Omar Chebib
0f6f3c0ece
RISC-V: fix usage of special register when interrupts are enabled
2021-10-25 16:31:34 +08:00
Guo Jia Cheng
a928411ab3
Merge branch 'feature/mdns-subtype' into 'master'
...
mdns: support service subtype
Closes IDFGH-3560
See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
Dmitry
1457c42f6f
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-25 10:30:50 +03:00
Jakob Hasse
7efb01846f
[cxx]: simple spi master class
...
* spi cxx unit test (CATCH-based, on host)
* added portmacro.h to driver mocking
* added simple testing app to write/read SPI,
using an MPU9250
2021-10-25 14:56:59 +08:00
Mahavir Jain
c499fe5fa5
Merge branch 'add_agressive_revoke' into 'master'
...
secure_boot: Added Kconfig option for aggressive key revoke
See merge request espressif/esp-idf!14957
2021-10-25 04:00:20 +00:00
Ivan Grokhotkov
265038bea3
esp_system: fix high level interrupt handler not linked for GNU Make
...
In 4972605
, high-level interrupt handler hook was renamed from
ld_include_highint_hdl to ld_include_panic_highint_hdl. However the
change wasn't applied in GNU Make based build system. As a result,
the default interrupt handler was linked and features which depended
on the high-level interrupt didn't work.
Closes https://github.com/espressif/esp-idf/issues/7759
Closes https://github.com/espressif/esp-idf/issues/7447
2021-10-24 11:08:40 +02:00
Darian
e5f5eb3cbb
Merge branch 'refactor/freertos_deprecate_critical_nested_macros' into 'master'
...
freertos: Deprecate critical nested macros
Closes IDF-4036
See merge request espressif/esp-idf!15539
2021-10-23 07:42:15 +00:00
Darian
1591c4eb33
Merge branch 'feature/freertos_static_allocation_task_memory_callbacks' into 'master'
...
freertos: Add memory hooks for static IDLE and Timer tasks
Closes IDF-2243 and IDFGH-5804
See merge request espressif/esp-idf!15545
2021-10-23 07:20:30 +00:00
Darian
a1a125ec85
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended' into 'master'
...
freertos: Fix prvTaskIsTaskSuspended check
Closes IDFGH-5865
See merge request espressif/esp-idf!15369
2021-10-23 07:08:21 +00:00
Alexey Gerenkov
111ba5bbe6
trax: Adds ESP32-S3 support
2021-10-22 23:36:28 +03:00
Alexey Gerenkov
5911eb3f3e
apptrace: Adds ESP32-S3 support
2021-10-22 23:24:00 +03:00
Alex Lisitsyn
bdf0298009
Bugfix/modbus fix copyright headers
2021-10-23 01:23:03 +08:00
David Čermák
fb24a2941c
Merge branch 'feature/add_dhcp_option' into 'master'
...
lwip/dhcp: add configure for enable vendor class identify option
Closes IDFGH-4998
See merge request espressif/esp-idf!13867
2021-10-22 14:37:22 +00:00
Chinmay Chhajed
0319dcd23d
Merge branch 'bugfix/nimble_x_component_key_check' into 'master'
...
NimBLE: Compare only x component of public key before pairing.
Closes BT-1928
See merge request espressif/esp-idf!15035
2021-10-22 12:37:02 +00:00
Sachin Parekh
724fdbc9f1
secure_boot: Do not allow key revocation in bootloader
2021-10-22 12:20:14 +05:30
Sachin Parekh
8ff3dbc05d
secure_boot: Added Kconfig option for aggressive key revoke
...
Applicable to S2, C3, and S3
2021-10-22 12:20:14 +05:30
Darian Leung
0df4e80b97
freertos: Fix prvTaskIsTaskSuspended check
...
This commit fixes prvTaskIsTaskSuspended(). Both pending ready lists
should be checked to confirm that is truly suspended.
Closes https://github.com/espressif/esp-idf/issues/7564
2021-10-22 13:17:29 +08:00
Darian Leung
d6f2fa4bab
freertos: Remove critical nested macros
...
This commit removes the following critical nested macros as follows:
- portENTER_CRITICAL_NESTED()
- portEXIT_CRITICAL_NESTED()
They are replaced with portSET_INTERRUPT_MASK_FROM_ISR() and
portCLEAR_INTERRUPT_MASK_FROM_ISR() which are the proper FreeRTOS interfaces.
Created a portmacro_deprecated.h for each port to contain deprecated API
that were originally from portmacro.h
2021-10-22 13:17:20 +08:00
Darian Leung
359a3d396d
freertos: Add memory hooks for static IDLE and Timer tasks
...
This commit adds the following hook functions to obtain memory
for the IDLE and Timer Daemon tasks when configSUPPORT_STATIC_ALLOCATION
is enabled:
- vApplicationGetIdleTaskMemory()
- vApplicationGetTimerTaskMemory()
Currently, both functions simply allocate from the same memory as
regular tasks (i.e., internal memory for both the stack and TCB)
Closes https://github.com/espressif/esp-idf/issues/7511
2021-10-22 12:21:15 +08:00
Guo Jia Cheng
c1d3b295e8
Merge branch 'feature/trel' into 'master'
...
br: support Thread Radio Encapsulation Link (TREL)
See merge request espressif/esp-idf!15106
2021-10-22 03:31:41 +00:00
Liu Han
49cd81ccf3
lwip/dhcp: add configure for enable vendor class identify option
...
Closes https://github.com/espressif/esp-idf/issues/6786
2021-10-22 11:17:59 +08:00
Anton Maklakov
1c44c3b966
Merge branch 'feature/toolchain_2021r2' into 'master'
...
Bring 2021r2 toolchains
Closes GCC-156, IDF-3571, IDF-842, IDFGH-4276, IDFGH-920, and IDFGH-790
See merge request espressif/esp-idf!15149
2021-10-22 01:03:16 +00:00
xiongweichao
d5c3342a46
Remove assert when inq done
...
Closes https://github.com/espressif/esp-idf/issues/6759
2021-10-21 20:08:37 +08:00
Jiacheng Guo
1e5c5f38d9
br: support Thread Radio Encapsulation Link (TREL)
...
TREL allows sending 15.4 frames on the backbone link by encapsulating it
in an UDP packet.
2021-10-21 19:55:58 +08:00
Ivan Grokhotkov
c9b84c2b2c
Merge branch 'bugfix/newlib_fix_stdatomic_clang' into 'master'
...
newlib: fix clang atomics
See merge request espressif/esp-idf!15581
2021-10-21 11:37:18 +00:00
Wu Zheng Hui
001c29b077
bootloader: Simplify multi-chip control logic of the cache
2021-10-21 18:09:37 +08:00
Omar Chebib
e7b1640199
Merge branch 'feature/fat_configure_volumes_kconfig' into 'master'
...
FAT: Number of volumes can now be configured through menuconfig
Closes IDFGH-5806
See merge request espressif/esp-idf!15445
2021-10-21 06:49:07 +00:00
Mahavir Jain
950ca2ec3c
Merge branch 'refactor/using_generic_error_check_in_esp_http_client' into 'master'
...
esp_http_client: apply generic error check macros
Closes IDF-3037
See merge request espressif/esp-idf!15391
2021-10-21 05:26:54 +00:00
Anton Maklakov
a047b15314
Merge branch 'version/v5.0.0' into 'master'
...
version: starting v5.0.0 development
See merge request espressif/esp-idf!15580
2021-10-21 03:37:51 +00:00
Xie Wen Xiang
4b2396e7fc
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues' into 'master'
...
Fix some bluedroid issues
Closes BT-1926 and FCS-743
See merge request espressif/esp-idf!15170
2021-10-21 03:18:22 +00:00
morris
3a530e3311
Merge branch 'refactor/timer_ll_hal_clean_before_ng' into 'master'
...
timer: clean up hal/ll for driver-ng
See merge request espressif/esp-idf!15123
2021-10-20 23:59:30 +00:00
Wang Meng Yang
6ef52dbae3
Merge branch 'bugfix/fix_ble_scan_failed_issue_master' into 'master'
...
fix ble scan failed issue master
See merge request espressif/esp-idf!15340
2021-10-20 23:01:21 +00:00
Andrei Safronov
f4803c5aaf
newlib: fix clang atomics
...
Correction of the SYNC_LOCK_* macros in stdatomic
2021-10-20 23:33:53 +03:00
Ivan Grokhotkov
68233f58b4
version: starting v5.0.0 development
2021-10-20 22:25:38 +02:00
Ivan Grokhotkov
fdfa260b91
Merge branch 'ci/update_esp_eth_cert' into 'master'
...
ci: update cert used for esp_eth test
Closes IDFCI-911
See merge request espressif/esp-idf!15572
2021-10-20 20:24:55 +00:00
David Čermák
4e03a9c34c
Merge branch 'bugfix/mdns_non_standard_domains' into 'master'
...
mdns: Fix parsing non-standard queries
Closes IDFGH-6009
See merge request espressif/esp-idf!15566
2021-10-20 16:21:24 +00:00
Anton Maklakov
1d3a47e10a
coredump: update test data for toolchain 2021r2
2021-10-20 22:00:39 +07:00
Scott Mabin
f06bc441f3
Merge branch 'bugfix/remove-uneeded-clang-ifdefs' into 'master'
...
remove `__clang__` ifdef around atomic libcalls
See merge request espressif/esp-idf!15489
2021-10-20 14:54:28 +00:00
morris
e2275b1f63
gptimer: clean up hal and ll for driver-ng
2021-10-20 18:40:08 +08:00
Mahavir Jain
81e3eb45ca
cpu_start: rename function to add core prefix for more clarity
2021-10-20 15:16:25 +05:30
Mahavir Jain
11d9faf38c
spi_flash: enable cache access error test for all targets except ESP32-S2
2021-10-20 15:16:25 +05:30
Mahavir Jain
61820f5b30
cpu_start: let individual core clear its interrupt matrix
...
There was race condition where interrupt entries set by APP cpu core
could have been cleared during PRO cpu startup.
This was observed while setting up "cache access error" interrupt in
SMP mode for ESP32-S3.
This fix allows to NOT modify or clear any entries set by other core
(APP or PRO) and thus avoiding any race conditions during startup code.
2021-10-20 15:16:25 +05:30
Mahavir Jain
bdeaeb8d7f
esp_system: enable "cache disable but cache accessed" interrupt for ESP32-S3
2021-10-20 15:16:25 +05:30
Harshit Malpani
2085e4eb92
esp_http_client: apply generic error check macros
2021-10-20 14:40:32 +05:30
Michael (XIAO Xufeng)
390f71cbcb
Merge branch 'bugfix/add_support_for_mspi_to_work_with_cpu_clock_switch' into 'master'
...
mspi: make cpu clock source switch safe
Closes IDFCI-902
See merge request espressif/esp-idf!15557
2021-10-20 08:21:53 +00:00
xiewenxiang
5e21788283
component/bt: Modify the bluetooth device name length limits
2021-10-20 16:19:28 +08:00
xiewenxiang
29a097504d
component/bt: set ext adv param failed when stop ext adv
2021-10-20 15:41:00 +08:00
Li Shuai
e8188e5d8f
ci: replacing old header with new SPDX header style
2021-10-20 11:36:23 +08:00
Li Shuai
7c7f3aa84e
unit test: add sleep test case for esp32s3
2021-10-20 11:36:23 +08:00
Li Shuai
a939f7d34b
light sleep: add software workaround for esp32s3 gpio reset issue
2021-10-20 11:36:22 +08:00
Li Shuai
44da7d27ef
heap: add a new heap caps attribute for RTC fast memory
2021-10-20 11:36:22 +08:00
Li Shuai
62a4587e87
deep sleep: modified to support dual-core mode
2021-10-20 11:36:22 +08:00
Li Shuai
881e1b0fd5
deep sleep: add deep sleep support for esp32s3
2021-10-20 11:36:20 +08:00
Marius Vikhammer
142bb32c50
ci: update cert used for esp_eth test
2021-10-20 11:34:12 +08:00
David Cermak
d16f9bade5
mdns: Fix parsing non-standard queries
...
Fix for packets containing unexpected domains, such as openthread.thread.home.arpa.
If we find this packet we set the name entry as invalid, but continue with parsing as the packet might contain related queries for us.
Closes https://github.com/espressif/esp-idf/issues/7694
2021-10-19 16:58:33 +02:00
Armando
c331c85318
mspi: make cpu clock source switch safe
...
For some of the MSPI high frequency setting (e.g. 80M DDR mode Flash or PSRAM), timing tuning is required.
Certain delays will be added to the MSPI RX direction. When system clock switches down, the delays should be
cleared. When system clock switches up, the delays should be restored.
2021-10-19 21:47:27 +08:00
Li Shuai
9298db641e
deep sleep: fix some rtc fast memory definition errors in esp32s3
2021-10-19 21:47:27 +08:00
Jiang Jiang Jian
7c3a37977f
Merge branch 'bugfix/ut_test_case_esp32_phy_enable' into 'master'
...
unit-test: fix esp32 phy enable test case
See merge request espressif/esp-idf!15549
2021-10-19 13:46:04 +00:00
Yang Zhao
a7247db6b4
Update esp32 bt-lib
...
1. Fix the scan failed issue.
2. Fix connection failed with LG 5.0 phone
2021-10-19 21:43:17 +08:00
Jiang Jiang Jian
ed293158fc
Merge branch 'bugfix/fix_stuck_in_rtc_clk_calibration' into 'master'
...
[bugfix] Futher fix stuck in rtc clk calibration
Closes IDFCI-908 and IDFCI-909
See merge request espressif/esp-idf!15547
2021-10-19 12:09:09 +00:00
Omar Chebib
0d5608b377
Merge branch 'bugfix/replace_xtensa_relative_j_branch' into 'master'
...
Xtensa: Branch and jump intructions referencing a relative label have been replaced
Closes IDF-3809
See merge request espressif/esp-idf!15179
2021-10-19 11:48:43 +00:00
Jiacheng Guo
e7e8610f56
mdns: support service subtype
...
* Closes https://github.com/espressif/esp-idf/issues/5508
2021-10-19 17:54:17 +08:00
Shu Chen
dc19bd4e5a
Merge branch 'feature/ot-esp-console' into 'master'
...
openthread: Use esp console for CLI
See merge request espressif/esp-idf!15365
2021-10-19 09:38:40 +00:00
Mahavir Jain
1e920e4a7c
Merge branch 'fix/esp_crt_bundle_update_cacrt_all_file' into 'master'
...
Updated the cacrt_all.pem file with latest Root certificate list.
See merge request espressif/esp-idf!15395
2021-10-19 08:57:33 +00:00
Omar Chebib
8048677b4c
Xtensa: Branch and jump intructions referencing a relative label have been replaced
...
As branches/jumps on Xtensa have a maximum range for the destination, it is
unsafe to refer to a label to another compilation unit in a branch/jump instruction.
The labels have been replaced by absolute addresses.
2021-10-19 12:21:12 +08:00
Omar Chebib
63b96d7612
FAT: Number of volumes can now be configured through menuconfig
...
Closes https://github.com/espressif/esp-idf/issues/7513
2021-10-19 12:15:31 +08:00
wuzhenghui
5000aa877f
fix rtc_clk_cal: Wait for timeout in a loop instead of just judge once
2021-10-19 12:07:34 +08:00
David Čermák
75e2705269
Merge branch 'bugfix/esp_netif_public_headers' into 'master'
...
esp_netif: Fix implicit includes in public headers (GitHub PR)
Closes IDFGH-6002
See merge request espressif/esp-idf!15535
2021-10-18 16:43:59 +00:00
Mahavir Jain
8f3b89dedf
Merge branch 'bugfix/esp_http_client_socket_cleanup_exception' into 'master'
...
esp_http_client: fix exception when calling esp_transport_list_destroy.
Closes IDFGH-6001
See merge request espressif/esp-idf!15544
2021-10-18 12:54:11 +00:00
Li Shuai
a50312fa63
unit-test: fix esp32 phy enable test case
2021-10-18 19:42:52 +08:00
Zim Kalinowski
a631765333
Merge branch 'bugfix/fixed-cxx-build-include-hal' into 'master'
...
cxx: fixed cxx build failure when including hal
Closes IDFGH-6026
See merge request espressif/esp-idf!15540
2021-10-18 08:38:37 +00:00
0xFEEDC0DE64
822129e234
esp_netif: Fix implicit includes in public headers
...
Merges https://github.com/espressif/esp-idf/pull/7690
2021-10-18 10:01:52 +02:00
Mahavir Jain
8e46e9862e
Merge branch 'fix/esp_crypto_base64_encode_wolfssl' into 'master'
...
Encoding base64 with wolfSSL should produce the same result as...
Closes IDFGH-5990
See merge request espressif/esp-idf!15528
2021-10-18 05:27:41 +00:00
Derossi Carneiro Neto
341d3e107c
esp_http_client_cleanup, if client->transport_list was null, it generated an exception when calling esp_transport_list_destroy
...
https://github.com/espressif/esp-idf/pull/7695
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-10-18 10:50:45 +05:30
Jiacheng Guo
be4a45ab70
openthread: Use esp console for CLI
2021-10-18 12:27:50 +08:00
Wang Meng Yang
ca8d432462
Merge branch 'bugfix/btdm_ble_data_length_update_fail' into 'master'
...
Fix data length update failed
Closes BT-1924
See merge request espressif/esp-idf!15499
2021-10-18 03:06:26 +00:00
Zim Kalinowski
a7c9949dd9
Fixed build problem when icluding gpio_ll.h from cpp file
2021-10-17 14:29:31 +08:00
Aditya Patwardhan
2d1f18efea
Updated the cacrt_all.pem file with latest Root certificate list.
2021-10-17 00:01:37 +08:00
John Ohl
27d66c0e33
Encoding base64 with wolfSSL should produce the same result as esp_crypto_bas64_encode_mbedtls and not encode in PEM format /w new lines
...
Closes https://github.com/espressif/esp-idf/pull/7676
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-10-17 00:01:23 +08:00
Darian Leung
b23de0f8a1
twdt: Fix timeout decimal literals to prevent uint32_t overflow
...
This commit fixes the decimal literals used in calculating task
watchdog timeouts to prevent them from causing a uint32_t oveflow.
Closes https://github.com/espressif/esp-idf/issues/6648
2021-10-15 16:07:27 +08:00
morris
ae87b280bc
Merge branch 'bugfix/fix_stuck_in_rtc_clk_calibration' into 'master'
...
[bugfix] Fix stuck in rtc clk calibration
Closes IDF-4080
See merge request espressif/esp-idf!15524
2021-10-15 02:08:06 +00:00
Anton Maklakov
8c00898adf
Merge branch 'bugfix/espcoredump_notes' into 'master'
...
coredump: Add some notes on how to generate test data
See merge request espressif/esp-idf!15497
2021-10-15 02:03:13 +00:00
Ivan Grokhotkov
f31f360279
Merge branch 'feature/riscv-msave-restore' into 'master'
...
build system: add COMPILER_SAVE_RESTORE_LIBCALLS option
Closes IDF-3732
See merge request espressif/esp-idf!15004
2021-10-14 23:25:49 +00:00
Scott Mabin
d5e4fc8356
remove __clang
ifdef around atomic emulation
...
* CI errors led me to believe these were needed, but as it turns out the
load/store intrinsics are required even when idf is built by gcc when
linking to a clang based project.
* remove ... postfix inside `SYNC_LOCK_TEST_AND_SET` expansion
2021-10-14 15:01:21 +01:00
Guo Jia Cheng
484457f02c
Merge branch 'bugfix/ot-log-verbosity' into 'master'
...
openthread: reduce default log verbosity
See merge request espressif/esp-idf!15326
2021-10-14 09:46:49 +00:00
Kevin (Lao Kaiyao)
dc20768913
Merge branch 'feature/add_i2s_es8311_example_and_loop_unit_test' into 'master'
...
example/i2s: add es8311 example and i2s unit-test
Closes IDF-3412
See merge request espressif/esp-idf!14459
2021-10-14 09:28:35 +00:00
wuzhenghui
ab9df9945f
fix stuck in rtc_clk_cal
2021-10-14 16:25:54 +08:00
Jakob Hasse
4a8bbb4586
Merge branch 'bugfix/newlib_missing_include' into 'master'
...
[newlib]: Added missing includes
Closes IDFGH-5789
See merge request espressif/esp-idf!15387
2021-10-14 05:56:08 +00:00
Li Shuai
c2910c15f4
Merge branch 'bugfix/wifi_bt_power_domain_leakage_current' into 'master'
...
fix wifi and bt power domain leakage current in light sleep
See merge request espressif/esp-idf!15236
2021-10-14 05:10:55 +00:00
Jiacheng Guo
b7fd68c438
openthread: reduce default log verbosity
...
Packet logging increases latency and packet drop rate significantly.
2021-10-14 12:14:17 +08:00
Jiang Jiang Jian
739ed52d9b
Merge branch 'feature/add_function_for_deinit_lwip_timers' into 'master'
...
lw-ip:add function for deinit lwip timers
Closes ESPCS-675
See merge request espressif/esp-idf!14921
2021-10-14 03:41:01 +00:00
Jakob Hasse
6e59f9e8be
[newlib]: Added missing includes
...
Closes https://github.com/espressif/esp-idf/issues/7498
2021-10-14 11:26:56 +08:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
2021-10-14 10:51:10 +08:00
Li Shuai
73829221f5
esp_hw_support: force power down wifi and bt power domain when rtc module init
2021-10-14 10:51:10 +08:00
baohongde
e684b3f2a6
Power Management: Initialize backup memory for MAC and Baseband power up/down
2021-10-14 10:51:10 +08:00
baohongde
17d719bad7
Power Management: power up/down BT power domain when BT init/deinit
2021-10-14 10:51:09 +08:00
Li Shuai
b774342402
Power Management: power up or down wifi power domain when wifi init or deinit
2021-10-14 10:51:07 +08:00
Marek Fiala
582a39126a
Merge branch 'feature/idfpy_dashes_replace' into 'master'
...
tools: replace _ with - in idf.py
Closes IDFGH-3105
See merge request espressif/esp-idf!14752
2021-10-13 13:14:06 +00:00
xiewenxiang
76372097bb
component/bt: fix data length update failed
2021-10-13 19:58:21 +08:00
Marek Fiala
ff18a96f7d
tools: replace _ with - in idf.py
...
Closes https://github.com/espressif/esp-idf/issues/5126
2021-10-13 17:30:38 +08:00
Anton Maklakov
c402b82c1a
coredump: Add some notes on how to generate test data
2021-10-13 15:06:41 +07:00
xueyunfei
e451a9b2e1
add function for deinit lwip timers
2021-10-13 15:49:47 +08:00
chenjianxing
8e49eec076
esp_phy: update esp_phy submodule files copyright
2021-10-13 13:10:50 +08:00
chenjianxing
2a09234957
esp_phy: rename esp_phy component prefix
2021-10-13 13:10:49 +08:00
chenjianxing
c898810991
esp_phy: support copy multi phy init data bin to build dir
2021-10-13 13:10:49 +08:00
chenjianxing
09a034d61b
esp_wifi: support multi phy init data bin embedded
2021-10-13 13:10:47 +08:00
Shu Chen
6faa121b9d
Merge branch 'fix/rcp-build' into 'master'
...
openthread: fix RCP example build
See merge request espressif/esp-idf!15483
2021-10-13 03:03:16 +00:00
Kapil Gupta
54940f58a4
esp_wifi: Add WPA3 192-bit certification support
2021-10-12 20:48:53 +08:00
Kapil Gupta
797c7144bd
esp_wifi: Add support for GCMP and GMAC ciphers
2021-10-12 20:48:51 +08:00
Ivan Grokhotkov
b86fe0c66c
Merge branch 'bugfix/clang-atomics' into 'master'
...
newlib: provide missing atomic libcalls
Closes IDFGH-5896 and IDFGH-5897
See merge request espressif/esp-idf!15332
2021-10-12 10:27:00 +00:00
Chen Yu Dong
f0a96e586d
pre-commit fix
2021-10-12 14:05:19 +08:00
alex.li
26d8b7ee17
Add HW external coexist api.
...
Simplify the external coex flow.
And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
alex.li
b96b76fc10
esp_wifi: Support external coex only for esp32c3/esp32s2.(c1a3efe0)
2021-10-12 14:00:04 +08:00
Kevin (Lao Kaiyao)
a9faafee3c
Merge branch 'feature/touch_sensor_driver_support_for_esp32s3' into 'master'
...
driver(touch): support touch sensor for esp32s3 platform
Closes IDF-1784 and IDF-3302
See merge request espressif/esp-idf!14102
2021-10-12 05:50:58 +00:00
Isha Pardikar
917d6e17b4
Merge branch 'wifi_prov_mgr_fix' into 'master'
...
Wifi_prov_mgr : Fix for ios device needs to do forget device
See merge request espressif/esp-idf!15117
2021-10-12 05:42:07 +00:00
Mahavir Jain
b94bbdbd9c
Merge branch 'feature/esp_https_server_callback' into 'master'
...
feature: Added user callback for esp_https_server
Closes IDFGH-5771
See merge request espressif/esp-idf!15405
2021-10-12 04:37:50 +00:00
Jiacheng Guo
c23357d4aa
openthread: fix RCP example build
2021-10-12 12:35:37 +08:00
Chen Jian Xing
263850da6c
Merge branch 'bugfix/fix_s3_wifiperformance_doc' into 'master'
...
Update esp32s3 wifi performace docs.
Closes WIFI-3952, WIFI-3929, and WIFI-3928
See merge request espressif/esp-idf!14767
2021-10-12 02:50:55 +00:00
Axel Lin
abb67d0033
wpa_supplicant: Fix wps_free_pins to remove all pins
...
Current code does not correctly free all pins in wps_free_pins due to the
semicolon at the end of dl_list_for_each_safe(). Fix it.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-10-12 04:16:58 +08:00
Ivan Grokhotkov
2423e2eac9
Merge branch 'bugfix/build_spaces_in_path_wifi_phy_ulp' into 'master'
...
esp_wifi, esp_phy, ulp: fix quoting of linker arguments
See merge request espressif/esp-idf!15428
2021-10-11 15:57:49 +00:00
Guo Jia Cheng
a1187d879f
Merge branch 'feature/update-openthread-4641b16158' into 'master'
...
openthread: update openthread
See merge request espressif/esp-idf!15469
2021-10-11 12:32:40 +00:00
laokaiyao
3eb09287f9
example/i2s: add es8311 example and i2s loop unit-test
2021-10-11 18:32:34 +08:00
Jiacheng Guo
a3c30a9515
openthread: update openthread
2021-10-11 18:17:46 +08:00
Zim Kalinowski
6dc684d2fa
Merge branch 'feature/github-7517' into 'master'
...
[system] fix compiler warning with silent panic option
Closes IDFGH-5812
See merge request espressif/esp-idf!15420
2021-10-11 08:56:57 +00:00
Zim Kalinowski
53f47ab2fa
Merge branch 'feature/add-conditional-section-tags-in-freertos-source-files' into 'master'
...
freertos: added doxygen section tags for conditional documentation
Closes IDF-3871 and IDF-3872
See merge request espressif/esp-idf!15442
2021-10-11 08:46:32 +00:00
chenjianxing
0cee65390e
esp_phy: fix esp32s3 phy issue
...
1. fix esp32s3 channel 7,8,9 issue
2. sleep: force off tsens xpd_sar to fix the leakage current of esp32s3 RTC_PERIPH domain
2021-10-11 15:08:02 +08:00
Zim Kalinowski
2c4d8ee6fa
Merge branch 'feature/freertos-upgrade-rename-processors-to-cores' into 'master'
...
freertos: Introduce configNUM_CORES
Closes IDF-4119
See merge request espressif/esp-idf!15375
2021-10-11 06:03:41 +00:00
Laukik Hase
1d2b2b5879
feature: Added user callback for esp_https_server
...
- Can be used to get connection or client information (SSL context)
- E.g. Client certificate, Socket FD, Connection state, etc.
- Added example callback for getting client certificate information in 'https_server/simple' example
Closes https://github.com/espressif/esp-idf/issues/7479
2021-10-11 09:41:01 +05:30
Sudeep Mohanty
52050ed883
freertos: added doxygen section tags for conditional documentation
...
Added DOC_EXCLUDE_SECTION section tag to conditionally remove sections
from FreeRTOS source files which we don't want in IDF API docs.
Added DOC_SINGLE_GROUP section tag to enable a flat document for
FreeRTOS and removing groups.
With these conditional tags, we can upstream FreeRTOS files without
affecting the upstream documentation.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-11 09:24:41 +05:30
Zim Kalinowski
584806a78a
updated copyright text
2021-10-11 11:38:35 +08:00
Guo Jia Cheng
1e67cf1ec5
Merge branch 'feature/mdns-multiple-instance' into 'master'
...
mdns: allow mutiple instances with same service type
See merge request espressif/esp-idf!15180
2021-10-11 02:49:16 +00:00
Armando (Dou Yiwen)
8ab29b7877
Merge branch 'feature/support_auto_detect_oct_flash_vendor' into 'master'
...
mspi: support auto detect oct flash vendor
Closes IDF-3523 and IDF-3857
See merge request espressif/esp-idf!14741
2021-10-11 02:38:15 +00:00
Mahavir Jain
087d4673dd
Merge branch 'bugfix/client_only_mbedtls' into 'master'
...
mbedtls: fix build fail with client only mbedtls
Closes IDFGH-5842
See merge request espressif/esp-idf!15286
2021-10-10 11:20:24 +00:00
Jiang Jiang Jian
f05351497c
Merge branch 'feature/mbo_support' into 'master'
...
esp_wifi: Add support for MBO certification
Closes WIFI-3777
See merge request espressif/esp-idf!12650
2021-10-09 16:31:31 +00:00
Zim Kalinowski
f2b538b9e7
Merge branch 'master' into feature/github-7517
2021-10-09 18:58:27 +08:00
morris
7283e349b9
Merge branch 'refactor/rgb_lcd_callback_add_event_data' into 'master'
...
lcd: modify callback prototype && build API docs
See merge request espressif/esp-idf!15354
2021-10-09 06:26:44 +00:00
Scott Mabin
d93b53b9e5
newlib: provide missing atomic libcalls
...
Provide emulated atomic load & store libcalls for u8, u16 & u32 integer
types. This is required when building with Clang as llvm does not lower
these operations to native load / stores, where as gcc does.
Provide `sync_lock_test_and_set` atomic implementations for all
supported integer types.
Closes https://github.com/espressif/esp-idf/issues/7591 .
Closes https://github.com/espressif/esp-idf/issues/7592 .
2021-10-08 18:46:09 +08:00
Armando
16a91399f1
psram: put opiram_psram and spiram_psram in internal ram
...
External memory is accessed via SPI0. When modifying the SPI0 registers,
should put the code in internal RAM. Otherwise when there is an ongoing
SPI0 transaction, CPU changes the SPI0 registers. This is dangerous.
Besides, modifying SPI0 registers may lead external memory to an
unstable state. Therefore putting these code in internal RAM is
necessary.
2021-10-08 17:39:41 +08:00
Rahul Tank
7f9a15f298
ESP32: Fix memory leak in controller deinit function
...
Added change to dealloc s_pm_lock in controller deinit as it gets allocated
during init procedure.
Closes https://github.com/espressif/esp-idf/issues/7653
2021-10-08 14:35:47 +05:30
Armando
7ff9332243
rtc: fix mspi timing issue when self-calibrate ocode
...
When doing OCode self-calibration in rtc_init.c, it will change the
system clock from PLL to XTAL, which is in a lower frequency, and MSPI
timing tuning is not needed. Therefore we should modify the timing
configurations accordingly, and set it back after the calibration.
This is a temporary fix
2021-10-08 15:59:57 +08:00
Armando
4cafdbd83b
mspi: fix psram cs timing register setting not in iram bug
2021-10-08 15:59:57 +08:00
Armando
2655a506c9
mspi: support auto detect octal flash vendor
2021-10-08 15:59:57 +08:00
Ivan Grokhotkov
a5ba1ac395
Merge branch 'bugfix/build_spaces_in_path_simple_fixes' into 'master'
...
build system: simple fixes for quoting and other minor issues
See merge request espressif/esp-idf!15427
2021-10-08 06:29:23 +00:00
Kevin (Lao Kaiyao)
79cb8e3c52
Merge branch 'fix/example_pdm_mic_recording' into 'master'
...
example: Fixed example I2S PDM microphone recording on sdcard
Closes IDF-3952 and IDFGH-5912
See merge request espressif/esp-idf!14928
2021-10-08 06:25:31 +00:00
Wang Meng Yang
f0ffeb1c65
Merge branch 'bugfix/a2dp_no_audio_transmitted' into 'master'
...
bugfix/fix wrong clock_id in function `time_now_us`
Closes IDFGH-5862
See merge request espressif/esp-idf!15315
2021-10-08 05:59:57 +00:00
laokaiyao
f4705f8eb4
touch sensor: update copyright notice
2021-10-08 11:45:57 +08:00
laokaiyao
a1cadba191
touch_sensor: apply general check
2021-10-08 11:32:12 +08:00
fuzhibo
589646a31e
update touch with review advice
2021-10-08 10:39:46 +08:00
fuzhibo
3ca9da0386
update touch sensor examples
2021-10-08 10:39:46 +08:00
fuzhibo
057b9d61b5
driver(touch): support touch sensor for esp32s3 platform
2021-10-08 10:39:46 +08:00
Ivan Grokhotkov
95ee8104bf
build system: add COMPILER_SAVE_RESTORE_LIBCALLS option
...
Add new Kconfig option to enable -msave-restore flag for RISC-V
targets. This option can be used to reduce binary size by replacing
inlined register save/restore sequences with library calls.
2021-10-07 15:01:35 +08:00
David Cermak
2a2b95b9c2
mdns: Update copyright header
2021-10-06 20:39:18 +08:00
David Cermak
e7dabb14f7
mdns: Fix potential null dereference identified by fuzzer tests
2021-10-06 20:39:18 +08:00
isha pardikar
09800028e1
Wifi_prov_mgr:Fix for ios device needs to do forget device
2021-10-06 17:46:22 +08:00
Ivan Grokhotkov
0277ba7e4e
ulp: fix quoting issues for linker script and map file arguments
2021-10-06 10:42:07 +02:00
Ivan Grokhotkov
ea99e5e969
esp_phy: fix quoting issue for library path
2021-10-06 10:41:58 +02:00
Ivan Grokhotkov
c148c4c01c
esp_wifi: fix quoting
2021-10-06 10:41:49 +02:00
Ivan Grokhotkov
5bfd10113a
bootloader: fix adding bootloader_components to EXTRA_COMPONENT_DIRS
2021-10-06 10:17:19 +02:00
David Čermák
c0e5c7296d
Merge branch 'docs/deprecate_openssl_api' into 'master'
...
openssl: Add deprecation warning to ssl.h
See merge request espressif/esp-idf!15287
2021-10-06 05:27:59 +00:00
David Čermák
38a2a5712b
Merge branch 'bugfix/mqtt_update_refs' into 'master'
...
MQTT: Fix build if CONFIG_WS_TRANSPORT is not set and client cleanups
Closes IDFGH-5833
See merge request espressif/esp-idf!15310
2021-10-06 04:51:55 +00:00
David Cermak
cfc001870c
openssl: Add deprecation warning to ssl.h
...
OpenSSL component will be discontinued in ESP-IDF v5.x. The only official TLS API will be esp-tls
Add docs warning about deprecation in v5.x
Removed all examples demonstrating usage of openssl in IDF
2021-10-05 11:45:52 +02:00
Ivan Grokhotkov
425a024db4
Merge branch 'bugfix/esp_partition_iterator_release_doc' into 'master'
...
spi_flash: state that esp_partition_iterator_release allows NULL arg
Closes IDFGH-5843
See merge request espressif/esp-idf!15169
2021-10-05 09:08:55 +00:00
Ivan Grokhotkov
f2d0526141
Merge branch 'feature/github-7632' into 'master'
...
esp_crt_bundle: remove EC-ACC certificate
See merge request espressif/esp-idf!15418
2021-10-05 08:21:03 +00:00
Martin Vychodil
d0b311227a
Merge branch 'bugfix/memprot_wrong_fi_check' into 'master'
...
System/Memprot: Fixed voltage glitching detection logic
See merge request espressif/esp-idf!15407
2021-10-04 15:38:07 +00:00
Harshit Malpani
cd3c633ae3
mbedtls: fix build fail with client only mbedtls
...
Closes https://github.com/espressif/esp-idf/issues/7544
2021-10-04 19:18:45 +08:00
Kapil Gupta
834afad47e
esp_wifi: Add support for MBO certification
2021-10-04 15:56:14 +08:00
Martin Vychodil
5344de34c3
System/Memprot: fixed voltage glitching detection logic
...
When the application is being debugged it should check the call result (esp_cpu_in_ocd_debug_mode())
is not given volt.glitch attack - so the result is triple-checked by ESP_FAULT_ASSERT macro. In case
the check fails, the system is reset immediately
IDF-4014
2021-10-04 09:21:07 +02:00
Zim Kalinowski
4b8f96c73f
resolve conflicts
2021-10-04 09:02:12 +08:00
Zim Kalinowski
d98b3948b8
Merge remote-tracking branch 'origin/master' into feature/github-5838
2021-10-04 08:38:39 +08:00
Zim Kalinowski
002cd296e1
Merge remote-tracking branch 'origin/master' into feature/github-7022
2021-10-03 12:25:39 +08:00
morris
e09e39c94f
lcd: unify callback prototype
2021-10-02 14:23:31 +08:00
Victor Morales
4e45f13e2d
esp_crt_bundle: remove EC-ACC certificate
...
Fixes bug #7631
2021-10-01 14:18:46 -07:00
laokaiyao
7264c0e59a
i2s_rec_example: add support for esp32s3
2021-10-01 16:05:04 +01:00
laokaiyao
f397379c8d
i2s: fix the mono mode of PDM on esp32
2021-10-01 16:05:04 +01:00
laokaiyao
1327a56369
i2s: fix the param check on PDM mode
...
Closes https://github.com/espressif/esp-idf/issues/7604
2021-10-01 16:05:04 +01:00
Zim Kalinowski
11329a0ce5
rename processors to cores
...
(cherry picked from commit a0d3afcac63bb62516daa3abd316091a1601c08c)
2021-10-01 21:23:17 +08:00
Zim Kalinowski
d4b47c42eb
Merge branch 'feature/freertos-upgrade-to-10.4.3-xTaskRemoveFromUnorderedEventList-update' into 'master'
...
freertos: upgrade to 10.4.3 - rename xTaskRemoveFromUnorderedEventList
See merge request espressif/esp-idf!15101
2021-10-01 11:10:51 +00:00
David Čermák
d1ac84e68e
Merge branch 'bugfix/lwip_move_icmp_tests_from_eth' into 'master'
...
CI/lw-ip: Move ICMP test cases from eth component
Closes IDF-3863
See merge request espressif/esp-idf!15200
2021-10-01 07:06:32 +00:00
Roland Dobai
d7e9ad246a
Merge branch 'bugfix/bt_inst_fetch_prohibited_cause' into 'master'
...
espcoredump: Parse backtrace for instruction fetch prohibited cause
See merge request espressif/esp-idf!15386
2021-10-01 06:13:58 +00:00
Zim Kalinowski
6590cc7616
freertos: upgrade to 10.4.3 - rename xaskRemoveFromUnorderedEventList
...
(cherry picked from commit e91586b57e19a3776c7c675f62c0afeebd19c294)
2021-10-01 13:28:42 +08:00
Kapil Gupta
71a5003ae7
Merge branch 'bugfix/supplicant_cflag_sha256' into 'master'
...
wpa_supplicant: Add missing cflag for Makefile
Closes IDFGH-5866
See merge request espressif/esp-idf!15296
2021-09-30 10:26:16 +00:00
Mahavir Jain
8c3287e0db
Merge branch 'docs/add_note_for_esp32_sec_dl_mode' into 'master'
...
bootloader: add note about secure download mode for ESP32 target
Closes IDFGH-5857
See merge request espressif/esp-idf!15304
2021-09-30 04:00:50 +00:00
Jiang Jiang Jian
65682ad63c
Merge branch 'bugfix/bt_legacy_paring_wrong_pin_code_err' into 'master'
...
bugfix/fix the crash when using legacy paring with wrong pin code
Closes IDFGH-5856
See merge request espressif/esp-idf!15235
2021-09-30 01:12:34 +00:00
Jiang Jiang Jian
168ecb275c
Merge branch 'bugfix/fix_macro_conversion' into 'master'
...
Nimble: Fix logging level mismatch
See merge request espressif/esp-idf!14477
2021-09-30 01:09:23 +00:00
Shubham Patil
8ad9daea7d
espcoredump: Parse bt for instruction fetch prohibited cause
2021-09-29 23:08:54 +05:30
Jiang Jiang Jian
2113ec7944
Merge branch 'bugfix/fix_esp32s3_rom_funcs_ptr_in_psram' into 'master'
...
esp_wifi: fix esp32s3 rom funcs ptr malloc in psram when psram enable
Closes AUD-3279
See merge request espressif/esp-idf!15263
2021-09-27 11:17:13 +00:00
Jiang Jiang Jian
7da847ffea
Merge branch 'feature/support_dhcp_option_len_configure' into 'master'
...
lw-ip: Support DHCP option length configuration
See merge request espressif/esp-idf!15085
2021-09-27 08:28:52 +00:00
Jiang Jiang Jian
f5ae8b0533
Merge branch 'feature/ledc_use_rtc8m_or_xtal_lightsleep' into 'master'
...
support RTC8M and XTAL power domain in light sleep mode
Closes IDF-3419
See merge request espressif/esp-idf!15152
2021-09-27 04:02:29 +00:00
morris
7b8d5562d2
Merge branch 'feature/support_sdspi_on_s2_c3' into 'master'
...
example: support sdspi on s2 c3
Closes IDF-1279
See merge request espressif/esp-idf!15107
2021-09-27 03:48:52 +00:00
morris
03bf1b8ce9
Merge branch 'feature/rmt_new_example_step_motor' into 'master'
...
feature/rmt: new example step motor & support loop auto-stop on s3
Closes IDF-3587
See merge request espressif/esp-idf!14587
2021-09-27 03:47:24 +00:00
Darian
212d936cf5
Merge branch 'refactor/freertos_port_files' into 'master'
...
FreeRTOS: Tidy up existing port files
Closes IDF-3919
See merge request espressif/esp-idf!15199
2021-09-27 03:34:43 +00:00
Darian Leung
e194113964
freertos: Tidy up port files
...
- port.c and portmacro.h contents are now logically grouped
- Doxygen API descriptions added
- Added refactor todo markers
- Removed portmacro_priv.h. Contents now in portmacro.h
- Formatted files
2021-09-24 18:14:33 +08:00
SalimTerryLi
bd89dcc683
RMT: add loop_autostop driver support for esp32s3
2021-09-24 15:24:45 +08:00
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
...
Closes https://github.com/espressif/esp-idf/issues/7389
(1) "MMC_RSP_BITS" [sd] [Y]
(2) "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
(3) "probe SD in SPI mode, slot 0" [sd][ignore] [N]
(4) "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE] [Y]
(5) "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE] [Y]
(6) "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
(7) "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
2021-09-24 15:17:18 +08:00
Wang Meng Yang
10d083a4c1
Merge branch 'bugfix/bt_x_component_key_check' into 'master'
...
BT: Fix for CVE-2021-37577.
Closes BT-1938
See merge request espressif/esp-idf!15228
2021-09-24 06:16:30 +00:00
Rahul Tank
67bb97cbf3
Nimble: Removed Critical debug level from menuconfig, since it internally maps
...
to level Error.
2021-09-24 11:11:36 +05:30
Chinmay Chhajed
29d306e6ff
NimBLE: Compare only x component of public key before pairing.
2021-09-23 18:30:01 +05:30
Ivan Grokhotkov
8f0ee18931
Merge branch 'feature/clang_toolchain_compat' into 'master'
...
Build system: minimal changes for clang compatibility
See merge request espressif/esp-idf!15168
2021-09-23 08:19:09 +00:00
Sachin Parekh
735b2e8089
Merge branch 'fix/no_stub_secure_boot' into 'master'
...
secure_boot: Enable --no-stub if secure boot enabled
Closes IDF-3784
See merge request espressif/esp-idf!15288
2021-09-23 07:15:21 +00:00
morris
1f8c030e5f
Merge branch 'Bugfix/esp_lcd/st7789_init' into 'master'
...
esp_lcd: Fix ST7789 and NT35510 MADCTL register initialization
See merge request espressif/esp-idf!15294
2021-09-23 06:55:17 +00:00
Jiang Jiang Jian
91818884cc
Merge branch 'bugfix/stack_init_check' into 'master'
...
Nimble: Check stack status before executing stack command
Closes BT-1367
See merge request espressif/esp-idf!14869
2021-09-23 04:26:54 +00:00
jincheng
52e7b99630
fix wrong clock_id in function time_now_us
...
Close https://github.com/espressif/esp-idf/issues/7561
2021-09-23 09:47:35 +08:00
jincheng
c592da5308
bugfix/fix the crash when using legacy paring with wrong pin code
...
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-23 07:40:54 +08:00
David Cermak
8b45ac0fbc
lwip: Add ping test case (moved from eth component)
2021-09-22 15:22:18 +02:00
Tomas Rezucha
75f3d76e26
Always use half-duplex for SPI
2021-09-22 15:03:35 +02:00
Roland Dobai
e33ae089fe
Merge branch 'bugfix/bump_esptool' into 'master'
...
tools: Update esptool submodule to fix ESP32r0/1 connection issues
Closes IDFGH-5844
See merge request espressif/esp-idf!15272
2021-09-22 11:54:26 +00:00
David Cermak
5b0b0d36ff
MQTT: Fix build if CONFIG_WS_TRANSPORT is not set and client cleanups
...
Updated MQTT submodule: git log --oneline f10321a53b53a146ee299cfecc320b89c0cf6611...89894bd0c611b1392967fe90bb49682eba858383
* Fix build issue if cert bundle disabled
* Fix build issue if ws transport disabled
* Add config to set retransmission interval
Detailed description of the changes (f10321a53b...89894bd0c6
):
* Added config option to configure custom retransmission interval
- See merge request espressif/esp-mqtt!110
- esp_mqtt commit 1b009c840b
- Related https://github.com/espressif/esp-mqtt/pull/199
* Configuration conflicts were verified, logged but not reported to the user.
- See merge request espressif/esp-mqtt!102
- esp_mqtt commit 88f4b8ed50
* Fixed build issue if cert bundle disabled
- See merge request espressif/esp-mqtt!109
- esp_mqtt commit 4a89bff610
- esp_mqtt commit 1b71980575
- esp_mqtt commit 5b3c81ee48
- Related https://github.com/espressif/esp-mqtt/pull/198
- Related https://github.com/espressif/esp-idf/issues/7535
* Removes unnecessary outbox_cleanup
- This function were used on old version to handle QoS 2 messages. It's no longer necessary in current implementation.
- See merge request espressif/esp-mqtt!108
- esp_mqtt commit ebef896b00
* Fixed return an error when fail to enqueue
- The functions that enqueue messages didn't had a return for the handler, with this the error was only logged instead of returned whichmay cause the user to have an ID for a message that was not published.
- See merge request espressif/esp-mqtt!103
- esp_mqtt commit 7471177fe7
* CI: Use qemu image based on esp-env:v4.4-1
- Replaced the temporary qemu image with the official qemu:v4.4-1-20210517 derived from the esp-env:v4.4-1 test environment
- See merge request espressif/esp-mqtt!107
- esp_mqtt commit 231b274962
Closes https://github.com/espressif/esp-idf/issues/7535
2021-09-22 13:28:50 +02:00
Mahavir Jain
3cff291f95
bootloader: add note about secure download mode for ESP32 target
...
Closes IDFGH-5857
Closes https://github.com/espressif/esp-idf/issues/7557
2021-09-22 15:37:40 +05:30
Zim Kalinowski
73fc400ac0
Merge branch 'feature/github-7582' into 'master'
...
code formatting updated
See merge request espressif/esp-idf!15267
2021-09-22 09:43:35 +00:00
Sachin Parekh
c4e445b6f3
secure_boot: Enable --no-stub if secure boot enabled
...
ROM code doesn't allow loader stub to be executed in case secure boot in
enabled. Providing --no-stub flag to esptool allows user to flash new
firmware, given download mode hasn't been disabled
2021-09-22 12:45:46 +05:30
Tomas Rezucha
5fa9f30c8b
Set MADCTL register during initialization
2021-09-22 08:55:01 +02:00
Kapil Gupta
8bf942c724
wpa_supplicant: Add missing cflag for legacy makefile
2021-09-22 11:30:30 +05:30
Jiacheng Guo
b7a99f4658
mdns: allow mutiple instances with same service type
2021-09-22 13:07:31 +08:00
Zim Kalinowski
b857c86535
Merge branch 'feature/freertos-upgrade-to-10.4.3-port-dont-discard' into 'master'
...
freertos: upgrade to 10.4.3 - try to add portDONT_DISCARD
See merge request espressif/esp-idf!15148
2021-09-22 01:11:54 +00:00
Zim Kalinowski
d37ed3e05b
freertos: upgrade to 10.4.3 - try to add portDONT_DISCARD
2021-09-22 09:11:44 +08:00
Rahul Tank
1ad7d0dac4
Nimble: Check stack status before executing stack command
2021-09-21 12:41:45 +08:00
Chinmay Chhajed
a977618f55
BT: Check only for same X component of public key in BR/EDR.
2021-09-20 23:24:24 +08:00
radim.karnis
2e0adc37d2
tools: Update esptool submodule
...
Closes https://github.com/espressif/esp-idf/issues/7546
2021-09-20 21:21:28 +08:00
ajit1433
ae8fac38fa
code formatting updated
2021-09-18 23:14:09 +05:30
yuanjm
9e2f15ae51
lwip: Support DHCP option length configuration
2021-09-18 17:24:27 +08:00
Xie Wen Xiang
26debca1c5
Merge branch 'bugfix/btdm_ble_event_mask_default_value' into 'master'
...
[BLE] Fixed default LE Event Mask
See merge request espressif/esp-idf!15241
2021-09-18 08:26:01 +00:00
ChenJianxing
ebf577f9e5
esp_wifi: fix esp32s3 rom funcs ptr malloc in psram when psram enable
2021-09-18 15:56:53 +08:00
morris
20ef511d0a
Merge branch 'bugfix/fix_reg_name_charactor_err' into 'master'
...
bugfix: fix reg name character error
See merge request espressif/esp-idf!14169
2021-09-18 07:10:57 +00:00
Jiang Jiang Jian
3b48b7e663
Merge branch 'Fix/update_reset_reason' into 'master'
...
update reset reason for c3/s3/h2
See merge request espressif/esp-idf!14747
2021-09-18 07:03:50 +00:00
Jiang Jiang Jian
bc7b372c24
Merge branch 'bugfix/remove_dis_rtc_ram_boot_efuse_bit' into 'master'
...
efuse: remove DIS_RTC_RAM_BOOT efuse bit
See merge request espressif/esp-idf!13783
2021-09-18 06:58:50 +00:00
Wu Zheng Hui
85651b4791
efuse: remove DIS_RTC_RAM_BOOT efuse bit
2021-09-18 14:58:43 +08:00
Armando (Dou Yiwen)
e3e406b81b
Merge branch 'bugfix/link_spi_flash_rom_func_in_bootloader_stage' into 'master'
...
esp_rom: link rom spi flash functions in bootloader stage
Closes IDFGH-5065 and IDFGH-5800
See merge request espressif/esp-idf!15202
2021-09-18 05:14:23 +00:00
Guo Jia Cheng
0d4126b755
Merge branch 'bugfix/eventfd-isr-mismatch' into 'master'
...
vfs: fix occasional ISR context mismatch in event fd
See merge request espressif/esp-idf!15240
2021-09-18 02:56:11 +00:00
Alex Lisitsyn
cd27a44107
Merge branch 'bugfix/modbus_fix_stack_reinitialization_sequence' into 'master'
...
freemodbus: fix TCP stack/examples reinitialization sequence
Closes IDFGH-4432
See merge request espressif/esp-idf!12123
2021-09-17 11:13:57 +00:00
Alex Lisitsyn
c965b48e77
freemodbus: fix TCP stack/examples reinitialization sequence
2021-09-17 19:13:48 +08:00
Mahavir Jain
8b4c0e71a9
Merge branch 'feature/mbedtls_session_ticket_support' into 'master'
...
Feature/mbedtls session ticket support
Closes IDFGH-5288 and IDF-3242
See merge request espressif/esp-idf!14496
2021-09-17 09:59:02 +00:00
Jiacheng Guo
7eafcb0372
vfs: fix occasional ISR context mismatch in event fd
2021-09-17 17:31:20 +08:00
xiewenxiang
bebc5d543b
component/bt: Fixed default LE Event Mask
2021-09-17 17:12:16 +08:00
morris
b8ec4c1a16
Merge branch 'bugfix/timergroup_regression' into 'master'
...
timer: fix unit test regression
Closes IDFCI-889
See merge request espressif/esp-idf!15232
2021-09-17 08:22:08 +00:00
Bao Hong De
eccb1f85d8
Merge branch 'bugfix/btdm_link_error_of_kconfig' into 'master'
...
Bugfix/btdm link error of kconfig
See merge request espressif/esp-idf!15176
2021-09-17 06:26:37 +00:00
Mahavir Jain
62078befb4
Merge branch 'docs/esp_log_custom_cb_note' into 'master'
...
esp_log: add note about reentrancy for custom logging function
See merge request espressif/esp-idf!15194
2021-09-17 04:44:38 +00:00
morris
56e617d747
timer: fix unit test regression
2021-09-17 10:45:06 +08:00
Wu Zheng Hui
27241e8213
Merge branch 'bugfix/fix_efuse_err_address' into 'master'
...
fix efuse err address in block0
See merge request espressif/esp-idf!14790
2021-09-17 02:17:09 +00:00
Jiang Jiang Jian
a015123a1d
Merge branch 'feature/rename_apbctrl_to_syscon' into 'master'
...
rename apbctrl to syscon
See merge request espressif/esp-idf!14524
2021-09-16 12:58:07 +00:00
Wu Zheng Hui
1080e4f6a2
rename APB_CTRL ro SYS_CON
...
save
2021-09-16 20:57:57 +08:00
baohongde
b310c062cd
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2021-09-16 20:26:35 +08:00
Mahavir Jain
334e314933
Merge branch 'feature/add_convenient_ws_send' into 'master'
...
Convenient websocket send functions
See merge request espressif/esp-idf!12690
2021-09-16 12:22:54 +00:00
wuzhenghui
9c5d1c7fcf
fix s3 efuse err address in block0
2021-09-16 20:08:59 +08:00
wuzhenghui
8e1b8194f5
fix s2 efuse err address in block0
2021-09-16 20:08:59 +08:00
wuzhenghui
61b2c2d458
fix h2 efuse err address in block0
2021-09-16 20:08:59 +08:00
wuzhenghui
352ffbb78d
fix c3 efuse err address in block0
2021-09-16 20:08:59 +08:00
Alex Lisitsyn
f40ae9cae9
Merge branch 'bugfix/fix_esp_restart_does_not_reset_timer_groups_periph' into 'master'
...
driver: fix esp_restart() does not reset timer group peripheral
Closes IDFGH-4652
See merge request espressif/esp-idf!12188
2021-09-16 11:45:42 +00:00
Alex Lisitsyn
c5d0d89508
driver: fix timer driver initialization sequence to not trigger interrupt immediately
...
add timer_hal_reset_periph()
fix timer_init() to reset timer counter during init
2021-09-16 19:45:33 +08:00
Armando (Dou Yiwen)
b9ea273e78
Merge branch 'feature/suppport_self_icode_calibration_on_s3' into 'master'
...
adc: support self calibration icode on s3
Closes IDF-3913
See merge request espressif/esp-idf!15195
2021-09-16 11:14:58 +00:00
Ivan Grokhotkov
ca73236f8e
Merge branch 'bugfix/vfs_io_disabled_console' into 'master'
...
Fix console output flushing when CONFIG_VFS_SUPPORT_IO is disabled
Closes IDF-3892
See merge request espressif/esp-idf!15210
2021-09-16 10:27:04 +00:00
Ivan Grokhotkov
3c5e7b89ab
spi_flash: extern spi_flash_chip_generic_timeout
...
spi_flash_generic_timeout is currently defined in the header file,
which makes it a common symbol between translation units where this
header file is included. It is also defined in
spi_flash_chip_generic.c.
Add an explicit `extern` to prevent multiple definition errors.
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
b5606f5e81
esp_system: make the abort operation compatible with clang
...
Clang warns that the original code wouldn't have any effect:
warning: indirection of non-volatile null pointer will be deleted,
not trap [-Wnull-dereference]
note: consider using __builtin_trap() or qualifying pointer
with 'volatile'
__builtin_trap translates to 'break 1, 15' instruction on Xtensa,
which might be okay in this case. However to absolutely certainly not
break anything for GCC builds, add 'volatile' instead.
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
82f0488f77
argtable: move GCC-specific pragma to cmake/make files
...
...and only add it when building with GCC.
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
d0f960a634
newlib: don't use gcc-specific pragmas for clang
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
1e2b1238c6
cbor: add a workaround for -ffreestanding being passed to clang
...
Toolchain CMake files for clang currently pass -ffreestanding option
to prevent clang from picking the wrong copy of stdint.h. This is a
temporary hack until we fix clang distributions to not include the
GCC version of stdint.h. This hack, however, results in setting
__STDC_HOSTED__=0, which is being checked by cbor header files,
making some required functions unavailable as a result.
Undefine __STDC_HOSTED__ as a workaround. This flag is only passed
when compiling cbor itself.
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
81b97b9a6b
spi_flash: only add GCC-specific flags when building with GCC
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
370473b772
spiffs: only add GCC-specific flags when building with GCC
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
90a87cf5e4
cmake: don't run crosstool-version-check for clang
...
We will likely need to check clang version as well, eventually.
However at the moment clang builds change too often for such check
to be maintainable. Disable it for clang.
2021-09-16 10:54:27 +02:00
Martin Valik
1f451a4a77
Added more convenient functions for sending data to websocket
2021-09-16 10:53:29 +02:00
Armando
ddd0235783
adc: support adc self-calibration on esp32s3
2021-09-16 15:17:29 +08:00
Ivan Grokhotkov
ccda990ce5
newlib: set errno in the explicitly provided reent structure
...
Since these functions receive the pointer to reent structure, they
should set errno in it rather than using thread-local errno.
This didn't cause practical issues because console functions in IDF
are only called from threads, and in that case 'r' is a pointer to
the thread-local structure, so &errno is the same thing as
&__errno_r(r). Still, fixing this for consistency.
2021-09-16 09:00:07 +02:00
Ivan Grokhotkov
5da66d1d39
newlib: implement _fstat_r stub for console
...
When CONFIG_VFS_SUPPORT_IO is disabled, _read_r and _write_r
implementations in syscalls.c are used to provide console I/O via
esp_rom_uart_tx_one_char/esp_rom_uart_rx_one_char.
When newlib opens a (FILE*) stream, it calls fstat to check if the
underlying file is character-oriented. In this case, it configures the
stream to use line buffering. Otherwise (or if fstat fails) the stream
is opened as block buffered.
Since fstat wasn't provided, stdin/stdout/stderr streams got opened in
block buffered mode. For console, we need line buffered output so that
the stream buffer is flushed each time a complete line (ending with
'\n') is sent to stdout or stderr.
Fix by implementing _fstat_r stub, setting st->st_mdoe=S_IFCHR.
2021-09-16 09:00:07 +02:00
Li Shuai
b3e27403f3
esp_hw_support: keep external 40 MHz xtal related analog circuit power on during sleep
2021-09-16 14:46:21 +08:00
Li Shuai
58292a7d22
Power Management: add XTAL power domain to control whether external 40MHz xtal is powered down during sleep
2021-09-16 14:43:43 +08:00
Li Shuai
f5b39a7cde
esp_hw_support: No voltage drop during light sleep to ensure stable output clock of rtc8m oscillator
2021-09-16 14:40:46 +08:00
Shivani Tipnis
d8b1c3d44a
nvs_tool: Update Readme with supports of multiline strings and comments in the CSV file
...
Closes https://github.com/espressif/esp-idf/issues/7175
2021-09-16 11:11:19 +05:30
Li Shuai
b59902f4d1
Merge branch 'bugfix/esp32s3_lightsleep_psram_leakage_current' into 'master'
...
fix SPIRAM leakage when its CS pin has no hardware pullup
See merge request espressif/esp-idf!14730
2021-09-16 04:07:58 +00:00
Aditya Patwardhan
b4e4b9f20d
Added support for client session tickets in esp-tls (with mbedtls)
...
* client session tickets for individual tls connections are supported
* reorganize the esp-tls error codes.
* Update esp_err_to_name.c
* Fix styling
2021-09-15 22:19:04 +05:30
Daniel Bahrdt
7e886ca9ed
Implement server session ticket support with mbedtls
...
Closes https://github.com/espressif/esp-idf/pull/7048
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-09-15 22:19:04 +05:30
Aditya Patwardhan
c6c2ea975f
Fix esp_mbedtls_write API
...
Fix esp_wolfssl_write API
Closes https://github.com/espressif/esp-idf/issues/7461
2021-09-15 21:40:54 +05:30
wuzhenghui
b2c028085a
fix reg name character error
2021-09-15 21:51:20 +08:00
Shu Chen
8f283421da
Merge branch 'feature/ot_example_doc' into 'master'
...
openthread: enrich documentation for openthread examples
See merge request espressif/esp-idf!15156
2021-09-15 13:48:17 +00:00
Ondrej Kosta
61455ddc19
Merge branch 'feature/set_phy_loopback' into 'master'
...
esp_eth: add PHY loopback control via esp_eth_ioctl
Closes IDF-3865
See merge request espressif/esp-idf!15096
2021-09-15 13:07:21 +00:00
Li Shuai
c5b481c6da
light sleep: fix Flash leakage when its CS pin has no hardware pullup
2021-09-15 20:34:18 +08:00
Li Shuai
af4f2075ac
light sleep: fix SPIRAM leakage when its CS pin has no hardware pullup
2021-09-15 20:34:18 +08:00
Armando
ea10dacf68
mspi: add octal psram get_cs_io function
2021-09-15 20:34:18 +08:00
chenjianqiang
9b53e18c44
add flash and PSRAM CS IO acquire function
2021-09-15 20:34:17 +08:00
Shu Chen
c09633d41b
openthread: enrich documentation for openthread examples
2021-09-15 15:44:07 +08:00
Sudeep Mohanty
7eb75428d5
Merge branch 'feature/freertos-upgrade-to-10.4.3-FreeRTOSConfig.h-location-update' into 'master'
...
freertos: updated the location of FreeRTOSConfig.h
Closes IDF-3721
See merge request espressif/esp-idf!15119
2021-09-15 07:11:12 +00:00
boarchuz
cda459672a
fix bootloader build with rom flash driver
...
Closes https://github.com/espressif/esp-idf/pull/7508
Closes https://github.com/espressif/esp-idf/issues/6849
2021-09-15 14:51:35 +08:00
David Čermák
29fac4faa0
Merge branch 'bugfix/tcp_transport_null_deref' into 'master'
...
tcp_transport: Fix NULL pointer deference in esp_tls_create (GitHub PR)
Closes IDFGH-5834
See merge request espressif/esp-idf!15125
2021-09-15 06:06:17 +00:00
baohongde
eb176c3453
Fix bt init error with psram
2021-09-15 10:57:45 +08:00
baohongde
05768e9878
components/bt: Combine 3 Bluetooth controller menu
2021-09-15 10:57:37 +08:00
Shu Chen
6704f4c92f
Merge branch 'add_openthread_srp_client_option' into 'master'
...
openthread : update openthread submodule
See merge request espressif/esp-idf!15161
2021-09-14 14:39:51 +00:00
morris
9e50eafcec
Merge branch 'bugfix/cbor_build_sys_cleanup' into 'master'
...
cbor: build system cleanup
See merge request espressif/esp-idf!15190
2021-09-14 13:01:48 +00:00
Zim Kalinowski
1ab631449f
Merge branch 'bugfix/fix-invalid-task-exit-critical' into 'master'
...
fixed invalid taskEXIT_CRITICAL
See merge request espressif/esp-idf!15191
2021-09-14 12:02:10 +00:00
Mahavir Jain
ae7030ccd0
esp_log: add note about reentrancy for custom logging function
2021-09-14 16:57:15 +05:30
xiaqilin
988ec8be56
ieee802154: add zigbee pending mode and config coordinator function
2021-09-14 19:19:30 +08:00
WangQixiang
c5a52c605f
openthread: update openthread submodule
...
openthread: add srp client enable option for openthread component
ieee802154: set ieee802154 default PTI to 6
2021-09-14 17:13:19 +08:00
Anton Maklakov
c94b913ced
Merge branch 'bugfix/esp32s3_chip_id' into 'master'
...
esp_hw_support: update esp32s3 chip ID to the MP version
See merge request espressif/esp-idf!15183
2021-09-14 09:09:38 +00:00
Armando (Dou Yiwen)
13b63cd9d2
Merge branch 'feature/support_adc_calibration_s3' into 'master'
...
adc: support adc calibration on s3
Closes IDF-1950, IDF-3730, and IDF-3036
See merge request espressif/esp-idf!15031
2021-09-14 08:51:03 +00:00
Kevin (Lao Kaiyao)
a287f34f88
Merge branch 'bugfix/i2s_apll_fixed_clock' into 'master'
...
i2s: fix apll bug introduced in 'refactor/i2s_driver'
Closes IDFGH-5824
See merge request espressif/esp-idf!15109
2021-09-14 08:31:12 +00:00
Ondrej Kosta
76326e8268
esp_eth: add PHY loopback control via esp_eth_ioctl
...
Fixed esp_eth_ioctl command's data argument non-standard handling
2021-09-14 09:13:54 +02:00
Zim Kalinowski
da65a010a3
fixed invalid taskEXIT_CRITICAL
2021-09-14 15:03:46 +08:00
morris
502e132e5d
Merge branch 'feature/fast_gpio_c3' into 'master'
...
fast gpio support on esp32-c3
Closes IDF-3783
See merge request espressif/esp-idf!14986
2021-09-14 06:09:34 +00:00
Song Ruo Jing
10b848327b
Merge branch 'feature/usb_phy' into 'master'
...
usb: Add usb_phy driver to support operations on USB PHY
Closes IDF-3574 and IDF-1882
See merge request espressif/esp-idf!14879
2021-09-14 06:06:06 +00:00
Mahavir Jain
8e720db65a
cbor: build system cleanup
...
Some of the special CFLAGS required for masking warnings are no more
required with updated tinycbor release.
2021-09-14 09:45:43 +05:30
Armando
9aae92fd16
adc: add a ut for calibration speed
2021-09-14 11:42:50 +08:00
Armando
c45c6f52f1
adc: support adc efuse-based calibration on esp32s3
2021-09-14 11:42:50 +08:00
Sudeep Mohanty
0912df611f
freertos: updated the location of FreeRTOSConfig.h
...
Moved FreeRTOSConfig.h from include/freertos to include/esp_additions/freertos.
Updated FreeRTOS.h file to include FreeRTOSConfig.h without the
freertos/ prefix to match with the upstream file.
Renamed architecture specific FreeRTOSConfig.h files to FreeRTOSConfig_arch.h
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-14 08:46:01 +05:30
Ivan Grokhotkov
e21e5aac64
esp_hw_support: update esp32s3 chip ID to the MP version
...
- Update 7.2.5 chip ID (4) to 7.2.8 chip ID (9).
- Remove TODO in espcoredump regarding this mismatch.
2021-09-13 15:16:45 +02:00
Ivan Grokhotkov
c54caa457e
Merge branch 'feature/espcoredump_4_esp32s3' into 'master'
...
Add Esp32s3 support to the coredump component.
See merge request espressif/esp-idf!15097
2021-09-13 12:37:12 +00:00
Kapil Gupta
25585202f5
Merge branch 'bugfix/eap_client_iot_issues' into 'master'
...
ESP_WiFi: Fix some wpa enterprise issue
Closes https://github.com/espressif/esp-idf/issues/7384
Closes https://github.com/espressif/esp-idf/issues/7465
See merge request espressif/esp-idf!15116
2021-09-13 12:13:19 +00:00
Li Shuai
e44ead5356
Power Management: add RTC8M power domain to control whether internal 8m oscillator is powered down during sleep
2021-09-13 17:36:54 +08:00
dmitry
5d859f1404
Add Esp32s3 to the coredump component.
...
Add changed expected_output for esp32, esp32s2 and esp32c3. coredump tag update.
2021-09-13 05:20:34 -04:00
Zim Kalinowski
028ff956b2
Merge branch 'docs/core_components_description' into 'master'
...
docs: core components description
Closes IDF-2833
See merge request espressif/esp-idf!12978
2021-09-13 09:19:27 +00:00
Kapil Gupta
393a9d5a94
wpa_supplicant: Update internal tls client with sha384/sha512 support
...
Add support for validating certificates with SHA384 and SHA512 hashes.
2021-09-13 14:11:55 +05:30
Kapil Gupta
6647f48dda
esp_wifi: Fix interoperability issue with windows 2008
2021-09-13 14:11:37 +05:30
baohongde
6fc4bf7145
components/bt: Fix link error of Kconfig
2021-09-13 15:45:27 +08:00
David Čermák
9f957cbfe2
Merge branch 'bugfix/memprot_panic_print_const_correction' into 'master'
...
panic: Fix minor const string correction on meprot panic print
See merge request espressif/esp-idf!14851
2021-09-13 06:13:33 +00:00
songruojing
1fcd639224
usb: Add usb_phy driver to support operations on USB PHY
2021-09-13 12:39:56 +08:00
Renz Bagaporo
bb5544b8a4
docs: core components description
2021-09-13 12:05:20 +08:00
Zim Kalinowski
fa56351261
Merge branch 'feature/freertos-upgrade-to-10.4.3-extras' into 'master'
...
freertos: upgrade to 10.4.3 -- extras from SMP base
See merge request espressif/esp-idf!15144
2021-09-13 03:44:18 +00:00
morris
9d97d01679
Merge branch 'bugfix/mcpwm_cpp_reserved_word' into 'master'
...
bugfix/mcpwm: rename invalid keyword 'operator'
Closes IDFGH-5840
See merge request espressif/esp-idf!15159
2021-09-13 03:10:04 +00:00
Ivan Grokhotkov
f94035ad85
spi_flash: state that esp_partition_iterator_release allows NULL arg
...
The implementation allows passing the NULL argument, and the function
is used in the examples accordingly. Fix the discrepancy in the
doxygen comment.
Closes https://github.com/espressif/esp-idf/issues/7545
2021-09-10 20:55:01 +02:00
Andrei Safronov
9159aa58d3
tests: refactoring of the gcc's inner functions, because clang doesn't support them
2021-09-10 19:51:27 +03:00
Zim Kalinowski
59f6087b55
Merge branch 'feature/freertos-upgrade-to-10.4.3-reconcile-traces' into 'master'
...
freertos: upgrade to 10.4.3 - reconcile traces
See merge request espressif/esp-idf!15104
2021-09-10 10:18:20 +00:00
Bao Hong De
7fc071e133
Merge branch 'feature/high_level_interrupt_in_bluetooth' into 'master'
...
Bluetooth: High level interrupt in bluetooth
See merge request espressif/esp-idf!11156
2021-09-10 09:50:39 +00:00
SalimTerryLi
d9f4ae02f1
mcpwm: rename keyword 'operator' which is not valid in cpp
...
Closes https://github.com/espressif/esp-idf/issues/7542
2021-09-10 12:41:42 +08:00
morris
25f723765e
Merge branch 'feature/lcd_driver_follow_up' into 'master'
...
lcd: add PM lock
Closes IDF-3631, IDF-3704, and IDF-3317
See merge request espressif/esp-idf!14880
2021-09-10 03:14:50 +00:00
Zim Kalinowski
1041288402
Merge branch 'feature/freertos-upgrade-to-10.4.3-added-vapplication-prototypes' into 'master'
...
freertos: upgrade to 10.4.3 - added vapplication... prototypes to tasks.h
See merge request espressif/esp-idf!15102
2021-09-10 03:07:11 +00:00
Wei Tian Hua
5c9502427a
Merge branch 'component_bt/fix_hid_unit_test' into 'master'
...
Component_bt/Fix esp_hid unit test failure
See merge request espressif/esp-idf!15151
2021-09-10 02:56:50 +00:00
Zim Kalinowski
f3b3c1697c
added vApplication... prototypes to tasks.h
2021-09-10 09:37:01 +08:00
morris
691780ffa6
Merge branch 'feature/mcpwm_timer_sync' into 'master'
...
mcpwm: add driver option to sync with internal signals
Closes IDFGH-3469
See merge request espressif/esp-idf!9259
2021-09-09 19:05:10 +00:00
baohongde
006a10b050
components/doc: Update doc about high-level interrupt
...
some bugfix.
2021-09-09 20:40:09 +08:00
Zim Kalinowski
917391f59f
Merge branch 'feature/freertos-upgrade-to-10.4.3-move-esp-header-from-FreeRTOS.h' into 'master'
...
freertos: move esp_compiler.h include from FreeRTOS.h
Closes IDF-3720
See merge request espressif/esp-idf!15103
2021-09-09 10:02:07 +00:00
Zim Kalinowski
a1c85515f6
Merge branch 'bugfix/bootloader_size_log' into 'master'
...
check_sizes.py: Fix bootloader size message in build log
Closes IDFGH-5798
See merge request espressif/esp-idf!15047
2021-09-09 09:58:43 +00:00
David Cermak
0ee4c235eb
panic/memprot: Fix minor const string correction on panic print
2021-09-09 11:46:21 +02:00
SalimTerryLi
932d4d13f0
MCPWM/sync: expose API for configuring timer sync
...
removed example: mcpwm_basic_config
Closes https://github.com/espressif/esp-idf/issues/5429
Co-authored-by: wubowen <wubowen@espressif.com>
2021-09-09 17:33:37 +08:00
liqigan
97e2465439
fix unit test failure for report_len in Boot Protocol
2021-09-09 17:32:22 +08:00
Yuan Jian Min
8fd591390a
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp' into 'master'
...
dhcpserver: support cplusplus
Closes IDFGH-5786 and IDFGH-5821
See merge request espressif/esp-idf!15018
2021-09-09 06:11:56 +00:00
morris
54abf1d0b9
Merge branch 'ci/esp_eth_new_runners' into 'master'
...
feature/ci/esp_eth: new app_test and runner
Closes IDF-3561 and IDFGH-1736
See merge request espressif/esp-idf!14392
2021-09-09 04:16:08 +00:00
Zim Kalinowski
5f522cd6f3
freertos: upgrade to 10.4.3 -- extras
2021-09-09 11:54:47 +08:00
Shu Chen
e1ff05fe4d
Merge branch 'feature/esp32h2_phy_refactor' into 'master'
...
esp_phy: support phy init on esp32h2 chip
See merge request espressif/esp-idf!14983
2021-09-09 03:33:45 +00:00
baohongde
57eeb4d953
components/driver: support static allocation of FreeRTOS queues used by ISR routine
2021-09-09 11:29:19 +08:00
baohongde
e2fb413329
components/bt: add config option to choose Bluetooth intterupt level.
2021-09-09 11:29:17 +08:00
baohongde
6d63fe06fa
components/os: add config option to choose system check intterupt level.
2021-09-09 11:29:12 +08:00
baohongde
8a4696d25a
components/os: Fix live lock int bt isr using ocd multicore debug
...
components/os: Fix live lock in bt isr immediately
2021-09-09 11:29:08 +08:00
baohongde
d1db2df316
components/bt: High level interrupt in bluetooth
...
components/os: Move ETS_T1_WDT_INUM, ETS_CACHEERR_INUM and ETS_DPORT_INUM to l5 interrupt
components/os: high level interrupt(5)
components/os: hli_api: meta queue: fix out of bounds access, check for overflow
components/os: hli: don't spill registers, instead save them to a separate region
Level 4 interrupt has a chance of preempting a window overflow or underflow exception.
Therefore it is not possible to use standard context save functions,
as the SP on entry to Level 4 interrupt may be invalid (e.g. in WindowUnderflow4).
Instead, mask window overflows and save the entire general purpose register file,
plus some of the special registers.
Then clear WindowStart, allowing the C handler to execute without spilling the old windows.
On exit from the interrupt handler, do everything in reverse.
components/bt: using high level interrupt in lc
components/os: Add DRAM_ATTR to avoid feature `Allow .bss segment placed in external memory`
components/bt: optimize code structure
components/os: Modify the BT assert process to adapt to coredump and HLI
components/os: Disable exception mode after saving special registers
To store some registers first, avoid stuck due to live lock after disabling exception mode
components/os: using dport instead of AHB in BT to fix live lock
components/bt: Fix hli queue send error
components/bt: Fix CI fail
# Conflicts:
# components/bt/CMakeLists.txt
# components/bt/component.mk
# components/bt/controller/bt.c
# components/bt/controller/lib
# components/esp_common/src/int_wdt.c
# components/esp_system/port/soc/esp32/dport_panic_highint_hdl.S
# components/soc/esp32/include/soc/soc.h
2021-09-09 11:29:06 +08:00
laokaiyao
dfbe76e988
i2s: fix return value when failed to register i2s
2021-09-09 10:33:15 +08:00
laokaiyao
b3193e233c
i2s: fix apll bugs introduced in 'refactor/i2s_driver'
...
Closes https://github.com/espressif/esp-idf/issues/7529
2021-09-09 10:23:52 +08:00
David Čermák
39b7d3e13f
Merge branch 'bugfix/eth_dm9051_not_responding' into 'master'
...
esp_eth: Fix dm9051 Rx interrupt processing
Closes IDFGH-4598
See merge request espressif/esp-idf!15073
2021-09-08 14:25:27 +00:00
zhangwenxu
8f76a98c1b
esp_phy: support phy init on esp32h2 chip
2021-09-08 21:20:37 +08:00
SalimTerryLi
14a6ab4a8e
esp_eth: new test_app: emac layer tests
2021-09-08 20:00:14 +08:00
Wang Meng Yang
80c3aaab7c
Merge branch 'feature/add_bt_hid_host_support_dev' into 'master'
...
Feature/add bt hid host btc layer
Closes IDFGH-3329, IDFGH-1104, IDFGH-3724, IDFGH-4383, and IDFGH-5428
See merge request espressif/esp-idf!12016
2021-09-08 11:54:19 +00:00
Mahavir Jain
66b26abc87
Merge branch 'bugfix/http_client_eagain' into 'master'
...
esp_http_client: Fixed handling of EAGAIN return
See merge request espressif/esp-idf!14610
2021-09-08 08:17:09 +00:00
yuanjm
f2d32d5c0a
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-09-08 15:52:12 +08:00
liqigan
2078dfe293
1. update esp_hid component to use esp HID API
...
2. add esp_hidh_config_t::callback_arg
2021-09-08 14:08:34 +08:00
Wang Meng Yang
a885c42cda
Merge branch 'example/controller_hci_uart_for_esp32s3' into 'master'
...
examples: added support of ESP32-S3 chip in controller_hci_uart example
Closes BT-1906
See merge request espressif/esp-idf!14935
2021-09-08 06:02:18 +00:00
Cao Sen Miao
e85e9dc824
Merge branch 'feature/esp_flash_octal_api_support_xmic' into 'master'
...
esp_flash: Add new octal flash chip support in new chip driver (for MXIC)
Closes IDF-2859
See merge request espressif/esp-idf!14185
2021-09-08 03:59:34 +00:00
morris
7dc9c7aa05
lcd: allow execlusive use of i80 bus
2021-09-08 11:34:46 +08:00
morris
02e470bc50
lcd: add pm lock
2021-09-08 11:34:46 +08:00
morris
a6661bdf90
lcd: spi-lcd send command and parameter with big-endian
2021-09-08 11:30:30 +08:00
Axel Lin
9d07e89f13
tcp_transport: Fix NULL pointer dereference in esp_transport_esp_tls_create
...
Add missing NULL checking to prevent NULL pointer dereference if calloc failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-09-08 11:04:08 +08:00
David Čermák
25e14bd8d9
Merge branch 'feature/esp_netif_ppp_params' into 'master'
...
Examples: Add esp_modem example to experimental cxx components
Closes IDF-1923, IDFGH-217, IDFGH-2608, IDFGH-4838, IDFGH-1229, IDFGH-3848, and IDFGH-3809
See merge request espressif/esp-idf!13161
2021-09-07 18:16:13 +00:00
morris
fbc81c3d44
Merge branch 'bugfix/force_u32_macro_cpp_typeof' into 'master'
...
HAL: Fix Force U32 macros for C++ typeof()
Closes IDF-3862
See merge request espressif/esp-idf!15066
2021-09-07 16:08:44 +00:00
David Cermak
676cd99c42
esp_eth: Fix dm9051 Rx interrupt processing
...
* Disable Tx interrupts to fix race condition of missing Rx interrupt
* Check if GPIO interrupt is asserted periodically if the ISR event missed
Closes https://github.com/espressif/esp-idf/issues/6414
2021-09-07 16:38:43 +02:00
Mahavir Jain
d504ca614c
Merge branch 'feature/clock_glitch_enable' into 'master'
...
bootloader: Enable clock glitch detection
Closes IDF-2453, IDF-1720, IDFGH-5721, and IDFGH-5327
See merge request espressif/esp-idf!14868
2021-09-07 11:38:18 +00:00
Vikram Dattu
1c57dbcb3c
esp_http_client: Fixed handling of EAGAIN return
...
For https connection `ESP_TLS_ERR_SSL_WANT_READ` of esp_transport_read was getting treated as error.
Treated this as a timeout to fix connection abort issue!
Also handled http connection EAGAIN with `errno == EAGAIN` check.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-09-07 14:33:49 +05:30
liqigan
1c15c9207c
1. transparent HID device
...
2. add esp API for HID
3. add PM config for HID
4. add HID device demo
Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
liqigan
9049974d6b
fix deep copy bugs for esp_hid component
...
Closes https://github.com/espressif/esp-idf/issues/6217
Closes https://github.com/espressif/esp-idf/issues/7169
2021-09-07 16:58:19 +08:00
Zim Kalinowski
538911e9ee
reconcile traces
2021-09-07 15:57:50 +08:00
Sudeep Mohanty
3b40d77584
freertos: move esp_compiler.h include from FreeRTOS.h
...
Moved the inclusion of esp_compiler.h from FreeRTOS.h to
the app specific FreeRTOSConfig.h where the unlikely()
macro is used. This change is in alignment with the upstream
FreeRTOS.h file.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-07 13:12:04 +05:30
David Cermak
825bbb08e3
esp_netif: Added argument checks for PPP public API
2021-09-07 09:03:15 +02:00
David Cermak
2f6c60573e
esp_netif: Extend PPP netif API to control connection failure
2021-09-07 09:03:15 +02:00
David Cermak
213727c4f2
lwip: IPv6: Add support for DHCPv6 stateless config
...
Closes https://github.com/espressif/esp-idf/issues/5245
2021-09-07 14:48:21 +08:00
Cao Sen Miao
6c0aebe279
esp_flash: add opi flash support in esp_flash chip driver, for MXIC
2021-09-07 14:44:40 +08:00
Sudeep Mohanty
1a19014d3d
Merge branch 'feature/move-esp-macros-from-freetos-upstream-files' into 'master'
...
freertos: remove xSemaphoreAltTake/Give macros from semphr.h
Closes IDF-3814
See merge request espressif/esp-idf!15088
2021-09-07 04:45:18 +00:00
Zim Kalinowski
092b903320
Merge branch 'feature/freertos-upgrade-to-10.4.3-missing-layout-changes' into 'master'
...
freertos: upgrade to 10.4.3 - missing code layout changes
See merge request espressif/esp-idf!15098
2021-09-07 04:07:26 +00:00
Mahavir Jain
0c027cf4d2
Merge branch 'feature/hmac_downstream_jtag' into 'master'
...
hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3
Closes IDF-3664
See merge request espressif/esp-idf!15034
2021-09-07 03:34:22 +00:00
Marius Vikhammer
3c9f94d739
Merge branch 'feature/publish_s3_docs' into 'master'
...
docs: enable publishing of S3 docs
Closes IDF-3385 and IDF-3285
See merge request espressif/esp-idf!15074
2021-09-07 03:30:36 +00:00
Darian Leung
14fe6dcaaf
HAL: Fix Force U32 macros for C++ typeof()
...
When using the Force U32 macros in C++, the peripheral structs will not
have copy constructors due to them being volatile. Thus, doing temp_reg = reg
via typeof() will not work and cause a "ambiguous overload of operator=" error.
This commit fixes the macros by reading the reg into a uint32_t value first.
2021-09-07 11:23:06 +08:00
Zim Kalinowski
8f06bf6e44
freertos: upgrade to 10.4.3 - missing code layout changes
...
(cherry picked from commit 46477d85bb43aafac688747ad0c4090030410e3a)
2021-09-07 10:31:26 +08:00
Shu Chen
1e0219f16f
Merge branch 'feature/add_openthread_iperf' into 'master'
...
openthread: add iperf example for ot-network test
See merge request espressif/esp-idf!14635
2021-09-07 02:07:44 +00:00
morris
6cec256a34
fast_gpio: driver support on esp32c3
2021-09-06 19:39:09 +08:00
Sudeep Mohanty
46d54990d8
freertos: remove xSemaphoreAltTake/Give macros from upstream files
...
xSemaphoreAltTake and xSemaphoreAltGive are Espressif defined macros and
are not being used. The respective definitions, xQueueAltGenericReceive
and xQueueAltGenericSend are also not part of current FreeRTOS source
(v10.4.3). Hence, removed xSemaphoreAltTake and xSemaphoreAltGive
definitions to align with upstream code.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-06 15:55:23 +05:30
Mahavir Jain
bc3c9d27f6
Merge branch 'feature/esp-mqtt_esp32s3_support' into 'master'
...
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
See merge request espressif/esp-idf!15065
2021-09-06 09:52:29 +00:00
Guo Jia Cheng
8d51f554db
Merge branch 'feature/otbr-discovery-delegate' into 'master'
...
openthread: support discovery delegate in border router
See merge request espressif/esp-idf!15041
2021-09-06 09:29:09 +00:00
zhangwenxu
2be77287b3
openthread: add iperf example for ot-network test
2021-09-06 15:32:38 +08:00
Zim Kalinowski
ef75b5a188
Merge branch 'feature/zim-freertos-upgrade-missing-files-etc' into 'master'
...
freertos: upgrade to 10.4.3 - missing files from upstream
See merge request espressif/esp-idf!15061
2021-09-06 06:40:04 +00:00
Zim Kalinowski
3f2f6d0cf5
freertos: upgrade to 10.4.3 - missing files from upstream
2021-09-06 14:39:48 +08:00
Zim Kalinowski
cbb087ae9c
Merge branch 'zim-marking-vtasksuspendall' into 'master'
...
freertos: clearly marking vTaskSuspendAll and a few other small cleanups
See merge request espressif/esp-idf!15048
2021-09-06 06:01:28 +00:00
Sachin Parekh
0e6b03f343
esp32s2/hmac: Release HMAC lock in downstream mode incase of failure
2021-09-06 11:21:39 +05:30
Sachin Billore
667017d517
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
...
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Sachin Parekh
fd5a7df404
esp32h2: Replicated HMAC JTAG downstream enable mode implementation
2021-09-06 11:06:50 +05:30
Sachin Parekh
fa2707f1f3
hmac: Added Downstream JTAG enable mode for esp32c3 and esp32s3
...
If JTAG is disabled temporarily by burning SOFT_DIS_JTAG, it can be
re-enabled temporarily through esp_hmac_jtag_enable API
2021-09-06 11:06:50 +05:30
Zim Kalinowski
17140be432
Merge branch 'zim-indexed-notifications-from-older-base' into 'master'
...
freertos: upgrade - indexed notifications
See merge request espressif/esp-idf!14910
2021-09-06 04:46:23 +00:00
Zim Kalinowski
61ac7c3368
freertos: upgrade - indexed notifications
2021-09-06 12:46:14 +08:00
Jiang Jiang Jian
316988bd2d
Merge branch 'feature/support_esp32s3_cpu_tagmem_retention' into 'master'
...
support esp32s3 cpu + tagmem retention
See merge request espressif/esp-idf!14579
2021-09-06 03:47:44 +00:00
Kevin (Lao Kaiyao)
2991eea97d
Merge branch 'refactor/i2s_driver' into 'master'
...
driver/i2s: bugfix and refactor for i2s
Closes IDF-3656 and IDF-3738
See merge request espressif/esp-idf!14704
2021-09-06 02:07:40 +00:00
Marius Vikhammer
1cf61c849f
docs: enable publishing of S3 docs
2021-09-06 09:11:17 +08:00
Cao Sen Miao
559c1ac3f9
esp_flash: add support mxic as a main flash under spi mode
2021-09-05 00:33:28 +08:00
boarchuz
ec70bc0523
fix compiler warning with silent panic option
2021-09-04 14:46:26 +10:00
Jiacheng Guo
51372704bf
openthread: support discovery delegate in border router
2021-09-03 19:07:59 +08:00
laokaiyao
c5afd7ce34
i2s: fix write failure on ESP32 in 32bit slave mode
2021-09-03 17:36:44 +08:00
Sachin Billore
81391fb18c
Merge branch 'feature/esp_ds_s3' into 'master'
...
[esp_hw_support]: Digital Signature support for S3
Closes IDF-1791
See merge request espressif/esp-idf!14955
2021-09-03 07:57:26 +00:00
Wei Tian Hua
00dfe84c58
Merge branch 'bugfix/hf_disc_acl_no_disc' into 'master'
...
bugfix/acl can't disconnect when hfp_client disconnect
See merge request espressif/esp-idf!12819
2021-09-03 06:01:50 +00:00
Mahavir Jain
bce9d7c0d1
Merge branch 'feature/esp_system_common_ld_settings' into 'master'
...
esp_system: create ld template to abstract few common settings
Closes IDF-3624
See merge request espressif/esp-idf!14700
2021-09-03 04:24:16 +00:00
Shu Chen
0f00a17e17
Merge branch 'featue/enable_openthread_ping_sender_module' into 'master'
...
openthread: enable ping sender module
See merge request espressif/esp-idf!14984
2021-09-03 02:34:26 +00:00
Wang Meng Yang
e09818bd33
Merge branch 'bugfix/btdm_fix_some_Document_Description_Error' into 'master'
...
component/bt: fix some ble document description error
See merge request espressif/esp-idf!14816
2021-09-03 01:40:15 +00:00
Darian
c8aab00fdb
Merge branch 'feature/usb_host_docs' into 'master'
...
Add USB Host Library API docs
See merge request espressif/esp-idf!15013
2021-09-02 14:05:08 +00:00
Martin Vychodil
3d29b01a02
Merge branch 'bugfix/fix_SD_card_tests_timeout' into 'master'
...
vfs/fatfs: fix failed tests by increasing timeout
See merge request espressif/esp-idf!14905
2021-09-02 12:16:15 +00:00
Darian Leung
963836f491
Add USB Host Library API docs
...
- This commit adds the API documentation for the USB Host Library.
- Warnings about the beta API are also added.
- usb_host_misc.h renamed to usb_helpers.h
2021-09-02 18:40:24 +08:00
Zim Kalinowski
b7dbd3ffc1
Merge branch 'zim-xtaskdelayuntil-and-a-few-minor' into 'master'
...
freertos: upgrade to 10.4.3 - xTaskDelayUntil change and a few minor changes
See merge request espressif/esp-idf!15011
2021-09-02 10:01:16 +00:00
Zim Kalinowski
704a092550
freertos: upgrade to 10.4.3 - xTaskDelayUntil change and a few minor changes
2021-09-02 18:01:08 +08:00
Mahavir Jain
e0d29d4ada
esp_system: create ld template to abstract few common settings
...
PMS aware chips require prefetch padding size for instruction fetch, or
some memory alignment considerations. These settings are now exposed
through kconfig options (hidden) and used through common ld template.
This shall help to add and manage future chips support easily for
these considerations.
Closes IDF-3624
2021-09-02 16:13:17 +08:00
Zim Kalinowski
07bd686471
marking vTaskSuspendAll and a few other small cleanups
...
(cherry picked from commit dc61510249fe441189ea1ca557deb9f003bbd374)
2021-09-02 15:20:19 +08:00
Sachin Parekh
bf1dde7233
bootloader: Enable clock glitch detection
...
Reset the device when clock glitch detected. Clock glitch detection is
only active in bootloader
2021-09-02 12:25:12 +05:30
Yuriy Shestakov
87b958c814
Fixed GLITCH_RTC_RST for esp32-c3 revision 3
...
* Issue: https://github.com/espressif/esp-idf/issues/7082
Signed-off-by: Yuriy Shestakov <yshestakov@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/7082
Closes https://github.com/espressif/esp-idf/pull/7441
2021-09-02 12:25:12 +05:30
laokaiyao
0ff3dd9778
i2s: fix mono support issue
2021-09-02 14:33:36 +08:00
laokaiyao
b26da6f115
driver/i2s: refactor for i2s driver layer
2021-09-02 14:33:36 +08:00
Sachin Billore
f80d6f8c21
Digital Signature support for S3
...
Closes IDF-1791
2021-09-02 11:59:24 +05:30
boarchuz
c098dce1e5
check_sizes.py: Fix bootloader size message in build log
...
Closes https://github.com/espressif/esp-idf/pull/7506
2021-09-02 10:28:34 +05:00
Zim Kalinowski
701c4fb2e3
upgrade freertos version and history
2021-09-02 11:02:34 +08:00
Marius Vikhammer
88e7b5f7be
Merge branch 'feature/s3_cache_bringup' into 'master'
...
soc: S3 cache bringup
Closes IDF-2952
See merge request espressif/esp-idf!12887
2021-09-02 02:51:10 +00:00
Marius Vikhammer
bdf3a8ff29
Merge branch 'feature/xtwdt' into 'master'
...
WDT: Add support for XTAL32K Watchdog timer
Closes IDF-2575
See merge request espressif/esp-idf!15000
2021-09-02 02:44:47 +00:00
Kevin (Lao Kaiyao)
61299f879e
Merge branch 'bugfix/iperf_tcp_performance_become_bad' into 'master'
...
emac: optimise performance regression introduced in hal refactor
Closes IDF-3527 and IDFCI-795
See merge request espressif/esp-idf!14282
2021-09-02 02:36:20 +00:00
Omar Chebib
19e0663edd
Merge branch 'bugfix/task_snapshot_kconfig' into 'master'
...
freertos: add kconfig options for task snapshot functions
See merge request espressif/esp-idf!14871
2021-09-02 02:27:12 +00:00
Marius Vikhammer
4869b3cd4a
WDT: Add support for XTAL32K Watchdog timer
2021-09-02 09:09:00 +08:00
wanglei
c3abbe3866
cache: Update cache.h and autoload api
2021-09-02 02:27:40 +08:00
gaoxiaojie
191a494e08
support dcache 64Byte and 16k
2021-09-02 02:27:40 +08:00
jiangguangming
f7137254e9
flash_mmap: register flash2spiram info to ROM
2021-09-02 02:27:40 +08:00
Mahavir Jain
e93cee4605
Merge branch 'bugfix/encrypted-flash-dependency' into 'master'
...
Missing dependency for idf.py 'encrypted-flash' target
Closes IDFGH-5766
See merge request espressif/esp-idf!15036
2021-09-01 15:02:17 +00:00
XieWenxiang
461f2bd186
component/bt: fix some ble document description error
2021-09-01 20:39:13 +08:00
laokaiyao
04970fe487
iperfUtility: add udp rx bandwidth scan
2021-09-01 19:11:28 +08:00
laokaiyao
8d18a9c614
emac: optimise iperf performane
2021-09-01 19:11:28 +08:00
Li Hang Fan
b1f851b8f8
Merge branch 'refactor/remove_usage_of_logging_in_hal' into 'master'
...
hal: remove usages of esp_log in HAL
Closes IDF-2159
See merge request espressif/esp-idf!15017
2021-09-01 10:53:38 +00:00
morris
8f3dadf46a
Merge branch 'refactor/rom_tjpgd_unify' into 'master'
...
refactor/rom: unify tjpgd library
Closes IDF-3615
See merge request espressif/esp-idf!14977
2021-09-01 10:05:11 +00:00
Omar Chebib
92cf321677
freertos: add kconfig options for task snapshot functions
...
Task snapshots is required by other modules that don't use gdbstub
or core dump. Add a Kconfig option to manage these possibilities.
2021-09-01 15:13:48 +08:00
SalimTerryLi
23e23b697c
rom/tjpgd: unify library & add rom patch
...
remove external tjpgd library inside example
enable tjpgd decoding on all chips
2021-09-01 14:42:17 +08:00
SalimTerryLi
6af8d2edee
hal: remove usages of esp_log in HAL
2021-09-01 13:58:47 +08:00
Armando (Dou Yiwen)
5f38b766a8
Merge branch 'feature/support_120mhz_quad_psram_quad_flash' into 'master'
...
mspi: support 120MHz clock freq on QSPI flash/psram on ESP32-S3
Closes IDF-3711
See merge request espressif/esp-idf!14849
2021-09-01 02:46:05 +00:00
Kapil Gupta
e8360fe075
Merge branch 'bugfix/eap_client_windows' into 'master'
...
wpa_supplicant: clean tls client state machine
Closes IDFGH-5702, IDFGH-5662, and IDFGH-119
Closes https://github.com/espressif/esp-idf/issues/7422
Closes https://github.com/espressif/esp-idf/issues/1297
See merge request espressif/esp-idf!14968
2021-08-31 19:06:35 +00:00
Armando
a3dc625da6
mspi: support 120MHz Quad Flash and PSRAM on ESP32S3
2021-08-31 16:06:44 +08:00
Mahavir Jain
b9ce1ed06d
Merge branch 'feature/update_libcoap_to_v4_3_0' into 'master'
...
libcoap_430: Update code for use with libcoap 4.3.0
Closes IDFGH-5355
See merge request espressif/esp-idf!13937
2021-08-31 06:57:26 +00:00
Mahavir Jain
148794f208
Merge branch 'bugfix/fix_ws_handle_big_messages' into 'master'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
Closes IDFGH-5740
See merge request espressif/esp-idf!14978
2021-08-31 05:24:52 +00:00
Marius Vikhammer
ba3b34583a
Merge branch 'bugfix/himem_error_checks' into 'master'
...
himem: reverse error check logic in himem
Closes IDFCI-857 and IDFCI-859
See merge request espressif/esp-idf!15009
2021-08-31 04:05:45 +00:00
Jon Shallow
ed3d440428
libcoap_430: Update code for use with libcoap 4.3.0
...
Remove no longer needed code from coap_server/coap_client.
Add in multicast support for coap_server/coap_client.
Update libcoap logging to use esp-idf logging
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-08-31 12:05:30 +08:00
Zim Kalinowski
268eace13a
Merge branch 'zim-some-esp-platform-markers' into 'master'
...
freertos: several ESP specific things clearly marked
See merge request espressif/esp-idf!14995
2021-08-31 02:33:00 +00:00
Zim Kalinowski
4bad316700
freertos: several ESP specific things clearly marked
2021-08-31 10:32:54 +08:00
Michael (XIAO Xufeng)
f1cbf746b7
Merge branch 'bugfix/crypto_gdma' into 'master'
...
aes/sha: fixed driver reseting the wrong GDMA channel
Closes FCS-701
See merge request espressif/esp-idf!14989
2021-08-31 01:36:45 +00:00
Marius Vikhammer
2e0cab6f94
himem: reverse error check logic in himem
2021-08-31 08:46:27 +08:00
Zim Kalinowski
9c666875dc
Merge branch 'zim-pre-to-endcode-remaining' into 'master'
...
freertos:remaining <pre> to @code changes
See merge request espressif/esp-idf!14997
2021-08-30 13:17:42 +00:00
morris
2e0ffbd543
Merge branch 'bugfix/fix-driver-8_16bit-reg-access' into 'master'
...
bugfix/driver: fix and cleanup soc/ll stuffs
Closes IDF-3722
See merge request espressif/esp-idf!14829
2021-08-30 10:27:05 +00:00
Michael (XIAO Xufeng)
d910d42a8d
Merge branch 'bugfix/soc_interrupt_source' into 'master'
...
soc: remove outdated description of interrupts on RISCV CPUs
See merge request espressif/esp-idf!14974
2021-08-30 09:38:24 +00:00
Michael (XIAO Xufeng)
59cedcb748
soc: remove outdated description of interrupts on RISCV CPUs
2021-08-30 17:38:16 +08:00
Darian
8af7292496
Merge branch 'feature/new_usb_host_driver' into 'master'
...
(5) USB: Add public USB Host Driver
Closes IDF-3121, IDF-3509, and IDF-3557
See merge request espressif/esp-idf!13145
2021-08-30 09:28:43 +00:00
David Čermák
82eccf434e
Merge branch 'bugfix/wifi_ap_handler_docs' into 'master'
...
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
Closes DOC-1929
See merge request espressif/esp-idf!14903
2021-08-30 07:31:37 +00:00
Zim Kalinowski
29ae014fd6
remaining <pre> to @code changes
2021-08-30 15:13:27 +08:00
Li Hang Fan
9625f0618f
Merge branch 'refactor/update-esp_check-for-himem-rtcio' into 'master'
...
rtc_io, esp_himem: replace XXX_CHECK with ESP_RETURN_ON_FALSE
Closes IDF-3669 and IDF-3035
See merge request espressif/esp-idf!14992
2021-08-30 07:10:31 +00:00
yuanjm
5db3853c2c
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7457
2021-08-30 14:50:19 +08:00
yuanjm
5bdbfd1d05
Revert "Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'"
...
This reverts commit d838a11d78
, reversing
changes made to 70fd8529e9
.
2021-08-30 14:50:19 +08:00
Zim Kalinowski
39046c5e3e
Merge branch 'zim-reduce-esp-specific-code' into 'master'
...
freertos: Reduce ESP specific code
See merge request espressif/esp-idf!14969
2021-08-30 06:45:36 +00:00
Zim Kalinowski
5f2a66a8a5
freertos: Reduce ESP specific code
2021-08-30 14:45:31 +08:00
SalimTerryLi
892f5e7df3
timer_group: fix wrongly generated reg header that introduced in 443845fd54
2021-08-30 13:51:25 +08:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
...
update all struct headers to be more "standardized":
- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199
added helper macros to force peripheral registers being accessed in 32 bitwidth
added a check script into ci
2021-08-30 13:50:58 +08:00
Zim Kalinowski
b843eb61a7
Merge branch 'zim-cherrypicked-coroutine' into 'master'
...
freertos: upgrade to 10.4.3 - vCoRoutineSchedule fix
See merge request espressif/esp-idf!14942
2021-08-30 04:46:28 +00:00
Zim Kalinowski
0583bda9c7
Merge branch 'zim-fix-defines-in-doc' into 'master'
...
freertos: fix defines in documentation
See merge request espressif/esp-idf!14987
2021-08-30 03:36:20 +00:00
SalimTerryLi
55a5c444b5
rtc_io, esp_himem: replace XXX_CHECK with ESP_RETURN_ON_FALSE
2021-08-30 11:18:34 +08:00
Marius Vikhammer
63280dfec0
aes/sha: fixed driver reseting the wrong GDMA channel
...
Driver was using the channel ID from tx when reseting rx.
But since rx and tx is not necessarily from the same pair this could lead
to the driver reseting the wrong DMA channel.
2021-08-30 10:37:03 +08:00
Zim Kalinowski
41c0e44185
freertos: Upgrade to 10.4.3 - timers
...
(cherry picked from commit c22a4c355603318a16adb3b898943744d9b826a5)
2021-08-30 10:10:29 +08:00
Shu Chen
ec31f2338b
Merge branch 'bugfix/fix_esp32h2_apb_frequency_temp_fix' into 'master'
...
[bugfix] esp32h2: fix apb freq err temporarily
See merge request espressif/esp-idf!14982
2021-08-30 00:16:45 +00:00
Zim Kalinowski
13360ab126
fix defines in doc
2021-08-29 21:02:33 +08:00
Mahavir Jain
b63ec47238
Merge branch 'feature/update_cjson_submodule' into 'master'
...
cJSON: Update submodule to v1.7.15
Closes IDFGH-5595
See merge request espressif/esp-idf!14958
2021-08-27 17:14:34 +00:00
Mahavir Jain
286c035064
Merge branch 'bugfix/rename_newlib_header' into 'master'
...
esp_rom: remove "newlib.h" header
See merge request espressif/esp-idf!14975
2021-08-27 14:57:03 +00:00
zhangwenxu
489033d8e3
openthread: enable ping sender module
2021-08-27 21:23:33 +08:00
morris
22dddb46d8
Merge branch 'bugfix/check_nego_timeout_when_link_up' into 'master'
...
eth_phy: dont warn nego timeout if link is down
Closes IDFGH-5415
See merge request espressif/esp-idf!13997
2021-08-27 13:09:17 +00:00
wuzhenghui
32abe5ce42
fix apb freq err temporarily
2021-08-27 19:59:33 +08:00
Mahavir Jain
f7d2f283b3
Merge branch 'bugfix/bugfix/esp32s2_memprot_no_logging_2' into 'master'
...
System/Security: ESP32S2 Memprot uses no abort() calls neither does logging
Closes IDF-3634
See merge request espressif/esp-idf!14852
2021-08-27 11:17:31 +00:00
Shu Chen
89b316b6e0
Merge branch 'bugfix/border-agent-mesh-local-prefix' into 'master'
...
openthread: fix mesh local prefix missing in border agent example
See merge request espressif/esp-idf!14920
2021-08-27 09:10:08 +00:00
Mahavir Jain
d9fdb9dc3f
esp_rom: remove "newlib.h" header
...
We found conflict in "sizeof(time_t)" due to inclusion of this
header over toolchain specific "newlib.h".
Moreover, there are no users for this header and implementation
for API is also not available in ROM. Hence removing it.
2021-08-27 14:33:05 +05:30
Mahavir Jain
3850eba152
Merge branch 'feature/local_control_sec1' into 'master'
...
Added support for security1 in local control
See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Michael (XIAO Xufeng)
64581b36f7
Merge branch 'refactor/dac_apply_generic_check' into 'master'
...
apply generic check macro
Closes IDF-3658
See merge request espressif/esp-idf!14944
2021-08-27 07:49:53 +00:00
morris
ab0c5fed25
eth: dont warn nego timeout if link is down
2021-08-27 15:30:46 +08:00
Jiacheng Guo
2213a35156
openthread: fix mesh local prefix missing in border agent example
2021-08-27 14:21:47 +08:00
Cao Sen Miao
c47ad5d22f
Merge branch 'bugfix/gpio_cant_hold' into 'master'
...
GPIO: fix issue that gpio cannot hold during deep-sleep on c3
Closes IDFGH-5738 and IDF-3526
See merge request espressif/esp-idf!14939
2021-08-27 06:16:45 +00:00
Ondrej Kosta
300618e5be
Merge branch 'feature/dual_eth' into 'master'
...
esp_eth: add support for multiple Ethernets modules at a time
Closes IDFGH-5596
See merge request espressif/esp-idf!14640
2021-08-27 06:11:48 +00:00
Shubham Kulkarni
b975bc9d38
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-08-27 12:04:38 +08:00
morris
ba3168d1d5
Merge branch 'zim-missing-semicolon' into 'master'
...
missing semicolon
See merge request espressif/esp-idf!14965
2021-08-27 03:15:01 +00:00
Li Shuai
ccf1a9a1fc
light sleep: add i/d-cache tagmem retention support for esp32s3
2021-08-27 11:11:09 +08:00
Li Shuai
03746de96f
light sleep: add cpu power down support for esp32s3
2021-08-27 11:11:06 +08:00
Marius Vikhammer
2206c5315e
Merge branch 'bugfix/aes_unaligned_access' into 'master'
...
aes: fix unaligned access
Closes IDFGH-5506
See merge request espressif/esp-idf!14659
2021-08-27 01:33:44 +00:00
Kapil Gupta
d3a42d787d
wpa_supplicant: clean tls client state machine
2021-08-27 00:19:32 +08:00
Shu Chen
ab0d0b7dd2
Merge branch 'festure/add_ot_rcp_base_master' into 'master'
...
add ot-rcp
See merge request espressif/esp-idf!14609
2021-08-26 11:44:28 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
91a40044f5
[freertos] Silence sign-conversion warning
2021-08-26 12:36:46 +02:00
morris
2deeba9d1a
Merge branch 'feature/mcpwm-IRAM_ISR-kconfig' into 'master'
...
mcpwm: ISR can be placed to IRAM by menuconfig
Closes IDFGH-5732
See merge request espressif/esp-idf!14947
2021-08-26 10:08:16 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
6672862db8
Missing dependency for idf.py 'encrypted-flash' target
2021-08-26 12:00:00 +02:00
Vikram Dattu
5691c9a8e8
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Zim Kalinowski
dbdcada2e5
missing semicolon
2021-08-26 16:55:53 +08:00
Michael (XIAO Xufeng)
375145ecdb
Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
...
mcpwm: bldc hall example
Closes IDF-3648
See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Shu Chen
e770817dc7
openthread: refine ot_rcp example documentation and APIs
2021-08-26 16:10:16 +08:00
SalimTerryLi
e67bcda6d1
mcpwm: ISR can be placed to IRAM by menuconfig
...
resolves https://github.com/espressif/esp-idf/issues/7449
2021-08-26 15:58:46 +08:00
Martin Vychodil
58aed7df98
ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
...
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
wangmengyang
c053ef0541
examples: added support of ESP32-S3 chip in controller_hci_uart example
2021-08-26 14:24:32 +08:00
morris
c2d5af17a2
dac: apply generic check macro
2021-08-26 14:01:24 +08:00
Shu Chen
f8f9e545e8
Merge branch 'feature/support_esp32h2_hw_support' into 'master'
...
Feature/support esp32h2 hw support
Closes IDF-3378 and IDF-3396
See merge request espressif/esp-idf!14545
2021-08-26 06:00:27 +00:00
Zim Kalinowski
21c05e1b93
Merge branch 'zim-freertos-upgrade-codelayout' into 'master'
...
freertos: cherrypicked code layout changes from freertos upgrade branch
See merge request espressif/esp-idf!14936
2021-08-26 05:46:04 +00:00
Zim Kalinowski
a8c7db62be
freertos: cherrypicked code layout changes from freertos upgrade branch
2021-08-26 13:45:51 +08:00
Aditya Patwardhan
6fea8340d2
Merge branch 'feature/esp_http_client_client_key_password' into 'master'
...
esp_http_client: Support client key password for HTTPS connections.
Closes IDFGH-5700 and IDFGH-5698
See merge request espressif/esp-idf!14932
2021-08-26 03:28:20 +00:00
sly
11dfd802e0
esp32h2: add rtc clock support
2021-08-26 11:25:39 +08:00
morris
a861575d05
Merge branch 'bugfix/fix_esp32c3_auto_adjust_volt' into 'master'
...
system: fix esp32c3 auto adjust voltage bug
See merge request espressif/esp-idf!14725
2021-08-26 02:53:22 +00:00
Jon Maloney
c8b7f7a5d3
esp_http_client: Support client key password for HTTPS connections.
...
Closes https://github.com/espressif/esp-idf/pull/7420
Closes https://github.com/espressif/esp-idf/issues/7418
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-08-25 18:27:31 +05:30
muhaidong
5eee64bd16
esp_wifi: fix airkiss and esptouch find channel crash issue
2021-08-25 20:34:27 +08:00
Zim Kalinowski
b8733421ac
Merge branch 'feature/twai_rx_data_alert' into 'master'
...
Feature/twai rx data alert
Closes IDFGH-5664 and IDFGH-5652
See merge request espressif/esp-idf!14711
2021-08-25 11:57:21 +00:00
Darian
72ba1866fb
twai: TWAI_ALERT_RX_DATA indicates that frames were received
...
Signed-off-by: Darian Leung <darian@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/7386
Closes https://github.com/espressif/esp-idf/issues/7374
2021-08-25 19:57:10 +08:00
morris
f2f41c3f92
Merge branch 'bugfix/const_buffer_in_tinyusb_cdcacm_write_queue' into 'master'
...
tinyusb: const in_buf of tinyusb_cdcacm_write_queue
See merge request espressif/esp-idf!14938
2021-08-25 11:46:11 +00:00
Adam Múdry
4a6cc1d2a4
vfs/fatfs: fix failed tests by increasing timeout
...
Default 30s timeout is too low for a case when SD card formatting is triggered,
which could lead to tests failure. Timeout of tests is now set to 60s.
JIRA IDFCI-742
2021-08-25 19:04:34 +08:00
zhangwenxu
4175aa0892
openthread: add ot_rcp example
2021-08-25 18:04:45 +08:00
sly
b342b49823
fix esp32c3 auto adjust voltage bug
2021-08-25 17:08:26 +08:00
Jiang Jiang Jian
cec0f5edfb
Merge branch 'optimization/config_option_LWIP_TCPIP_CORE_LOCKING' into 'master'
...
optimization config option LWIP_TCPIP_CORE_LOCKING
Closes IDF-2478
See merge request espressif/esp-idf!11809
2021-08-25 08:52:43 +00:00
David Čermák
2417b9361f
Merge branch 'feature/lwip_sntp_max_servers' into 'master'
...
lw-ip: Add config option for sntp max servers (GitHub PR)
Closes IDFGH-5616
See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Wu Zheng Hui
b287e01f38
Merge branch 'feature/support_bss_in_psram_for_esp32s2' into 'master'
...
[system] Allow .bss segment placed in external memory for ESP32-S2
Closes IDFGH-4320
See merge request espressif/esp-idf!13841
2021-08-25 08:06:37 +00:00
Wu Zheng Hui
3128a2544b
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
12bf160f3d
vCoRoutineScheduleFix
...
(cherry picked from commit 1edbd44db107225b7bc6342a7da5680cc12ad22f)
2021-08-25 15:59:00 +08:00
Dmitry Yakovlev
4740e3e017
Merge branch 'bugfix/gdbstub_uart_at_runtime' into 'master'
...
Bugfix enable console RX UART for gdbstub for runtime mode only.
See merge request espressif/esp-idf!14927
2021-08-25 07:31:13 +00:00
Song Ruo Jing
fe5c87cb3c
Merge branch 'bugfix/enable_gpio_20' into 'master'
...
gpio: Enable IO20 on ESP32
Closes IDFGH-5140
See merge request espressif/esp-idf!14881
2021-08-25 07:25:37 +00:00
Cao Sen Miao
c860b3ead6
gpio: fix issue that gpio cannot hold during deep-sleep on c3, Closes https://github.com/espressif/esp-idf/issues/7455
2021-08-25 15:16:08 +08:00
morris
be36c9ae36
tinyusb: const in_buf of tinyusb_cdcacm_write_queue
2021-08-25 14:43:46 +08:00
Guo Jia Cheng
e5766eb3d3
Merge branch 'feature/mdns-async-callback' into 'master'
...
mdns: add notification callback for async APIs
See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
wuzhenghui
6ab495b4dc
esp32h2: chip env support
...
brownout init fixed
2021-08-25 11:02:47 +08:00
Marius Vikhammer
3907634d20
aes: fix potential unaligned access of buffers
...
https://github.com/espressif/esp-idf/issues/7236
2021-08-25 10:48:26 +08:00
David Cermak
e54523708d
Merge branch 'master' into feature/lwip_sntp_max_servers
2021-08-24 18:16:07 +02:00
Darian Leung
accbaee57c
Add USB Host Library
...
This commit adds the preliminary version of the USB Host Library. This commit contains:
- USBH (USB Host Driver)
- Hub Driver that only supports a single device and device enumeration
- USB Host Library (asychronous API)
- Test cases for USB Host Library asychronous API
The following changes were made to the existing HCD:
- Removed HCD_PIPE_STATE_INVALID. Pipes are no longer invalidated
- Changed pipe commands to halt, flush, and clear. Pipes need to be manually
halted, flush, and cleared.
- Halting and flushing a pipe will execute the pipe callback if it causes a
HCD_PIPE_EVENT_URB_DONE event
2021-08-24 23:28:00 +08:00
Ondrej Kosta
ef30384902
esp_eth: add support for multiple Ethernets modules at a time
...
Ethernet driver events properly bounded with ESP NETIF actions to support multiple Ethernet modules used at a time.
Components using Ethernet updated to conform with new API.
Closes https://github.com/espressif/esp-idf/issues/7318
2021-08-24 17:10:36 +02:00
Dmitry
fdb9edd8c6
Bugfix enable console RX UART for gdbstub for runtime mode only.
2021-08-24 12:19:21 +03:00
Cao Sen Miao
da12db2904
Merge branch 'bugfix/c3_i2c_timeout' into 'master'
...
I2C: Fix i2c write randomly timeout and WDT triggered
See merge request espressif/esp-idf!14722
2021-08-24 08:59:22 +00:00
morris
0dbe872542
mcpwm: bldc hall example
2021-08-24 15:38:46 +08:00
morris
3bfd8f5d5f
mcpwm: update register file according to TRM
2021-08-24 15:38:46 +08:00
Konstantin Kondrashov
fb7b40b2c2
Merge branch 'bugfix/update_espefuse_fixes_execute_scripts' into 'master'
...
esptool/espefuse: Fixes execute_scripts, it should call BURN once at the end
See merge request espressif/esp-idf!14904
2021-08-24 07:33:59 +00:00
Li Shuai
15fc449793
light sleep: separate sleep retention function
2021-08-24 11:54:47 +08:00
liaowenhao
124169a7dd
bugfix acl doesn't disconnect when hfp_client disconnect
2021-08-24 10:53:25 +08:00
Marius Vikhammer
f38875cbd1
Merge branch 'bugfix/race_condition_in_ipc_task' into 'master'
...
bugfix/race condition in ipc task
See merge request espressif/esp-idf!14914
2021-08-24 00:14:47 +00:00
Ivan Grokhotkov
9a3f99949f
Merge branch 'bugfix/strict_data_partition_alignment' into 'master'
...
partition_table: warn if data partition offset is not 4kB aligned
Closes IDFGH-5572 and IDFGH-5630
See merge request espressif/esp-idf!14902
2021-08-23 17:31:57 +00:00
David Čermák
756cc4f8dc
Merge branch 'bugfix/esp_sntp_declare' into 'master'
...
lw-ip: Fix sntp custom options if sntp_get_system_time used
Closes FCS-710
See merge request espressif/esp-idf!14556
2021-08-23 15:11:26 +00:00
Erhan Kurubas
b3c3791152
esp_ipc: fix race condition in ipc task
2021-08-23 17:17:19 +03:00
David Cermak
457d837b40
lwip: Fix sntp custom options if sntp_get_system_time used
2021-08-23 11:47:44 +02:00
Guo Jia Cheng
139bf4af64
Merge branch 'feature/add-mdns-result-attributes' into 'master'
...
mdns: add more mdns result attributes
See merge request espressif/esp-idf!14674
2021-08-23 09:28:19 +00:00
Ivan Grokhotkov
6cf25ce43f
Merge branch 'doc/size_opt_vfs' into 'master'
...
docs: describe code size optimizations possible in VFS component
See merge request espressif/esp-idf!14783
2021-08-23 07:32:14 +00:00
David Cermak
3c6efbe5a5
wifi/netif: Fix wifi_ap_handlers comments to relate to AP
2021-08-23 09:20:12 +02:00
KonstantinKondrashov
03baf4f8be
espefuse: Fixes execute_scripts, it should call BURN once at the end
2021-08-23 12:19:32 +05:00
Mahavir Jain
b2c1f6c719
Merge branch 'bugfix/fix_disable_https_client_build_error' into 'master'
...
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
Closes IDFGH-5640
See merge request espressif/esp-idf!14833
2021-08-23 06:30:46 +00:00
Ivan Grokhotkov
b56c9aafe4
partition_table: warn if data partition offset is not 4kB aligned
...
If a partition offset is not aligned to 4 kB, erase operations will
fail, even if they are aligned to 4 kB relative to the partition
start. This is because the underlying esp_flash_erase_range function
only works when the address is aligned to 4 kB.
Not making this an error for now, since applications might be using
read-only non-4kB aligned partitions, which still work fine.
Will change this behavior in IDF 5.0, requiring 4 kB alignment for all
partitions.
Closes https://github.com/espressif/esp-idf/issues/7295
Closes https://github.com/espressif/esp-idf/issues/7350
2021-08-23 08:09:28 +02:00
Ivan Grokhotkov
54595887f6
partition_table: gen_esp32part.py --secure applies to app partitions
...
...only. Previously this check was done for both app and data
partitions. While checking that data partition size is aligned is
a _good thing_, the check would only occur when secure boot was on.
2021-08-23 08:04:53 +02:00
Ivan Grokhotkov
2e83ac5a99
partition_table: don't print warnings to stdout
2021-08-23 08:01:41 +02:00
Ivan Grokhotkov
b7a4df9031
vfs: list IO functions which can be used with VFS_SUPPORT_IO disabled
2021-08-23 07:02:19 +02:00
Ivan Grokhotkov
a005e9bfbc
docs: move VFS documentation into the component directory
...
These files were added into the component directory back when we
didn't have the documentation directory, and weren't moved once the
documentation directory was created.
2021-08-23 07:02:19 +02:00
morris
0c41837b06
Merge branch 'refactor/timer_group-reg_file-update' into 'master'
...
refactor/timer_group update reg headers for c3 and s2
Closes IDF-3690
See merge request espressif/esp-idf!14761
2021-08-23 04:30:59 +00:00
Li Shuai
90a0a83c0f
light sleep: separate sleep wifi/bt mac bb function
2021-08-23 10:25:04 +08:00
Li Shuai
b0757dfcfa
light sleep: separate sleep gpio function
2021-08-23 10:22:12 +08:00
David Čermák
ab077df865
Merge branch 'feature/lwip_fstat' into 'master'
...
lw-ip: Add partial fstat vfs support to set st_mode
Closes IDFGH-5459
See merge request espressif/esp-idf!14854
2021-08-20 13:41:09 +00:00
Roland Dobai
98a6538877
Merge branch 'feature/gcov_dump_in_thread' into 'master'
...
gcov dump in a special thread
Closes OCD-216 and IDF-1034
See merge request espressif/esp-idf!13328
2021-08-20 10:22:58 +00:00
Shubham Kulkarni
13acc2a440
Merge branch 'bugfix/esp_https_ota_log' into 'master'
...
Fix log level in esp_https_ota (GitHub PR)
Closes IDFGH-5653
See merge request espressif/esp-idf!14860
2021-08-20 10:02:38 +00:00
Armando (Dou Yiwen)
3e172289b0
Merge branch 'feature/support_octal_flash_120m_str_mode_on_esp32s3' into 'master'
...
mspi: support octal flash 120MHz STR mode on esp32s3
Closes IDF-3146
See merge request espressif/esp-idf!14668
2021-08-20 08:40:02 +00:00
Erhan Kurubas
8fe5cdf646
ipc: enable ipc task at single core for gcov dump
2021-08-20 15:00:55 +08:00
Erhan Kurubas
2a5d0a041e
gcov: add stub table size entry
2021-08-20 15:00:55 +08:00
Erhan Kurubas
ca88b269ed
gcov: add gcov callback into the ipc task
2021-08-20 15:00:55 +08:00
Erhan Kurubas
984d1b401e
gcov: dump in a special thread
2021-08-20 15:00:55 +08:00
Erhan Kurubas
bbf919709f
gcov: added dbg stub capabilites and magic number entry to keep backward compatible
2021-08-20 15:00:55 +08:00
Mahavir Jain
85e1258178
Merge branch 'esp32s3/secure_boot' into 'master'
...
bootloader: Enable Secure boot V2 for ESP32-S3
Closes IDF-1787
See merge request espressif/esp-idf!14873
2021-08-20 06:44:19 +00:00
Alberto García Hierro
6deaefde69
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
2021-08-20 14:05:38 +08:00
morris
bb87fd8f08
Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
...
pcnt: soc update and hal refactor
See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
hiproz
69eb190310
esp_https_ota: change logs
...
1. add paired log for line393; 2. change log level to debug
Closes https://github.com/espressif/esp-idf/pull/7375
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-08-20 09:35:40 +05:30
David Cermak
07612b0854
vfs: Add initial lwip vfs test
...
to test fstat() implementation
2021-08-19 17:29:34 +02:00
David Cermak
d55ed5c11b
lwip: Add partial fstat vfs support to set st_mode
...
Closes https://github.com/espressif/esp-idf/issues/7198
2021-08-19 17:29:29 +02:00
Konstantin Kondrashov
c480afa70a
Merge branch 'bugfix/select_boot_app' into 'master'
...
partition_table: Fix case when a few similar to otadata partitions in the table
Closes IDFGH-5282
See merge request espressif/esp-idf!13953
2021-08-19 14:33:48 +00:00
Michael (XIAO Xufeng)
e5e36c899d
Merge branch 'bugfix/spi_flash_rom_corruption_execute_flash_cmd' into 'master'
...
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
See merge request espressif/esp-idf!14855
2021-08-19 13:48:10 +00:00
morris
29e7456f37
Merge branch 'feature/spi_master_support_8-line_mode' into 'master'
...
spi_master: support 8-line mode
Closes IDF-3354 and IDFGH-4553
See merge request espressif/esp-idf!14397
2021-08-19 13:19:34 +00:00
SalimTerryLi
443845fd54
timer_group: update reg headers for c3&s2&h2 and fix direct 8/16bit reg access
2021-08-19 18:56:32 +08:00
Michael (XIAO Xufeng)
7649db9712
draft: another patch..
2021-08-19 17:02:58 +08:00
morris
71d475149d
lcd: update doc unit test and example to support 8-line spi
2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041
spi_master:support octal mode for esp32s2 and esp32s3
...
Add support for 8-line spi for lcd on esp32s2 and esp32s3
Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
Sachin Parekh
2d82560ed5
bootloader: Enable Secure boot V2 for ESP32-S3
2021-08-19 14:08:12 +05:30
ivmarkov
ee531c748a
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-08-19 09:55:26 +02:00
Jakob Hasse
c81d45280e
Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
...
Added spi_flash mocks
See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Zim Kalinowski
dcff1baab5
Merge branch 'bugfix/fix_esp32s2_deep_sleep_timer_wake_up_fail' into 'master'
...
rtc: fix esp32s2 fall into sleep forever when deep-sleep time is set to 0
Closes IDF-2712
See merge request espressif/esp-idf!12438
2021-08-19 03:20:15 +00:00
Armando
d325f4d557
mspi: support octal flash 120M STR mode on esp32s3
2021-08-19 10:44:30 +08:00
Wang Meng Yang
29754cf8c0
Merge branch 'bugfix/esp32c3_check_if_allow_light_sleep' into 'master'
...
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
Closes BT-1877
See merge request espressif/esp-idf!14723
2021-08-19 00:18:53 +00:00
Wang Meng Yang
7df2a22faa
Merge branch 'bugfix/spp_memory_leak' into 'master'
...
Fix spp memory leak
Closes IDFGH-5508
See merge request espressif/esp-idf!14319
2021-08-19 00:12:51 +00:00
Michael (XIAO Xufeng)
8dcfa1b384
spi_flash: fix the corruption of ROM after calling bootloader_execute_flash_command
...
The user register, especially dummy related ones, needs to be restored, otherwise the ROM function will not work.
Introduced in dd40123129
.
2021-08-18 23:55:39 +08:00
xueyunfei
0d07569fff
optimization config option LWIP_TCPIP_CORE_LOCKING
2021-08-18 21:32:13 +08:00
morris
f40bbb01f2
Merge branch 'feature/i80_lcd_support_esp32s2' into 'master'
...
esp_lcd: lcd driver for esp32/esp32s2/esp32s3
Closes IDF-3144, IDF-3314, IDF-3315, and IDF-3316
See merge request espressif/esp-idf!13679
2021-08-18 07:55:06 +00:00
KonstantinKondrashov
9b654db032
partition_table: Fix case when a few similar to otadata partitions in the table
...
It was when in the partition table there is a partition with type="data" and suptype=""(empty),
in this case type=1, suptype=0. It is similar to otadata partition.
This commit fixes it, now it will handle it as type=1, suptype=6 (ESP_PARTITION_SUBTYPE_DATA_UNDEFINED).
2021-08-18 09:23:17 +05:00
Jakob Hasse
46e59e7194
[mocks]: moved already added spi_flash mocks
...
[nvs]: page test works with new overriden mock
[spi_flash]: Removed mocking code from CMake
* Renamed nvs test to be consistent with other
host test
2021-08-18 11:05:51 +08:00
liulinyan
f5a12f4900
Merge branch 'bugfix/ble_mesh_cve_recommendation' into 'master'
...
ble_mesh: Update the SIG recommendations for CVE issues
See merge request espressif/esp-idf!14832
2021-08-18 02:46:38 +00:00
David Čermák
d2fe8bfd15
Merge branch 'experimental/mdns_with_sockets' into 'master'
...
mdns: Add optional networking layer on BSD socket
Closes IDF-1849
See merge request espressif/esp-idf!9857
2021-08-17 14:12:30 +00:00
David Čermák
ca03e1f71a
Merge branch 'bugfix/esp_netif_set_default_lwip_handle' into 'master'
...
esp_netif: Set default netif with lwip_netif
Closes IDFGH-5517
See merge request espressif/esp-idf!14511
2021-08-17 13:23:30 +00:00
yuanjm
fc8668a739
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
...
Closes https://github.com/espressif/esp-idf/issues/7361
2021-08-17 19:53:47 +08:00
lly
f6c3b51b13
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-17 19:43:47 +08:00
David Cermak
9f17f586f4
esp_netif: Set default netif with lwip_netif
...
Make use of lwip_netif pointer for setting the default interface in lwip,
since the is a generic pointer used in I/O functions wheras the former is always the type.
More importantly the netif_handle could be set to another context ptr
used in I/O functions, as as for the SLIP netif.
This change fixes the issue of incorrect settings of a default interface
if any SLIP netif is involved.
Closes https://github.com/espressif/esp-idf/issues/7246
2021-08-17 19:10:49 +08:00
David Cermak
fc7e2d9e90
mdns: Add host test using linux target
2021-08-17 18:39:40 +08:00
David Cermak
09f10f326a
esp_netif: Add support for linux target as header only library
2021-08-17 18:39:40 +08:00
David Cermak
73dfe84bf2
mdns: Implement mdns_networking using BSD sockets
...
And use only if configured. By default we still use lwip raw (low-level) API
2021-08-17 18:39:40 +08:00
Chinmay Chhajed
f167a2a3d1
bt: Remove unused function esp_bt_get_mac.
...
Closes https://github.com/espressif/esp-idf/issues/7410
2021-08-17 15:07:51 +05:30
Ondrej Kosta
c0032dc9a6
Merge branch 'feature/LAN87xx_registers' into 'master'
...
phy_lan87xx: Extended Vendor Specific Registers definition
Closes IDFGH-5544
See merge request espressif/esp-idf!14679
2021-08-17 09:01:31 +00:00
David Čermák
367c7bc307
Merge branch 'bugfix/fix_ping_sock_return_error' into 'master'
...
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
Closes IDFGH-5642
See merge request espressif/esp-idf!14664
2021-08-17 08:55:11 +00:00
Jiacheng Guo
986603cf07
mdns: add notification callback for async APIs
2021-08-17 16:53:37 +08:00
Jakob Hasse
b3271a51af
Merge branch 'bugfix/common_components_linux' into 'master'
...
[build system]: Fixed common requirement for Linux target
Closes IDF-3638
See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Zim Kalinowski
ff56848a0e
revert dependency
...
integrating changes from upstream
2021-08-17 16:10:45 +08:00
Mahavir Jain
012c9e26a4
Merge branch 'fixes/secure_boot' into 'master'
...
secure_boot/esp32(s2,c3): Disable read protecting of efuses
See merge request espressif/esp-idf!14769
2021-08-17 05:05:00 +00:00
Jiang Jiang Jian
75a1942d5c
Merge branch 'bugfix/dual_core_pm_lock_issue' into 'master'
...
fix pm lock issue in dual core mode
Closes WIFI-3905
See merge request espressif/esp-idf!14552
2021-08-17 05:00:52 +00:00
Guo Jia Cheng
9b3b89017f
Merge branch 'bugfix/select-close-return' into 'master'
...
vfs: fix select return value when non-permanent fd closed
Closes IDFCI-612
See merge request espressif/esp-idf!14684
2021-08-17 02:58:20 +00:00
Wang Meng Yang
a77aaf296a
Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
...
Fix timer collision in role switch
Closes IDFGH-5464
See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
Omar Chebib
32067f9b6b
Merge branch 'feature/freertos_snapshot_extraction' into 'master'
...
freertos: take tasks snapshot out of tasks.c source code
Closes IDF-3334
See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
xiongweichao
ba7252d2ea
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-16 16:51:54 +08:00
Wang Meng Yang
bdd4b45f6a
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
...
component/bt: fix bluedroid host auto update PPCP attribute value
See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
Wang Meng Yang
3e4f147c26
Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash' into 'master'
...
component/bt: Fixed ble conn will crash durning erase flash
See merge request espressif/esp-idf!14794
2021-08-16 07:00:50 +00:00
Jiacheng Guo
f20fb57871
vfs: fix select return value when non-permanent fd closed
2021-08-16 10:49:31 +08:00
Omar Chebib
83c9e1b223
freertos: take tasks snapshot out of tasks.c source code
2021-08-16 10:29:36 +08:00
jincheng
a523dd3ede
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
Michael (XIAO Xufeng)
a0d2efe1be
Merge branch 'bugfix/xmc_overerase' into 'master'
...
bootloader: add xmc spi_flash startup flow to improve reliability
See merge request espressif/esp-idf!13895
2021-08-13 15:27:48 +00:00
Alex Lisitsyn
5944433424
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously' into 'master'
...
freemodbus: fix issues when modbus master and slave work simultaneously
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master (https://github.com/espressif/esp-idf/issues/4699 )
Closes IDF-3012 and IDFGH-2619
See merge request espressif/esp-idf!12961
2021-08-13 14:46:17 +00:00
Alex Lisitsyn
9693ef4918
freemodbus: fix issues when modbus master and slave work simultaneously
...
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master
fix master and slave use the same timer group index (https://github.com/espressif/esp-idf/issues/4699 )
2021-08-13 22:46:09 +08:00
xiewenxiang
2e5f44afa3
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 17:57:33 +08:00
wuzhenghui
f913a10a22
update reset reason for c3/s3/h2
2021-08-13 17:45:53 +08:00
Jakob Hasse
7029f0537e
[build system]: Fixed common requirement for Linux
2021-08-13 16:50:29 +08:00
Marius Vikhammer
53975c444c
Merge branch 'update_copyright_notice_esp_hw_support_5' into 'master'
...
esp_hw_support: update copyright notice 5
See merge request espressif/esp-idf!14729
2021-08-13 08:40:47 +00:00
Marius Vikhammer
465830312b
Merge branch 'update_copyright_notice_esp_hw_support_4' into 'master'
...
esp_hw_support: update copyright notice 4
See merge request espressif/esp-idf!14728
2021-08-13 08:40:15 +00:00
Sachin Parekh
f430e86c0f
secure_boot/esp32(s2,c3): Disable read protecting of efuses
...
When secure boot is enabled, disable the ability to read protect
efuses that contain the digest.
2021-08-13 13:41:59 +05:30
Jakob Hasse
8750034c19
Merge branch 'feature/hmac_s3' into 'master'
...
[esp_hw_support]: HMAC upstream support for S3
See merge request espressif/esp-idf!14629
2021-08-13 06:44:49 +00:00
Konstantin Kondrashov
92ce4a8054
Merge branch 'bugfix/unicore_systimer_generate_rtos_tick' into 'master'
...
freertos: Fix settings of systimer for SysTicks in case Unicore
Closes IDF-3692
See merge request espressif/esp-idf!14735
2021-08-13 04:12:28 +00:00
Jakob Hasse
1c3be690ed
[esp_hw_support]: HMAC upstream support for S3
2021-08-13 12:01:06 +08:00
Alex Lisitsyn
a20df743f1
Merge branch 'bugfix/modbus_fix_compiler_err_when_tcp_is_disabled' into 'master'
...
Bugfix/modbus fix compiler err when tcp is disabled
Closes IDFGH-5019 and IDFGH-5376
See merge request espressif/esp-idf!13010
2021-08-12 14:39:26 +00:00
Alex Lisitsyn
1aa7f27468
add compile time checks for MB_MASTER_TCP_ENABLED
...
Signed-off-by: AshUK <github.AshUK@outlook.com>
2021-08-12 22:39:21 +08:00
Alex Lisitsyn
5981aa9cc2
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key' into 'master'
...
freemodbus: fix invalid error handling for duplicate param_key
Closes IDFGH-5641
See merge request espressif/esp-idf!14715
2021-08-12 13:01:26 +00:00
Mahavir Jain
c511f23254
Merge branch 'fix/warning_in_wifi_prov_mgr' into 'master'
...
provisioning: fix wifi warning in wifi_prov_mgr application
Closes IDF-3682
See merge request espressif/esp-idf!14720
2021-08-12 12:05:28 +00:00
Roland Dobai
26bc4971ac
Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
...
Tools: Fix memory calculations of idf_size.py
Closes IDF-3246 and IDF-2434
See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Michael (XIAO Xufeng)
dd40123129
bootloader: add xmc spi_flash startup flow to improve reliability
2021-08-12 17:22:42 +08:00
Jiang Jiang Jian
eb1a66e7c9
Merge branch 'bugfix/pmf_bcast_deauth_fix' into 'master'
...
Fix some PMF and FTM issues
Closes WIFI-3987
See merge request espressif/esp-idf!14611
2021-08-12 09:00:27 +00:00
KonstantinKondrashov
263c10cee1
freertos: Fix settings of systimer for SysTicks in case Unicore
...
systimer was stopped because the option SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN is set by default 1, it blocks counting.
For Unicore should be:
SYSTIMER_TIMER_UNIT1_CORE0_STALL_EN 1
SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN 0
2021-08-12 12:30:52 +05:00
Omar Chebib
4e3f5573c4
uart: cleaner way of handling error in a critical section
...
Some critical sections have also been added, making the code more
symetric accross the similar functions.
Closes https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
Luca Burelli
e41e67f2f1
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
simon.chupin
294f9783fc
Tools: Fix memory calculations of idf_size.py
2021-08-11 17:51:51 +02:00
Shu Chen
48b98214ae
openthread: enable ot_cli on esp32h2
2021-08-11 17:51:50 +02:00
Michael (XIAO Xufeng)
064f12cb90
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Wang Meng Yang
6dbe0da178
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Bugfix/fix deep sleep miss bug mr master
See merge request espressif/esp-idf!14734
2021-08-11 11:46:08 +00:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Jiacheng Guo
76ec76c12c
mdns: add more mdns result attributes
2021-08-11 19:02:05 +08:00
Jiang Jiang Jian
b1c3ee71c5
Merge branch 'bugfix/wpa_supplicant_fixes' into 'master'
...
Merge wpa_supplicant github PRs
Closes IDFGH-5524, IDFGH-5510, IDFGH-5503, and IDFGH-5644
See merge request espressif/esp-idf!14636
2021-08-11 10:51:41 +00:00
Li Shuai
d3b5f97573
system: fix pm lock issue in dual core mode
2021-08-11 16:00:07 +08:00
Zim Kalinowski
32ee0bdb29
Merge branch 'refactor/move_mocks_to_tools' into 'master'
...
[mocks]: move mocks dir to tools/
Closes IDF-3675
See merge request espressif/esp-idf!14719
2021-08-11 06:27:19 +00:00
Yang Zhao
931da79804
1.Update the esp32 bt lib.The last update is still the old one,so update it again.
...
2.The controller may miss the sleep time caculated before. So it will stuck
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:05:45 +08:00
Marius Vikhammer
85b107bf54
Merge branch 'bugfix/rename_ext_mem_bss_section' into 'master'
...
ld: rename .ext_ram.noinit to .ext_ram_noinit
See merge request espressif/esp-idf!14717
2021-08-11 05:51:00 +00:00
Chen Yi Qun
fbd25c3837
I2C: add conf_update for esp32c3 i2c
2021-08-11 13:39:07 +08:00
Cao Sen Miao
2f5c0355fe
I2C: Fix i2c write fake timeout and WDT triggered
2021-08-11 13:39:07 +08:00
Axel Lin
20d0891e1e
wpa_supplicant: Trivial typo fix for setting spp_sup.require
...
No functional change since both SPP_AMSDU_CAP_ENABLE and SPP_AMSDU_REQ_ENABLE
are defined as 1.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7366
2021-08-11 13:07:31 +08:00
Axel Lin
cd68b93e3b
esp_supplicant: Make esp_rrm_send_neighbor_rep_request return proper error
...
Current code always return 0 even though wpas_rrm_send_neighbor_rep_request()
fails. Return proper error so the caller can know what's wrong.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7233
2021-08-11 13:07:31 +08:00
Axel Lin
2a5d5c02b4
wpa_supplicant: Fix clear WLAN_FC_STYPE_ACTION bit in esp_register_action_frame
...
It should clear WLAN_FC_STYPE_ACTION bit intead of WLAN_FC_STYPE_ACTION.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7252
2021-08-11 13:07:31 +08:00
Axel Lin
e144a60206
wpa_supplicant: Fix memory leak in esp_issue_scan error paths
...
Fix memory leak when allocate memory for params->ssid / params->bssid fails.
Fixes: 27101f9454
("wpa_supplicant: Add initial roaming support")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7240
2021-08-11 13:07:31 +08:00
Harshit Malpani
baa2faa94b
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-11 09:54:37 +05:30
Li Shuai
de28280fd3
Merge branch 'bugfix/sleep_rtc_bus_isolate_issue' into 'master'
...
fix rtc register read error and add workaround for rtc bus isolate issue
Closes WIFI-3896
See merge request espressif/esp-idf!14721
2021-08-11 02:13:40 +00:00
Ondrej Kosta
a37e4b18c6
phy_lan87xx: extended Vendor Specific Registers definition
...
Extended Vendor Specific Registers definition to include definitions for LAN8740A/LAN8741A/LAN8742A
Closes https://github.com/espressif/esp-idf/pull/7269
2021-08-10 15:54:32 +02:00
morris
6fdc5877cd
lcd: support i80 LCD on esp32/s2/s3
2021-08-10 21:06:59 +08:00
morris
3bcd9278fa
i2s: expose resource object to other component
2021-08-10 21:06:59 +08:00
morris
1656cee69d
i2s: correct soc info
...
1. remove non-exist I2S instance
2. update soc_caps.h, i2s_ll.h
2021-08-10 21:06:59 +08:00
Jan Brudný
5195b6a237
esp_hw_support: update copyright notice 5
2021-08-10 13:32:08 +02:00
Jan Brudný
f51e20d814
esp_hw_support: update copyright notice 4
2021-08-10 13:31:53 +02:00
Jan Brudný
7f50818a99
esp_hw_support: update copyright notice 3
2021-08-10 13:30:57 +02:00
Wang Meng Yang
189ccc5493
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Fixed missing the sleep time
See merge request espressif/esp-idf!14550
2021-08-10 11:15:55 +00:00
Michael (XIAO Xufeng)
e37873f285
Merge branch 'bugfix/uart_driver_obj_into_sram' into 'master'
...
uart: put driver object into sram
Closes IDFGH-5281 and IDFGH-5634
See merge request espressif/esp-idf!13606
2021-08-10 09:35:36 +00:00
morris
56760c9669
pcnt: refactor hal driver
2021-08-10 17:19:21 +08:00
suda-morris
9920271c21
pcnt: update pcnt soc data for all targets
2021-08-10 17:19:21 +08:00
XieWenxiang
30ccfdb3b9
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-10 17:18:49 +08:00
Jakob Hasse
88eb4fa6a6
[mocks]: moved mocks dir to tools/
2021-08-10 14:45:42 +08:00
Li Shuai
a82f33c9b5
fix rtc register read error and add workaround for rtc bus isolate issue
2021-08-10 12:01:29 +08:00
Marius Vikhammer
6a2f7b6f88
ld: rename .ext_ram.noinit to .ext_ram_noinit
...
Older versions of the coredump utility tool do not correctly
handle this nameing scheme. Rename to keep forward compatibility.
2021-08-10 11:13:54 +08:00
Zim Kalinowski
afc77dbc5a
freertos: Sync safe changes from Amazon SMP branch
2021-08-10 05:13:43 +08:00
aleks
60ac95a6b2
freemodbus: fix invalid error handling for duplicate param_key
2021-08-09 14:32:22 +02:00
Roland Dobai
03b361c5a6
Merge branch 'update_copyright_notice_esp_hw_support_2' into 'master'
...
esp_hw_support: update copyright notice 2
See merge request espressif/esp-idf!14678
2021-08-09 07:50:26 +00:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
Yang Zhao
d1f4b74812
The controller may miss the sleep time caculated before. So it will stuck
...
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-09 13:13:51 +08:00
Jakob Hasse
69ea35ffac
Merge branch 'feature/freertos_mock' into 'master'
...
[freertos] Freertos mock
See merge request espressif/esp-idf!14493
2021-08-09 02:52:55 +00:00
Marius Vikhammer
4b07fcca65
Merge branch 'bugfix/crypto_gdma_transfer_ability' into 'master'
...
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
Closes IDF-3676
See merge request espressif/esp-idf!14665
2021-08-09 01:15:36 +00:00
Ivan Grokhotkov
95699a9260
Merge branch 'bugfix/libsodium_build_with_gnu_make' into 'master'
...
libsodium: fix build issues with GNU Make
Closes IDF-3673
See merge request espressif/esp-idf!14661
2021-08-08 07:20:02 +00:00
Mahavir Jain
83956ebbae
Merge branch 'feature/update_efuses_for_esp32s2' into 'master'
...
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
Closes IDF-3263
See merge request espressif/esp-idf!13644
2021-08-06 14:24:20 +00:00
Jiang Jiang Jian
6e1f8a68b9
Merge branch 'feature/support_esp32s3_wifi_lightsleep' into 'master'
...
support esp32s3 wifi lightsleep
Closes IDF-1781
See merge request espressif/esp-idf!14569
2021-08-06 12:51:46 +00:00
Roland Dobai
7384149780
Merge branch 'update_copyright_notice_esp32s2_esp32s3' into 'master'
...
esp32s2, esp32s3: update copyright notice
See merge request espressif/esp-idf!13831
2021-08-06 10:36:07 +00:00
Jakob Hasse
84d184bdb0
Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master'
...
[NVS]: fix crashes from entry state 1
See merge request espressif/esp-idf!14548
2021-08-06 09:14:21 +00:00
Jakob Hasse
c9984faaef
[mocks]: freertos mock
...
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Wang Fang
59aa60d52a
Merge branch 'docs/provide_apb_clock_frequency_in_api-reference_timers' into 'master'
...
docs: provide APB clock frequency in api-reference/timers
Closes DOC-1689
See merge request espressif/esp-idf!14593
2021-08-06 06:50:26 +00:00
Roland Dobai
9c934e87f3
Merge branch 'update_copyright_notice_esp_hw_support_1' into 'master'
...
esp_hw_support: update copyright notice
See merge request espressif/esp-idf!14677
2021-08-06 06:17:37 +00:00
morris
dbeb4bdb84
uart: support alloc driver object in SRAM
...
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.
Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-08-06 13:37:40 +08:00
morris
62d9109eb5
uart: format driver code by astyle
2021-08-06 13:36:57 +08:00
KonstantinKondrashov
3cf4fbc150
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-06 13:14:54 +08:00
Mahavir Jain
7b5f731cce
Merge branch 'esp32c3/override_assert' into 'master'
...
newlib: Override __assert and __assert_func
Closes IDF-3196 and IDFGH-5473
See merge request espressif/esp-idf!13740
2021-08-06 05:02:00 +00:00
Michael (XIAO Xufeng)
18e681ce2f
Merge branch 'bugfix/spi_master_crash_cache_disabled' into 'master'
...
spi_master: fix the crash when using interrupt mode when cache is disabled
Closes IDFGH-4992
See merge request espressif/esp-idf!14660
2021-08-06 03:37:26 +00:00
Wang Fang
0ba73ee7e2
docs: provide APB clock frequency in api-reference/timers
2021-08-06 11:05:32 +08:00
Wang Meng Yang
8fc30ece07
Merge branch 'component_bt/add_spp_faq' into 'master'
...
Component_bt/Add FAQ in SPP Demo README
Closes FCS-611
See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
Jan Brudný
83bd078eb4
esp_hw_support: update copyright notice
2021-08-05 17:38:43 +02:00
Jan Brudný
db41f2efdd
esp_hw_support: update copyright notice
2021-08-05 16:30:10 +02:00
Jan Brudný
7fa88a49d4
esp32s2: update copyright notice in signature test
2021-08-05 15:01:26 +02:00
Jan Brudný
562ce4d009
esp32s2, esp32s3: update copyright notice
2021-08-05 15:01:26 +02:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
...
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
Jakob Hasse
9bb2fc2afd
Merge branch 'feature/esp_common_linux_in_host_tests' into 'master'
...
[nvs]: use real esp_common on host tests
See merge request espressif/esp-idf!14408
2021-08-05 08:31:21 +00:00
Sachin Parekh
6582f7070e
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-08-05 11:09:22 +05:30
Sachin Parekh
41973b761e
newlib: Override __assert and __assert_func
...
Default assert implementation calls fiprintf, which tries to acquire a
lock and fails if it is executing in critical section or ISR
2021-08-05 11:09:22 +05:30
Konstantin Kondrashov
1e8d1344a1
Merge branch 'feature/doc_sbv2_key_not_read_protected' into 'master'
...
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
See merge request espressif/esp-idf!14619
2021-08-05 05:20:36 +00:00
Mahavir Jain
a2111ce2b5
libsodium: fix source directory names to address build issues with Make
2021-08-05 12:28:09 +08:00
Michael (XIAO Xufeng)
947980ecac
Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
...
uart: uart_set_pin function will now use IOMUX whenever possible
Closes IDF-3183
See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Michael (XIAO Xufeng)
de0f24e373
spi_master: fix the crash when using interrupt mode when cache is disabled
...
Closes https://github.com/espressif/esp-idf/issues/6529
Closes https://github.com/espressif/esp-idf/issues/6781
Closes https://github.com/espressif/esp-idf/issues/7368
2021-08-05 12:04:39 +08:00
Marius Vikhammer
bf21cf0c99
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
...
Previously GDMA transfer ability was set to 4 bytes, but buffers might
be not fulfill these requirements
2021-08-05 11:02:17 +08:00
yuanjm
e9dab3203e
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-05 10:38:38 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
Li Shuai
df93733e56
light sleep: wifi sleep parameter optimize for esp32s3
2021-08-04 21:58:35 +08:00
Li Shuai
d73a09cd8b
light sleep: add wifi mac sleep support for esp32s3
2021-08-04 21:58:33 +08:00
Li Shuai
366d0a724a
light sleep: set wifi light sleep clock source to rtc slow clock
2021-08-04 21:31:47 +08:00
Li Shuai
e3c13f8770
light sleep: diable phy tsens for esp32s3
2021-08-04 21:31:47 +08:00
liqigan
d8023ba09c
add FAQ in SPP demo README
2021-08-04 20:49:51 +08:00
Zim Kalinowski
1fd56e0b87
Merge branch 'feature/systimer_generate_rtos_tick' into 'master'
...
freertos(esp32s3): SysTick uses systimer
Closes IDF-2613
See merge request espressif/esp-idf!12246
2021-08-04 12:33:52 +00:00
Konstantin Kondrashov
29f581fc70
freertos(esp32s3): SysTick uses systimer
2021-08-04 20:33:44 +08:00
Mahavir Jain
77900888f7
Merge branch 'bugfix/uninitialized_tasknumber' into 'master'
...
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
Closes IDFGH-1815
See merge request espressif/esp-idf!14620
2021-08-04 12:12:08 +00:00
KonstantinKondrashov
93512edc7a
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
2021-08-04 15:39:48 +05:00
Mahavir Jain
0b655470c3
Merge branch 'feature/add_http_event_error' into 'master'
...
esp_http_client: Support HTTP_EVENT_ERROR event
Closes IDFGH-5557
See merge request espressif/esp-idf!14491
2021-08-04 09:12:57 +00:00
Konstantin Kondrashov
f00c204fbc
Merge branch 'feature/adds_custom_mac_address' into 'master'
...
efuse: Add CUSTOM_MAC address for ESP32-C3/-S2/-S3/-H2
Closes IDF-1326
See merge request espressif/esp-idf!14417
2021-08-04 06:35:29 +00:00
Kevin (Lao Kaiyao)
8131d6f46d
Merge branch 'feature/esp32s3_i2s_support' into 'master'
...
Feature(I2S): Support esp32s3 & esp32c3 I2S driver
Closes IDF-1769, IDF-2098, IDF-3271, IDF-2337, and IDF-3463
See merge request espressif/esp-idf!10655
2021-08-04 06:08:09 +00:00
Omar Chebib
779e7400b0
uart: uart_set_pin function will now use IOMUX whenever possible
...
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
Armando (Dou Yiwen)
03fb3973a2
Merge branch 'feature/support_quad_flash_octal_psram_on_esp32s3' into 'master'
...
mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3
Closes IDF-3603
See merge request espressif/esp-idf!14346
2021-08-04 03:57:16 +00:00
laokaiyao
f863998e90
driver/i2s: support mclk
2021-08-04 10:20:03 +08:00
laokaiyao
3c57a6ac36
driver/i2s: refactor ll and hal
2021-08-04 10:20:03 +08:00
laokaiyao
d51b85989b
doc/i2s: update i2s programming guide on s3 & c3
2021-08-04 10:20:03 +08:00
laokaiyao
f7f8c9c11f
driver/i2s: support i2s on c3 and s3
...
1. Support i2s on esp32c3 and esp32s3
2. Refactor i2s_config_t to avoid breaking change
2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4
driver: support I2S on ESP32-S3 & ESP32-C3
...
1. refactor I2S driver.
2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
Jakob Hasse
0b86f81847
[nvs]: use real esp_common on host tests
2021-08-03 19:47:17 +08:00
Zim Kalinowski
b5f9149399
Merge branch 'feature/rom_linux' into 'master'
...
[rom] linux implementation for major utility functions
See merge request espressif/esp-idf!13902
2021-08-03 10:58:38 +00:00
Armando
2b52f7f696
mspi: fix no buffer reset before each psram read issue
...
In psram timing tuning driver, we rely on psram read and write functions
defined in `spi_timing_config.c`. If we don't do buffer reset (clear to
0), the function may untouch the buffer, which will keep last time value
(since we reuse the buffer). Therefore, if the first read is expected,
but next few reads didn't modify the buffer content, we will still see
the expected data.
These functions relies on `esp_rom_opiflash_exec_cmd`.
2021-08-03 16:54:01 +08:00
Armando
3cbf202267
mspi: cancel oct flash 40m dtr, oct flash 80m str, oct psram 40m tuning
2021-08-03 16:54:01 +08:00
Armando
038b7b1fa9
mspi: update 80MHz DTR tuning algorithm and Oct PSRAM 80M DTR tuning parameters
2021-08-03 16:54:00 +08:00
Armando
0f91a01a46
mspi: support up-to-80MHz quad flash & up-to-80MHz octal psram on esp32s3
2021-08-03 16:54:00 +08:00
Zim Kalinowski
72769c8323
Merge branch 'feature/ipc_using_isr_call' into 'master'
...
esp_ipc: Add API for IPC to run small pieces of code on the other CPU
Closes IDF-450 and IDF-2261
See merge request espressif/esp-idf!6705
2021-08-03 06:35:38 +00:00
Konstantin Kondrashov
4972605b16
esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt
2021-08-03 14:35:29 +08:00
Gautier Seidel
5a5e710225
fix(FreeRTOS): Initialize uxTaskNumber at task initialization
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/4025
2021-08-03 10:42:09 +05:30
morris
5f318e902d
Merge branch 'bugfix/mcpwm-deadtime-preset-config' into 'master'
...
bugfix/mcpwm: fix deadtime module preset config (AHC, ALC, AH, AL)
Closes IDFGH-5600
See merge request espressif/esp-idf!14594
2021-08-03 04:22:20 +00:00
Jakob Hasse
4dd88329c1
[esp_rom]: Partially buildable for linux
...
The following files have been ported:
* esp_rom_crc.h
* esp_rom_sys.h
* esp_rom_efuse.h (mostly no-ops)
* esp_rom_md5.h
Integrated Linux-based rom implementation into log
and NVS component.
Added brief host tests for ROM to ensure basic
consistency on Linux.
Added ROM printf host unit tests.
Temporarily added reset reason for Linux in ROM.
2021-08-03 12:03:24 +08:00
Guo Jia Cheng
b8c2825b21
Merge branch 'bugfix/mdns-null-hostname' into 'master'
...
mdns: fix crash when adding services without hostname set
Closes WIFI-3964
See merge request espressif/esp-idf!14519
2021-08-03 02:47:36 +00:00
SalimTerryLi
32ca6ab65d
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 10:12:42 +08:00
Marius Vikhammer
baf0b7cdf5
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:18:21 +08:00
KonstantinKondrashov
40c360a096
efuse: Add CUSTOM_MAC address for ESP32-C3/-S2/-S3/-H2
2021-08-02 14:43:27 +05:00
Song Ruo Jing
5d82d7c6ee
Merge branch 'typo_fix/fix-length-typo' into 'master'
...
docs: Fix length typo
Closes IDFGH-5272
See merge request espressif/esp-idf!14371
2021-08-02 09:35:15 +00:00
Shubham Kulkarni
3244f9b894
Merge branch 'feature/get_partition_count' into 'master'
...
app_update: Expose API to get OTA partition count
Closes IDFGH-5591
See merge request espressif/esp-idf!14596
2021-08-02 09:12:58 +00:00
Marius Vikhammer
a0c548ccd4
Merge branch 'bugfix/coredump_elf_py_section' into 'master'
...
coredump: fix section name parsing in python utility
See merge request espressif/esp-idf!14597
2021-08-02 07:26:47 +00:00
yuanjm
981287900e
esp_http_client: Support HTTP_EVENT_ERROR event
...
Closes https://github.com/espressif/esp-idf/issues/7280
2021-08-02 14:33:50 +08:00