xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
Jiang Jiang Jian
86deb8c0f5
Merge branch 'bugfix/remove_ulp_tsens' into 'master'
...
ulp: remove ESP32 ULP TSENS references
Closes IDF-1485
See merge request espressif/esp-idf!18883
2022-07-11 16:31:43 +08:00
Song Ruo Jing
ea97cc93ea
Merge branch 'feature/c2_systimer_26mhz' into 'master'
...
esp32c2: 26 MHz XTAL support: Kconfig option, systimer support
Closes IDF-5412 and IDF-5413
See merge request espressif/esp-idf!18835
2022-07-11 16:17:25 +08:00
Wang Meng Yang
13d141de27
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg' into 'master'
...
bugfix/fix the issue of functions not defined when enable memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!18802
2022-07-11 15:36:46 +08:00
xiongweichao
b0b6ad21f8
coex: fixed crash when calculating end transfer time
2022-07-11 15:26:53 +08:00
liqigan
ea63a42f15
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-11 14:30:00 +08:00
Jiang Jiang Jian
4644e2c302
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert' into 'master'
...
Fixed esp32 BLE ke_mem.c assert
See merge request espressif/esp-idf!18916
2022-07-11 14:02:39 +08:00
Anton Maklakov
22802392bc
Merge branch 'fix/spinlock-performance' into 'master'
...
freertos: fix inlining for xtensa port
Closes IDF-5178, IDF-5221, and IDF-5179
See merge request espressif/esp-idf!18641
2022-07-11 12:33:20 +08:00
Marius Vikhammer
6cc871d793
Merge branch 'feature/ulp_riscv_adc' into 'master'
...
ulp-riscv: add support for using ADC as well as an example show-casing it.
Closes IDFGH-7564 and IDF-1714
See merge request espressif/esp-idf!18767
2022-07-11 12:30:31 +08:00
songruojing
996fb0cce8
G0: hal/regi2c_ctrl.h now defines all REGI2C macros to pass g0_components build test
2022-07-11 12:24:58 +08:00
wuzhenghui
a9c8065030
Kconfig: Update dependencies to avoid invalid configurations
...
1. Since the baud rate in the ROM cannot be changed,
set the default baud rate of the 26Mhz version
of esp32c2 to 74800
2. Since the systimer configuration of the 26Mhz
version requires a non-integer systimer frequency
configuration, and this feature is not supported
in the current ROM, this option is disabled for
the 26Mhz version esp32c2
2022-07-11 12:24:58 +08:00
songruojing
b3d8db3ae2
bootloader, esp_system: esp32c2 console uart to support 26MHz xtal
...
Gets the XTAL frequency from the RTC storage register, remove UART_CLK_FREQ_ROM macro from soc.h
2022-07-11 12:24:58 +08:00
songruojing
ef813b23fa
rtc: esp32c2 support 26MHz xtal in startup code and rtc_clk.c
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
2e37218ce5
soc, hal: remove XTAL_CLK_FREQ
...
XTAL_CLK_FREQ now depends on the actual XTAL used, remove this macro
and get the XTAL frequency from the RTC register instead.
No uses of XTAL_CLK_FREQ found, other than in the UART LL.
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
5b54ae76d4
esp_timer, hal: add support for non-integer systimer frequency
...
When ESP32-C2 is paired with a 26 MHz XTAL, the systimer tick
frequency becomes equal to 26 / 2.5 = 10.4 MHz. Previously we always
assumed that systimer tick frequency is integer (and 1 MHz * power of
two, above that!).
This commit introduces a new LL macro, SYSTIMER_LL_TICKS_PER_US_DIV.
It should be set in such a way that:
1. SYSTIMER_LL_TICKS_PER_US / SYSTIMER_LL_TICKS_PER_US_DIV equals the
actual systimer tick frequency,
2. and SYSTIMER_LL_TICKS_PER_US is integer.
For ESP32-C2 this means that SYSTIMER_LL_TICKS_PER_US = 52 and
SYSTIMER_LL_TICKS_PER_US_DIV = 5.
This introduced two possible issues:
1. Overflow when multiplying systimer counter by 5
- Should not be an issue, since systimer counter is 52-bit, so
counter * 5 is no more than 55-bit.
2. The code needs to perform:
- divide by 5: when converting from microseconds to ticks
- divide by 52: when converting from ticks to microseconds
The latter potentially introduces a performance issue for the
esp_timer_get_time function.
2022-07-11 12:24:37 +08:00
Omar Chebib
f5c3c533bb
Merge branch 'bugifx/heap_prefer_call_failed_callback' into 'master'
...
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
Closes IDFGH-7521
See merge request espressif/esp-idf!18427
2022-07-11 11:57:05 +08:00
Jiang Jiang Jian
9873d4d138
Merge branch 'bugfix/s2_s3_stack_extmem_config' into 'master'
...
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
See merge request espressif/esp-idf!18894
2022-07-11 10:54:59 +08:00
chenjianhua
42667adf70
fix esp32c3/s3 adv report duplicate check
2022-07-11 10:25:32 +08:00
Marius Vikhammer
e8b5096f52
ulp-riscv: add support for using ADC as well as an example show-casing it.
2022-07-11 09:31:22 +08:00
Marius Vikhammer
fd37129651
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-07-11 09:24:20 +08:00
Jiang Jiang Jian
7087449d43
Merge branch 'doc/ble_deinit' into 'master'
...
components/bt: Add description for de-initialize bt controller
See merge request espressif/esp-idf!17431
2022-07-10 15:37:13 +08:00
Martin Vychodil
0c87ae2a91
System/Security: Memprot API unified (ESP32S3)
...
Added missing features and improvements
2022-07-09 22:57:51 +02:00
Djordje Nedic
0331d0aa63
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-08 13:22:35 +00:00
Jiang Jiang Jian
9ec829f352
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_master' into 'master'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
Closes BCI-303
See merge request espressif/esp-idf!18643
2022-07-08 19:43:10 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
Ivan Grokhotkov
f0f9890096
bootloader: set the initial XTAL frequency based on the Kconfig option
2022-07-08 15:04:26 +08:00
Ivan Grokhotkov
672e70a023
esp_hw_support: add 26 MHz XTAL option for esp32c2
...
Some esp32c2 boards will be produced with a 26 MHz XTAL. This commit
adds the basic Kconfig option for this type of hardware.
Support for CONFIG_ESP32C2_XTAL_FREQ_26 in other areas of IDF will be
implemented in subsequent commits.
2022-07-08 15:04:17 +08:00
Jiang Jiang Jian
7e2ee82160
Merge branch 'bugfix/fix_qos_null_update_ba_ssn' into 'master'
...
wifi:bugfix fix qos null update ba ssn
Closes IDFGH-6811
See merge request espressif/esp-idf!18882
2022-07-08 14:00:11 +08:00
Mahavir Jain
03c1ada871
Merge branch 'bugfix/netif_interface_reg_sequence_issue' into 'master'
...
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
Closes WIFI-4515 and WIFI-4472
See merge request espressif/esp-idf!18895
2022-07-08 13:23:31 +08:00
xiewenxiang
451a1dd937
doc(bt): Add description for de-initialize bt controller
2022-07-08 10:58:32 +08:00
jincheng
3de3a8b354
fix the issue of functions not defined when enable memory debug
...
Closes https://github.com/espressif/esp-idf/issues/9248
2022-07-08 10:57:29 +08:00
Shen Jun
d09e4d673c
Merge branch 'bugfix/fix_esp32c2_tx_crash_issue' into 'master'
...
esp_wifi: fix esp32c2 tx crash issue
Closes WIFI-4581
See merge request espressif/esp-idf!18911
2022-07-08 10:37:27 +08:00
Roland Dobai
55d95dd813
Merge branch 'fix/esptool_esp32c2_minrev_v2' into 'master'
...
tools: Generate images for ESP32-C2 with required minimal revision
Closes IDF-5303
See merge request espressif/esp-idf!18917
2022-07-08 05:41:57 +08:00
Jiang Jiang Jian
f0172d5ae0
Merge branch 'bugfix/fix_wrong_params_in_hidd' into 'master'
...
Fix wrong parameter of get_report_by_id_and_type in bt_hidd.c
See merge request espressif/esp-idf!18892
2022-07-08 01:10:20 +08:00
zwj
9a46d06532
fix esp32 BLE ke_mem.c assert
2022-07-07 11:23:11 +00:00
Darian
ceffde5cb6
Merge branch 'bugfix/coredump_shebang' into 'master'
...
espcoredump: Fix espcoredump.py shebang and file mode
See merge request espressif/esp-idf!18902
2022-07-07 19:20:15 +08:00
Alexey Lapshin
7e5a7921fe
freertos: fix inlining for xtensa port
2022-07-07 09:04:51 +00:00
Guillaume Souchere
9b8c558e63
Merge branch 'bugfix/backtrace_formatting_add_missing_space' into 'master'
...
Reverts Backtrace: format to what it used to be
Closes IDFGH-7580
See merge request espressif/esp-idf!18783
2022-07-07 16:51:47 +08:00
morris
75bd6fc2d9
Merge branch 'contrib/github_pr_9302' into 'master'
...
ESP32S3 USB external PHY pinout (GitHub PR)
Closes IDFGH-7761
See merge request espressif/esp-idf!18909
2022-07-07 16:17:26 +08:00
Roland Dobai
9ee3661b4b
tools: Generate images for ESP32-C2 with required minimal revision
2022-07-07 15:44:55 +08:00
xueyunfei
95591fdf65
wifi:bugfix fix qos null update ba ssn
2022-07-07 15:23:29 +08:00
Marius Vikhammer
f78d13398e
Merge branch 'bugfix/enable_freertos_tests_c2' into 'master'
...
freertos: re-enable tests disabled for C2
Closes IDF-5140
See merge request espressif/esp-idf!18885
2022-07-07 14:14:46 +08:00
Rahul Tank
020dc7b2ec
Merge branch 'bugfix/fix_extra_event_init_periodic' into 'master'
...
NimBLE: Removed extra event init done during periodic_sync_alloc
See merge request espressif/esp-idf!18494
2022-07-07 13:02:53 +08:00
morris
b0e228f756
soc: update copyright for usb phy pins
2022-07-07 11:50:06 +08:00
Michael (XIAO Xufeng)
a58362a429
Merge branch 'feature/efuse_rev_major_minor' into 'master'
...
efuse: Adds major and minor versions
See merge request espressif/esp-idf!18255
2022-07-07 11:48:54 +08:00
shenjun
988f9b3a59
esp_wifi: fix esp32c2 tx crash issue
2022-07-07 11:32:00 +08:00
Island
0d86ca59a6
Merge branch 'update/esp32h2_h2_beta2_controller_lib_to_cd9dd20' into 'master'
...
Update esp32h2 beta2 lib to controller master
See merge request espressif/esp-idf!18876
2022-07-06 22:13:05 +08:00
Song Ruo Jing
b662f4b74f
Merge branch 'feature/support_26M_32M_xtal_bbpll_c2' into 'master'
...
support c2 26M/32M xtal for bbpll
Closes IDF-5485
See merge request espressif/esp-idf!18769
2022-07-06 21:17:52 +08:00
Darian Leung
5de652bbe2
espcoredump: Fix espcoredump.py shebang and file mode
...
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
lsita
9ceff23c6d
USB external PHY pinout set as in Reference Manual Figure 29-3.
2022-07-06 14:54:35 +02:00
morris
a92cce9861
Merge branch 'bugfix/calib_i2c_clk' into 'master'
...
I2C: Make I2C clock frequency accurate
Closes IDF-5363
See merge request espressif/esp-idf!18686
2022-07-06 20:52:31 +08:00
Zim Kalinowski
5ed792a296
Merge branch 'bugfix/fix_sdio_master_slave_test_with_freertos_smp' into 'master'
...
freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP
See merge request espressif/esp-idf!18865
2022-07-06 19:39:03 +08:00
Jiang Jiang Jian
7b3ee47c67
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3' into 'master'
...
Fixed BLE ke_mem.c assert on esp32c3 and esp32s3
Closes BT-2405, BT-2406, and BCI-302
See merge request espressif/esp-idf!18863
2022-07-06 16:58:07 +08:00
wangmengyang
f86efb2bc2
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
2022-07-06 16:24:03 +08:00
wangmengyang
1d55f12c2d
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and clock bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-06 16:23:48 +08:00
morris
627b171a3c
Merge branch 'feature/enable_rpa_modem_reset_function_in_esp32h2' into 'master'
...
Enable rpa_moudle reset function
See merge request espressif/esp-idf!18891
2022-07-06 14:47:37 +08:00
xiongweichao
155c4a5cb3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-06 14:42:46 +08:00
Zim Kalinowski
ecac5d02fc
Merge branch 'bugfix/fix_esp_event_test_with_freertos_smp' into 'master'
...
freertos-smp: Update performance threshold for esp_event performance test with FreeRTOS SMP
Closes IDF-5449
See merge request espressif/esp-idf!18848
2022-07-06 12:41:05 +08:00
Guo Jia Cheng
fb181e0482
Merge branch 'bugfix/timer-overflow' into 'master'
...
openthread: update library to fix timer overflow
See merge request espressif/esp-idf!18889
2022-07-06 12:21:25 +08:00
Rahul Tank
d3e7d9b090
NimBLE: Removed extra event init done during periodic_sync_alloc
2022-07-06 09:50:17 +05:30
Marius Vikhammer
457e31a715
freertos: re-enable tests disabled for C2
2022-07-06 12:15:04 +08:00
Zim Kalinowski
6062748203
Merge branch 'bugfix/fix_vfs_test_with_freertos_smp' into 'master'
...
freertos-smp: Update performance thresholds for VFS Open, Write, Close test with FreeRTOS SMP
Closes IDF-5448
See merge request espressif/esp-idf!18849
2022-07-06 12:14:19 +08:00
Marius Vikhammer
342f4f315c
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
...
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY was always enabled on S2 and S3, but this option is not
compatible with ESP_COREDUMP_ENABLE_TO_FLASH. Make it configurable to allow users to deactive
it so that ESP_COREDUMP_ENABLE_TO_FLASH can be used.
2022-07-06 12:11:15 +08:00
Cao Sen Miao
e218723e0e
I2C: Make I2C clock frequency accurate
2022-07-06 11:58:08 +08:00
Mahavir Jain
f45dbd1f97
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
...
If appropriate interface is not set then RX callback can potentially dereference
null pointer from `s_wifi_netifs` table. This in-fact resulted in `LoadProhibited` exception
in HTTP server example test case.
Order here for setting interface and then registering callback was correct but
it was modified in 0e71a325de
causing this regression.
2022-07-06 09:03:08 +05:30
Song Ruo Jing
2bc0f45d85
Merge branch 'feature/uart_get_free_tx_buffer_size' into 'master'
...
uart: Add a new API to get the free space size of tx buffer
Closes IDFGH-7348 and IDFGH-642
See merge request espressif/esp-idf!18749
2022-07-06 11:18:57 +08:00
Jiang Jiang Jian
5134af1c6b
Merge branch 'bugfix/ext_adv_param_check' into 'master'
...
Bluedroid: fix channel map of ext adv params check
See merge request espressif/esp-idf!18877
2022-07-06 11:02:46 +08:00
Jiang Jiang Jian
8b30b7a489
Merge branch 'contrib/github_pr_9264' into 'master'
...
Fix tinyusb_driver_install (dangling pointer) (GitHub PR)
Closes IDFGH-7723
See merge request espressif/esp-idf!18874
2022-07-06 10:53:38 +08:00
Omar Chebib
c017f006cd
Merge branch 'contrib/github_pr_9255' into 'master'
...
Fix datatype conversion compiler error #9254 (GitHub PR)
Closes IDFGH-7713
See merge request espressif/esp-idf!18872
2022-07-06 10:37:30 +08:00
Marius Vikhammer
cf41c255bb
Merge branch 'bugfix/cache_disabled_log_c3' into 'master'
...
esp_hw_support: always inline cpu_hal_set_vecbase to avoid issues at -O0
See merge request espressif/esp-idf!18630
2022-07-06 09:55:20 +08:00
Zim Kalinowski
613e53f0a1
freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP
...
This commit relaxes the performance thresholds for sdio driver test when
FreeRTOS SMP is enabled.
2022-07-05 22:05:33 +02:00
Darian
ee808f55a4
Merge branch 'bugfix/freertos_smp_stack_tcb_allocation_order' into 'master'
...
FreeRTOS: Fix stack and TCB allocation order
See merge request espressif/esp-idf!18841
2022-07-06 03:22:52 +08:00
Jakob Hasse
5a3310ff3b
Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
...
SOC: removed target-specific ROM dependencies
See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
Zim Kalinowski
3d38de9f00
Merge branch 'bugfix/fix_spi_speed_with_freertos_smp' into 'master'
...
freertos-smp: Fix spi_speed test for FreeRTOS SMP
Closes IDF-5464
See merge request espressif/esp-idf!18842
2022-07-06 01:38:05 +08:00
Darian
91fb280d4c
Merge branch 'bugfix/twdt_deinit_freertos_smp' into 'master'
...
TWDT: esp_task_wdt_deinit() should deregister idle hook callback under CONFIG_FREERTOS_SMP
Closes IDF-5461
See merge request espressif/esp-idf!18867
2022-07-06 00:45:58 +08:00
Shu Chen
87f9fbaed1
Merge branch 'feature/hide_build_from_src' into 'master'
...
build: move build_from_src options to env
See merge request espressif/esp-idf!18735
2022-07-05 22:54:18 +08:00
David Čermák
53b9213757
Merge branch 'bugfix/mqtt_ping_timer_restart' into 'master'
...
[MQTT] - Adds esp-timer as dependency and update esp_mqtt.
See merge request espressif/esp-idf!18409
2022-07-05 22:01:32 +08:00
David Čermák
8417079218
Merge branch 'component/asio_migration' into 'master'
...
ASIO: Remove internal component, examples, test and docs
Closes IDF-4625
See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
GengYuchao
d145c337e0
Enable rpa_moudle reset function
2022-07-05 20:50:31 +08:00
liqigan
2873cefe78
fix wrong params of get_report_by_id_and_type in bt_hidd.c
2022-07-05 20:50:11 +08:00
Sudeep Mohanty
d447c54513
freertos-smp: Update performance thresholds for VFS Open, Write, Close test with FreeRTOS SMP
...
This commit relaxes performance thresholds for VFS Open, Write and Close
test with FreeRTOS SMP enabled.
2022-07-05 12:13:40 +00:00
Sudeep Mohanty
1da0fe6f9b
freertos-smp: Update performance threshold for esp_event performance test with FreeRTOS SMP
...
This commit updates the performance thresholds for esp_event performance
test with FreeRTOS SMP enabled.
2022-07-05 12:12:45 +00:00
Jiacheng Guo
d02de327b5
openthread: update library to fix timer overflow
...
Closes https://github.com/espressif/esp-idf/issues/9278
2022-07-05 19:28:07 +08:00
songruojing
9d73475e44
uart: Add a new API to get the free space size of tx buffer
...
Closes https://github.com/espressif/esp-idf/issues/8932
Closes https://github.com/espressif/esp-idf/issues/3078
2022-07-05 18:39:22 +08:00
Jiang Jiang Jian
77a7fa77e2
Merge branch 'bugfix/wrong_configuration_of_static_txbuf' into 'master'
...
wifi:bugfix for wrong configuration of static txbuf
Closes IDFGH-7667
See merge request espressif/esp-idf!18852
2022-07-05 18:07:36 +08:00
cje
e16165f263
support c2 26M/32M xtal for bbpll
2022-07-05 17:45:03 +08:00
Marius Vikhammer
3d61c6d7d7
ulp: remove ESP32 ULP TSENS references
...
Due to poor accuracy the ESP32 ULP TSENS instructions is not recommend for use.
We keep the instruction itself to support users which are already using it,
but should remove it from examples and docs to avoid encouring any new usage of it.
2022-07-05 17:37:13 +08:00
Jiang Jiang Jian
f747ffd63a
Merge branch 'bugfix/add_ttl_for_ping_socket' into 'master'
...
lw-ip:bugfix for add ttl for ping socket
Closes WIFI-4340
See merge request espressif/esp-idf!18376
2022-07-05 17:09:53 +08:00
chenjianhua
3a1a5e284a
Bluedroid: fix channel map of ext adv params check
2022-07-05 16:02:37 +08:00
GengYuchao
509ac4e748
Update esp32h2 beta2 lib to master
2022-07-05 15:15:41 +08:00
KonstantinKondrashov
0f8ff5aa15
efuse: Adds major and minor versions and others
2022-07-05 14:38:27 +08:00
Darian Leung
a0ab1c2acd
freertos: Fix stack and TCB allocation order in SMP FreeRTOS
...
This commit fixes the allocation order of task stacks and TCBs in
order to reduce the chance of a stack overflow overwriting a TCB.
2022-07-05 14:27:44 +08:00
xueyunfei
a7ae72e1f5
wifi:bugfix for wrong configuration of static txbuf
2022-07-05 14:02:31 +08:00
Jakob Hasse
f8b5ed5d6c
refactor (soc, esp_rom)!: removed target-specific ROM dependencies
2022-07-05 13:57:58 +08:00
Omar Chebib
a0ca353cda
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
...
heap_caps_*_prefer functions will now only call heaps_caps_alloc_failed
callback if all attempts to allocation memory fail (and not after each attempt
anymore).
* Closes https://github.com/espressif/esp-idf/issues/9086
2022-07-05 05:57:04 +00:00
Omar Chebib
fca7be2ddb
Merge branch 'bugfix/fix_disassembler_interpreting_padding' into 'master'
...
(Xtensa) Build: add .xt.prop to the compiled ELF file
See merge request espressif/esp-idf!17268
2022-07-05 13:48:42 +08:00
Darian Leung
c7fbcd754f
esp_system: TWDT needs to deregister idle hook callback on esp_task_wdt_deinit()
...
This commit fixes a bug in esp_task_wdt_deinit() where under CONFIG_FREERTOS_SMP,
the idle hook callback is not deregistered.
2022-07-05 13:40:46 +08:00
Sudeep Mohanty
5ab7beea4a
freertos-smp: Fix spi_speed test for FreeRTOS SMP
...
Updated performance thresholds for spi_speed test with FreeRTOS SMP is
enabled.
2022-07-05 05:11:16 +00:00
Jiang Jiang Jian
271f4e4c40
Merge branch 'bugfix/rm_deauth_when_first_auth' into 'master'
...
esp_wifi: remove deauth before first auth
Closes IDFGH-6544
See merge request espressif/esp-idf!18803
2022-07-05 12:58:05 +08:00
Omar Chebib
3c9856bdd1
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-07-05 04:39:29 +00:00
xueyunfei
45ad770c37
Icmp: get tos parameter in icmp reply
2022-07-05 11:37:41 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
zwj
f15d7d28b5
fix ble ke_mem.c assert on esp32c3 and esp32s3
2022-07-05 03:18:14 +00:00
chenjianxing
ce1ab731be
esp_wifi: remove deauth before first auth
...
1.fix deep sleep can't reconnect to ap when pmf enable
2.fix some ap will ignore auth when rx deauth for some time
2022-07-05 02:42:08 +00:00
GengYuchao
3be5ab7268
Update nimble port init changes
2022-07-05 02:40:49 +00:00
GengYuchao
ee13e58b16
update head files for nimble
...
Remove some useless error printing display
2022-07-05 02:40:49 +00:00
GengYuchao
9e1466a34d
move init func to nimble
2022-07-05 02:40:49 +00:00
Zim Kalinowski
e4b692b6f6
fixing build problem
2022-07-04 22:20:26 +02:00
gabsuren
79d3655106
ASIO: Remove internal component, examples, test and docs
2022-07-04 22:15:24 +04:00
Jiang Jiang Jian
8ab78803d4
Merge branch 'bugfix/s3_wakeup_light_sleep_rtc_wdt_timeout' into 'master'
...
component_bt: Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
See merge request espressif/esp-idf!18757
2022-07-04 18:21:29 +08:00
David Čermák
46fe7dbc8c
Merge branch 'component/mdns_migration' into 'master'
...
mdns: Remove internal component, examples, test and docs
Closes IDF-4074
See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Omar Chebib
cfeaa50b53
Merge branch 'bugfix/esp32c2_missing_eh_frame_sections' into 'master'
...
espsystem: add missing eh_frame sections on esp32c2
See merge request espressif/esp-idf!18629
2022-07-04 17:13:40 +08:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Martin Vychodil
29c0703d7e
Merge branch 'bugfix/esp32s3_memprot_wrong_check_unicore' into 'master'
...
System/Security: fix missing checks for CPU-count sensitive Memprot APIs (ESP32S3)
Closes IDF-5401
See merge request espressif/esp-idf!18834
2022-07-04 16:41:45 +08:00
Wang Meng Yang
cb74a64768
Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'
...
feature/added read-write sugg default datalen cmds
See merge request espressif/esp-idf!17863
2022-07-04 15:17:44 +08:00
Mahavir Jain
a269a704af
Merge branch 'bugfix/main_task_on_cpu1_startup_failure' into 'master'
...
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
Closes IDFGH-7705
See merge request espressif/esp-idf!18755
2022-07-04 14:54:14 +08:00
Jiang Jiang Jian
c154d09c52
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid' into 'master'
...
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
Closes IDFGH-7647
See merge request espressif/esp-idf!18617
2022-07-04 14:12:35 +08:00
Marius Vikhammer
4720607229
Merge branch 'bugfix/c2_mac_address' into 'master'
...
mac addr: fix wrong offset being used for C2 BT mac address
Closes IDF-5046
See merge request espressif/esp-idf!18717
2022-07-04 14:04:13 +08:00
Omar Chebib
7e42038c86
Merge branch 'refactor/move_regi2c_headers' into 'master'
...
Refactor: move regi2c_*.h header files from esp_hw_support to soc component
See merge request espressif/esp-idf!18676
2022-07-04 11:32:30 +08:00
Mahavir Jain
cd1555ec03
Merge branch 'esp32c2_check_ocd_mode' into 'master'
...
esp32c2: check ocd mode before configure memprot
See merge request espressif/esp-idf!18655
2022-07-04 11:22:25 +08:00
Onkar
731a8d357f
feature/added read-write sugg default datalen cmds
2022-07-03 13:50:12 +05:30
Martin Vychodil
ee9aa9a302
System/Security: fix missing checks for CPU-count sensitive Memprot APIs (ESP32S3)
...
Some of the Memory Protection (internal) API functions dealing with per-CPU operations were missing appropriate handling of the CPU count actually configured by CONFIG_FREERTOS_UNICORE. The flaw was fixed across all the places found in the code as the issue was of general type
2022-07-02 20:12:56 +00:00
Wang Meng Yang
73cfc078a0
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env' into 'master'
...
bugfix/restore edr_en and add protect for vhci_env
Closes IDFGH-6254, IDFGH-6766, IDFGH-7605, and AUD-3629
See merge request espressif/esp-idf!18388
2022-07-01 19:31:01 +08:00
Jakob Hasse
daacc19149
Merge branch 'bugfix/fatfs_spiffs_vfs_dep' into 'master'
...
fatfs, spiffs: add missing dependency on vfs
See merge request espressif/esp-idf!18613
2022-07-01 18:13:51 +08:00
Armando (Dou Yiwen)
4cc0492901
Merge branch 'bugfix/reserve_dma_ram_in_segments' into 'master'
...
psram: reserve dma pool in the step of heap max block
Closes IDF-4936
See merge request espressif/esp-idf!18740
2022-07-01 15:48:23 +08:00
Adam Múdry
0e98905e51
Merge branch 'feature/usb_midi_example' into 'master'
...
usb: Added MIDI example + fixed TinyUSB MIDI config
Closes IDFGH-6921
See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Simon
f4eea001c8
Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
...
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0
Closes IDF-4473
See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Li Qi Gan
22c76baaec
Merge branch 'bugfix/fix_sink_wrong_sniff_params' into 'master'
...
Fix A2DP Sink Wrong Sniff Parameters which Caused by HID Porting
See merge request espressif/esp-idf!18730
2022-07-01 14:35:44 +08:00
Darian
c9e7a799ee
Merge branch 'bugfix/freertos_event_group_unblock_race_condition' into 'master'
...
FreeRTOS: Fix event group task list race condition
See merge request espressif/esp-idf!18727
2022-07-01 14:14:45 +08:00
Mahavir Jain
311822da25
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
...
Idle tick hook that indicates completion of scheduler init must be launched
on other core than the one where main task runs. Earlier it was assumed that
main task shall always run on PRO cpu but that behavior can be changed with
ESP_MAIN_TASK_AFFINITY_CPU1 and hence this fix.
Closes https://github.com/espressif/esp-idf/issues/9247
Closes IDFGH-7705
2022-07-01 05:40:46 +00:00
Darian
100ee84b0f
Merge branch 'bugfix/freertos_smp_startup_race_cond' into 'master'
...
freertos: Add SMP FreeRTOS startup race condition workaround
Closes IDF-5284 and IDF-5288
See merge request espressif/esp-idf!18683
2022-07-01 12:14:24 +08:00
Island
c6fc5038eb
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit' into 'master'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
See merge request espressif/esp-idf!18079
2022-07-01 11:35:21 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Cao Sen Miao
d9b4b82edc
spi_flash: Modify documentations
2022-07-01 10:59:34 +08:00
Cao Sen Miao
64147c3794
CXX: Make spi_flash related part works
2022-07-01 10:59:34 +08:00
Cao Sen Miao
435bbb444c
spi_flash: move cache stuff to private
2022-07-01 10:59:34 +08:00
Jiang Jiang Jian
6264fe3f60
Merge branch 'bugfix/close_sniffer_mode_when_wifi_stop' into 'master'
...
wifi:bugfix for close sniffer mode when wifi stop
Closes WIFI-4536
See merge request espressif/esp-idf!18744
2022-07-01 10:42:09 +08:00
Darian Leung
0cf1fd3a5a
freertos: Add multi-core OS startup race condition workaround
...
FreeRTOS uses a single "xSchedulerRunning" variable to tack whether the
scheduler has started, and this variable is set to "pdTRUE" by core 0
via calling vTaskStartScheduler().
However, with SMP FreeRTOS, there is a race condition where core 0 has
already started the scheduler and another core has not called xPortStartScheduler()
yet and calls some FreeRTOS API. Thus the resultant FreeRTOS API can
cause errors as it thinks the scheduler has started.
This commit adds a temporary workaround (by having each core maintain their
own "xSchedulerRunning" variable.
2022-06-30 20:24:53 +08:00
Darian Leung
16e739a09e
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleand up by the main task
2022-06-30 20:19:39 +08:00
Darian Leung
1625a3aae2
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-06-30 20:12:26 +08:00
Armando
f0e93ed0f8
psram: reserve dma pool in the step of heap max block
...
As heap block may be allocated into multiple non-contiguous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
On ESP32 we use this way, this commit follows this way, on ESP32S2 and
ESP32S3
2022-06-30 10:18:20 +00:00
Omar Chebib
cd48baf979
Refactor: move regi2c_*.h header files from esp_hw_support to soc component
...
When creating G0 layer, some regi2c_*.h headers were moved out from
esp_hw_support (G1) to soc (G0). In order to be consistent with that change,
move all the remaining regi2c_*.h headers to soc too.
2022-06-30 09:40:44 +00:00
Zhang Xiao Yan
be4d13d888
Merge branch 'docs/add_chiptype_link_gpio' into 'master'
...
docs: Add chip target and link to gpio.h
Closes DOC-3169
See merge request espressif/esp-idf!18623
2022-06-30 17:12:04 +08:00
GengYuchao
10fd1daa10
Add ETM clk gate defines for h2
2022-06-30 17:02:00 +08:00
GengYuchao
95c8d775d0
Update lib for h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
e1d07c0cf2
Support H2 periodic advertiser list option on h2
2022-06-30 17:02:00 +08:00
GengYuchao
07a470bccc
Update ble lib for h2 beta1
2022-06-30 17:02:00 +08:00
GengYuchao
29a2c83173
Fix default option value
2022-06-30 17:02:00 +08:00
Jiang Jiang Jian
af83290002
Merge branch 'bugfix/fix_some_c2_ble_bugs' into 'master'
...
Fixed ESP32C2 BLE bugs
See merge request espressif/esp-idf!18693
2022-06-30 16:39:50 +08:00
xueyunfei
46a68f4d41
wifi:bugfix for close sniffer mode when wifi stop
2022-06-30 15:47:50 +08:00
wangjialiang
45adb0ef24
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-06-30 07:41:23 +00:00
David Čermák
5fcb860a10
Merge branch 'bugfix/lwip_gcc11_warnings' into 'master'
...
lw ip: suppress some GCC 11 warnings
See merge request espressif/esp-idf!18479
2022-06-30 13:48:47 +08:00
Jiang Jiang Jian
927f9e369a
Merge branch 'bugfix/fix_stale_pmf_config' into 'master'
...
Fix stale PMF config in NVS issue
See merge request espressif/esp-idf!18469
2022-06-30 12:32:10 +08:00
Mu Hai Dong
b0b44221ed
Merge branch 'bugfix/fix_deinit_init_connect_fail_issue' into 'master'
...
esp_wifi: clear phy calibrated flag when phy pd memory deinit
Closes WIFI-4467, WIFI-4555, and WIFI-4543
See merge request espressif/esp-idf!18716
2022-06-30 12:13:36 +08:00
Omar Chebib
fa9856c815
espsystem: add missing eh_frame sections on esp32c2
2022-06-30 02:51:37 +00:00
lsita
db90b512a1
Fix tinyusb_driver_install (dangling pointer)
2022-06-29 17:40:19 +02:00
Sudeep Mohanty
3cd2b67f84
Revert "hal: Fix incorrect spi_hal log usage"
...
This reverts commit a65165dd52
.
2022-06-29 14:52:28 +00:00
Adam Múdry
2dfaec3106
usb: Added MIDI example + fixed TinyUSB MIDI config
...
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
gabsuren
d413a71f61
mdns: Remove internal component, examples, test and docs
2022-06-29 17:30:34 +04:00
0xFEEDC0DE64
d0c10eb83a
Fix datatype conversion compiler error #9254
2022-06-29 14:39:36 +02:00
Shu Chen
85c668b7c7
build: move build_from_src options to env
2022-06-29 20:26:50 +08:00
xiongweichao
9531fae1d3
Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
2022-06-29 19:56:47 +08:00
Euripedes Rocha
33fccf6405
[MQTT] - Adds esp-timer as dependency and change version.
...
- Current time is now from esp_timer.
2022-06-29 11:50:32 +00:00
Anton Maklakov
d2ce9abb2a
lwip: suppress some GCC 11 warnings
...
Closes https://github.com/espressif/esp-idf/issues/9142
2022-06-29 11:42:09 +00:00
Mahavir Jain
9ee26516a7
Merge branch 'fix/update_docs_for_hmac_api' into 'master'
...
esp_hmac: Fix documentation for API and Programming Guide
See merge request espressif/esp-idf!18703
2022-06-29 16:06:33 +08:00
Armando (Dou Yiwen)
e13d7f8351
Merge branch 'bugfix/s2_ap64_psram_crash_issue' into 'master'
...
psram: fix esp32s2 module with APS6404 PSRAM crash issue
Closes IDF-5361
See merge request espressif/esp-idf!18699
2022-06-29 11:19:17 +08:00
morris
85ab06440b
Merge branch 'bugfix/remove_dc_as_cmd_phase' into 'master'
...
spi_lcd: don't support dc_as_cmd_phase
Closes IDFGH-7026
See merge request espressif/esp-idf!18694
2022-06-29 10:50:36 +08:00
liqigan
3e3a0cdfdb
fix sink wrong sniff params which caused by HID porting
2022-06-29 10:11:56 +08:00
Ondrej Kosta
ed7afd8b73
Merge branch 'feature/eth_phy_common' into 'master'
...
ESP PHY structure refactor
Closes IDF-5149
See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
David Čermák
8678f9a9f4
Merge branch 'bugfix/esp_eth_test_hotfix' into 'master'
...
esp_eth: pytest_esp_eth CI timeout hotfix
See merge request espressif/esp-idf!18666
2022-06-28 23:11:26 +08:00
Eren Terzioglu
f6248ebf0d
esp/vfs: VFS semihosting interface support
2022-06-28 17:04:15 +03:00
Aditya Patwardhan
c6fe3ba7c6
esp_hmac: Fix documentation for API and Programming Guide
2022-06-28 12:47:28 +00:00
Kevin (Lao Kaiyao)
47266d7736
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
...
touch_sensor: add description to distinguish the API on different target
Closes IDFGH-7499
See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
morris
489d14cf55
spi_lcd: don't support dc_as_cmd_phase
...
The current SPI hardware can't support 9bit SPI data format very well
(i.e. inserting an extra bit before each data byte)
Closes https://github.com/espressif/esp-idf/pull/8644
2022-06-28 17:11:31 +08:00
morris
602e154c12
Merge branch 'refactor/move_gdma_to_hw_support' into 'master'
...
dma: move from driver to hw_support
See merge request espressif/esp-idf!18706
2022-06-28 15:57:56 +08:00
Armando (Dou Yiwen)
4dbd2c7e30
Merge branch 'refactor/move_spi_necessary_private_headers' into 'master'
...
spi: move spi_common_internal to esp_private
See merge request espressif/esp-idf!18146
2022-06-28 15:51:22 +08:00
Marius Vikhammer
4ffb15916e
mac addr: fix wrong offset being used for C2 BT mac address
2022-06-28 15:30:24 +08:00
muhaidong
3ed30a515f
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-06-28 15:03:11 +08:00
Marius Vikhammer
5b6fbe6a5c
Merge branch 'bugfix/ulp_fsm_cocpu_trap' into 'master'
...
ulp: only enable relevant wakeup sources for ULP
Closes IDFCI-1323
See merge request espressif/esp-idf!18616
2022-06-28 14:24:23 +08:00
Armando
63d4b52e21
psram: correct psram size log
2022-06-28 14:17:44 +08:00
Armando
c51c1a8651
mmu: fix wrong mmu entry id issue
2022-06-28 14:17:44 +08:00
Armando
31b3f31ef4
ext_mem: make memory region check strict
2022-06-28 14:17:44 +08:00
morris
7fd9a91034
dma: move from driver to hw_support
2022-06-28 14:17:12 +08:00
Marius Vikhammer
a8e9c6b8b2
esp_hw_support: always inline cpu_hal_set_vecbase
2022-06-28 05:53:27 +00:00
Mahavir Jain
827837dce3
Merge branch 'fix/tls-size-esp32c2_esp32c3_esp32h2' into 'master'
...
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
Closes IDFCI-1312, IDFGH-7652, and IDF-1944
See merge request espressif/esp-idf!18554
2022-06-28 13:52:28 +08:00
Mahavir Jain
34e9f54a48
Merge branch 'bugfix/rsa_gen_key_test_c2' into 'master'
...
RSA: only run generate key test if we have MPI HW support
Closes IDFCI-1326
See merge request espressif/esp-idf!18704
2022-06-28 12:57:10 +08:00
morris
eebcce87b9
Merge branch 'feature/esp_lcd_bounce_buffers' into 'master'
...
Add bounce buffer support to esp_lcd
See merge request espressif/esp-idf!17894
2022-06-28 11:56:22 +08:00
Jeroen Domburg
5f8666afb8
Add bounce buffer support to esp_lcd
2022-06-28 11:56:22 +08:00
laokaiyao
d5e55e0563
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Marius Vikhammer
61691e332f
RSA: only run generate key test if we have MPI HW support
...
Test would take too long and time out on C2.
2022-06-28 09:39:43 +08:00
Martin Vychodil
0b0befc2a6
Merge branch 'fix/fatfs_ssize_undefined' into 'master'
...
fatfs: Fix undefined ssize member of FATFS struct
Closes IDFGH-7483
See merge request espressif/esp-idf!18667
2022-06-28 07:49:45 +08:00
Martin Vychodil
cd7355007d
Merge branch 'bugfix/app_trace_iram' into 'master'
...
apptrace: move all apptrace related functions to IRAM
Closes IDFGH-7571 and IDFGH-7664
See merge request espressif/esp-idf!18646
2022-06-27 17:46:30 +08:00
Ondrej Kosta
08f421a091
esp_eth: pytest_esp_eth CI timeout hotfix
2022-06-27 11:21:31 +02:00
Adam Múdry
0fac7d1c02
fatfs: Fix undefined ssize member of FATFS struct
2022-06-27 08:57:58 +00:00
zwj
ed593ba168
update ble lib (444e4a2b)
...
- fix rpa entry err if addr resol is disabled
- fix aux connect crash
2022-06-27 14:50:26 +08:00
zwj
004918adbe
fix BLE sleep can not be enabled
2022-06-27 14:21:11 +08:00
Nachiket Kukade
2efe4b791d
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-27 11:37:59 +05:30
Alexey Lapshin
69b317368e
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-06-27 03:29:08 +00:00
Shu Chen
a9cccfe317
Merge branch 'bugfix/otbr-example-config' into 'master'
...
openthread: update OpenThread submodule
See merge request espressif/esp-idf!18560
2022-06-25 10:31:18 +08:00
Armando
f31d88e3fe
spi: move spi_common_internal to esp_private
2022-06-24 19:12:13 +08:00
Mahavir Jain
c619e2162d
Merge branch 'feature/memprot_settings_to_soc_caps' into 'master'
...
esp_system: move MEMPROT related configuration to soc capability header
Closes IDF-4506
See merge request espressif/esp-idf!18645
2022-06-24 18:08:19 +08:00
Linda
ca7138e653
docs:add chiptype and link to gpio.h
2022-06-24 17:13:15 +08:00
Erhan Kurubas
480e2ab149
esp32c2: check ocd mode before configure memprot
2022-06-24 09:13:02 +03:00
Ondrej Kosta
43f3904304
esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file
2022-06-24 05:51:44 +00:00
Darian
26ca7cbaed
Merge branch 'feature/update_smp_freertos_porting_notes' into 'master'
...
freertos: Update SMP FreeRTOS porting notes
See merge request espressif/esp-idf!18632
2022-06-24 13:33:44 +08:00
Marius Vikhammer
059a0713d7
Merge branch 'bugfix/reenable_c2_system_tests' into 'master'
...
system: enable misc system examples and unit tests for C2
Closes IDF-5054, IDF-5048, IDF-5142, and IDF-5051
See merge request espressif/esp-idf!18533
2022-06-24 12:12:11 +08:00
Marius Vikhammer
50cfd7de22
Revert "Merge branch 'fix/esptool_esp32c2_minrev' into 'master'"
...
This reverts merge request !18633
2022-06-24 11:37:23 +08:00
Marius Vikhammer
42aa4ee3d4
ulp: only enable relevant wakeup sources for ULP
...
Do not enable co-processor trap wakeup source when running ULP FSM, as this
could cause spurious wake-ups.
2022-06-24 02:30:29 +00:00
Darian
7ea4b9d408
Merge branch 'feature/freertos_smp_reduce_iram_usage' into 'master'
...
FreeRTOS: Move some SMP FreeRTOS functions to flash
See merge request espressif/esp-idf!18581
2022-06-24 06:29:54 +08:00
Zim Kalinowski
22ff8c7f78
Merge branch 'feature/update_freertos_kernel_source' into 'master'
...
freertos-smp: update FreeRTOS SMP kernel
Closes IDF-5256
See merge request espressif/esp-idf!18624
2022-06-24 04:19:04 +08:00
Zim Kalinowski
974151bd31
Merge branch 'feature/freertos-smp-rsa-timeouts' into 'master'
...
freertos: adjust rsa test timeouts for SMP
Closes IDF-5253
See merge request espressif/esp-idf!18585
2022-06-23 21:27:36 +08:00
Ivan Grokhotkov
87180907f7
Merge branch 'bugfix/nvs_part_ptr_wrong_init' into 'master'
...
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
Closes IDFGH-7503 and IDFGH-7152
See merge request espressif/esp-idf!18503
2022-06-23 21:23:39 +08:00
Sudeep Mohanty
2c7b4cf8d5
Merge branch 'bugfix/fix_legacy_pcnt_driver_test_with_freertos_smp' into 'master'
...
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config
Closes IDF-5274
See merge request espressif/esp-idf!18631
2022-06-23 20:19:08 +08:00
Mahavir Jain
dd24639215
Merge branch 'esp32h2/enable_ecc_accelerator' into 'master'
...
esp32h2: Enable ECC accelerator
Closes IDF-3397
See merge request espressif/esp-idf!18647
2022-06-23 20:06:26 +08:00
Sudeep Mohanty
e3e2ac979a
freertos-smp: update FreeRTOS SMP kernel
...
This commit updates the FreeRTOS SMP kernel to commit id 2eff03708
from the upstream smp branch, which is the latest as on date.
2022-06-23 11:56:20 +00:00
Mahavir Jain
9cbf34b53d
Merge branch 'bugfix/configure_link_encryption_for_charac' into 'master'
...
WifiProv: Add configuration support for forcing link encryption
Closes https://github.com/espressif/esp-idf/issues/9201
Closes IDFGH-7649
See merge request espressif/esp-idf!18620
2022-06-23 19:46:47 +08:00
Roland Dobai
6d762ec8b6
Merge branch 'fix/esptool_esp32c2_minrev' into 'master'
...
tools: Generate images for ESP32-C2 with required minimal revision
See merge request espressif/esp-idf!18633
2022-06-23 19:25:35 +08:00
Marius Vikhammer
82daa80eac
apptrace: move all apptrace related functions to IRAM
...
Closes: https://github.com/espressif/esp-idf/issues/9131
2022-06-23 16:54:24 +08:00
Darian Leung
733021ebf8
freertos: Move some SMP FreeRTOS functions to flash
...
The CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH allows some FreeRTOS functions to be placed
into flash, thus saving some IRAM. However, this feature was previously not supported for
SMP FreeRTOS.
This commit adds CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH support for SMP FreeRTOS. There
are now separate linker fragment files for IDF FreeRTOS and SMP FreeRTOS, named "linker.lf"
and "linker_smp.lf" respectively.
2022-06-23 16:00:46 +08:00
Cao Sen Miao
2c0651a671
Add regi2c enable/disable reference count
2022-06-23 15:36:44 +08:00
Cao Sen Miao
3a820462ac
temperature_sensor: Add temperature sensor support for ESP32-C2
2022-06-23 15:36:43 +08:00
Sachin Parekh
6cfc9c365f
esp32h2: Enable ECC accelerator
2022-06-23 12:59:13 +05:30
Marius Vikhammer
7e60e07a0a
Merge branch 'feature/esp8684_sha' into 'master'
...
mbedtls: enable hw support for SHA on C2
Closes IDF-3830 and IDF-5141
See merge request espressif/esp-idf!18531
2022-06-23 14:18:49 +08:00
Island
7d10f8581a
Merge branch 'feature/add_filter_seq_auth_config' into 'master'
...
Feature/add filter old seq_auth menuconfig
See merge request espressif/esp-idf!18622
2022-06-23 14:17:51 +08:00
Zim Kalinowski
dc8b1406cc
freertos: adjust rsa test timeouts for SMP
2022-06-23 07:26:00 +02:00
Zim Kalinowski
aa786b34c2
Merge branch 'feature/freertos-smp-flash-test-timeout' into 'master'
...
freertos: increase timeout for multi flash test cases
Closes IDF-5074
See merge request espressif/esp-idf!18584
2022-06-23 13:06:44 +08:00
Mahavir Jain
0a12eab32e
esp_system: move MEMPROT related configuration to soc capability header
...
Closes IDF-4506
2022-06-23 10:29:42 +05:30
Jiacheng Guo
9f47861019
openthread: update OpenThread submodule
...
* Update OpenThread to latest master
* Add required lwIP configurations to border router examples
* Fix build warnings
2022-06-23 11:33:17 +08:00
Marius Vikhammer
f4c79687f8
SHA: added hardware support for SHA on C2.
2022-06-23 11:01:16 +08:00
Marius Vikhammer
c6260e66e5
system: re-enable esp_event, real_time_stats and pthread examples and test for C2
2022-06-23 02:05:46 +00:00
Zim Kalinowski
136c873364
Merge branch 'refactor/g0_for_xtensa' into 'master'
...
G0: Support Xtensa targets for G0-only compilation
Closes IDF-3087
See merge request espressif/esp-idf!18538
2022-06-23 07:28:37 +08:00
Aditya Patwardhan
c22a67208e
Merge branch 'fix/esp_tls_timeout_issue' into 'master'
...
esp-tls: Fix esp-tls timeout issue
Closes IDF-4943
See merge request espressif/esp-idf!18323
2022-06-22 23:25:13 +08:00
Darian Leung
fa45adee3c
freertos: Update SMP FreeRTOS porting notes
2022-06-22 20:20:12 +08:00
Roland Dobai
78e6a04eae
tools: Generate images for ESP32-C2 with required minimal revision
2022-06-22 13:28:24 +02:00
Sudeep Mohanty
755789113b
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config
...
This commit increases the memory leak threshold for legacy_pcnt_driver
test from 300 bytes to 400 bytes. The test fails due to a breach of the
threshold value by 8 bytes.
2022-06-22 13:19:34 +02:00
wangjialiang
b905789dd0
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-22 08:08:28 +00:00
Jiang Jiang Jian
203c3e6e1c
Merge branch 'bugfix/fix_esp32c2_owe_support' into 'master'
...
esp_wifi: fix esp32c2 owe support
See merge request espressif/esp-idf!18610
2022-06-22 15:46:46 +08:00
weitianhua
b4aa3269e7
Change HF AG APIs' NamingMethod
...
1. Remove parameter of esp-bt_hf_init & esp_bt_hf_deinit API
2. Change API names
2022-06-22 15:34:05 +08:00
Mahavir Jain
a75548bb1a
Merge branch 'bugfix/mbedtls_custom_cert_ut' into 'master'
...
ci: Fix `custom certificate bundle` UT failure for S3
See merge request espressif/esp-idf!18574
2022-06-22 14:57:27 +08:00
Darian
e9385aa5c0
Merge branch 'bugfix/bluedroid_typos' into 'master'
...
Bluedroid: Fix breaking and non-breaking typos
Closes IDFGH-5103
See merge request espressif/esp-idf!18596
2022-06-22 14:31:50 +08:00
Rahul Tank
0dc0f8ad51
WifiProv: Extended support for configuring if link encryption is needed
...
when attempting to read / write characteristic to bluedroid stack
2022-06-22 10:17:28 +05:30
jincheng
b5d1464180
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-06-22 11:33:04 +08:00
Jiang Jiang Jian
aed2f605ff
Merge branch 'bugfix/bond_not_saved_properly_for_pairing_again' into 'master'
...
Bugfix: bond not saved properly after re-pairing
See merge request espressif/esp-idf!18328
2022-06-22 11:05:08 +08:00
Jiang Jiang Jian
0ee5cb2f4c
Merge branch 'bugfix/wifi_condition_linker_mapping' into 'master'
...
WiFi: Fix linking of WiFi functions dependent on PM_ENABLE
See merge request espressif/esp-idf!18597
2022-06-22 10:57:05 +08:00
Ivan Grokhotkov
88d2a221f1
fatfs, spiffs: add missing dependency on vfs
...
Since vfs is no longer a common component, the dependency needs to be
added explicitly.
2022-06-21 17:16:49 +02:00
morris
ac98d89ced
Merge branch 'bugfix/fix_esp32c2_does_not_support_csi_issue' into 'master'
...
Bugfix/fix esp32c2 does not support csi issue
Closes IDF-4216
See merge request espressif/esp-idf!18595
2022-06-21 22:04:21 +08:00
chenjianxing
d4d3d65898
esp_wifi: fix esp32c2 owe support
2022-06-21 20:58:10 +08:00
Onkar
f2384a4b83
Bugfix: bond not saved properly after re-pairing
2022-06-21 19:36:35 +08:00
jincheng
70d892fbb8
restore edr_en which was wrongly cleared by role switch
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
Closes https://github.com/espressif/esp-idf/issues/7923
Closes https://github.com/espressif/esp-idf/issues/8394
Closes https://github.com/espressif/esp-idf/issues/1921
2022-06-21 19:23:41 +08:00
Darian Leung
a8805e5b01
bluedroid: Fix non breaking typos
2022-06-21 19:07:25 +08:00
Darian Leung
c2e098c10e
bluedroid: Fix breaking change typos
...
This commit fixes typos that are breaking changes (i.e., macros, types, and functions)
in the bluedroid API. Migration notes for v5.0 have also been added.
Closes https://github.com/espressif/esp-idf/issues/6887
2022-06-21 19:07:25 +08:00
Aditya Patwardhan
8785d1687c
esp_tls.h: Add note regarding default timeout_ms value
2022-06-21 16:33:52 +05:30
muhaidong
96f86e0bb4
esp_wifi: esp32c2 does not support wifi mesh
2022-06-21 16:48:52 +08:00
Laukik Hase
fbeac8d43c
ci: Enable custom certificate bundle
test for ESP32-S3
...
- Increase leakage limit for `test performance RSA key operations`
UT by 64 bytes
2022-06-21 14:18:23 +05:30
morris
d178d1d58a
Merge branch 'bugfix/esp32s2_startup_garbled_output' into 'master'
...
esp_system: fix garbled UART output on startup on esp32s2
Closes IDFGH-7615
See merge request espressif/esp-idf!18549
2022-06-21 15:02:35 +08:00
Laukik Hase
ff44ff8050
mbedtls: Acquire lock before enabling MPI (RSA) hardware
...
- For ESP32-S3
2022-06-21 10:48:17 +05:30
Laukik Hase
740b9a9afe
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs
2022-06-21 04:24:19 +00:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
Darian Leung
0c895466ef
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-06-21 00:12:08 +08:00
Jiang Jiang Jian
5f9bbf71fe
Merge branch 'feature/sae_sta_h2e' into 'master'
...
SAE H2E support for STA
See merge request espressif/esp-idf!17860
2022-06-20 23:52:08 +08:00
muhaidong
b48b9beace
esp_wifi: esp32c2 does not support csi.
2022-06-20 21:47:51 +08:00
muhaidong
9a25d06b5f
esp_wifi: esp32s2 esp32c3 and esp32s3 support ftm
2022-06-20 21:47:51 +08:00
morris
865937fba3
Merge branch 'bugfix/fix_esp32c2_dose_not_support_wapi' into 'master'
...
esp_wifi: esp32c2 does not support wapi
Closes IDF-4216
See merge request espressif/esp-idf!18573
2022-06-20 21:31:54 +08:00
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30
GengYuchao
d0a1fb1802
Fix nimble repo for timer and co_count
2022-06-20 21:18:54 +08:00
GengYuchao
0184d892ef
Fix for prototype
2022-06-20 21:18:20 +08:00
Jiang Jiang Jian
cce48ded57
Merge branch 'bugfix/spp_send_data_crash' into 'master'
...
component_bt: Fix crash when spp sends data
See merge request espressif/esp-idf!18563
2022-06-20 19:56:29 +08:00
muhaidong
2ccce0ca41
esp_wifi: update comments of WI-FI CAPS in soc_caps.h
2022-06-20 19:43:16 +08:00
Omar Chebib
8fae0f0753
G0: Support Xtensa targets for G0-only compilation
...
G0-only example now supports Xtensa targets. This means that G0 layer
does not depend on G1+ layers anymore
2022-06-20 11:34:20 +00:00
Zim Kalinowski
c414d7b292
freertos: increase timeout for multi flash test cases
2022-06-20 10:25:39 +00:00
Martin Vychodil
692b9980b5
Merge branch 'feature/memprot_api_unified_s3_2' into 'master'
...
System/Security: Memprot API unified (ESP32S3)
See merge request espressif/esp-idf!16169
2022-06-20 17:34:22 +08:00
xiongweichao
90510fb597
Fix crash when sending data by spp
2022-06-20 17:12:07 +08:00
GengYuchao
1dabebf771
Fix Kconfig format issue and add option
2022-06-20 17:00:12 +08:00
GengYuchao
42d70086ae
Sync nimble fix for bt component
2022-06-20 17:00:12 +08:00
GengYuchao
6658a46478
Move tinycrypt function
2022-06-20 17:00:12 +08:00
GengYuchao
61ee34f713
Add new porting file
2022-06-20 17:00:12 +08:00
GengYuchao
7916f45d58
Update the host configuration options file. Update the osi malloc function.
2022-06-20 17:00:12 +08:00
GengYuchao
9782f86f82
update rom file for c2 controller lib
2022-06-20 17:00:12 +08:00
GengYuchao
b2f8a3c694
Update bt controller interface file
2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7
Update the CMake compilation architecture and update the controller configuration options
2022-06-20 17:00:12 +08:00
GengYuchao
d1afa7f8d5
Update ble controller lib for esp32c2
2022-06-20 17:00:12 +08:00
Darian
7756b6e2c7
Merge branch 'bugfix/esp_ipc_isr_freertos_deadlock' into 'master'
...
esp_system: Workaround esp_ipc_isr_stall_other_cpu() deadlock with SMP FreeRTOS
Closes IDF-5250 and IDF-5251
See merge request espressif/esp-idf!18565
2022-06-20 16:31:44 +08:00
Roland Dobai
b6e6adddc3
Merge branch 'refactor/change_copyright_components' into 'master'
...
components: Change copyright in components files
See merge request espressif/esp-idf!18580
2022-06-20 16:02:12 +08:00
Jakob Hasse
d7cceabbb4
Merge branch 'feature/upgrade_c_cxx_standards' into 'master'
...
build system: use C17 and C++2a by default
Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617
See merge request espressif/esp-idf!18371
2022-06-20 12:24:08 +08:00
muhaidong
6ca2804107
esp_wifi: esp32c2 does not support wapi.
2022-06-20 11:42:12 +08:00
Jing Li
6c8dc275a1
Merge branch 'refactor/improve_flash_power_down_logic' into 'master'
...
sleep: improve flash power down logic
See merge request espressif/esp-idf!17901
2022-06-20 11:05:58 +08:00
Martin Vychodil
339fcbf14d
System/Security: Memprot API unified (ESP32S3)
...
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Ondrej Kosta
26edd9b98f
Merge branch 'feature/lwip_bridge' into 'master'
...
Feature/lwip bridge
Closes IDF-4944
See merge request espressif/esp-idf!17945
2022-06-19 03:09:05 +08:00
Kapil Gupta
7fae6ce4f2
Correct SSID copy length during WPS scan
2022-06-18 13:26:48 +00:00
morris
06eb494a61
pcnt: support set the level of virtual IO
2022-06-18 15:00:37 +08:00
Sudeep Mohanty
ac5cfa78bf
Merge branch 'bugfix/freertos_smp_fix_test_preemtion' into 'master'
...
freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP
Closes IDF-5254
See merge request espressif/esp-idf!18577
2022-06-18 05:04:05 +08:00
Zim Kalinowski
d209cb3a6b
Merge branch 'bugfix/freertos_tlsp_del_cb_tests' into 'master'
...
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
Closes IDF-5252
See merge request espressif/esp-idf!18576
2022-06-18 04:05:25 +08:00
Ivan Grokhotkov
3973db7664
soc: make register access macros compatible with C++20
...
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.
Breaking change: register "setter" or modification macros can no
longer be used as expressions.
Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
simon.chupin
45482bd1c0
components: Change copyright in components files
2022-06-17 16:59:56 +02:00
Ivan Grokhotkov
9ff37d122a
esp_common: add handling for designated inits for C++20
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
9dba0476a0
asio: disable concepts support
...
The bundled version of asio uses legacy concepts syntax
(https://en.cppreference.com/w/cpp/experimental/constraints ) which is
not accepted by GCC with -std=c++20.
Disable the concepts support until asio is upgraded to a version which
supports the new syntax.
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
a2ca5d03c5
examples, components: remove C/C++ standard overrides
...
...where they are not necessary after switching to C17 and C++20.
2022-06-17 16:44:17 +02:00
Sudeep Mohanty
648f4d3a9f
freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP
...
This commit adjusts the test_preemtion yield time threshold to pass when
FreeRTOS SMP is enabled.
2022-06-17 16:03:34 +02:00
Darian Leung
97cf44cbe0
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
...
The TLSP deletion callback feature is not compatible with the CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
option. However, the "freertos_options" unit test configuration will enable that option.
This commit disables all CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP related features when compiling with
SMP FreeRTOS.
2022-06-17 21:57:11 +08:00
Aditya Patwardhan
6222d43984
protocomm: Added option to enable/disable supported security versions.
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
f2cce5fa0d
wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
...
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
eb7ff34c89
protocomm: Added SRP6a implementation as the security version 2.
...
1) Rename srp component to esp_srp
2) Remove dependency on hkdf sha
3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions
4) esp_srp: convert API return type from int to esp_err_t
5) esp_srp: Formatting changes
6) Added mbedtls_gcm instead of aes_ctr
Co-authored-by: Laukik hase <laukik.hase@espressif.com>
2022-06-17 13:16:20 +00:00
Laukik Hase
5169e22277
protocomm: Generated proto-c and python files for SRP6a scheme
...
- Added protobuf auto-generated files to pre-commit check
ignore lists
2022-06-17 13:16:20 +00:00
Alexey Gerenkov
73989eb05b
Merge branch 'feature/coredump_separate_stack_xtensa' into 'master'
...
espcoredump: allow reserving dedicated stack size for Xtensa architecture
See merge request espressif/esp-idf!18041
2022-06-17 20:29:24 +08:00
Jiang Jiang Jian
02b9aafa96
Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
...
esp_wifi: add multiphy support for c2 and fix ftm with ps issue
Closes WIFI-4468, WIFI-4464, WIFI-4467, WIFI-4463, WIFI-4456, WIFI-4459, WIFI-4460, WIFI-4474, and WIFI-4505
See merge request espressif/esp-idf!18480
2022-06-17 20:00:24 +08:00
jingli
3a908c66e6
use API instead of Kconfig
2022-06-17 19:57:47 +08:00
Sudeep Mohanty
089d88da77
Merge branch 'bugfix/freertos_smp_build_test_failures' into 'master'
...
freertos-smp: Fix build test issues for s2, s3, c3 with FreeRTOS SMP enabled
See merge request espressif/esp-idf!18564
2022-06-17 19:53:54 +08:00
Jiang Jiang Jian
9e40841483
Merge branch 'bugfix/fix_some_memory_leak_in_phy' into 'master'
...
fix the bug that some memory leaked in phy after wifi/ble deinit
Closes IDFGH-6820
See merge request espressif/esp-idf!18548
2022-06-17 18:31:30 +08:00
Ivan Grokhotkov
a22730c914
esp_system: fix garbled UART output on startup on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/9168
2022-06-17 12:09:07 +02:00
jingli
824e0ddca8
improve flash power down logic
2022-06-17 18:01:43 +08:00
Darian Leung
95955ed170
esp_system: Workaround esp_ipc_isr_stall_other_cpu() deadlock with SMP FreeRTOS
...
SMP FreeRTOS uses a single kernel lock for all critical sections. There is a known
issue with esp_ipc_isr_stall_other_cpu() that can cause dead if the other CPU is
already in a critical section.
This commit adds a temporary workaround to reduce the chance of deadlock by taking
the SMP FreeRTOS kernel lock first before stalling the other CPU.
See IDF-5257 for more details.
2022-06-17 15:37:07 +08:00
Sudeep Mohanty
c5d6f97331
freertos-smp: Fix build test errors for esp32s2 and esp32s3
...
This commit fixes build test errors for esp32s2 and esp32s3 with
FreeRTOS SMP enabled.
2022-06-17 09:21:46 +02:00
Roland Dobai
a988cc9a64
Merge branch 'tools/csv_handling_overhaul' into 'master'
...
tools: Overhaul csv handling for mfg_gen and nvs_partition_gen
Closes IDFGH-5434
See merge request espressif/esp-idf!18365
2022-06-17 15:20:50 +08:00
Sudeep Mohanty
55f1eca248
freertos-smp: Fix build test errors for esp32c3
...
This commit fixes build test failures for esp32c3.
2022-06-17 09:18:46 +02:00
Sudeep Mohanty
7726f343e8
freertos-smp: Update prvYieldCore() to fix compile warning
...
prvYieldCore() leads to an array-out-of-bounds error when compiled with
-Os optimization and configNUM_CORES = 1. This commit avoids this
compile warning by compiling out the part of code which is unnecessary
when configNUM_CORES is 1.
2022-06-17 09:11:02 +02:00
Konstantin Kondrashov
7f109b8181
Merge branch 'bugfix/adds_iram_attr_for_efuse_apis' into 'master'
...
bootloader_efuse: Adds IRAM_ATTR for efuse API
Closes IDFGH-7601
See merge request espressif/esp-idf!18517
2022-06-17 13:24:41 +08:00
Jack
cb0dd5cc75
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-16 20:42:20 +08:00
muhaidong
820bfe9cd8
esp_wifi: fix ftm with ps and add multiphy support for c2
...
1. sleep: fix potential issue when PSRAM enable.
2. esp32c2: add multiphy support.
3. ftm: workaround for ftm with ps.
4. add regdomain max channel of ap.
5. update total scan time.
6. update min chan when country policy is auto.
7. check whether country schan and nchan is valid.
2022-06-16 20:11:22 +08:00
Jiang Jiang Jian
da54350570
Merge branch 'feature/OWE_sta' into 'master'
...
WPA3 OWE support for station
See merge request espressif/esp-idf!16443
2022-06-16 15:33:22 +08:00
Zim Kalinowski
3f2411c691
Merge branch 'bugfix/freertos_smp_disable_pm_tests' into 'master'
...
freertos: Disable esp_pm when SMP FreeRTOS is enabled
Closes IDF-5103, IDF-5104, and IDF-5127
See merge request espressif/esp-idf!18363
2022-06-16 15:11:11 +08:00
Ivan Grokhotkov
c38810e268
Merge branch 'bugfix/s3_increase_static_alloc_size' into 'master'
...
bootloader, esp_system: increase static allocation space for esp32s3
See merge request espressif/esp-idf!18045
2022-06-16 15:06:10 +08:00
morris
381b4cb26f
Merge branch 'bugfix/undefined_dport_lvl_def' into 'master'
...
soc(esp32): Expose SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL for all ECO versions
Closes IDFGH-7606
See merge request espressif/esp-idf!18520
2022-06-16 15:00:24 +08:00
Mahavir Jain
519737823c
Merge branch 'bugfix/low_wifi_throughput_udp' into 'master'
...
ci, test: temporary adjust IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT limit
Closes IDFCI-1302
See merge request espressif/esp-idf!18522
2022-06-16 14:48:57 +08:00
Kapil Gupta
6212a50edd
wpa_supplicant: Add debug info for eloop functions
2022-06-16 10:36:34 +05:30
Omar Chebib
752026a174
Merge branch 'refactor/remove_g0_dep_on_g1_riscv' into 'master'
...
G0: RISC-V targets have now an independent G0 layer
See merge request espressif/esp-idf!17926
2022-06-16 11:53:39 +08:00
Djordje Nedic
bbc3add0e3
tools: overhaul csv handling for mfg_gen and nvs_partition_gen
...
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.
The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.
This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.
Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-15 12:31:49 +00:00
Ivan Grokhotkov
8ee3decdba
bootloader, esp_system: increase static allocation space for esp32s3
...
The previously used splits between memory allocated for ROM code,
2nd stage bootloader and the app were somewhat safe and conservative.
This resulted in some space being unavailable for static allocation
in the app.
This commit increases the space available for static allocation to the
maximum possible amount.
1. Some of the ROM code static allocation is only used in UART/USB/SPI
download modes. This region ("shared buffers") has been placed at
the lower end of ROM memory area, to be reusable in flash boot
mode. The 2nd stage bootloader linker script is modified to "pack"
all sections exactly up to the end but with roughly 8K margin between
startup stacks.
2. Instead of calculating the sections placement and hardcoding the
addresses in the LD script again, rewrite it to calculate the
start address of each memory region automatically based on the
logic above.
3. Adjust the app memory layout (SRAM_IRAM_END) accordingly,
increasing the space available for static allocation.
Overall these changes increase the space available for static
allocation by about 78kB.
The downside of these changes is that the 2nd stage bootloader .data
segment is now directly adjacent to the startup stack on the PRO CPU.
Previously, there was effectively about 78kB of extra stack space for
the PRO CPU, before the stack would run into the data segment.
2022-06-15 17:57:11 +05:30
Darian Leung
434287fc8b
freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame
...
The Xtensa FreeRTOS port does not save the threadptr register when
doing a voluntary yield. This can result in a crash when multiple
tasks used the threadptr register and call "taskYIELD()".
This commit adds the threadptr register to the solicited stack frame.
2022-06-15 20:20:41 +08:00
Shyamal Khachane
6d55761f60
OWE support for station
2022-06-15 17:20:24 +05:30
Armando (Dou Yiwen)
0b80546f8e
Merge branch 'feature/new_esp_psram_component' into 'master'
...
esp_psram: new esp psram component
Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192
See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Roland Dobai
62fe93f9ad
Merge branch 'fix/flash_detect_new_project' into 'master'
...
tools: Rename the flash size detection kconfig option
Closes IDFGH-7593
See merge request espressif/esp-idf!18505
2022-06-15 19:14:38 +08:00
Zim Kalinowski
e55ca17fb6
Merge branch 'feature/enable_freertos_smp_on_c2_and_h2' into 'master'
...
freertos-smp: enable FreeRTOS SMP for all targets
Closes IDF-5233
See merge request espressif/esp-idf!18506
2022-06-15 18:55:11 +08:00
Jakob Hasse
27bb68f2d3
Merge branch 'refactor/rename_bootloader_private_include_dir' into 'master'
...
bootloader_support: rename include_bootloader/ -> private_include/
See merge request espressif/esp-idf!18475
2022-06-15 18:46:30 +08:00
Anton Maklakov
8a6c36ada4
ci, test: temporary adjust IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT limit
2022-06-15 17:19:24 +07:00
KonstantinKondrashov
f428a241c6
soc(esp32): Expose SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL for all ECO versions
...
It fixes a build issue when ESP32_ECO3_CACHE_LOCK_FIX=y
Closes https://github.com/espressif/esp-idf/issues/9160
2022-06-15 17:42:21 +08:00
Zim Kalinowski
ce098ecea8
Merge branch 'feature/freertos-smp-adjust-performance-thresholds' into 'master'
...
freertos: adjust freertos smp performance thresholds
See merge request espressif/esp-idf!18389
2022-06-15 17:23:00 +08:00
Darian Leung
546a7fc495
esp_pm: Disable esp_pm when SMP FreeRTOS is enabled
...
SMP FreeRTOS currently does not support power management yet. This
commit makes SMP FreeRTOS and esp_pm mutually exclusive.
2022-06-15 16:17:59 +08:00
Michael (XIAO Xufeng)
7c7d53813c
Merge branch 'feat/revert_touch_s3' into 'master'
...
touch: Added support for using touch in sleep modes back on ESP32-S3
Closes IDF-5041
See merge request espressif/esp-idf!18421
2022-06-15 16:11:50 +08:00
KonstantinKondrashov
c4bdcf3207
bootloader_efuse: Adds IRAM_ATTR for efuse API
...
Fixes startup of app for case:
bootloader with 40Mhz and app with 80Mhz (ESPTOOLPY_FLASHFREQ)
Closes https://github.com/espressif/esp-idf/issues/9156
2022-06-15 15:48:41 +08:00
Jiang Jiang Jian
20e5a989a2
Merge branch 'feature/esp32c2_support_ble_sleep' into 'master'
...
Support ESP32C2 BLE modem sleep and lightsleep
See merge request espressif/esp-idf!18432
2022-06-15 15:39:55 +08:00
Jing Li
074c708cf0
Merge branch 'refactor/simplify_code_for_time_compensation_when_sleep' into 'master'
...
system/sleep: simplify code for time compensation when wakeup from light sleep
See merge request espressif/esp-idf!18491
2022-06-15 14:38:40 +08:00
Kevin (Lao Kaiyao)
bb30edf35a
Merge branch 'refactor/i2s_driver_rewrite' into 'master'
...
🔨 i2s: i2s driver-NG
Closes IDF-3714 and IDF-4592
See merge request espressif/esp-idf!15175
2022-06-15 14:22:58 +08:00
Mahavir Jain
0f8d149525
Merge branch 'feature/enable_mbedtls_tests_for_c2' into 'master'
...
mbedtls: enable all tests except SHA for ESP32-C2
See merge request espressif/esp-idf!18372
2022-06-15 12:53:05 +08:00
morris
d421f26562
Merge branch 'bugfix/update_gpio_intr_enable_note' into 'master'
...
Update the note of the gpio_intr_enable function
See merge request espressif/esp-idf!18488
2022-06-15 11:16:58 +08:00
Jiang Jiang Jian
60327aeea4
Merge branch 'bugfix/avdtp_genreal_reject_format_error' into 'master'
...
component_bt: Fix AVDTP general reject format error
See merge request espressif/esp-idf!17636
2022-06-15 11:07:55 +08:00
Jiang Jiang Jian
49c53dbe03
Merge branch 'feature/update_hfp_ag_version' into 'master'
...
component_bt: Update hfp_ag version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!18329
2022-06-15 11:05:36 +08:00
Armando (Dou Yiwen)
1b63128237
Merge branch 'contrib/github_pr_9133' into 'master'
...
driver(spi): fix flag check in bus initialization (GitHub PR)
Closes IDFGH-7574
See merge request espressif/esp-idf!18462
2022-06-15 10:59:42 +08:00
ioio
a759e00958
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
...
Added unit test case.
Closes https://github.com/espressif/esp-idf/pull/8755
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-06-15 10:38:56 +08:00
laokaiyao
28b8fc6a7e
i2s: update documents for driver-NG
2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7
i2s: update examples and unit-tests
2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942
i2s: Introduced a brand new driver
2022-06-15 10:29:06 +08:00
Roland Dobai
d56c578ddb
tools: Rename the flash size detection kconfig option
...
9c46c98b4c
have changed the default value
of ESPTOOLPY_FLASHSIZE_DETECT. As the side effect, existing
projects (having the option still enabled) started to discard the SHA256 digest.
Rename the ESPTOOLPY_FLASHSIZE_DETECT option so existing projects would
have the value disabled by default.
Closes https://github.com/espressif/esp-idf/issues/9148
2022-06-14 15:56:20 +02:00
Ondrej Kosta
53082a22f7
esp_netif: added support for LwIP bridge
...
examples: created bridge example
2022-06-14 15:29:44 +02:00
Darian
e213e66ba3
Merge branch 'refactor/esp_hw_support_cpu' into 'master'
...
esp_hw_support: Add new esp_cpu.h abstraction
Closes IDF-4769
See merge request espressif/esp-idf!17091
2022-06-14 21:11:30 +08:00
zwj
a9509ec34c
disable BT_BLE_RPA_SUPPORTED by default and enabled by default for other chips
2022-06-14 19:57:07 +08:00
Sudeep Mohanty
472729a513
freertos-smp: enable FreeRTOS SMP for all targets
...
This commit enables FreeRTOS SMP for esp32s2, esp32s3, esp32c2 and
esp32h2.
2022-06-14 13:53:30 +02:00
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
morris
919344547b
Merge branch 'bugfix/rmt_register_file_s3' into 'master'
...
rmt: update register file after fixing csv of RMT peripheral (esp32s2/s3)
Closes IDFGH-7537
See merge request espressif/esp-idf!18392
2022-06-14 18:24:28 +08:00
Jakob Hasse
84082d365b
refactor (bootloader_support): include_bootloader/ -> private_include/
2022-06-14 17:27:50 +08:00
Tomas Rezucha
6ba7b10302
Merge branch 'fix/usb/buffer_sizes' into 'master'
...
usb: TinyUSB buffer sizes
Closes IDFGH-7469
See merge request espressif/esp-idf!18359
2022-06-14 17:23:52 +08:00
Michael (XIAO Xufeng)
7b8e5888ca
Merge branch 'refactor/add_clk_tree_ll' into 'master'
...
clk_tree: Stage3 - HAL for clock subsystem
Closes IDF-4334
See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Jiang Jiang Jian
3cb6abee3c
Merge branch 'bugfix/hal_assert_spelling' into 'master'
...
HAL: fix kconfig HAL_ASSERTION typo
See merge request espressif/esp-idf!18482
2022-06-14 16:24:25 +08:00
Jiang Jiang Jian
4e33239474
Merge branch 'feature/remove_back_compatible_with_s3beta_rom' into 'master'
...
spi_flash: remove back-compatible with caller function of S3Beta ROM
See merge request espressif/esp-idf!18492
2022-06-14 16:22:08 +08:00
Armando
26df228b11
psram: fix esp32/esp_psram_impl_quad memcpy out of bounds issue
2022-06-14 15:44:27 +08:00
Armando
cdad8a02fe
esp_psram: remove g_spiram_ok
2022-06-14 15:44:27 +08:00
Armando
38e5043ae8
esp_psram: new psram component
2022-06-14 15:44:27 +08:00
Darian
135480396a
Merge branch 'bugfix/spi_should_use_early_log' into 'master'
...
SPI: Fix incorrect log usage
See merge request espressif/esp-idf!17017
2022-06-14 15:24:37 +08:00
Omar Chebib
2fd784c97a
G0 RISC-V: Remove "private_include/regi2c_brownout.h" header as it has been moved and simplify "regi2c_ctrl.h"
2022-06-14 15:00:53 +08:00
Omar Chebib
5bcd9b2db8
G0: RISC-V targets have now an independent G0 layer
...
G0 doesn't depend on any G1+ layer for RISC-V based targets
2022-06-14 15:00:53 +08:00
jingli
30e7af2ffb
system/sleep: simplify code for time compensation when wakeup from light sleep
2022-06-14 14:49:26 +08:00
Darian Leung
a8a3756b38
hal: Route CPU and Interrupt Controller HAL/LL to esp_cpu calls
...
This commit makes changes to cpu_ll.h, cpu_hal.h, and interrupt_controller_hal.h:
- Moved to esp_hw_support in order to be deprecated in the future
- HAL/LL API now route their calls to esp_cpu.h functions instead
Also updated soc_hal.h as follows:
- Removed __SOC_HAL_..._OTHER_CORES() macros as they dependend on cpu_hal.h
- Made soc_hal.h and soc_ll.h interfaces always inline, and removed soc_hal.c.
This commit also updates the XCHAL_ERRATUM_572 workaround by
- Removing it's HAL function and invoking the workaround it directly the bootloader
- Added missing workaround for the ESP32-S3
2022-06-14 14:40:03 +08:00
Darian Leung
149872131a
hal: Move dedicated GPIO LL and HAL
...
This commit moves the dedicated GPIO LL and HAL functions from
cpu_ll.h to dedic_gpio_cpu_ll.h.
- cpu_ll_enable_cycle_count() has also been removed due to lack of feasible usage scenarios
2022-06-14 14:38:29 +08:00
Mahavir Jain
4e4d0a5011
Merge branch 'bugfix/psram_startup_crash' into 'master'
...
psram: Fix startup crash when `CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0`
Closes IDFGH-6938
See merge request espressif/esp-idf!17543
2022-06-14 14:36:47 +08:00
Darian Leung
61eb7baa6b
esp_hw_support: Add esp_cpu.h abstraction and API
...
This commit updates the esp_cpu.h API. The new API presents a new
abstraction of the CPU where CPU presents the following interfaces:
- CPU Control (to stall/unstall/reset the CPU)
- CPU Registers (to read registers commonly used in SW such as SP, PC)
- CPU Interrupts (to inquire/allocate/control the CPUs 32 interrupts)
- Memory Port (to configure the CPU's memory bus for memory protection)
- Debugging (to configure/control the CPU's debugging port)
Note: Also added FORCE_INLINE_ATTR to the DoxyFile in order to pass doc
builds for esp_cpu.h
2022-06-14 14:30:58 +08:00
Darian Leung
556ec30457
esp_hw_support: Rename cpu_util.c to cpu.c
2022-06-14 14:30:57 +08:00
jiangguangming
0e8401e9b0
spi_flash: remove back-compatible with caller function of S3Beta ROM
2022-06-14 11:25:30 +08:00
xiongweichao
82730166aa
Update the note of the gpio_intr_enable function
2022-06-14 10:44:02 +08:00
TDA2030
09c192c7f1
rgb_lcd: optimise rgb_panel_draw_bitmap
...
by using memcpy instead of coping in a nested for loop
2022-06-14 02:20:47 +00:00
morris
b2bb8fd3c4
rgb_lcd: support update pclk at runtime
2022-06-14 02:20:47 +00:00
morris
843279d287
rgb_lcd: support fractional clock divisor
2022-06-14 02:20:47 +00:00
Sudeep Mohanty
302c548bb0
Merge branch 'feature/freertos_smp_enable_riscv_port' into 'master'
...
freertos-smp: add support for RISC-V targets on FreeRTOS SMP
See merge request espressif/esp-idf!18128
2022-06-14 04:17:54 +08:00
Sudeep Mohanty
ff185f737c
Merge branch 'refactor/freertos_yielding_tests' into 'master'
...
freertos: refactor yield tests for freertos
Closes IDF-3343, IDFCI-1250, IDFCI-1251, IDFCI-1252, IDFCI-1253, IDFCI-1254, IDFCI-1255, and IDFCI-1256
See merge request espressif/esp-idf!18369
2022-06-13 22:33:40 +08:00
Konstantin Kondrashov
7d942e0a5d
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst' into 'master'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0
Closes IDF-3702
See merge request espressif/esp-idf!14742
2022-06-13 21:26:13 +08:00
Laukik Hase
914b0de764
freertos: Indicate completed initialization for APP CPU with idle task hook
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2022-06-13 17:17:42 +05:30
Sudeep Mohanty
12e2312aaa
freertos: FreeRTOS SMP RISC-V port cleanup and enable esp32c3 in KConfig
...
This commit does general cleanup of the risc-v port files and restricts
FreeRTOS SMP config option to only esp32 and esp32c3.
2022-06-13 13:39:16 +02:00
Darian Leung
71eef9a9b0
freertos: Fix SMP RISC-V Port IDF Style critical sections
...
Previously the RV port was routing IDF style critical section API to call FreeRTOS style critical section API.
For example, a call to "portENTER_CRITICAL(mux)" would eventually call `vTaskEnterCritical()" via the following call flow:
- portENTER_CRITICAL(mux)
- vPortEnterCritical()
- portSET_INTERRUPT_MASK_FROM_ISR()
- vTaskEnterCritical()
This commit fixes the IDF style critical section by making sure that they are completely orthogonal to FreeRTOS critical sections
2022-06-13 13:34:21 +02:00
Sudeep Mohanty
8fd953c627
freertos-smp: add support for RISC-V targets oon FreeRTOS SMP
...
TBD: Initial commit. Enables risc-v port.
2022-06-13 13:34:21 +02:00
Rahul Tank
835aec1152
Merge branch 'bugfix/mbedtls_free_keypair' into 'master'
...
Nimble: Fixed memory leak while generating keypair using embedtls
See merge request espressif/esp-idf!18322
2022-06-13 17:50:34 +08:00
songruojing
6f6251f369
hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent)
2022-06-13 17:47:51 +08:00
songruojing
03477a59db
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
1. make sure 8md256 clk is enabled before calibration
2. improve bootloader and application startup 8m, 8md256 enable logic
2022-06-13 17:47:51 +08:00
songruojing
c8752cee6a
clk_tree: Refactor rtc_clk.c by adding HAL layer for clock subsystem
2022-06-13 17:47:50 +08:00
Mahavir Jain
52769051e2
Merge branch 'bugfix/fix_ws_ping_receive' into 'master'
...
fix(websocket): Support handler deal with PING and CLOSE frame
Closes IDFGH-7209
See merge request espressif/esp-idf!18065
2022-06-13 17:23:38 +08:00
Sudeep Mohanty
9a53a4abf1
freertos: refactor yield tests for freertos
...
This commit refactors the yield test scenarios for a more deterministic
prediction of the kernel's yielding behavior.
2022-06-13 10:57:55 +02:00
Marius Vikhammer
e18f381905
HAL: fix kconfig HAL_ASSERTION typo
2022-06-13 16:19:28 +08:00
Martin Vychodil
7f884dc966
Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master'
...
fatfs: Add option to mock ff_sdmmc_status output to increase IO speed
Closes IDF-4788
See merge request espressif/esp-idf!18300
2022-06-13 14:42:12 +08:00
David Čermák
a6980a6b6a
Merge branch 'bugfix/mqtt_host_test' into 'master'
...
MQTT: Fix compilation of networking host tests
Closes IDF-4286
See merge request espressif/esp-idf!18099
2022-06-13 13:13:00 +08:00
Rahul Tank
2b097995bc
Merge branch 'bugfix/fix_compilation_issue_esp32h2' into 'master'
...
NimBLE: fix compilation issue in nimble examples for ESP32H2
See merge request espressif/esp-idf!18438
2022-06-13 12:33:49 +08:00
Matus Fabo
384d61f156
remove: sdspi_host deprecated api
...
add: migration guide documentation
2022-06-12 20:07:27 +00:00
Michael (XIAO Xufeng)
f522865462
Revert "touch: add protection for touch sleep case"
...
This reverts commit 974ac3b4b8
.
2022-06-13 01:51:15 +08:00
Michael (XIAO Xufeng)
069ef38ff6
Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
...
This reverts commit a84faa3cef
.
2022-06-13 01:51:12 +08:00
David Cermak
877eb62602
mqtt: Update tests to start with valid transport
2022-06-11 14:23:35 +02:00
David Cermak
0aea4bf50d
mqtt: Fix client_enqueue(len=0), Improve transport memory
...
* Update submodule: git log --oneline 64f88b4412ea6649dbf207a07370c2617160d044..a21c387d6280260894981c22494017c893d505b9
Detailed description of the changes:
* mqtt_client: Added checks for cleanly-closed connection and timeout
- See merge request espressif/esp-mqtt!118
- Added checks for cleanly-closed connection and timeout (espressif/esp-mqtt@e05d873 )
* mqtt_client: fix esp_mqtt_client_enqueue for len=0 (GitHub PR)
- See merge request espressif/esp-mqtt!135
- mqtt_client: fix esp_mqtt_client_enqueue for len=0 (espressif/esp-mqtt@69b6493 )
* Fix implicit malloc/free inclusion
- See merge request espressif/esp-mqtt!134
- See commit https://github.com/espressif/esp-mqtt/commit/9299f54
* feat(mqtt): Optimize mqtt transport list and remove unused transport
- See merge request espressif/esp-mqtt!131
- See commit https://github.com/espressif/esp-mqtt/commit/647e0ef
* Fix WSS default port selection through menuconfig.
- See merge request espressif/esp-mqtt!132
- - Closes https://github.com/espressif/esp-mqtt/issues/223
- See commit https://github.com/espressif/esp-mqtt/commit/f6caaff
2022-06-11 14:23:35 +02:00
David Cermak
1ad3e2db17
mqtt: Fix and add mqtt host test to CI
2022-06-11 14:23:30 +02:00
David Čermák
2c1f7a044e
Merge branch 'bugfix/esp_netif_clean_deps' into 'master'
...
esp-netif: Make dependency on esp-eth optional
Closes IDF-4459
See merge request espressif/esp-idf!17980
2022-06-11 14:12:52 +08:00
Mitch Bradley
8d9e110a04
Reverts Backtrace: format to what it used to be
...
Was: Backtrace: N:M N:M N:M ...
Now: Backtrace:N:MN:M N:M ...
The problem with the new format is that it is hard to parse and
breaks the parser that is used by PlatformIO. The old format
is much more reasonable. I do not see how the pattern in IDFDUT.py
can work with the new format, due to the missing space after the :
2022-06-10 18:33:46 -10:00
Mahavir Jain
bb11770e38
Merge branch 'bugfix/low_wifi_throughput' into 'master'
...
ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit
Closes IDFCI-1302
See merge request espressif/esp-idf!18437
2022-06-10 19:28:36 +08:00
morris
4094f13fd3
rmt: fix error in rmt register file
...
Closes https://github.com/espressif/esp-idf/issues/9100
2022-06-10 18:38:42 +08:00
Mahavir Jain
fc43533859
mbedtls: enable all tests except SHA for ESP32-C2
2022-06-10 15:08:06 +05:30
Martin Vychodil
aa2cf79e13
Merge branch 'bugfix/fatfs_mtime_dst' into 'master'
...
fatfs: fix incorrect mtime returned for files created during DST
Closes IDFGH-7467
See merge request espressif/esp-idf!18333
2022-06-10 17:18:01 +08:00
Roland Dobai
724b4121b9
Merge branch 'feature/enable-lfn-for-fatfsparse' into 'master'
...
fatfs: enable long file names for fatfsparse.py
Closes IDF-4992
See merge request espressif/esp-idf!18212
2022-06-10 16:22:45 +08:00
Li Kun Qiao
20f5e180ee
Merge branch 'support/esp32h2beta1_beta2_lib_update' into 'master'
...
ieee802154: update 802154 lib for supporting H2-beta1 and beta2
See merge request espressif/esp-idf!18442
2022-06-10 15:22:42 +08:00
Jiang Jiang Jian
70d7a362db
Merge branch 'feature/wifi_beacon_loss_optimize' into 'master'
...
WiFi: beacon loss and noise check timer optimize for wifi power save
See merge request espressif/esp-idf!18447
2022-06-10 13:28:50 +08:00
Martin Vychodil
16a4ee7c36
Merge branch 'bugfix/spi_mode_status_check' into 'master'
...
sdmmc, sdspi: fixes related to status checks, R1b response support, erase fix for SPI mode, fix for erase timeout calculation
Closes IDF-4728
See merge request espressif/esp-idf!17727
2022-06-10 13:15:47 +08:00
Armando
44f771c713
psram: support s3 copy flash to psram
2022-06-10 10:39:29 +08:00
morris
5daa73d236
Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
...
mcpwm: don't support disable carrier one-shot pulse
Closes IDFGH-7406
See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Simon
6ad7558ec1
Merge branch 'feature/esp32c2_configurable_mmu_new' into 'master'
...
MMU: add configurable MMU page size support (For ESP32C2)
Closes IDF-3821
See merge request espressif/esp-idf!17854
2022-06-10 10:20:49 +08:00
Adam Múdry
8af790da45
fatfs: Add mock option to ff_sdmmc_status function to increase IO speed
...
Adds `disk_status_check_enable` field to `esp_vfs_fat_mount_config_t` struct to control if ff_sdmmc_status is mocked or not.
2022-06-09 20:09:32 +00:00
Martin Vychodil
3e78898d2c
Merge branch 'bugfix/spiffs_readdir_errno' into 'master'
...
spiffs: update submodule to fix SPIFFS_readdir errno issue
See merge request espressif/esp-idf!18366
2022-06-10 03:53:08 +08:00
Ivan Grokhotkov
39238f51ce
fatfs: fix incorrect mtime returned for files created during DST
...
mktime function uses tm_isdst member as an indicator whether the time
stamp is expected to be in daylight saving time (1) or not (0).
FAT filesystem uses local time as mtime, so no information about DST
is available from the filesystem.
According to mktime documentation, tm_isdst can be set to -1, in which
case the C library will try to determine if DST was or wasn't in
effect at that time, and will set UTC time accordingly.
Note that the conversion from UTC to local time and then back to UTC
(time_t -> localtime_r -> FAT timestamp -> mktime -> time_t) does not
always recover the same UTC time. In particular, the local time in the
hour before DST comes into effect can be interpreted as "before DST"
or "after DST", which would correspond to different UTC values. In
this case which option the C library chooses is undefined.
Closes https://github.com/espressif/esp-idf/issues/9039
Originally reported in https://github.com/espressif/arduino-esp32/issues/6786
2022-06-09 19:50:00 +00:00
Roland Dobai
a280ecd83a
Merge branch 'bugfix/esptool_flash_autodetect_build_issue' into 'master'
...
esptool: fix elf2image conversion with "--dont-append-digest"
See merge request espressif/esp-idf!18444
2022-06-09 23:26:46 +08:00
Yannis Huber
3397cf465d
driver(spi): fix flag check in bus initialization
...
The current flag check in the SPI bus initialization is wrong and
causes exceptions when using certain SPI hosts in quad transfert mode.
2022-06-09 17:20:30 +02:00
Martin Gaňo
0f160c8f11
fatfs: enable long file names for fatfsparse.py
2022-06-09 15:51:03 +02:00
Aditya Patwardhan
815935b01e
Merge branch 'ci/esp32c2_protocomm_ut' into 'master'
...
ci: Re-enable protocomm UTs for ESP32-C2
Closes IDF-5143
See merge request espressif/esp-idf!18394
2022-06-09 21:34:32 +08:00
likunqiao
41592e146a
ieee802154: update 802154 lib for supporting H2-beta1 and beta2
2022-06-09 13:13:20 +00:00
Shu Chen
3df100662c
Merge branch 'bugfix/rom_time_t_size_deps_esp32h2beta2' into 'master'
...
esp_rom: deprecate some esp32h2beta2 rom newlib funcs
See merge request espressif/esp-idf!18440
2022-06-09 20:56:09 +08:00
KonstantinKondrashov
5ec9baff36
efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort
2022-06-09 17:49:03 +08:00
KonstantinKondrashov
46f0313d6b
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-09 17:49:03 +08:00
Tomas Rezucha
5d202aa401
usb: Clean-up TinyUSB unnecessary code
2022-06-09 10:56:39 +02:00
Tomas Rezucha
d1d9b8f8f6
usb: Fixed RX buffer min size
...
Closes https://github.com/espressif/esp-idf/issues/9040
2022-06-09 10:56:39 +02:00
David Cermak
fd366fac9e
esp_eth: Remove deprecated esp_eth_receive()
2022-06-09 07:55:40 +00:00
David Cermak
343cf2696e
esp_eth: Reduce internal deps onto netif-glue
2022-06-09 07:55:40 +00:00
David Cermak
5e19b9c951
esp-netif: Make dependency on esp-eth optional
...
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
David Cermak
680f3a50c2
esp_eth: Rename drivers main header to esp_eth_driver
...
The original would be used as API header bringing both driver and netif related includes
2022-06-09 07:55:40 +00:00
Li Shuai
7efa8b855a
sleep: beacon loss and noise check timer optimize for wifi power save
2022-06-09 15:52:05 +08:00
morris
83eb2c4964
Merge branch 'bugfix/newlib_test_gcc11_esp32c2' into 'master'
...
newlib: ROM library is built with time_t 64bit in size
Closes IDFCI-1305 and IDFCI-1306
See merge request espressif/esp-idf!18424
2022-06-09 15:37:02 +08:00
Zim Kalinowski
56f2c86dd4
freertos: adjust performance test thresholds for SMP
2022-06-09 09:25:40 +02:00
David Čermák
f9c8d635c5
Merge branch 'feature/tcp_transport' into 'master'
...
tcp_transport: optimize memory
See merge request espressif/esp-idf!18102
2022-06-09 15:25:08 +08:00
Mahavir Jain
7dc0a1db18
esptool: fix elf2image conversion with "--dont-append-digest"
...
Append elf2image args so that "--dont-append-digest" do not override earlier
flash settings.
This was observed in case of ESP32-C2 image build where image build was failing
with `CONFIG_ESPTOOLPY_FLASHSIZE_DETECT`.
Related from earlier commit: 9c46c98b4c
2022-06-09 12:19:09 +05:30
Rahul Tank
0395078a06
NimBLE: fix compilation issue in nimble examples for ESP32H2
2022-06-09 10:57:31 +05:30
Marius Vikhammer
08c4984773
Merge branch 'bugfix/s3_psram_spinlock' into 'master'
...
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
Closes IDF-5169, IDFGH-7560, and IDF-5007
See merge request espressif/esp-idf!18425
2022-06-09 13:02:18 +08:00
Laukik Hase
872f8513fb
ci: Re-enable protocomm UTs for ESP32-C2
2022-06-09 09:55:09 +05:30
morris
6eb450fa87
newlib: ROM library is build with time_t 64bit on esp32c2
2022-06-09 10:48:31 +08:00
wuzhenghui
89319cd72f
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers for esp32h2-beta2
2022-06-09 10:40:09 +08:00
Marius Vikhammer
c8c2e78096
Merge branch 'bugfix/s3_sleep_voltage_enable_ulp' into 'master'
...
ulp: re-enable support, example and CI jobs for S2 and S3
Closes IDF-4514, IDFGH-7075, and IDFGH-7531
See merge request espressif/esp-idf!18308
2022-06-09 10:20:25 +08:00
Li Jingyi
21d65931fc
tcp_transport: add websocket dynamic buffer feature
...
Free websocket transport buffer when connection succeed to save peak heap cost about WS_BUFFER_SIZE.
2022-06-08 19:13:25 +00:00
Anton Maklakov
da3fa37d66
ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit
2022-06-08 19:51:06 +07:00
Cao Sen Miao
6589daabb9
MMU: Add configurable mmu page size support on ESP32C2
2022-06-08 19:34:31 +08:00
Darian Leung
a65165dd52
hal: Fix incorrect spi_hal log usage
...
esp_flash_init_main() can be during startup before the OS has started, thus should use
the EARLY version of logging.
2022-06-08 19:19:44 +08:00
Anton Maklakov
a343ab813c
spiffs, tests: increase stack size for a test
2022-06-08 17:07:53 +07:00
Marius Vikhammer
6e79cc69f9
re-enable riscv ulp gpio support and examples
...
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
Marius Vikhammer
9c4a12b11e
Revert "ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V"
...
This reverts commit f709faea7c
.
2022-06-08 17:59:07 +08:00
Anton Maklakov
763deaea3c
freertos, tests: increase stack size for a test
2022-06-08 16:45:31 +07:00
Zim Kalinowski
20bbfa128c
Merge branch 'bugfix/freertos_smp_gcc11_build_errors' into 'master'
...
freertos: Fix GCC 11 SMP FreeRTOS build errors
See merge request espressif/esp-idf!18399
2022-06-08 16:29:58 +08:00
yuanjm
b9b1a7aba8
fix(websocket): Support handler deal with PING and CLOSE frame
...
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
Marius Vikhammer
486316f222
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
...
The compare and set instruction (S32C1I) cannot be used when
lock is not in internal memory.
Closes https://github.com/espressif/esp-idf/issues/9120
2022-06-08 14:31:16 +08:00
Fu Hanxi
da947e2544
Merge branch 'test/remove_rtc_power_pytest' into 'master'
...
test_rtc: remove invalid test case file
See merge request espressif/esp-idf!18374
2022-06-07 23:56:28 +08:00
Kapil Gupta
bb23d783c0
Merge branch 'bugfix/sta_rejoin_softap_mode_issue' into 'master'
...
wpa_supplicant: Add changes to deinit sta_info correctly
Closes WIFI-4441
See merge request espressif/esp-idf!18395
2022-06-07 21:47:14 +08:00
Wang Meng Yang
e2bc3f865e
Merge branch 'bugfix/uninitialized-element' into 'master'
...
component_bt:initialize all elements of esp_bt_controller_config_t
Closes IDFGH-7506
See merge request espressif/esp-idf!18343
2022-06-07 17:24:39 +08:00
xiongweichao
d52cb7d6e4
update hfp_ag version to 1.7.2
2022-06-07 17:17:03 +08:00
Darian Leung
3c6185788f
freertos: Fix GCC 11 SMP FreeRTOS build errors
...
This commit fixes the following build errors in SMP FreeRTOS when building with GCC 11:
- "-Wattributes" warning due to conflicting attributes on xPortInterruptedFromISRContext()
- "-Wtype-limits" warning due to taskVALID_CORE_ID() not casting xCoreID
2022-06-07 16:33:22 +08:00
Rahul Tank
27b34d60c1
Nimble: Added check to free keypair if already allocated to avoid memory
...
leak. Added an API that allows to free keypair
2022-06-07 13:38:15 +05:30
Kapil Gupta
ed35b6d4fc
Merge branch 'bugfix/supplicant_issues' into 'master'
...
fix some supplicant issues
Closes WIFI-4446 and WIFI-4445
See merge request espressif/esp-idf!18362
2022-06-07 15:49:38 +08:00
Chen Jian Xing
44989a9ea0
Merge branch 'feature/update_phy_lib_c3_s3_20220504' into 'master'
...
esp_phy: optimize phy calibration for C3 and S3
Closes IDFGH-5903
See merge request espressif/esp-idf!18028
2022-06-07 14:19:26 +08:00
Kapil Gupta
ed2bed49c0
wpa_supplicant: Add changes to deinit sta_info correctly
...
Incase sta pointer is not null during station join, deinit of
previous sm causing crash due to incorrect typecast.
Add changes to correct this.
2022-06-07 11:41:53 +05:30
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
Zim Kalinowski
e6c5badfe2
Merge branch 'bugfix/freertos_smp_disable_scheduler_suspension_tests' into 'master'
...
freertos: Disable scheduler suspension tests for SMP FreeRTOS
Closes IDF-5077
See merge request espressif/esp-idf!18361
2022-06-07 00:25:02 +08:00
Kapil Gupta
28a06d07f7
Corrected hash size for sta_info structure
2022-06-06 16:38:04 +05:30
Michael (XIAO Xufeng)
773715d900
Merge branch 'feature/support_refresh_brownout_v1' into 'master'
...
spi_flash: send reset when brownout detected on XMC flash
Closes IDF-3882
See merge request espressif/esp-idf!16873
2022-06-06 16:27:58 +08:00
Kapil Gupta
e9128b3b5b
wpa_supplicant: Removed ESP32 reference from generic APIs/Code
2022-06-06 11:03:36 +05:30
Kapil Gupta
e60ebc0cbe
Use snprintf instead of sprintf
2022-06-06 11:03:36 +05:30
Kapil Gupta
2aa6853d3e
Remove strcpy/strncpy function callings from supplicant
2022-06-06 11:03:35 +05:30
Kapil Gupta
916a4d6524
Fix coverity reported issues
2022-06-06 11:03:35 +05:30
Kapil Gupta
944690a5e7
Correct condition for not to use pmk caching
2022-06-06 11:03:35 +05:30
Mahavir Jain
3de609800b
Merge branch 'fix/menuconfig_option_esp_cryptoauthlib' into 'master'
...
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
See merge request espressif/esp-idf!18373
2022-06-06 12:41:05 +08:00
Mahavir Jain
2acab7c783
Merge branch 'feature/c2_rng_support' into 'master'
...
esp32c2: Add support for RNG
Closes IDF-4021
See merge request espressif/esp-idf!18149
2022-06-06 12:38:28 +08:00
Mahavir Jain
89e936f495
Merge branch 'feature/add_option_allow_short_app_partition' into 'master'
...
bootloader: Allows app partition length not 64KB aligned for NO SECURE BOOT
Closes IDF-4984
See merge request espressif/esp-idf!18364
2022-06-06 12:21:12 +08:00
Darian Leung
593fbe0b23
freertos: Disable scheduler suspension tests for SMP FreeRTOS
...
The behavior of vTaskSuspendAll() has changed in SMP FreeRTOS. This commit
disables scheduler suspension related unit tests for SMP FreeRTOS.
The tests will be updated in IDF-5201
2022-06-06 12:15:44 +08:00
Mahavir Jain
51bbee2e19
espcoredump: allow reserving dedicated stack size for Xtensa architecture
...
Core issue with SET_STACK was fixed with e543e97c7b
Related: IDF-2797
2022-06-06 03:24:50 +00:00
Michael (XIAO Xufeng)
e372710b35
test_rtc: remove invalid test case file
2022-06-06 00:36:21 +08:00
Jiang Jiang Jian
b617ccfb4c
Merge branch 'feature/esp32c2_eco1_bluetooth_update_0525_for_MR' into 'master'
...
Support bluetooth for esp32c2 chip
See merge request espressif/esp-idf!18243
2022-06-04 17:35:17 +08:00
Geng Yuchao
cef8c506fd
Synchronously modify the nibmle repo
2022-06-04 12:11:31 +08:00
Geng Yuchao
910b296d72
Add missing configuration items for BLE controller
2022-06-04 11:35:18 +08:00
Aditya Patwardhan
2ea419db22
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
...
menuconfig option
2022-06-03 23:12:11 +05:30
Jiang Jiang Jian
95fd68a0ab
Merge branch 'bugfix/pm_enabled_bt_build_fail' into 'master'
...
component_bt: Bluetooth build fail when power management is enabled
Closes BT-2372 and IDFGH-7514
See merge request espressif/esp-idf!18331
2022-06-04 01:15:37 +08:00
Geng Yuchao
3ee9ce9d06
Sync nimble repo
2022-06-04 01:00:04 +08:00
Geng Yuchao
8533457208
Add bluetooth controller lib for esp32c2
2022-06-04 01:00:04 +08:00
Geng Yuchao
0722e6a0b7
Update controller lib for esp32h2
2022-06-04 01:00:04 +08:00
Geng Yuchao
5bba3ebed9
Fix esp32h2 controller support.
2022-06-04 00:59:56 +08:00
Geng Yuchao
5c3f0bfe7c
Add esp32c2 controller support.
2022-06-04 00:59:21 +08:00
Michael (XIAO Xufeng)
d798662421
Merge branch 'bugfix/s3_sleep_voltage' into 'master'
...
esp32s3: fixed dangerous power parameters in sleep modes
See merge request espressif/esp-idf!18168
2022-06-04 00:47:32 +08:00
Geng Yuchao
a692abd423
Optimize the Cmake file structure, support esp32c2.
...
Follow Kconfig to update the nimble config macro name.
2022-06-03 22:41:33 +08:00
Geng Yuchao
50b762af1f
Add Bluetooth controller menuconfig option for esp32c2 and esp32h2
2022-06-03 22:41:33 +08:00
Geng Yuchao
02636688eb
Refactor Kconfig options structure
2022-06-03 22:41:20 +08:00
Geng Yuchao
c1505d045c
Add periph_module needed for BT
2022-06-03 21:47:58 +08:00
Geng Yuchao
8012af37d1
Fix soc caps for BT
2022-06-03 21:45:40 +08:00
morris
067e0f65bd
Merge branch 'bugfix/c2_uart_default_pin_num' into 'master'
...
C2: Added default UART pin numbers
See merge request espressif/esp-idf!18351
2022-06-03 20:35:11 +08:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
Anton Maklakov
e0d2e186bf
Merge branch 'feature/toolchain_2022r1' into 'master'
...
Bring 2022r1-RC1 toolchains, GCC 11
Closes GCC-180, GCC-178, IDFGH-5559, IDFGH-6180, IDFGH-5101, and IDFGH-4380
See merge request espressif/esp-idf!16797
2022-06-03 16:05:49 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Darian
64947546a3
Merge branch 'feature/freertos_smp_newlib_dynamic_reent' into 'master'
...
freertos: Add support for newlib dynamic reentrancy
Closes IDF-5135
See merge request espressif/esp-idf!18216
2022-06-03 15:21:59 +08:00
David Cermak
c67f4c2b4c
lwip: Remove vanilla-lwip config until it's fully deployable
2022-06-02 20:45:24 +02:00
Ivan Grokhotkov
d34f061bc1
spiffs: update submodule to fix SPIFFS_readdir errno issue
...
See https://github.com/pellepl/spiffs/pull/288 for the description
of the issue.
Reported in https://github.com/esp-rs/rust/issues/117#issuecomment-1142159661
2022-06-02 18:42:48 +02:00
KonstantinKondrashov
b4d14902e7
bootloader: Allows app partition length not 64KB aligned for NO SECURE BOOT
2022-06-02 22:40:12 +08:00
Mu Hai Dong
2905223889
Merge branch 'bugfix/fix_country_policy_issue' into 'master'
...
esp_wifi: fix country policy issue
Closes WIFI-3908, WIFI-4287, and WIFI-4279
See merge request espressif/esp-idf!17366
2022-06-02 20:01:07 +08:00
Anton Maklakov
bc932c646e
Merge branch 'bugfix/dirent-definition' into 'master'
...
newlib: dirent d_ino type fix
See merge request espressif/esp-idf!18336
2022-06-02 19:48:53 +08:00
Jessy Chen
7d25f254b8
esp_phy: optimize phy calibration for C3 and S3
2022-06-02 17:12:45 +08:00
muhaidong
06fb6b2e32
esp_wifi: fix country policy issue
...
1. Fix not update phy according to country code.
2. Update regdomain max channel according to country info from nvs and or AP.
3. Change nvs default country from "CN" to "01".
4. Channel 14 is allowed only 11b mode.
5. Remove csa when switch channel from/to 14 channel.
6. Update phy mode nvs when softap channel from 14 to other.
7. Fix the bug that check whether channel parameter is valid.
Docs: change default country from "CN" to "01"
2022-06-02 16:15:48 +08:00
Darian Leung
d8eb55d83b
freertos: Add newlib dynamic reentrancy support
...
SMP FreeRTOS adds support for dynamic reentrancy in the following commit:
34b8e24d7c
This commit does the following:
- Pulls in the upstream changes
- Move __getreent() to "freertos_tasks_c_additions.h"
- Add the required configNEWLIB_REENTRANT_IS_DYNAMIC to SMP FreeRTOS port
2022-06-02 15:42:02 +08:00
Michael (XIAO Xufeng)
4e231f9dac
ci: partially enable pytest for esp32c2
2022-06-02 15:07:53 +08:00
morris
3247335770
mcpwm: don't support disable carrier first pulse
...
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.
Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
morris
a12936dca9
mcpwm: rename MCPWM_ISR_IN_IRAM to MCPWM_ISR_IRAM_SAFE
2022-06-02 15:01:18 +08:00
morris
f7ff7ac4d0
mcpwm: clean up hal driver and add doc
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
Sachin Parekh
8ad3f2ba57
esp32c2: Add support for RNG
2022-06-02 11:36:23 +08:00
Jakob Hasse
11a8c95d11
bugfix (esp_system): Added default UART pin numbers for C2
2022-06-02 11:22:20 +08:00
Anton Maklakov
cc309db89d
ci, test: temporary increase IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING and IDF_PERFORMANCE_MAX_SPI_PER_TRANS_NO_POLLING_NO_DMA
2022-06-02 10:15:24 +07:00
Anton Maklakov
c199f910e1
ci, test: temporary increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME limit
2022-06-02 10:15:24 +07:00
Anton Maklakov
b79d0739f4
ci, test: temporary increase IDF_PERFORMANCE_MAX_FREERTOS_SPINLOCK_CYCLES_PER_OP limit
2022-06-02 10:15:23 +07:00
Shu Chen
4011c7c578
openthread: update the lib with new toolchain
2022-06-02 10:15:23 +07:00
morris
17a688749a
timer: disable nano printf for gptimer examples
...
because we need to use %llu to print the timer count value, but nano
printf doesn't known that format
2022-06-02 11:08:59 +08:00
morris
4b26a5d340
legacy_timer: fix converting count value into time second
2022-06-02 11:08:59 +08:00
xiongweichao
d888665160
Bluetooth build fail when power management is enabled
...
Closes https://github.com/espressif/esp-idf/issues/9081
2022-06-02 10:46:19 +08:00
Cao Sen Miao
6a2d3509dc
spi_flash: Making XMC flash works more stable when brownout detected
2022-06-02 10:38:55 +08:00
Cao Sen Miao
895a3e1bb2
esp_intr: Split RTC interrupt, making some of signals can be triggered with cache disabled
2022-06-02 10:38:55 +08:00
David Cermak
7efcb5e625
lwip: Add missing null-checks, rename to vanilla-lwip
2022-06-01 20:38:40 +02:00
Michael (XIAO Xufeng)
1d018fd3bd
test_rtc: add test_app to test power consumption
2022-06-01 21:03:54 +08:00
chaijie
e624206ca6
modify voltage param to fit all mode of S3
2022-06-01 21:03:54 +08:00
Michael (XIAO Xufeng)
ab69df3ea7
esp32s3: fixed dangerous power parameters in sleep modes
2022-06-01 21:03:54 +08:00
Scott Mabin
c947585ee4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-01 13:49:32 +01:00
David Cermak
00377cf2e5
lwip/ci: Cleanup public header checker ignore list
2022-06-01 14:36:58 +02:00
xiongweichao
a48cb2c5e7
initialize all elements of esp_bt_controller_config_t
...
Closes https://github.com/espressif/esp-idf/pull/9073
2022-06-01 18:10:25 +08:00
Roland Dobai
2d08431433
Merge branch 'bugfix/flash_size_detect' into 'master'
...
Tools: Fix esptool flash size detection arguments
Closes IDFGH-7203
See merge request espressif/esp-idf!18100
2022-06-01 17:46:33 +08:00
Roland Dobai
9c46c98b4c
Tools: Don't add SHA256 digest to images when flash size detection is enabled
2022-06-01 08:57:07 +02:00
Roland Dobai
9bbbb99907
Tools: Fix esptool arguments and use flash size detection if selected
...
Closes https://github.com/espressif/esp-idf/issues/8798
2022-06-01 08:57:07 +02:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Mahavir Jain
8094d874bc
Merge branch 'refactor/tcp_transport' into 'master'
...
tcp_transport: Fix error propagation to higher layers
Closes IDF-1291
See merge request espressif/esp-idf!16394
2022-06-01 13:22:15 +08:00
Konstantin Kondrashov
b824f68b35
Merge branch 'feature/move_dport_workaround_to_g0' into 'master'
...
dport_access: Move DPORT workaround to G0
Closes IDF-2177
See merge request espressif/esp-idf!17961
2022-06-01 12:11:12 +08:00
Ivan Grokhotkov
0c10b937f5
Merge branch 'bugfix/freertos_smp_disable_interrupt_usage' into 'master'
...
FreeRTOS: Replace portSET_INTERRUPT_MASK_FROM_ISR() call for SMP
Closes IDF-5062 and IDF-5066
See merge request espressif/esp-idf!18301
2022-06-01 00:18:26 +08:00
David Cermak
8b40579aa4
lwip: Move wifi's custom pbuf alloc/free to IRAM if config
2022-05-31 16:21:47 +02:00
David Cermak
0e71a325de
lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap)
2022-05-31 15:23:06 +02:00
Konstantin Kondrashov
f1d3332eea
Merge branch 'bugfix/c3_efuse_fail_bits' into 'master'
...
soc: Fix efuse fail bits
See merge request espressif/esp-idf!18321
2022-05-31 21:11:30 +08:00
KonstantinKondrashov
c5a4ab39a7
soc: Fix description of efuse fail bits
2022-05-31 11:21:24 +00:00
KonstantinKondrashov
0b22839925
hal(ecp32c2): Adds spi_flash_encrypted_ll
2022-05-31 11:12:21 +00:00
KonstantinKondrashov
dd4642b6ba
secure_boot(esp32c2): Fix case when SB key is pre-loaded
2022-05-31 11:12:21 +00:00
KonstantinKondrashov
505e18237a
bootloader: Support Flash Encryption for ESP32-C2
2022-05-31 11:12:21 +00:00
Sudeep Mohanty
8d3eca6a0d
Merge branch 'bugfix/freertos_fix_test_preemption' into 'master'
...
freertos: fix test_preemtion test
See merge request espressif/esp-idf!18318
2022-05-31 18:08:45 +08:00
Laukik Hase
7115881a97
esp_http_client/esp_https_ota: Removed errno checks
...
- Returned -ESP_ERR_HTTP_EAGAIN for timeout errors from
esp_http_client whenever tcp transport layer returns
connection timeout
- Removed redundant conditional statements as required
Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Laukik Hase
cc7c67ad4e
tcp_transport: Fix error propogation
...
- Made tcp_transport_errors codes public to indicate
TCP connection issues not covered in socket's errno
- Added API to translate tcp_transport_error codes
to esp_err_t codes for TCP Transport
Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Anton Maklakov
25cee26784
Merge branch 'bugfix/storage-warnings' into 'master'
...
nvs: minor warning fixes
See merge request espressif/esp-idf!18313
2022-05-31 13:46:13 +08:00
KonstantinKondrashov
ac4c7d99fe
dport: Move DPORT workaround to G0
2022-05-31 13:44:18 +08:00
Anton Maklakov
5751ecbbe9
Merge branch 'bugfix/bootloader_warnings' into 'master'
...
bootloader: minor fixes of warnings
See merge request espressif/esp-idf!18307
2022-05-31 13:36:01 +08:00
Anton Maklakov
d1aa08eefb
Merge branch 'bugfix/periph-warnings' into 'master'
...
peripherals: minor warning fixes
See merge request espressif/esp-idf!18312
2022-05-31 13:32:55 +08:00
Anton Maklakov
b965264e68
Merge branch 'bugfix/coredump_warnings' into 'master'
...
coredump: minor fixes of warnings
See merge request espressif/esp-idf!18306
2022-05-31 11:43:51 +08:00
Anton Maklakov
620ceb8638
Merge branch 'bugfix/efuse_supress_warnings' into 'master'
...
efuse: suppress -Wstringop-overflow warnings
See merge request espressif/esp-idf!18258
2022-05-31 11:14:32 +08:00
Anton Maklakov
c0c4548453
Merge branch 'bugfix/ulp_warnings' into 'master'
...
ulp: minor fixes of warnings
See merge request espressif/esp-idf!18309
2022-05-31 11:06:18 +08:00
Jakob Hasse
97c149f73d
Merge branch 'refactor/nvs_iterator_api' into 'master'
...
NVS: New interface for iterator functions
Closes IDFGH-6149
See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Ivan Grokhotkov
79659e3096
sdmmc: better calculation of erase timeout
...
Previous version of the code used a fixed constant (500 ms) for the
erase timeout and added 1 ms for each sector erased.
This commit improves timeouts calculation:
- For SD cards, check if erase timeout information is present in the
SSR register. If yes, use it for erase timeout calculation.
Otherwise assume 250ms per erase block, same as Linux does.
- For eMMC assume 250ms per erase block (but no less than 1 second).
This has to be improved later to use the erase timeout info in the
extended CSD register.
2022-05-30 15:39:02 +02:00
Ivan Grokhotkov
a28828a6f4
fatfs: re-enable TRIM support for SPI mode
...
Previously this didn't work because MMC_ERASE implementation for SPI
didn't wait for the busy status indication.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
36e3043306
sdmmc: check card status in SPI mode after sdmmc_erase_sectors
...
Same as for write operation, some errors are reported only via CMD13.
Without the R1b response support in sdspi driver, this check would
fail. Now that R1b support is implemented, erase command response is
zero (success) on all cards under test.
Also remove the now-unnecessary card reset after erase in the test
case.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
3ad98984e9
driver: sdspi: add support for R1b response
...
Same as R1 but with busy indication polling
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
bb11f49c74
sdmmc: check for errors reported by card in sdmmc_write_sectors_dma
...
During write operation (CMD24 or CMD25), the card can report some of
the errors in the 1-byte response tokens. Other types of errors are
not reported, the host has to get them by issuing CMD13.
This commit adds CMD13 request at the end of write operations and
reports error to the user if the card status isn't zero.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
c4c7e7c82b
sdmmc: support sdmmc_send_cmd_send_status in SPI mode
...
SPI mode uses different response format (2-byte R2) compared to SD mode.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
da47bebdd8
sdmmc: sdmmc_init_sd_ssr: use correct command name
...
Numerical value of MMC_SEND_STATUS is the same as SD_APP_SD_STATUS,
so there is no functional change. Just making this consistent with the
sdmmc_send_app_cmd call later on.
2022-05-30 15:39:01 +02:00
Ivan Grokhotkov
f1e3536f3c
driver: sdspi: fix decoding of R2 response
2022-05-30 15:39:00 +02:00
Ivan Grokhotkov
17b7981e2e
driver: sdmmc: add SPI mode R2 response definitions
2022-05-30 15:39:00 +02:00
Island
74b7a3fc83
Merge branch 'feature/final_h2_bluedroid_skc_common' into 'master'
...
Feature/final h2 bluedroid skc common
See merge request espressif/esp-idf!17710
2022-05-30 21:20:52 +08:00
Martin Vychodil
9bd819c78f
Merge branch 'fix/fatfs_remove_utf16_support' into 'master'
...
FatFS: Disable UTF 16 filename encoding
Closes IDF-4795
See merge request espressif/esp-idf!18192
2022-05-30 20:59:53 +08:00
Anton Maklakov
3c8a1390a0
Merge branch 'bugfix/esp-system-warnings' into 'master'
...
system: minor fixes of warnings
See merge request espressif/esp-idf!18310
2022-05-30 19:33:01 +08:00
Jiang Jiang Jian
2bc5d58807
Merge branch 'feature/support_sleep_for_esp32c2' into 'master'
...
esp32c2: support power management
Closes IDF-4440 and IDF-4617
See merge request espressif/esp-idf!18174
2022-05-30 17:57:18 +08:00
Mahavir Jain
59ecb7e3ae
Merge branch 'update/protobuf' into 'master'
...
protobuf: Updated to v1.4.0
Closes IDFCI-1278
See merge request espressif/esp-idf!18267
2022-05-30 16:52:09 +08:00
satish.solanke
3a42007680
Bluedroid porting changes for esp32h2
...
created common Kconfig for common flag of nimbble and Bluedroid
fix compile error
created common cfg file for controller
fix the compilation error on tip of master
added common controller flags and fixed compilation error
sdkconfig rename for target specific
2022-05-30 08:42:45 +00:00
Ivan Grokhotkov
87ec752bda
Merge branch 'docs/fix_nvs_encryption_docs' into 'master'
...
doc (nvs_flash): improved NVS partition flash documentation
Closes IDFGH-6549
See merge request espressif/esp-idf!18004
2022-05-30 16:13:12 +08:00
Sudeep Mohanty
7476e197ad
freertos: fix test_preemtion test
...
Increased the yield count threshold to work for both SMP FreeRTOS and
IDF FreeRTOS.
2022-05-30 13:19:26 +05:30
Anton Maklakov
84879a8e9c
esp_rom: esp32s2: suppress -Waddress-of-packed-member warning
2022-05-30 14:48:12 +07:00
Anton Maklakov
bf3892acee
newlib: stdatomic: fix conflicting types for __atomic_load/__atomic_store
2022-05-30 14:48:12 +07:00
Anton Maklakov
afde2434e8
memprot: fix type casting to avoid suspesious address arithmetic
2022-05-30 14:48:12 +07:00
Anton Maklakov
0c549320b2
esp_system: intentionally suppress -Wstringop-overread
2022-05-30 14:48:12 +07:00
jingli
93a5087e58
add PM related soc caps about power down rtc slow/fast mem
...
Supporting rtc slow/fast mem does not mean supporting
rtc slow/fast mem power down.
2022-05-30 15:26:50 +08:00
Anton Maklakov
b3a6c3bcb5
nvs: suppress -Wstringop-truncation warning
2022-05-30 13:11:25 +07:00
Anton Maklakov
b0369aa898
test, spi: randr_r() expects unsigned int * type
2022-05-30 12:58:57 +07:00
Anton Maklakov
c82d8532d3
hal: explicit initialization
2022-05-30 12:57:52 +07:00
Anton Maklakov
f57016dab0
esp_hw_support: explicit initialization
2022-05-30 12:43:45 +07:00
Anton Maklakov
8ea1a2b1e8
pthread: add missing header
2022-05-30 12:43:36 +07:00
Anton Maklakov
d1db4d0c1b
system: add missing header
2022-05-30 12:43:23 +07:00
Anton Maklakov
6b15dce39c
ulp test: suppress -Wstringop-overflow and -Warray-bounds
2022-05-30 11:55:27 +07:00
Anton Maklakov
6c30426777
ulp_riscv: suppress -Wstringop-overflow
2022-05-30 11:55:27 +07:00
Anton Maklakov
77c3bb9cfe
bootloader: suppress -Wstringop-overflow
2022-05-30 11:45:33 +07:00
Anton Maklakov
aeaebc0977
bootloader: explicit initialization
2022-05-30 11:45:33 +07:00
Mahavir Jain
b17c09e85b
esp_local_ctrl: Regenerated proto-c and python with protobuf compiler v3.21.0
...
$protoc --version
libprotoc 3.21.0
$ protoc-c --version
protobuf-c 1.4.0
2022-05-30 09:54:32 +05:30
Laukik Hase
b7fcbb3e7d
wifi_provisioning: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-05-30 09:54:32 +05:30
Laukik Hase
a3f5087336
protocomm: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-05-30 09:54:32 +05:30
Laukik Hase
b09b716f1d
protobuf-c: Update submodule to v1.4.0
2022-05-30 09:54:31 +05:30
Anton Maklakov
45f267390b
espcoredump: fix unsigned arithmetic
2022-05-30 11:21:30 +07:00
Anton Maklakov
57785e5eca
espcoredump: suppress -Waddress-of-packed-member warning
2022-05-30 11:21:30 +07:00
Darian
1ec59e6982
Merge branch 'bugfix/update_eTaskGetState_unit_test' into 'master'
...
FreeRTOS: Refactor eTaskGetState() test for FreeRTOS SMP
Closes IDF-5073
See merge request espressif/esp-idf!18228
2022-05-30 11:44:51 +08:00
morris
4352c39e3e
Merge branch 'feature/cache_c2_support' into 'master'
...
cache: access error & illegal error ll functions
Closes IDF-3820
See merge request espressif/esp-idf!18203
2022-05-30 11:40:11 +08:00
Anton Maklakov
b70f528793
efuse: suppress -Wstringop-overflow warnings
2022-05-30 10:00:44 +07:00
Mahavir Jain
8250edbf22
Merge branch 'bugfix/mbedtls_deprecated_options' into 'master'
...
mbedtls: Remove deprecated options from mbedtls/esp_config.h
Closes IDFGH-7296
See merge request espressif/esp-idf!18008
2022-05-30 10:38:08 +08:00
Jiang Jiang Jian
8efa4d64e0
Merge branch 'feature/add_task_wrappers' into 'master'
...
wpa_supplicant: Add osi layer for FreeRTOS calls
Closes WIFI-2996
See merge request espressif/esp-idf!11734
2022-05-30 10:29:50 +08:00
Jakob Hasse
ad184e979a
refactor (nvs)!: New interface for iterator functions
...
Closes https://github.com/espressif/esp-idf/issues/7826
* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
parameters, instead of returning an new iterator.
Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Darian Leung
daa950d9ed
freertos: Replace portSET_INTERRUPT_MASK_FROM_ISR() call for SMP
...
The behavior of portSET_INTERRUPT_MASK_FROM_ISR() has changed in SMP FreeRTOS. It's
previous behavior is now implemented in portDISABLE_INTERRUPTS() and portRESTORE_INTERRUPTS().
This commit replaces all portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR()
calls with portDISABLE_INTERRUPTS() and portRESTORE_INTERRUPTS() respectively
2022-05-30 06:11:24 +08:00
Jiang Jiang Jian
769bc9b2d2
Merge branch 'bugfix/wifi_fix_adapter_argument_types' into 'master'
...
esp_wifi: make int types consistent
See merge request espressif/esp-idf!18222
2022-05-30 01:17:35 +08:00
Martin Vychodil
d1ec5580ee
Merge branch 'nvs/remove_asserts' into 'master'
...
change: NVS assertions as runtime errorcodes
Closes IDF-3025
See merge request espressif/esp-idf!17739
2022-05-30 01:07:25 +08:00
Jack
47909a76c0
esp_wifi: make int types consistent for esp32c2
2022-05-29 18:59:13 +08:00
Darian
e1915907bb
Merge branch 'bugfix/update_tlsp_del_cb_tests' into 'master'
...
FreeRTOS: Fix TLSP deletion callback tests
Closes IDF-5071
See merge request espressif/esp-idf!18233
2022-05-29 18:42:53 +08:00
Anton Maklakov
282c9ab1e1
esp_wifi: make int types consistent
2022-05-29 18:42:09 +08:00
Jiang Jiang Jian
0e94779b2e
Merge branch 'feature/support_esp32c2_wifi_new' into 'master'
...
Bringup ESP32C2 Wi-Fi
Closes IDF-3905
See merge request espressif/esp-idf!18136
2022-05-29 18:25:24 +08:00
Jiang Jiang Jian
4ed2e6130a
Merge branch 'feature/add_l2cap_ertm_api' into 'master'
...
Component_bt:Add l2cap and sdp api
Closes IDF-4487
See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
Jiang Jiang Jian
ffbc25056c
Merge branch 'feature/add_avdtp_delay_reporting' into 'master'
...
component_bt: add avdtp delay reporting
Closes BT-2308
See merge request espressif/esp-idf!17475
2022-05-29 17:03:36 +08:00
Anton Maklakov
70c12407d3
Merge branch 'bugfix/bt_fix_int_arguments' into 'master'
...
bt: make int types consistent
See merge request espressif/esp-idf!18223
2022-05-29 16:56:00 +08:00
Jiang Jiang Jian
6884d98c23
Merge branch 'bugfix/add_bda_to_read_rmt_name_param' into 'master'
...
Bugfix/add bda to read rmt name param
Closes IDFGH-7459
See merge request espressif/esp-idf!18279
2022-05-29 14:13:39 +08:00
Jiang Jiang Jian
f3922f1b7f
Merge branch 'feature/flash_mmap_refactor' into 'master'
...
flash mmap: abstract R/W of MMU table instead of reg access
See merge request espressif/esp-idf!16882
2022-05-29 13:56:37 +08:00
Yuan Jian Min
a574652f79
Merge branch 'bugfix/fix_lwip_kconfig' into 'master'
...
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
See merge request espressif/esp-idf!18264
2022-05-29 12:35:53 +08:00
Kapil Gupta
777b2caa1c
wpa_supplicant: Move ETS/ESP timers to eloop
2022-05-29 09:32:16 +05:30
Jack
74e0096472
relax memory leak threshold for some wifi test case
2022-05-29 10:38:54 +08:00
xiongweichao
b777a53fe8
support add and search raw sdp record
2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a
sdp support create and search PBAPC record
2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a
Split jv_rfcomm and jv_l2cap
2022-05-28 23:34:21 +00:00
xiongweichao
740dc8795d
rfcomm supports the use of ERTM
2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a
add sdp api
2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047
add l2cap api
2022-05-28 23:34:21 +00:00
xiongweichao
e2e74e2b8b
Modify the format of esp_a2dp_api.h comments
2022-05-28 23:31:45 +00:00
xiongweichao
b0551ef456
add source handle the delay report
2022-05-28 23:31:45 +00:00
xiongweichao
9126e4f07b
add sink send delay reporting
2022-05-28 23:31:45 +00:00
Matus Fabo
58cca07104
add: Kconfig assert or errorcode option
...
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-05-28 20:29:05 +02:00
Jiang Jiang Jian
2042840974
Merge branch 'bugfix/sae_pmk_caching_issue' into 'master'
...
esp_wifi: Do not use pmkid caching when SSID is changed
Closes WIFI-4422
See merge request espressif/esp-idf!18244
2022-05-29 00:18:19 +08:00
Jack
7a8b63869f
deinit BB MAC back memory when they are not used
2022-05-29 00:13:32 +08:00
Martin Gano
67920a03dc
Merge branch 'feature/add-chaining-fatfsparse' into 'master'
...
fatfs: enable cluster chaining for fatfsparse.py
Closes IDF-4975
See merge request espressif/esp-idf!18069
2022-05-28 22:31:36 +08:00
Wu Zheng Hui
d3fa6e3a15
Merge branch 'bugfix/update_efuse_name' into 'master'
...
efuse: update efuse name
See merge request espressif/esp-idf!18193
2022-05-28 22:03:17 +08:00
Wu Zheng Hui
b98622c624
efuse: update efuse name
2022-05-28 22:03:16 +08:00
Darian Leung
49256fe5c9
freertos: Refactor TLSP deletion callback test
...
- Add a new test case for SMP FreeRTOS
- Old test case is preserved. To be removed in the future
2022-05-28 21:36:39 +08:00
Darian Leung
64469affcd
freertos: Fix TLSP deletion callback log
...
Currently, portCLEAN_UP_TCB() is called in a critical section. This commit updates
vPortTLSPointersDelCb() to use an EARLY log to prevent a crash.
2022-05-28 21:36:39 +08:00
Darian Leung
ef6afa1324
freertos: Refactor eTaskGetState() unit test
...
This commit refactors the eTaskGetState() unit test to work on FreeRTOS SMP
2022-05-28 21:36:23 +08:00
Darian
f3d06ad78d
Merge branch 'bugfix/fix_SysTickIsrHandler_casting' into 'master'
...
HAL: Fix systimer counter value bit field
Closes IDF-5132
See merge request espressif/esp-idf!18252
2022-05-28 18:31:03 +08:00
jingli
1781ce3b98
further fix rtc attr for esp32c2
2022-05-28 08:52:55 +00:00
Jessy Chen
7b9b448041
esp_wifi: optimize wifi kconfig
2022-05-28 08:52:55 +00:00
liuning
e0decf4839
esp_wifi: fully support connectionless traffic with ps and coex
2022-05-28 08:52:55 +00:00
Jessy Chen
0ae391ef07
esp_wifi: enable FTM for esp32c2 & fix pre-commit check
2022-05-28 08:52:55 +00:00
Jessy Chen
60cbbffc74
esp_phy: optimize esp32c2 tx power control
2022-05-28 08:52:55 +00:00
Zhang Junhao
31f9292f90
feat: disable mbedtls rom code on master
2022-05-28 08:52:55 +00:00
Zhang Jun Hao
fcf8c84ad5
fix potential leak of memory check error
2022-05-28 08:52:55 +00:00
jiangguangming
c7beae1d6a
newlib: 64-bits time_t test pass
...
please keep in mind that don't use nano-foramt printf for 64-bits
2022-05-28 08:52:55 +00:00
jiangguangming
4302e28698
newlib: use newlib nano format default
2022-05-28 08:52:55 +00:00
jingli
84628ba883
fix rtc attr for esp32c2
2022-05-28 08:52:55 +00:00
Jack
58d04eb203
esp_wifi: update esp32c2 wifi rom & lib
2022-05-28 08:52:55 +00:00
zhangyanjiao
e979e9701f
esp_wifi: bringup esp32c2 wifi
2022-05-28 08:52:55 +00:00
Laukik Hase
28ac0b12fb
mbedtls: Remove deprecated options from mbedtls/esp_config.h
...
- Removed options related to RC4 ciphersuite, SSL3 and TLS1
(as per mbedtls v3.1.0)
2022-05-28 10:21:06 +05:30
jingli
ae127b04cd
fix ld err since esp32c2 do not suport config gpio of spi flash via efuse
2022-05-27 19:29:38 +08:00
jingli
e70c434780
fix compile error for esp32c2, since esp32c2 no longer support RTC fast mem
2022-05-27 19:29:38 +08:00
jingli
27edaaef91
add wakeup enable for bt
2022-05-27 19:29:38 +08:00
jingli
db102da7c6
update sleep params for esp32c2
2022-05-27 19:29:38 +08:00
jingli
9eec740a16
enable external 32k osc for esp32c2
2022-05-27 19:29:29 +08:00
Anton Maklakov
cfa3e68d1b
bt: esp32s3, make int types consistent
2022-05-27 08:03:54 +00:00
Anton Maklakov
877dc3e304
bt: make int types consistent
2022-05-27 08:03:54 +00:00
yuanjm
0ae030d0ca
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
2022-05-27 02:48:45 +00:00
Marius Vikhammer
9177e9fb37
Merge branch 'bugfix/cpu_cycle_count_not_iram' into 'master'
...
HAL: place cpu_ll_get_cycle_count in IRAM
Closes IDFGH-7431
See merge request espressif/esp-idf!18260
2022-05-27 10:40:50 +08:00
Tomas Rezucha
3b7018923e
Merge branch 'docs/i2c_thread_safety' into 'master'
...
docs: Fix I2C thread-safety
Closes IDF-5034
See merge request espressif/esp-idf!18172
2022-05-27 08:24:13 +08:00
Zim Kalinowski
2c9cd8e307
Merge branch 'feature/remove_target_cmake' into 'master'
...
build-system: remove target component
Closes IDF-3091 and IDF-3581
See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
keymoon
3027aa84be
assign value to uninitialized bt_addr
field
2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param
2022-05-26 23:24:56 +09:00
Darian Leung
c45784b8c4
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 12:56:25 +00:00
Kapil Gupta
0cdad0a002
wpa_supplicant: Add wrappers for FreeRTOS APIs
2022-05-26 15:23:21 +05:30
Jiang Jiang Jian
37596b4dd8
Merge branch 'feature/wps_registrar_support' into 'master'
...
wpa_supplicant: wps registrar support
See merge request espressif/esp-idf!17659
2022-05-26 17:05:00 +08:00
David Čermák
6f3d021d60
Merge branch 'bugfix/esp_netif_ip6_multicast_api' into 'master'
...
esp_netif: Fix inversion error in leave_ipv6 api (GitHub PR)
Closes IDFGH-7412
See merge request espressif/esp-idf!18184
2022-05-26 15:57:00 +08:00
Yuan Jian Min
62182e1767
Merge branch 'feature/add_mld6_flag_for_eth' into 'master'
...
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
Closes IDFGH-6983
See merge request espressif/esp-idf!18173
2022-05-26 15:40:09 +08:00
Marius Vikhammer
415ab25a49
HAL: place cpu_ll_get_cycle_count in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/9008
2022-05-26 14:42:41 +08:00
Fu Hanxi
788ac3989b
Merge branch 'fix/panic_test' into 'master'
...
fix: panic test
See merge request espressif/esp-idf!18239
2022-05-26 10:09:15 +08:00
Darian
3b57f6d40c
Merge branch 'bugfix/task_wdt_freertos_smp_unicore_build' into 'master'
...
esp_system: FIx TWDT SMP FreeRTOS unicore build error
See merge request espressif/esp-idf!18241
2022-05-26 09:20:33 +08:00
Song Ruo Jing
cf32e49aeb
Merge branch 'refactor/cleanup_rtc_h' into 'master'
...
clk_tree: Prework2 of introducing clock subsystem control
Closes IDF-4934
See merge request espressif/esp-idf!17861
2022-05-26 09:16:47 +08:00
Mahavir Jain
c6e2ae76a9
Merge branch 'esp32c2/IDRAM_PMP_split' into 'master'
...
esp32c2: Enable IRAM/DRAM split using PMP
Closes IDF-3837
See merge request espressif/esp-idf!18156
2022-05-26 00:47:49 +08:00
Martin Gano
8ef66536ed
fatfsparse.py: add cluster chaining support to enable reading longer-than-sector files
...
Closes IDF-4975
2022-05-25 15:49:24 +02:00
Kapil Gupta
1cf54db433
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-05-25 15:11:26 +05:30
Tomas Rezucha
b6771b7f83
docs: Fix I2C thread-safety
2022-05-25 07:22:02 +00:00
Darian Leung
8af172ec46
esp_system: FIx TWDT SMP FreeRTOS unicore build error
...
When configNUM_CORES = 1, vTaskCoreAffinityGet() is not defined. This
commit fixes the TWDT to omit calls to vTaskCoreAffinityGet() when building
for unicore.
2022-05-25 13:51:17 +08:00
Fu Hanxi
b2f107b76c
fix: espcoredump without project_description.json in ci
2022-05-25 12:00:13 +08:00
morris
7642be45ef
Merge branch 'bugfix/c2_efuse_fix_error_reg' into 'master'
...
efuse_hal(esp32c2): Fix error bits for BLOCK0
See merge request espressif/esp-idf!18219
2022-05-25 04:24:55 +08:00
Ivan Grokhotkov
4d9e141201
Merge branch 'bugfix/freertos_smp_no_affinity' into 'master'
...
Freertos SMP: fix wrong no affinity value in kconfig
Closes IDF-5063, IDF-5064, IDF-5067, IDF-5068, IDF-5075, IDF-5076, IDF-5078, IDF-5079, IDF-5080, IDF-5082, IDF-5083, IDF-5084, IDF-5085, IDF-5086, IDF-5087, IDF-5088, IDF-5089, IDF-5090, IDF-5091, IDF-5092, IDF-5093, IDF-5094, IDF-5095, IDF-5096, IDF-5097, IDF-5098, IDF-5099, IDF-5100, IDF-5101, IDF-5102, IDF-5105, IDF-5106, IDF-5108, IDF-5109, IDF-5110, IDF-5111, IDF-5113, IDF-5114, IDF-5115, IDF-5116, IDF-5117, IDF-5118, IDF-5120, IDF-5121, IDF-5123, IDF-5125, IDF-5126, IDF-5128, and IDF-5129
See merge request espressif/esp-idf!18224
2022-05-25 03:05:33 +08:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Sachin Parekh
9a763f4ff2
esp32c2: Enable IRAM/DRAM split using PMP
2022-05-24 21:36:06 +05:30
songruojing
74c99a8a07
rtc_clk: Add alias for the clock tree related enum and macros for backwards compatibility
2022-05-24 22:59:51 +08:00
songruojing
729d70129a
clk_tree: add initial docs for clock tree
2022-05-24 22:59:51 +08:00
morris
b26cd91537
doc: added clk_tree definitions to doc
2022-05-24 22:59:51 +08:00
songruojing
a5b09cf015
rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
...
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
morris
64604dcfe0
Merge branch 'bugfix/s3_spi_pre' into 'master'
...
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
See merge request espressif/esp-idf!18213
2022-05-24 16:18:48 +08:00
Roland Dobai
4e0116a170
Merge branch 'fix/otatool_targets' into 'master'
...
app_update: Fix otatool targets
Closes IDF-4758 and IDFGH-7254
See merge request espressif/esp-idf!18190
2022-05-24 15:47:34 +08:00
Kapil Gupta
a6811adac7
wpa_supplicant: Add WPS registrar support for softAP mode
2022-05-24 12:11:53 +05:30
Kapil Gupta
df1a15e918
wpa_supplicant: Add upstream files for wps registrar
2022-05-24 12:11:53 +05:30
morris
60d51bf6c8
Merge branch 'contrib/github_pr_9001' into 'master'
...
usbh_print_intf_desc prints wrong value for tbInterfaceClass (GitHub PR)
Closes IDFGH-7422 and IDFGH-9000
See merge request espressif/esp-idf!18198
2022-05-24 10:15:12 +08:00
Kevin (Lao Kaiyao)
94d7ae03da
Merge branch 'bugfix/i2s_write_timeout_when_setting_clock' into 'master'
...
i2s: fixed write timeout while setting the clock
Closes IDFGH-7273 and IDFGH-7261
See merge request espressif/esp-idf!18201
2022-05-24 10:01:12 +08:00
Marius Vikhammer
15684fb5a0
Freertos SMP: fix wrong no affinity value in kconfig
2022-05-24 09:16:43 +08:00
Marius Vikhammer
cf1b222cac
build system: removed target component
...
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
d485f6add8
Merge branch 'feature/arch_build_property' into 'master'
...
build-system: add property for architecture (riscv/xtensa)
Closes IDF-1754
See merge request espressif/esp-idf!18127
2022-05-24 08:46:09 +08:00
Marius Vikhammer
425c9e5b0f
Merge branch 'feature/target_kconfig_movement_3' into 'master'
...
kconfig: move remaining kconfig options out of target component
Closes IDF-3579
See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
KonstantinKondrashov
c74d442d03
efuse_hal: Fix error bits for BLOCK0
...
eFuse BLOCK0 has only one error reg.
2022-05-24 03:28:57 +08:00
Mahavir Jain
5d88df658d
Merge branch 'feature/esp-tls_optimize_memory' into 'master'
...
esp-tls: add api to free client session
Closes AEG-57
See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
morris
1385d1b2f6
Merge branch 'bugfix/i2c_warning_always_true' into 'master'
...
i2c: fix 'comparision is always true' warning
See merge request espressif/esp-idf!18202
2022-05-24 02:21:34 +08:00
Gustavo Henrique Nihei
c946c80415
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-23 10:13:07 -03:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
laokaiyao
a5f651ad71
i2s: Update FIFO direct access reg on ESP32 according to the TRM
...
Closes: https://www.github.com/espressif/esp-idf/issues/8862
2022-05-23 16:28:42 +08:00
laokaiyao
f523fbc73b
i2s: Fixed divide 0 issue while setting PDM down sampling issue
...
Closes https://www.github.com/espressif/esp-idf/issues/8850
2022-05-23 16:28:42 +08:00
Li Jingyi
6d58008119
esp-tls: add api to free client session
...
Free session with mbedtls api to avoid mem-leak
2022-05-23 16:28:40 +08:00
laokaiyao
f36ae3f603
i2s: fixed write timeout while setting the clock
2022-05-23 16:28:37 +08:00
Armando
8532d09259
cache: access error & illegal error ll functions
2022-05-23 15:00:47 +08:00
songruojing
436085de51
rtc_clk: fix potential "division by zero" in rtc_clk_cpu_freq_mhz_to_config (found by coverity scan)
2022-05-23 13:38:41 +08:00
Anton Maklakov
41bbea5124
i2c: fix 'comparision is always true' warning
2022-05-23 11:39:46 +07:00
Omar Chebib
2d84985baa
Merge branch 'bugfix/i2c_notify_task_in_ISR' into 'master'
...
I2C: Fix a bug making the I2C task wait too long on an event
Closes IDFGH-7169
See merge request espressif/esp-idf!18027
2022-05-23 12:29:22 +08:00
Song Ruo Jing
70109e2393
Merge branch 'refactor/remove_ck8m_fpu_in_rtc_slow_clk_set' into 'master'
...
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source
See merge request espressif/esp-idf!18181
2022-05-23 11:49:24 +08:00
Omar Chebib
872a4311f2
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-05-23 02:02:00 +00:00
Ivan Grokhotkov
341162bb3d
Merge branch 'fix/vfs_fat_info_overflow' into 'master'
...
fatfs: Fix possible integer overflow in esp_vfs_fat_info()
Closes IDF-4958
See merge request espressif/esp-idf!18191
2022-05-22 20:00:12 +08:00
Nicholas Palmer
0f645e59b6
usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)
2022-05-21 15:54:21 -07:00
songruojing
87b917c04a
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source, ck8m fpu in sleep logic is now completely handled in sleep_modes.c
2022-05-21 13:13:52 +00:00
Aditya Patwardhan
911b310a90
Merge branch 'bugfix/mbedtls_dynamic_memory_crash_on_rsa_ciphers' into 'master'
...
fix(mbedtls): fix ssl server crash when enable mbedtls dynamic buffer and...
See merge request espressif/esp-idf!18017
2022-05-21 13:38:40 +08:00
Darian
4afd048abf
Merge branch 'bugfix/freertos_smp_queue_sets_thread_safety' into 'master'
...
FreeRTOS: Fix queue set tests for SMP FreeRTOS
See merge request espressif/esp-idf!18169
2022-05-21 05:02:19 +08:00
Adam Múdry
b388321e3b
fatfs: Disable UTF-16 filename encoding
...
UTF-16 is not supported in VFS and not covered by unit tests
2022-05-20 15:15:01 +02:00
Adam Múdry
2565acbc28
fatfs: Fix possible integer overflow in esp_vfs_fat_info()
2022-05-20 14:51:11 +02:00
Roland Dobai
457beeb530
app_update: Fix otatool targets
...
Fix a regression caused by 6b361d923c
Closes https://github.com/espressif/esp-idf/issues/8843
2022-05-20 14:10:08 +02:00
yuanjm
667a7c6cd0
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
...
Closes https://github.com/espressif/esp-idf/issues/8602
2022-05-20 11:26:27 +00:00
Li Jingyi
c88af419a3
mbedtls: fix ssl server crash when enable mbedtls dynamic buffer
...
Not free keycert until MBEDTLS_SSL_CLIENT_KEY_EXCHANGE for rsa key exchange methods, because keycert will be used to parse client key exchange.
2022-05-20 11:21:48 +00:00
Shu Chen
7e71c0cff2
Merge branch 'otbr-rcp-update' into 'master'
...
openthread: support automatic RCP update upon boot in border router
See merge request espressif/esp-idf!17322
2022-05-20 17:58:26 +08:00
jiangguangming
9719979e4f
UT: add a timeout-tag to make the esp_flash UT ci pass
2022-05-20 16:46:28 +08:00
jiangguangming
42bc0b0643
soc: remove unused MMU related macros
2022-05-20 16:46:28 +08:00
jiangguangming
9c6afee12f
flash mmap: abstract R/W MMU table instead of reg access
2022-05-20 16:46:27 +08:00
Omar Chebib
68ddce7c0b
Merge branch 'bugfix/esp32_i2c_incorrect_speed' into 'master'
...
I2C: Fix SCL period timings on ESP targets
See merge request espressif/esp-idf!17999
2022-05-20 13:33:03 +08:00
Marius Vikhammer
9362434c47
build-system: add property for architecture (riscv/xtensa)
...
riscv/xtensa is now a common component.
2022-05-20 09:00:32 +08:00
Richard Retanubun
bd3db823b1
Fixup inversion error causing error prints
...
ESP_RETURN_ON_FALSE(a, err_code, ...) macro
Will print and return err_code
if (unlikely(!(a)))
so "a" needs to state what we expect to be TRUE
which in this case means:
mld6_leavegroup_netif(...) == ERR_OK
2022-05-19 16:58:47 -04:00
Konstantin Kondrashov
8429ec2553
Merge branch 'feature/adds_check_32k_xtal_stopped' into 'master'
...
esp_hw_support: Adds a msg when 32k xtal was stopped
See merge request espressif/esp-idf!17581
2022-05-19 16:48:20 +08:00
Darian Leung
56d45f9999
freertos: Fix queue set tests for SMP FreeRTOS
...
The "Test Queue sets thread safety" tests relied on IDF FreeRTOS specific
scheduling behavior, thus resulting in the test getting stuck when running
with SMP FreeRTOS.
This commit updates and refactors the tests to work on both IDF and SMP FreeRTOS.
2022-05-19 16:28:10 +08:00
Roland Dobai
6755a63f3b
Merge branch 'feature/add_loading_gdbinit_file' into 'master'
...
feat: Added extra gdbinit file loading for reproducible build
Closes IDF-4415
See merge request espressif/esp-idf!17914
2022-05-19 16:22:48 +08:00
Marius Vikhammer
030e52f5d4
Merge branch 'feature/improve_doc_link_check' into 'master'
...
docs: fix broken links and re-enable linkchecker
Closes IDF-2640
See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Darian
a4c4d8c59b
Merge branch 'feature/update_intr_wdt_for_freertos_smp' into 'master'
...
esp_system: Fix SMP FreeRTOS INT WDT and tidy up
Closes IDF-4749
See merge request espressif/esp-idf!18000
2022-05-19 14:43:08 +08:00
morris
8138f8bb02
driver: remove deprecated code
...
that declared as deprecated in the previous release
2022-05-19 11:31:53 +08:00
morris
d274cd5601
lcd: simplify iram safe test case
2022-05-19 11:10:59 +08:00
morris
ab87dde1d4
rmt_legacy: don't use early log in isr handler
...
...but use ESP_DRAM_LOGx instead
Closes https://github.com/espressif/esp-idf/issues/5414
2022-05-19 11:10:59 +08:00
David Cermak
60fc1ae035
lwip: Removed incorrect-fix 358ee481
2022-05-18 17:11:35 +02:00
David Cermak
d50739adec
lwip: forgotten ip4_route_src_hook to IRAM
2022-05-18 17:11:35 +02:00
David Cermak
e7f19f39bc
lwip: Fix the CI
2022-05-18 17:11:35 +02:00
David Cermak
09aa24632a
esp_netif: Support IPv6 autoconfig is enabled in menuconfig
2022-05-18 17:11:35 +02:00
David Cermak
a6154a5f10
lwip: Update default MEMP_NUM_SYS_TIMEOUT if timers on-demand
2022-05-18 17:11:35 +02:00
David Cermak
5d6afa3c4b
dhcp: Implement additional dhcp options
2022-05-18 17:11:35 +02:00
David Cermak
1564e8d5a9
lwip: Implement DHCP hook supporting MTU option
2022-05-18 17:11:35 +02:00
David Cermak
5aa3be11fd
dhcpserver: Minor #idfef fix
2022-05-18 17:11:35 +02:00
David Cermak
b6eb9002a8
add dhcp custom values
2022-05-18 17:11:35 +02:00
David Cermak
356bc603c4
lwip: Support DHCP restore last IP
2022-05-18 17:11:35 +02:00
David Cermak
7a04eb8d66
lwip: Reference specific ESP patches
...
Also adding ip4_napt.c to sources, as it's added by ESP-patches
2022-05-18 17:10:42 +02:00
David Cermak
53c009e626
lwip: Update socket API to include port-version of sockets/netdb
...
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()
2022-05-18 17:10:42 +02:00
David Cermak
e909cd5219
tcp_transport/test: Fix localhost interface name
...
Per lwip spec it's two letter's name plus index, i.e. "lo0"
(the reason "lo" was accepted before was bug in lwip)
2022-05-18 17:10:42 +02:00
David Cermak
44a9620c17
esp_netif: Add thread safe pppapi set_auth API to esp-netif
2022-05-18 17:10:42 +02:00
David Cermak
dbc91f73e6
lwip: Use custom pbufs for eth and wifi port/netif
2022-05-18 17:10:42 +02:00
David Cermak
65bf5f2b10
lwip: Add mem-heap options to support ALLOCATION_FROM_SPIRAM_FIRST
2022-05-18 17:10:42 +02:00
David Cermak
06263efe0b
lwip: Add IPv4 route hook to the esp32 port
2022-05-18 17:10:42 +02:00
David Cermak
808ac7427a
lwip: Add freertos sys-arch port layer
...
Added sys_thread_sem_func(), sys_sem_signal_isr(), g_lwip_task
2022-05-18 17:10:42 +02:00
David Cermak
5b471a1848
esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
...
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip
2022-05-18 17:10:42 +02:00
Darian Leung
9b5601b7c7
freertos: Fix SMP FreeRTOS interrupt watchdog feeding
...
This commit fixes how SMP FreeRTOS feeds the INT WDT. Previously, the
port used vApplicationTickHook(). Now, all cores will feed the INT WDT
in xPortSysTickHandler().
2022-05-18 20:12:25 +08:00
Darian Leung
bd8b03888c
esp_system: Tidy up INT WDT
...
This commit tidys the INT WDT code formatting, comments, and API descriptions.
2022-05-18 20:12:25 +08:00
Darian Leung
7dc6fd9ff6
esp_system: Make interrupt WDT private API
...
This commit makes the interrupt WDT API private. To use the API,
IDF components should now '#include "esp_private/esp_int_wdt.h"'
2022-05-18 20:12:25 +08:00
Jiang Jiang Jian
51f6091761
Merge branch 'bugfix/fix_wifi_pm_state' into 'master'
...
esp_wifi: fix no null data after WiFi waking up.
Closes IDFGH-7070
See merge request espressif/esp-idf!18141
2022-05-18 17:42:31 +08:00
Jiang Jiang Jian
68fbd95e08
Merge branch 'bugfix/disable_bt_pll_track' into 'master'
...
Bluetooth: disable PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
See merge request espressif/esp-idf!18138
2022-05-18 17:24:25 +08:00
Omar Chebib
477bc9e64c
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3, ESP32C2 and ESP32H2
2022-05-18 05:36:08 +00:00
Michael (XIAO Xufeng)
0adb814af3
Merge branch 'bugfix/fix_memory_miss_bug_esp32c3_esp32s3' into 'master'
...
ESP32C3/ESP32S3: Fix cpu crash bug when wakeup from lightsleep for memory data miss
Closes IDF-162 and IDF-4923
See merge request espressif/esp-idf!17823
2022-05-18 12:05:08 +08:00
liuning
9d7479eda3
esp_wifi: fix no null data after WiFi waking up.
2022-05-17 21:45:55 +08:00
Karl Wang
777dbb6c83
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:00:23 +08:00
Martin Gano
e9716b1498
Merge branch 'feature/add-fatfs-parser' into 'master'
...
fatfsgen.py implement functionality for parsing fatfs
Closes IDF-4360
See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
David Čermák
285c6fc906
Merge branch 'bugfix/vfs_sock_select_race' into 'master'
...
vfs: Fix potential select() race if both sock and other-fd trigger
Closes IDFGH-7308
See merge request espressif/esp-idf!18023
2022-05-17 15:28:48 +08:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Darian
4d751b9d6b
Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
...
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog
Closes IDF-3340
See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Michael (XIAO Xufeng)
adcdcbaa0e
Merge branch 'feat/pm_dbias_refactoring' into 'master'
...
pm: refactoring dbias related code
See merge request espressif/esp-idf!17994
2022-05-17 14:42:16 +08:00
Jiacheng Guo
ebcd922d53
fix review comments
2022-05-17 12:56:22 +08:00
Jiacheng Guo
a080a41b41
openthread: support automatic RCP update upon boot in border router
2022-05-17 12:55:48 +08:00
Shu Chen
92b6fc5d1f
Merge branch 'support/esp32h2beta2_libotport_and_libdriver' into 'master'
...
support build esp32h2beta1 & esp32h2beta2 on master
See merge request espressif/esp-idf!17858
2022-05-17 11:44:36 +08:00
Kapil Gupta
ba1daac5f0
Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
...
esp_wifi: Add APIs to check for BTM, RRM support of connected AP
See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Shu Chen
f1d1c5a876
Merge branch 'support/esp32h2beta2_phy_build' into 'master'
...
esp_phy: support esp32h2beta2 phy build
See merge request espressif/esp-idf!17856
2022-05-17 10:32:07 +08:00
David Čermák
d6459ab1a3
Merge branch 'bugfix/mqtt_read_neg_and_ping' into 'master'
...
mqtt: Fix incorrect reads on error; Update ping processing
Closes IDFGH-6859 and IDFGH-6930
See merge request espressif/esp-idf!18095
2022-05-17 03:02:59 +08:00
David Cermak
bf8ceae780
vfs: Fix potential select() race if both sock and other-fd trigger
...
This fixes a potential race condition in select() if both a socket-fd
and non-socket fd trigger simultaneously to unblock this select.
In case of both fds, we use lwip's local thread semaphore, so we only
have to try return it (if it was taken/triggered more than once) when
we exit select().
Closes https://github.com/espressif/esp-idf/issues/8896
2022-05-16 20:26:44 +02:00
David Cermak
58cf25193d
mqtt: Fix incorrect reads on error; Update ping processing
...
* Update submodule: git log --oneline 4874bab35659bd2301e65fd849f6559d7380d4f1..64f88b4412ea6649dbf207a07370c2617160d044
Detailed description of the changes:
* Fix documentation of config struct
- See merge request espressif/esp-mqtt!129
- See commit https://github.com/espressif/esp-mqtt/commit/e31834c
* Changes the moment we update keepalive_tick.
- See merge request espressif/esp-mqtt!127
- See commit https://github.com/espressif/esp-mqtt/commit/2c2e6f3
* MQTT: Fix signature matching for some integer values
- See merge request espressif/esp-mqtt!128
- Closes https://github.com/espressif/esp-idf/issues/8482
- MQTT: Fix signature matching for integer values (espressif/esp-mqtt@6b794e4 )
* Make the mqtt submodule logging tags lower case
- See merge request espressif/esp-mqtt!122
- See commit https://github.com/espressif/esp-mqtt/commit/fb3184c
Closes https://github.com/espressif/esp-idf/issues/8482
Closes https://github.com/espressif/esp-idf/issues/8550
2022-05-16 20:23:26 +02:00
Martin Gaňo
005af75da3
Added FATFS partition parser
2022-05-16 14:32:17 +02:00
zhangwenxu
9440430db2
esp_phy: support esp32h2beta2 phy build
2022-05-16 10:50:44 +00:00
Kapil Gupta
ee33c6ae05
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-05-16 15:57:59 +05:30
Jiang Jiang Jian
8377a3fff1
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection' into 'master'
...
component/bt: check the ble ext adv parameters
See merge request espressif/esp-idf!15977
2022-05-16 16:13:56 +08:00
Jakob Hasse
dd3c5c3cbb
doc (nvs_flash): improved NVS partition flash documentation
...
Closes https://github.com/espressif/esp-idf/issues/8196
2022-05-16 14:13:43 +08:00
Anton Maklakov
cc2010682d
Merge branch 'bugfix/bluedroid_warnings' into 'master'
...
bluedroid: fix warnings
Closes GCC-242
See merge request espressif/esp-idf!17872
2022-05-16 13:36:36 +08:00
chaijie
cc0a5a4edb
solve memory error bug when in lightsleep mode
2022-05-16 11:43:00 +08:00
Armando (Dou Yiwen)
ad747b237a
Merge branch 'toos/add_s3_ut_based_on_quad_octal_psram' into 'master'
...
ci: add s3 ut based on quad octal psram
See merge request espressif/esp-idf!18087
2022-05-16 09:57:21 +08:00
Michael (XIAO Xufeng)
1f6fad6f48
Merge branch 'test/rtc_8m_d256' into 'master'
...
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
See merge request espressif/esp-idf!17989
2022-05-16 01:30:25 +08:00
Michael (XIAO Xufeng)
cb1abdf33e
Merge branch 'bugfix/remove_mislead_psram_type_is25' into 'master'
...
Kconfig: remove misleading psram name IS25WP032 in the Kconfig option
See merge request espressif/esp-idf!18025
2022-05-16 00:09:09 +08:00
Michael (XIAO Xufeng)
6f507d527c
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-05-14 22:35:41 +08:00
Michael (XIAO Xufeng)
b920676e59
pm: add test for RTC using 8MD256 as clock source
2022-05-14 22:35:41 +08:00
Michael (XIAO Xufeng)
234628b3ea
pm: putting dbias and pd_cur code into same function
2022-05-14 02:35:11 +08:00
Jing Li
ac0d16cdc8
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup' into 'master'
...
sleep: fix cannot lightsleep again after a wakeup from ULP
Closes IDFGH-4396
See merge request espressif/esp-idf!17970
2022-05-13 22:25:23 +08:00
Mahavir Jain
a0e27a186b
Merge branch 'esp32c2/support_secure_boot' into 'master'
...
ESP32C2: Support Secure Boot V2
Closes IDF-3846 and IDF-4209
See merge request espressif/esp-idf!17442
2022-05-13 19:46:22 +08:00
Mahavir Jain
dae6467263
Merge branch 'bugfix/remove_http_server_header_file' into 'master'
...
esp_http_server: Remove http_server.h Header file
See merge request espressif/esp-idf!18074
2022-05-13 19:34:13 +08:00
Harshit Malpani
73fc12cdcd
esp_http_server: Remove http_server.h Header file
2022-05-13 16:00:17 +05:30
Darian Leung
7c02bde904
esp_system: Update task watchdog unit tests and example
...
This commit does the following:
- Update existing unit tests that use the TWDT to call the new
esp_task_wdt_init() API
- Add a set of dedicate TWDT unit tests
- Updates the TWDT example
2022-05-13 18:01:28 +08:00
Darian Leung
5953bca376
esp_system: Add arbitrary user feature to TWDT
...
This commit moidifies the TWDT as follows:
- Adds a feature to allows subscribing arbitrary users to the TWDT
- Changes esp_task_wdt_init() API to accept configuration structure
- Changes esp_task_wdt_init() and esp_task_wdt_deinit() to subscribe/unsubscribe
idle tasks of various cores.
- Adds support for SMP FreeRTOS idle tasks
- Updates startup code TWDT initialization
- Updates API documentation
2022-05-13 18:01:28 +08:00
Darian Leung
4877a9fcba
esp_system: Refactor task_wdt
...
This commit refactors the task watchdog as follows:
- Renamed variables, types, and functions
- Replaced manual linked list implementation with SLIST()
- Moved calloc()/free() calls out of critical sections
- Shortened ISR critical sections
- Updated API description
- Updated code formatting
2022-05-13 17:57:44 +08:00
Aleksei Apaseev
e8cb6bd6b3
feat: Added extra gdbinit file loading for reproducible build
2022-05-13 08:41:24 +00:00
Anton Maklakov
39146a1d85
ble_mesh: correct function declaration
2022-05-13 15:24:17 +07:00
Djordje Nedic
e09ef86d7c
partition_table: Add warning when partitions are nearly full
...
This adds a warning in cases where the smallest partition is nearly full.
A test with a specially crafted partition table is created for the smallest partition warning.
If the threshold or the template itself change, change the factory app partition size as well.
2022-05-13 07:14:04 +00:00
Anton Maklakov
b69efa20ad
bluedroid: fix -Wchar-subscripts warning
...
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
bcfec4ad74
bluedroid: suppress some -Waddress-of-packed-member warnings
2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed
bluedroid: fix argument type according its usage
2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53
bluedroid: fix argument type to correct narrow one
2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0
bluedroid: fix type for passing argument in function
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd
bluedroid: fix argument type in functions
2022-05-13 06:55:22 +00:00
Mahavir Jain
dcaa74ebb3
Merge branch 'feature/optimize_wifi_provisioning_memory' into 'master'
...
feat(wifi_provisioning): Optimize memory for wifi scan ap number
Closes AEG-67
See merge request espressif/esp-idf!18067
2022-05-13 13:58:34 +08:00
Yuan Jian Min
74ae372c73
feat(wifi_provisioning): Optimize memory for wifi scan ap number
2022-05-13 13:58:34 +08:00
Kapil Gupta
72e53d116a
Merge branch 'feature/internal_tls_code_update' into 'master'
...
wpa_supplicant: sync eap code with upstream
See merge request espressif/esp-idf!16962
2022-05-13 12:57:48 +08:00
Kapil Gupta
c2429f1cf9
wpa_supplicant: sync eap code with upstream
2022-05-13 12:57:47 +08:00
Sudeep Mohanty
1f47466664
Merge branch 'test/ignore_freertos_yield_tests' into 'master'
...
freertos: ignore freertos yield test failures
See merge request espressif/esp-idf!18078
2022-05-13 11:45:15 +08:00
Ivan Grokhotkov
849a296675
Merge branch 'bugfix/newlib_implement_atomic_load_store' into 'master'
...
newlib: implement __atomic_load/__atomic_store functions
Closes LLVM-144
See merge request espressif/esp-idf!17561
2022-05-13 02:14:15 +08:00
jingli
a85e187ea7
remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3
2022-05-12 21:51:21 +08:00
Darian
8dae294ab6
Merge branch 'refactor/freertos_kconfig_options' into 'master'
...
Freertos: Refactor Kconfig options
See merge request espressif/esp-idf!18043
2022-05-12 21:47:18 +08:00
Armando
591d45151d
psram: add quad mode kconfig macro on 32/s2
2022-05-12 21:36:18 +08:00
jingli
abb6bb1181
esp_hw_support/sleep: fix cannot enable sleep reject in some cases
...
When enable sleep reject before this fix, we have two limitations:
1. it must be light sleep
2. RTC GPIO wakeup source must be set
We require light sleep because `esp_deep_sleep_start` function has
been declared with "noreturn" attribute, So developers don't expect
that this function may return (due to an error or a sleep reject).
But the requirement for RTC GPIO wakeup source is not reasonable for
all chips. This requirement exists because ESP32 only supports RTC GPIO
and SDIO sleep reject sources. But later chips support all sleep reject
sources.
This fix brings the following changes:
for ESP32: RTC GPIO and SDIO sleep reject sources can be enabled
when corresponding wakeup source is set.
for later chips: all sleep reject sources can be enabled when
corresponding wakeup source is set.
2022-05-12 19:09:57 +08:00
jingli
ddcc5bfe38
improve ulp riscv test case
...
Add second sleep and wakeup test in test case `ULP-RISC-V is able to wakeup main CPU from light sleep`
2022-05-12 19:08:57 +08:00
Nachiket Kukade
2f4ec4e27d
Merge branch 'bugfix/sap_mode_change_crash_issue' into 'master'
...
Fixes for SAP mode change and PMF issues
Closes WIFI-4322, WIFI-4394, and IDFCI-1147
See merge request espressif/esp-idf!17865
2022-05-12 19:08:05 +08:00
jingli
dd414b9305
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-12 17:57:08 +08:00
Marius Vikhammer
34910bee07
Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
...
docs: fix doxygen warnings
See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Wei Tian Hua
aef62ba21f
Merge branch 'bugfix/fix_bt_sphinx_warnings' into 'master'
...
components_bt: fix unstandard typedefs
Closes BT-2357
See merge request espressif/esp-idf!18047
2022-05-12 16:46:13 +08:00
Sudeep Mohanty
ffae594e8b
freertos: ignore freertos yield test failures
...
This commit updates the freertos yield tests to be ignored by the CI
during failures.
2022-05-12 13:57:02 +05:30
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Mahavir Jain
af1f342ee8
Merge branch 'fix/make_esp_tls_t_private' into 'master'
...
Make esp_tls_t as private structure
Closes IDF-2812
See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
KonstantinKondrashov
c8cd3e3da3
esp_hw_support: Adds a msg when 32k xtal was stopped
2022-05-12 06:28:52 +00:00
morris
068adfba70
heap: use ROM implementation for heap tlsf on esp32c2
2022-05-12 05:18:57 +00:00
morris
24f5fecef0
hal: use ROM implementation for systimer and wdt on esp32c2
2022-05-12 05:18:57 +00:00
morris
334126315f
esp32c2: level up from preview targets
2022-05-12 05:18:57 +00:00
Kapil Gupta
36321fda82
Merge branch 'feature/eloop_timer' into 'master'
...
wpa_supplicant: Add timer based eloop implementation
See merge request espressif/esp-idf!17430
2022-05-12 12:30:44 +08:00
Mahavir Jain
42aac8d1d7
Merge branch 'contrib/github_pr_8816' into 'master'
...
Don't ignore return value of `httpd_stop` (GitHub PR)
Closes IDFGH-7222
See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Kapil Gupta
97d7bde1ea
Merge branch 'feature/wps_code_updation' into 'master'
...
wpa_supplicant: wps code cleanup
See merge request espressif/esp-idf!16577
2022-05-12 11:56:58 +08:00
Darian Leung
aa028f018f
freertos: Refactor Kconfig options
...
This commit refactors FreeRTOS Kconfig options as follows:
- Grouped them into Kernel and Port submenus
- Renamed Kernel option promppts to match upstream names
- Simplified some option descriptions
- Added "Todo" markers related to SMP support
2022-05-12 11:53:16 +08:00
Michael (XIAO Xufeng)
cc37f63e14
Merge branch 'bugfix/keep_rtc8m_in_lightsleep' into 'master'
...
pm: fixed RTC8M domain power down issue when used as RTC source
See merge request espressif/esp-idf!17612
2022-05-12 10:25:35 +08:00
weitianhua
4c370cc437
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-05-11 14:30:20 +00:00
Andrei Safronov
3d9814bf8b
newlib: implement __atomic_load/__atomic_store functions
2022-05-11 17:00:14 +03:00
Sachin Parekh
7dd62bb044
esp32c2: Remove assert check on len for SHA calculation
2022-05-11 18:00:07 +05:30
Sachin Parekh
2c725264f7
esp32c2: Support Secure Boot V2 based on ECDSA scheme
2022-05-11 18:00:03 +05:30
Kapil Gupta
ecc87cfc8d
wpa_supplicant: wps code updation
...
Update WPS code with upstream. Also moved ESP specific code
in another esp code folder.
2022-05-11 12:18:52 +00:00
Kapil Gupta
9c27cf93fc
Add testcase for eloop execution
2022-05-11 17:45:23 +05:30
Kapil Gupta
d06daee350
wpa_supplicant: Add timer based eloop implementation
2022-05-11 17:45:23 +05:30
Vilem Zavodny
342abc262f
Merge branch 'feature/esp_lcd_read_i2c' into 'master'
...
Feature/esp lcd read i2c
See merge request espressif/esp-idf!18016
2022-05-11 20:02:21 +08:00
Harshit Malpani
9f99d2350a
docs: Added breaking change for esp_https_server to migration guide
2022-05-11 16:30:16 +05:30
Mahavir Jain
dec3db6913
Merge branch 'bugfix/freertos_stack_tcb_alloc_order' into 'master'
...
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
See merge request espressif/esp-idf!18042
2022-05-11 18:09:49 +08:00
Harshit Malpani
2c56c6cad8
Updated coding style and added error logs
2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8
Don't ignore return value of httpd_stop
2022-05-11 08:58:01 +00:00
zhangwenxu
87070b8d3c
openthread: support build esp32h2beta1 & esp32h2beta2 on master
2022-05-11 16:32:19 +08:00
Aditya Patwardhan
aa9de02259
esp_tls.h: Clean up included header files.
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
5b15c91ae4
esp_https_server.h: Remove const identifier for esp_tls pointer
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
788c9ddf8d
esp_tls: Added getter function for esp_tls ssl ctx.
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
434e74ff73
esp_tls: Make esp_tls_t as private structure.
2022-05-11 07:09:34 +00:00
Michael (XIAO Xufeng)
36074b9812
pm: add powerdown for int_8m on ESP32-C2 and ESP32-H2
...
Also move the xtal fpu logic to sleep_modes.c
2022-05-11 11:36:34 +08:00
Michael (XIAO Xufeng)
2905cbbe03
pm: fixed RTC8M domain power issues
...
introduced in e44ead5356
1. The int8M power domain config by default is PD. While LEDC is using
RTC8M as clock source, this power domain will be kept on.
But when 8MD256 is used as RTC clock source, the power domain should
also be kept on.
On ESP32, there was protection for it, but broken by commit
e44ead5356
. Currently the power domain
will be forced on when LEDC is using RTC8M as clock source &&
!int8m_pd_en (user enable ESP_PDP_DOMAIN_RTC8M in lightsleep). Otherwise
the power domain will be powered off, regardless of RTC clock source.
In other words, int8M domain will be forced off (even when 8MD256
used as RTC clock source) if LEDC not using RTC8M as clock source, user
doesn't enable ESP_PDP_DOMAIN_RTC8M, or in deep sleep.
On later chips, there's no such protection, so 8MD256 could't be used as
RTC clock source in sleep modes.
This commit adds protection of 8MD256 clock to other chips. Fixes the
incorrect protection logic overriding on ESP32. Now the power domain
will be determiend by the logic below (order by priority):
1. When RTC clock source uses 8MD256, power up
2. When LEDC uses RTC8M clock source, power up
3. In deepsleep, power down
4. Otherwise determined by user config of ESP_PDP_DOMAIN_RTC8M,
power down by default. (This is preferred to have highest
priority, but it's kept as is because of current code structure.)
2. Before, after the macro `RTC_SLEEP_CONFIG_DEFAULT` decides dbias, the
protection above may force the int8m PU. This may cause the inconsistent
of dbias and the int8m PU status.
This commit lifts the logic of pd int8m/xtal fpu logic to upper layer
(sleep_modes.c).
Related: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
temp
2022-05-11 11:30:47 +08:00
morris
523c51818c
Merge branch 'feature/c2_soc_hwsupport_code' into 'master'
...
ESP32-C2 (729) RTC update (Clock, PM)
Closes IDF-3833 and IDF-4874
See merge request espressif/esp-idf!17311
2022-05-11 11:23:57 +08:00
Jakob Hasse
903649ddcd
Merge branch 'feature/component_ut_mem_leak_check' into 'master'
...
Component unit tests memory leak check
Closes IDF-2148
See merge request espressif/esp-idf!17667
2022-05-11 10:03:55 +08:00
morris
df5872b3a4
Merge branch 'feature/support_i2c_on_esp32h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-4155
See merge request espressif/esp-idf!17798
2022-05-10 22:48:05 +08:00
Sudeep Mohanty
f6be878b6c
Merge branch 'feature/freertos_smp_single_core_build' into 'master'
...
freertos: Enable FreeRTOS SMP unicore build
See merge request espressif/esp-idf!18020
2022-05-10 19:52:39 +08:00
Mahavir Jain
318f723042
freertos: extend snapshot test to check return status of vTaskGetSnapshot
2022-05-10 14:19:17 +05:30
Mahavir Jain
5b817038a0
freertos: add return value to API vTaskGetSnapshot
...
`vTaskGetSnapshot` is being used in coredump module to collect diagnostic information.
It is possible that input arguments are invalid and `assert` in this situation is not
correct.
This commit modifies API signature to return pdTRUE in case of success, and pdFALSE
otherwise. Caller can verify return value and then take appropriate decision.
2022-05-10 11:39:50 +05:30
Sudeep Mohanty
c60b70ff8f
Merge branch 'test/test-freertos-smp-yield-behavior' into 'master'
...
freertos: add freertos unit test to verify yielding behavior of the kernel
Closes IDF-3343
See merge request espressif/esp-idf!17903
2022-05-10 13:18:20 +08:00
Mahavir Jain
01855054ab
Merge branch 'bugfix/mbedtls_dynamic_buffer_crash_on_ssl_server' into 'master'
...
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer
Closes IDF-4836
See merge request espressif/esp-idf!17877
2022-05-09 23:07:50 +08:00
Mahavir Jain
1093173382
Merge branch 'bugfix/httpd_queue_work' into 'master'
...
esp_http_server: Update httpd_queue_work() API
Closes IDFGH-6813
See merge request espressif/esp-idf!17809
2022-05-09 21:59:13 +08:00
Li Jingyi
fa3cbf9162
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function
2022-05-09 13:56:20 +00:00
Harshit Malpani
1bb03e17a7
esp_http_server: update httpd_queue_work() API to use semaphore
...
Closes: https://github.com/espressif/esp-idf/issues/8440
2022-05-09 18:00:05 +05:30
Nachiket Kukade
2aa156d8b5
esp_wifi: Update wifi libs
...
1. Fix issues caused during SoftAP mode change
2. Improve SoftAP PMF logic for triggering of SA Query and cleanup
2022-05-09 16:15:57 +05:30
Mahavir Jain
588a65759c
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
...
This is as per FreeRTOS recommendation and allows to protect task TCB
in case task stack has overflowed.
2022-05-09 15:45:38 +05:30
zlq
6336f8191e
C2 rtc code
2022-05-09 17:50:54 +08:00
Vilem Zavodny
4a2766d906
esp_lcd: Add support for rx_param on I2C transport.
2022-05-09 11:49:57 +02:00
Sudeep Mohanty
0eafe4d326
Merge branch 'bugfix/power-down-rtc-periph-for-ulp-touch-fsm' into 'master'
...
ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V
Closes IDFGH-6186
See merge request espressif/esp-idf!17680
2022-05-09 15:31:50 +08:00
Mahavir Jain
f7f6a929f2
Merge branch 'bugfix/Fix_ios_ble_adv_rsp' into 'master'
...
Fix iOS advertisement response and simplify
Closes IDFGH-7093, IDFGH-5959, and IDFGH-7133
See merge request espressif/esp-idf!18003
2022-05-09 13:43:57 +08:00
morris
755233290a
Merge branch 'contrib/github_pr_8572' into 'master'
...
UART: added default clock source choice for all targets + Github PR fix
Closes IDFGH-6952
See merge request espressif/esp-idf!17502
2022-05-09 12:36:46 +08:00
Sudeep Mohanty
aa60118944
freertos: Enable FreeRTOS SMP unicore build
...
This commit enables unicore build with the FreeRTOS SMP kernel.
2022-05-09 09:44:44 +05:30
Sudeep Mohanty
3ea1c8bf96
freertos: add freertos unit test to verify yielding behavior of the kernel
...
This commit adds a unit test to verify the task yielding behavior of the
FreeRTOS SMP kernel.
2022-05-09 03:48:07 +00:00
Sudeep Mohanty
6fba3fc645
Merge branch 'refactor/refactor-freertos-tls-del-cb' into 'master'
...
freertos-smp: refactor thread local storage pointers deletion callbacks
Closes IDF-3330
See merge request espressif/esp-idf!17972
2022-05-09 11:45:27 +08:00
Vladimir Chistyakov
7a4cacfcd0
console: allow use apb clock for uart to achieve high baud rate
...
Console sets UART clock source to REF_TICK on ESP32 and ESP32S2 by
default, however, APB clock frequency does not change when power
management is disabled. Using APB clock source allows higher baud rates
for UART console.
Closes https://github.com/espressif/esp-idf/pull/8572
2022-05-09 11:26:30 +08:00
morris
c49e99f9e7
uart: use clk_tree API to acquire FAST_RC clock
2022-05-09 11:26:30 +08:00
morris
722fde218d
uart: add default source clock for all targets
2022-05-09 11:26:30 +08:00
morris
660ff8e840
rmt: declare RMTMEM as a block of memory
2022-05-09 11:26:30 +08:00
Jakob Hasse
905f5c3d41
feature (unity): added memory leak check API, integrated it into cxx tests
2022-05-09 11:09:20 +08:00
morris
f670c2a963
Merge branch 'contrib/github_pr_8888' into 'master'
...
utils.py: fix assert range with hour (GitHub PR)
Closes IDFGH-7300
See merge request espressif/esp-idf!18011
2022-05-09 10:11:26 +08:00
Marius Vikhammer
5bee313bde
Merge branch 'bugfix/kconfig_checker_osource' into 'master'
...
kconfig: update check_kconfigs.py to handle orsource command
See merge request espressif/esp-idf!18013
2022-05-09 09:48:06 +08:00
Wu Zheng Hui
0580d68b69
esp32c2: Support riscv floating-point library selection
2022-05-08 17:57:40 +08:00
Armando (Dou Yiwen)
03aeac1dde
Merge branch 'refactor/adc_hal_common_layer' into 'master'
...
adc: create common adc hal layer
See merge request espressif/esp-idf!17577
2022-05-08 15:45:56 +08:00
Armando
49747bb486
adc: create common adc hal layer
2022-05-07 19:20:44 +08:00
morris
c5cd86ae8b
test_utils: migrate to use new rmt driver
2022-05-07 10:34:50 +00:00
morris
2fb43820c2
driver_ng: implement new rmt driver
...
The legacy driver can't handle the breaking change between esp chips
very well.
And it's not elegant to extend new feature like DMA, ETM.
The new driver can return a opaque handle for each RMT channel.
An obvious transaction concept was also introduced.
TX and RX functionalities are splited out.
2022-05-07 10:34:50 +00:00
morris
df474e74a1
rmt_legacy: fix undetermined idle level
...
Closes https://github.com/espressif/esp-idf/issues/8864
2022-05-07 10:34:50 +00:00
morris
5bfe873725
driver: deprecate legacy rmt driver
...
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Marius Vikhammer
d7053c38cc
docs: fix broken links
2022-05-07 13:09:41 +08:00
Roland Dobai
efc3357f1a
Merge branch 'feature/semihosting_call_number_change' into 'master'
...
Semihosting V2
Closes IDF-4893
See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
Michael (XIAO Xufeng)
76a46a939c
Kconfig: remove misleading psram name IS25WP032 in the Kconfig option
...
Closes: https://github.com/espressif/esp-idf/issues/8863
2022-05-06 22:56:53 +08:00
morris
06e071ba4b
Merge branch 'feature/driver_ng_enable_disable_logic' into 'master'
...
driver_ng: added explicit enable/disable functions
Closes IDF-4204
See merge request espressif/esp-idf!17885
2022-05-06 20:44:50 +08:00
Zim Kalinowski
4967ee40c6
Merge branch 'bugfix/lwip_afl_host_test_mock' into 'master'
...
LUpdate AFL host test mock
Closes IDF-4953
See merge request espressif/esp-idf!17962
2022-05-06 20:13:21 +08:00
morris
3a5fdfe35a
temp_sensor: added enable/disable functions
...
The previous start/stop functions have been rename to enable/disable.
2022-05-06 18:18:39 +08:00
morris
d67888b92b
pcnt: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
e7295c3577
gptimer: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
3f66660444
Merge branch 'feature/bringup_esp32c2eco1' into 'master'
...
esp32c2:ECO1 ROM update
Closes IDF-4933
See merge request espressif/esp-idf!17723
2022-05-06 18:06:26 +08:00
wuzhenghui
d8de64bff8
Kconfig: add depends
2022-05-06 15:26:43 +08:00
Mahavir Jain
e150c33695
Merge branch 'bugfix/remove_mdns_dependency_from_wifi_prov' into 'master'
...
wifi_provisioning: Remove mdns dependency
See merge request espressif/esp-idf!18006
2022-05-06 13:38:30 +08:00
Sudeep Mohanty
283f569a03
freertos-smp: refactor thread local storage pointers deletion callbacks
...
This commit updates how the TLS pointers deletion callbacks are called
during task deletion in the FreeRTOS SMP kernel. The callbacks are now
routed through the portCLEAN_UP_TCB() macro. This commit also adds a
new kconfig option CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS to control
the enablement of the TLSP deletion callbacks.
2022-05-06 09:25:25 +05:30
Marius Vikhammer
c7a827a136
kconfig: update check_kconfigs.py to handle orsource command
...
check_kconfigs.py would only correctly handle "source", but not "rsource", "osource"
or "orsource".
Fixed any warnings detected after updating the test.
2022-05-06 11:31:24 +08:00
Simon
0b00831703
Merge branch 'bugfix/i2c_timeout_issue' into 'master'
...
I2C: Patch for solving watchdog timeout issue
Closes IDFGH-6923, IDFGH-6463, and IDFGH-5558
See merge request espressif/esp-idf!17956
2022-05-06 10:38:38 +08:00
Mahavir Jain
b3ab2c64d4
Merge branch 'bugfix/fix_websocket_server' into 'master'
...
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
Closes IDFGH-7162
See merge request espressif/esp-idf!17997
2022-05-06 09:18:06 +08:00
Yuan Jian Min
293830a8ee
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
2022-05-06 09:18:05 +08:00
Jiang Jiang Jian
34211f898c
Merge branch 'docs/update_esp_hid_device' into 'master'
...
[docs] fix documents for Bluetooth HID Device API reference and example
See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Armando (Dou Yiwen)
76be0c2624
Merge branch 'bugfix/fix_esp32_mmu_init_issue' into 'master'
...
mmu: add ll functions for mmu unmap
Closes OCD-526 and IDF-4962
See merge request espressif/esp-idf!17868
2022-05-05 22:21:18 +08:00
Harshit Malpani
185a45c9d7
wifi_provisioning: Remove mdns dependency
...
mDNS code here was futuristic which was never used.
Removing this section of code as wifi_provisioning does not necessarily require it
2022-05-05 16:46:24 +05:30
Kapil Gupta
cb222740bd
Merge branch 'bugfix/coverity_fixes' into 'master'
...
wpa_supplicant: Fix issues reported by coverity
Closes WIFI-4390
See merge request espressif/esp-idf!17915
2022-05-05 18:17:27 +08:00
wuzhenghui
386efe1e0f
Sync: Add support for FT psk( 3d5ca7ee
)
2022-05-05 18:10:43 +08:00
wuzhenghui
d4757a329e
add todo
2022-05-05 17:41:12 +08:00
wuzhenghui
fa482239a9
esp32s3: use wdt/systimer hal rom implement as default for esp32s3
2022-05-05 17:41:11 +08:00
wuzhenghui
ba76b10d3f
esp32c2: fix ut case header imssing
2022-05-05 17:41:11 +08:00
wuzhenghui
961b08f1a7
hal: use WDT HAL IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
wuzhenghui
17b3d139d5
hal: use systimer HAL IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
jiangguangming
6ec373daf5
heap_tlsf: use tlsf IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
jiangguangming
a9f8b20431
spi_flash: enable ESP32C2 SPI_FLASH_ROM_IMPL
2022-05-05 17:41:11 +08:00
wuzhenghui
0a5367d29b
newlib: link ESP8684 ROM symbols _printf_float & _scanf_float
2022-05-05 17:41:11 +08:00
wuzhenghui
b530632f33
esp32c2: fix soc_caps defines
2022-05-05 17:41:11 +08:00
wuzhenghui
d91ccbc346
esp32c2: update eco rom
2022-05-05 17:41:11 +08:00
lorenzo.consolaro
87cc13f369
Fix iOS advertisement response and simplify
2022-05-05 14:57:25 +05:30
Erhan Kurubas
ad078c5153
semihosting: drop absolute path support
2022-05-05 09:12:42 +00:00
Erhan Kurubas
0fc0254734
semihosting: version 2
2022-05-05 09:12:42 +00:00
Cao Sen Miao
9a9f10e4c9
I2C: patch for solving watchdog timeout issue
2022-05-05 14:36:49 +08:00
Kapil Gupta
805b5c9115
Merge branch 'feature/11r_changes' into 'master'
...
esp_wifi: Add support for FT psk
Closes WIFI-2160
See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
morris
25456069dc
Merge branch 'feature/disable_protection' into 'master'
...
bootloader: Create option for toggling memory region protection
See merge request espressif/esp-idf!17981
2022-05-05 13:04:30 +08:00
morris
595df1d3fa
Merge branch 'refactor/move_rtc_ctrl_to_esp_hw_support' into 'master'
...
hw_support: move rtc_ctrl from driver to hw_support
See merge request espressif/esp-idf!17963
2022-05-05 11:57:31 +08:00
Ivan Grokhotkov
6b88cc190e
Merge branch 'bugfix/console_usbserjtag_detect' into 'master'
...
console, usb_serial_jtag: don't block on non-interactive terminals
Closes IDFGH-7248
See merge request espressif/esp-idf!17985
2022-05-04 19:19:56 +08:00
Ivan Grokhotkov
1b90711545
vfs: usb_serial_jtag: consider O_NONBLOCK flag when reading via driver
...
Closes https://github.com/espressif/esp-idf/issues/8839
2022-05-04 11:37:52 +02:00
Ivan Grokhotkov
6b5599bb12
console: linenoiseProbe: check if response is valid
...
Previously linenoiseProbe would accept any 4 byte response, even one
that isn't expected. This adds a check that the first byte of the
response is ESC.
Suggested in https://github.com/espressif/esp-idf/issues/8839 .
2022-05-03 21:26:14 +02:00
Junzhuo
0172e97151
utils.py: fix assert range with hour
...
`hour=23` (23 P.M.) will out of the `range(0, 23)`, which should be `range(0, 24)`.
2022-05-04 00:43:27 +08:00
Gustavo Henrique Nihei
8ffb157791
bootloader: Create option for enabling memory region protection
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-03 09:58:25 -03:00
Ivan Grokhotkov
77b754b47f
newlib: fix return value of no-VFS _read_r if nothing received
...
'read' function should return 0 when encountering an end of file. When
newlib calls read and sees EOF returned, it assumes that this
condition is permanent and never calls 'read' for this file again
(unless the read pointer is moved using fseek).
The correct behavior in case no characters were received over UART is
to return -1. In this case newlib will retry reading from file on next
call to fread, fgetc or another function which calls __srefill_r.
2022-05-02 20:47:18 +02:00
Ivan Grokhotkov
47659be5b8
build system: remove lwip from common requirements
...
lwip was added to common requirements list to provide "sys/socket.h"
header to all components without additional requirements specified.
However, lwip pulls in a lot of dependencies on other components.
This commit removes lwip from common requirements to reduce the number
of components in G1-only apps.
To compensate for this removal, the following changes are made:
- newlib (which is a common requirement) has a public dependency on
lwip if lwip is present in the build. This ensures that sys/socket.h
is available as long as lwip component is included into the build.
- lwip is now a public requirement of esp-tls since esp_tls.h includes
sys/socket.h header.
- lwip is now a public requirement o esp_http_client because
sys/socket.h is included from esp_http_client.h
- lwip is now a private requirement of esp_wifi for "smartconfig_ack"
- lwip is now a private requirement of mqtt for socket functions
- lwip is now a public requirement of tcp_transport because
esp_transport_tcp.h includes sys/socket.h header.
- mbedtls checks if lwip component is present in the build. If yes,
net_sockets.c is added to the build, along with the dependency on
lwip. Previously lwip was a public requirement of mbedtls
unconditionally.
system/g1_components test app is updated to reflect the changes
Default public dependencies of a component before and after this
change, except common requirements:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
- vfs (public dependency of lwip)
- esp_wifi (public dependency of lwip)
- esp_event (public dependency of esp_wifi)
- esp_netif (public dependency of esp_event)
- esp_eth (public dependency of esp_netif)
- esp_phy (public dependency of esp_wifi)
After:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
Altogether, the following components have been always added as
public requirements to all other components, and are not added now
([breaking-change]):
- lwip
- vfs
- esp_wifi
- esp_event
- esp_netif
- esp_eth
- esp_phy
Application components now need to explicitly declare dependencies on
these components.
2022-05-02 20:47:17 +02:00
Ivan Grokhotkov
81f2a94f9a
esp_system: make dependencies on vfs and esp_wifi optional
2022-05-02 20:47:17 +02:00
Martin Vychodil
aa1200607a
Merge branch 'feature/mmc_validate_hs_mode' into 'master'
...
Add high speed mode switch validation check for mmc.
See merge request espressif/esp-idf!17545
2022-05-02 22:45:20 +08:00
kapil.gupta
3d5ca7ee6e
wpa_supplicant: Add support for FT psk
2022-05-01 16:16:51 +05:30
Jiang Jiang Jian
baa5b8ed7d
Merge branch 'bufix/esp32c3_s3_build_err' into 'master'
...
component_bt: Fix ESP32C3/S3 build error after enabled light sleep
Closes BT-2086
See merge request espressif/esp-idf!17546
2022-05-01 17:48:18 +08:00
Jiang Jiang Jian
4adab0b707
Merge branch 'bugfix/default_ssid_not_set' into 'master'
...
esp_wifi: Fix for default ssid not set.
Closes IDFGH-7141
See merge request espressif/esp-idf!17910
2022-05-01 17:35:44 +08:00
Jiang Jiang Jian
e30e664519
Merge branch 'bugfix/fix_esp32c3_brownout_under_deepsleep' into 'master'
...
rtc: fix c3 brownout bug after deepsleep
Closes IDF-4875
See merge request espressif/esp-idf!16654
2022-05-01 17:28:54 +08:00
David Čermák
2941cd353a
Merge branch 'bugfix/tcp_transport_documentation' into 'master'
...
tcp_transport: Fix documentation for connect functions
See merge request espressif/esp-idf!17270
2022-04-30 07:45:21 +08:00
Darian
52bf6367b9
Merge branch 'refactor/freertos_smp_move_idf_api' into 'master'
...
freertos: Move SMP FreeRTOS IDF API additions to seperate files
See merge request espressif/esp-idf!17897
2022-04-29 17:25:17 +08:00
Darian Leung
e08d574a5d
lwip: Update AFL host test mock
...
This commit updates and refactors the AFL host test mock as follows:
- Isolates the mock so that it only relies on lwip component and linux stdlib headers
- Grouped all mock functions in 'esp32_mock.h/c'
- Updates the lwip esp32 port files to include 'esp32_mock.h' when building for linux
- Use host stdlib headers instead of xtensa stdlib headers
2022-04-29 15:11:44 +08:00
Darian Leung
4e4f20d82a
lwip: Fix extra or missing includes
2022-04-29 15:11:44 +08:00
morris
9ab4abfb46
hw_support: move rtc_ctrl from driver to hw_support
2022-04-29 14:28:09 +08:00
Mahavir Jain
7acaa7f96d
Merge branch 'bugfix/http_auth_for_multiple_redirect' into 'master'
...
esp_http_client: Fix redirect by resetting auth_header before parsing
Closes IDF-4821
See merge request espressif/esp-idf!17736
2022-04-29 12:46:02 +08:00
Vamshi Gajjela
f116228cd6
Add high speed mode switch validation check for MMC.
2022-04-28 15:23:21 +02:00
Kapil Gupta
f38e6cb4fa
Merge branch 'bugfix/tkip_countermeasure_changes' into 'master'
...
wpa_supplicant: Unicast key renew in TKIP mic failure
See merge request espressif/esp-idf!17819
2022-04-28 18:50:44 +08:00
Jiang Jiang Jian
1b81efc320
Merge branch 'bugfix/idle_task_skipped_light_sleep' into 'master'
...
pm_impl: fix neither enter light sleep nor enter "waiti" state in idle task
Closes IDFGH-6294
See merge request espressif/esp-idf!17820
2022-04-28 16:11:29 +08:00
Sudeep Mohanty
f709faea7c
ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V
...
RTC_CNTL_COCPU_SHUT_RESET_EN register was being reset during ULP RISC-V
initialization which does not let the ULP RISC-V coprocessor to reset
after it goes to halt. For proper operation of the coprocessor, it must
be reset after each cycle and hence this commit keeps
RTC_CNTL_COCPU_SHUT_RESET_EN set.
2022-04-28 13:41:07 +05:30
Roland Dobai
fdf784b7d7
Merge branch 'feature/add_gdb_as_a_tool' into 'master'
...
tools: add GDB v11.1 as a tool
Closes IDF-3880, IDF-4079, OCD-411, IDFGH-4510, and GCC-90
See merge request espressif/esp-idf!17100
2022-04-28 14:35:13 +08:00
Michael (XIAO Xufeng)
6bc8dd0f92
Merge branch 'feature/support_esp32s3_bbpll_fix' into 'master'
...
rtc: update esp32s3 bbpll config
Closes IDF-4872
See merge request espressif/esp-idf!14471
2022-04-27 22:52:21 +08:00
Darian Leung
efdedaf726
freertos: Move IDF API additions to seperate files
...
This commit moves the IDF API additions from task.h/task.c to seperate header/source files.
- Declarations moved to "idf_additions.h"
- Definitions moved to "freertos_task_c_additions.h"
The API descriptions have also been updated.
2022-04-27 20:31:39 +08:00
Espressif BOT
4a56352f56
Update esp_crt_bundle certificates
2022-04-27 11:26:58 +00:00
Jiang Jiang Jian
5d59e8db5f
Merge branch 'bugfix/fix_build_warring' into 'master'
...
esp_phy: fix build warning
Closes WIFI-4396
See merge request espressif/esp-idf!17838
2022-04-27 18:19:13 +08:00
Ivan Grokhotkov
871375cae3
Merge branch 'bugfix/bootloader_support_public_req' into 'master'
...
esp_hw_support: remove public dependency on bootloader_support
See merge request espressif/esp-idf!17792
2022-04-27 17:04:07 +08:00
Ivan Grokhotkov
25a5344763
Merge branch 'feature/vfs_fat_info' into 'master'
...
fatfs: add esp_vfs_fat_info() + unit tests
Closes IDF-4853
See merge request espressif/esp-idf!17654
2022-04-27 17:01:33 +08:00
Wang Meng Yang
3198e17f4e
Merge branch 'bugfix/spp_crash_after_call_spp_deinit' into 'master'
...
Component_bt/Fix spp crash after call esp_spp_deinit
Closes BT-2342
See merge request espressif/esp-idf!17842
2022-04-27 13:02:24 +08:00
Xiong Wei Chao
af84842e8b
Component_bt/Fix spp crash after call esp_spp_deinit
2022-04-27 13:02:23 +08:00
Omar Chebib
5bd4decad1
I2C: Read transactions, without a STOP, won't panic anymore
...
* Closes https://github.com/espressif/esp-idf/issues/8548
2022-04-27 03:55:19 +00:00
Armando
b748a4fe5e
mmu: improve vaddr range check
2022-04-27 11:35:07 +08:00
Armando
e09787d851
mmu: fix macro MMU_ENTRY_NUM and add new macro MMU_MAX_PADDR_PAGE_NUM
2022-04-27 11:35:07 +08:00
Armando
2764cd5682
mmu: simplify mmu_hal_init
2022-04-27 11:35:07 +08:00
jiangguangming
63ac5e4a99
mmu: add ll func used to invalidate the mmu entry
2022-04-27 11:35:07 +08:00
Simon
e4d85807ea
Merge branch 'feature/spi_flash_esp8684_support' into 'master'
...
spi_flash: refactor spi_flash clock configuration logic and support esp32c2
Closes IDF-4474, IDF-4025, and IDF-4066
See merge request espressif/esp-idf!16602
2022-04-27 11:05:45 +08:00
Ivan Grokhotkov
3175e472ba
Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
...
esp_timer: remove from freertos public requirements
See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
Konstantin Kondrashov
2ce6c78af4
Merge branch 'feature/check_block_after_burn' into 'master'
...
efuse: Validates data after burning and re-burnes it if necessary
Closes ESPCS-817
See merge request espressif/esp-idf!17686
2022-04-27 01:10:42 +08:00
Konstantin Kondrashov
df30b362a8
efuse: Validates data after burning and re-burnes it if necessary
2022-04-27 01:10:41 +08:00
Kapil Gupta
f070e2db6d
wpa_supplicant: Fix issues reported by coverity
2022-04-26 21:40:27 +05:30
Alex Lisitsyn
09c1fbae4a
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure' into 'master'
...
driver: uart fix send bytes in RS485 mode rts assert failure
See merge request espressif/esp-idf!14583
2022-04-26 21:48:07 +08:00
Alex Lisitsyn
fe41cc13f8
driver: uart fix send bytes in RS485 mode rts assert failure
2022-04-26 21:48:07 +08:00
aditi_lonkar
9fb0708782
esp_wifi: Fix for default ap ssid not set.
2022-04-26 17:55:14 +05:30
Kapil Gupta
9a818cf31d
wpa_supplicant: Unicast key renew in TKIP mic failure
...
Currently we always request group key renew for during
TKIP mic failure. Add support for unicast/multicast
key renew as per packet.
2022-04-26 17:43:34 +05:30
Island
5a87a9c65e
Merge branch 'bugfix/oversized_SegN_as_valid' into 'master'
...
ble_mesh: stack: Bugfix for oversized SegN as valid
See merge request espressif/esp-idf!17576
2022-04-26 19:18:43 +08:00
Mahavir Jain
adb04c5ab1
Merge branch 'bugfix/wifi_provisioning_arduino' into 'master'
...
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h
See merge request espressif/esp-idf!17884
2022-04-26 17:42:30 +08:00
Rodrigo Garcia
d7201b82f2
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h
2022-04-26 17:42:29 +08:00
Jiang Jiang Jian
e966af7237
Merge branch 'docs/update_wifi_api_doc' into 'master'
...
DOC: update wifi api docs
Closes DOC-2542, DOC-2672, DOC-743, and WIFI-3748
See merge request espressif/esp-idf!17552
2022-04-26 17:12:50 +08:00
Cao Sen Miao
4418a855ba
spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2
2022-04-26 15:22:37 +08:00
Jessy Chen
2e5c28eb46
esp_phy: fix tx power limit for esp32s2/s3/c3
2022-04-26 02:46:08 -04:00
Jessy Chen
991fc96fcb
esp_phy: fix build warning
2022-04-26 02:46:02 -04:00
Jing Li
e503ebf5f9
Merge branch 'bugfix/_rtc_slow_length_incorrectly_optimized' into 'master'
...
sleep_power_domain: fix _rtc_slow_length being incorrectly optimized by compiler
Closes IDFGH-4705
See merge request espressif/esp-idf!17887
2022-04-26 11:29:02 +08:00
Jiang Jiang Jian
158116b2e6
Merge branch 'bugfix/fix_disable_bt_log_ci_fail' into 'master'
...
component_bt: Fix CI failure when disable bluetooth debug log
See merge request espressif/esp-idf!17898
2022-04-26 11:23:09 +08:00
Jiang Jiang Jian
43f769dcb4
Merge branch 'contrib/github_pr_8779' into 'master'
...
esp_wifi: fix clearing default wifi netif procedure(GitHub PR)
Closes IDFGH-7179
See merge request espressif/esp-idf!17788
2022-04-26 11:14:39 +08:00
Jiang Jiang Jian
37a1bf3a6f
Merge branch 'feature/lwip_logs_through_ESP_LOG_interface' into 'master'
...
feature/add option to route LWIP logs through ESP_LOG interface
Closes IDFGH-7186
See merge request espressif/esp-idf!17893
2022-04-26 10:45:20 +08:00
Ivan Grokhotkov
b0544b9745
esp_timer: only add as a public dependency to FreeRTOS if necessary
...
esp_timer will be added as a dependency to freertos only if
CONFIG_FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER is enabled.
Other components are updated to add esp_timer as public or private
dependency, as needed.
This removes esp_timer from the default list of public dependencies.
2022-04-25 18:39:59 +02:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
080953ce02
Merge branch 'contrib/github_pr_8812' into 'master'
...
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition (GitHub PR)
Closes IDFGH-7218
See merge request espressif/esp-idf!17886
2022-04-25 18:54:55 +08:00
xiongweichao
5a16fa95e9
Fix CI failure when disable bluetooth debug log
2022-04-25 18:35:22 +08:00
david zuhn
52e34fb7fd
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition
2022-04-25 17:52:00 +08:00
sly
117c30e835
fix S3 bbpll calibrate fail bug in high temperature
2022-04-25 16:41:04 +08:00
Jeff H
5ebd86ab6a
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-04-25 16:35:04 +08:00
Roland Dobai
5f017e5390
Merge branch 'feature/esptool_package' into 'master'
...
esptool: Include esptool as a Python package instead of using it as a submodule
Closes IDF-4785
See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
morris
017f35a357
Merge branch 'contrib/github_pr_8825' into 'master'
...
fix small typos in the comments (documentation) (GitHub PR)
Closes IDFGH-7231
See merge request espressif/esp-idf!17890
2022-04-25 15:39:31 +08:00
Harshit Malpani
437d90c408
esp_http_client: Fix redirect by resetting auth_header before parsing
2022-04-25 05:16:49 +00:00
Rahul Tank
a82e6e63d9
Merge branch 'bugfix/fix_incorrect_timer_comment' into 'master'
...
NimBLE: Correct the log level of timer reset value print
See merge request espressif/esp-idf!17874
2022-04-25 12:43:48 +08:00
Alexey Lapshin
b5bafae596
tools: add GDB v11.1 as a tool
...
GDB now is standalone tool separated from toolchain due to frequent updates.
Added installation tests for the new tool.
Tests are changed because they were wrong, see explanation:
esp32 objdump:
40084290 <esp_crosscore_int_send_yield>:
......
/builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
4008429c: 000090 retw
With previous GDB backtrace was:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144
This commit fixes the backtrace with the right line number:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
Other tests changes have the same cause of fixing.
Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
wangjialiang
a094532785
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:47:10 +08:00
Jiang Jiang Jian
68d4c47b7e
Merge branch 'update/wifi_api_Docs' into 'master'
...
DOC:update wifi api docs
Closes WIFI-4380, WIFI-3856, IDFGH-6362, and IDFGH-6778
See merge request espressif/esp-idf!16194
2022-04-25 10:48:31 +08:00
Jack
4169ca1a2b
esp_wifi: update wifi lib
2022-04-25 00:00:51 +08:00
zhangyanjiao
e3b8f59867
update wifi api docs
2022-04-24 23:55:54 +08:00
Jack
59af19b502
esp_wifi: update wifi lib
2022-04-24 23:22:19 +08:00
jingli
f3ea7f8838
fix _rtc_slow_length being incorrectly optimized by compiler
2022-04-24 23:13:48 +08:00
Michael (XIAO Xufeng)
cbbb308173
Merge branch 'bugfix/esp_flash_forbid_invalid_init' into 'master'
...
spi_flash: forbid writing to main flash when using invalid init arguments
Closes IDFGH-6936
See merge request espressif/esp-idf!17761
2022-04-24 22:53:57 +08:00
Jacques Supcik
2a00945fba
fix small typos
2022-04-24 16:50:08 +02:00
Jessy Chen
8c3a8ea603
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-04-24 21:20:54 +08:00
Jessy Chen
5cb82df4dc
esp_wifi: update noise floor unit
2022-04-24 21:20:54 +08:00
xueyunfei
26fa8260b1
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Jack
63af85f7e7
esp_wifi: fix espnow recv unencrypted packets issue
...
Closes https://github.com/espressif/esp-idf/issues/8577
Closes https://github.com/espressif/esp-idf/issues/8574
2022-04-24 20:23:12 +08:00
muhaidong
8ef2ed8269
esp_wifi: fix the bug that check whether bssid is zero mac
2022-04-24 20:09:07 +08:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
laokaiyao
b99ced08a2
i2s: fix only right case
...
Closes: https://github.com/espressif/esp-idf/issues/8538
2022-04-23 07:38:45 +00:00
laokaiyao
5b3468ebb3
i2c: support i2c on esp32h2
2022-04-23 07:38:25 +00:00
radim.karnis
2bb7dc4471
esptool: Include as a package, delete submodule
2022-04-22 21:31:17 +02:00
Darian
7c5cf3988f
Merge branch 'bugfix/twai_ll_parse_frame_buffer_typo' into 'master'
...
TWAI: Fix twai_ll_parse_frame_buffer() typo
Closes IDFGH-7140
See merge request espressif/esp-idf!17875
2022-04-22 21:29:59 +08:00
Rahul Tank
e254d1f855
NimBLE: Correct the log level of timer reset value print
2022-04-22 16:21:28 +05:30
morris
5f8ead1bb6
Merge branch 'bugfix/fix_rtc_mem_load_err' into 'master'
...
rtc_regulator: fix rtc mem load err
Closes AUD-3740
See merge request espressif/esp-idf!17870
2022-04-22 16:38:18 +08:00
Darian Leung
09dc46552b
twai: Fix twai_ll_parse_frame_buffer() typo
...
Closes https://github.com/espressif/esp-idf/issues/8743
2022-04-22 15:25:39 +08:00
Mahavir Jain
85e73b9871
Merge branch 'bugfix/mbedtls_arguments' into 'master'
...
mbedtls: fix argument types and take care overflow warnings
Closes GCC-239
See merge request espressif/esp-idf!17847
2022-04-22 11:59:26 +08:00
Sudeep Mohanty
2b507c33aa
Merge branch 'feature/freertos-smp-task-deletion-coproc-cleanup' into 'master'
...
freertos-smp: Task Deletion Coproc context save area cleanup
Closes IDF-3332
See merge request espressif/esp-idf!17628
2022-04-22 11:51:31 +08:00
Jiang Jiang Jian
5203b876db
Merge branch 'bugfix/pmf_disable_api' into 'master'
...
Add API to disable PMF configuration
See merge request espressif/esp-idf!17685
2022-04-22 10:29:41 +08:00
Anton Maklakov
f4c190cadd
Merge branch 'bugfix/abs_arguments' into 'master'
...
fix warnings: abs() use again
Closes GCC-240
See merge request espressif/esp-idf!17846
2022-04-22 09:30:23 +08:00
Zim Kalinowski
6f11c5884a
Merge branch 'feature/refactor-freertos-tests' into 'master'
...
freertos: Reorganized FreeRTOS folder structure
Closes IDF-4753
See merge request espressif/esp-idf!17793
2022-04-22 03:03:59 +08:00
jingli
252a4eceb4
fix rtc mem load err(since the voltage of rtc regulator is too low)
2022-04-21 23:38:16 +08:00
morris
334bf89b0f
lcd: spi lcd support transmit lsb first
...
Closes https://github.com/espressif/esp-idf/issues/8790
2022-04-21 13:59:47 +00:00
morris
de433105a2
lcd: don't turn on disp in init
...
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
morris
4280164be4
rmt: add more clock source caps
2022-04-21 13:59:47 +00:00
Mahavir Jain
d187fac8c4
Merge branch 'esp_tls/remove_deprecated_api' into 'master'
...
[esp_tls] Remove deprecated API
See merge request espressif/esp-idf!17575
2022-04-21 17:02:30 +08:00
Zim Kalinowski
dad8b50876
freertos: move test files to appropriate subfolders
2022-04-21 07:55:34 +00:00
Mahavir Jain
765008a787
Merge branch 'fix/reenable_mbedtls_rsa_unit_test' into 'master'
...
test_rsa.c: remove 'use_blinding' variable.
Closes IDF-4708
See merge request espressif/esp-idf!17603
2022-04-21 15:47:55 +08:00
Sudeep Mohanty
44ee07ef23
freertos-smp: Task Deletion Coproc context save area cleanup
...
This commit adds FPU and other Co-processor context save area cleanup in
the task TCB for the FreeRTOS SMP kernel.
2022-04-21 13:09:03 +05:30
Anton Maklakov
434bd5e52e
mbedtls: suppress -Wstringop-overflow
2022-04-21 13:33:32 +07:00
Anton Maklakov
4a7f36a52a
mbedtls: fix argument types to match mbedtls/shaXXX.h
2022-04-21 12:30:49 +07:00
Anton Maklakov
bbe2bb9994
components: correct abs() use for 64-bit argument
2022-04-21 12:22:15 +07:00
Anton Maklakov
7a066b7b56
components: correct abs() use for unsigned argument
2022-04-21 12:22:01 +07:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Jiang Jiang Jian
56914d3c81
Merge branch 'update/c3_s3_phy_lib_20220419' into 'master'
...
Update esp c3/s3 phy lib aa05aec
See merge request espressif/esp-idf!17814
2022-04-21 11:00:46 +08:00
gaoxiaojie
a64cd9c908
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
2022-04-20 17:28:17 +08:00
Hrudaynath Dhabe
079b5b1857
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data' into 'master'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data
Closes IDFGH-6773
See merge request espressif/esp-idf!17105
2022-04-20 16:32:45 +08:00
Laukik Hase
864c59c091
esp_tls: Remove deprecated API
...
- Removed deprecated esp_tls_conn_new() viz. duplicated by
esp_tls_conn_new_sync()
- Removed deprecated esp_tls_conn_delete()
- Marked esp_tls_conn_http_new() as deprecated, added alternative
esp_tls_conn_http_new_sync() (similar to esp_tls_conn_http_new_async())
2022-04-20 12:18:25 +05:30
Armando (Dou Yiwen)
5bb59b00e7
Merge branch 'feature/support_bss_on_psram' into 'master'
...
psram: support .bss on psram on esp32s3
Closes IDF-4814, IDF-4396, IDFGH-7148, and IDFGH-7153
See merge request espressif/esp-idf!17557
2022-04-20 11:16:28 +08:00
Aditya Patwardhan
1b4cc4c9f2
test_rsa.c: remove 'use_blinding' variable.
...
The "mbedtls_rsa_private" has made f_rng function mandatory for the
operation.
Also updated the MAX_PERFORMANCE values with offset added with blinding
Added the SOC_CCOMP_TIMER_SUPPORTED Check
2022-04-20 01:07:01 +00:00
Euripedes Rocha
f2c77bb70f
tcp_transport: Fix documentation for connect functions
...
Documentation was incorrectly point that we return the socket number.
The function returns an integer related to the status of the connection.
Closes https://github.com/espressif/esp-idf/issues/8416
2022-04-19 14:18:05 +00:00
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
xiewenxiang
dabcfab7ef
Update esp c3/s3 phy lib (aa05aec)
2022-04-19 20:18:05 +08:00
Darian
fc9c6a6cfb
Merge branch 'feature/freertos_smp_port_local_storage' into 'master'
...
freertos: Disable portUSING_MPU_WRAPPERS
Closes IDF-4563
See merge request espressif/esp-idf!17409
2022-04-19 19:52:29 +08:00
Armando
b5de3ec953
esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
...
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8
psram: support .bss on psram on esp32s3
2022-04-19 19:48:00 +08:00
Ivan Grokhotkov
a4e8a623b3
Merge branch 'bugfix/linux_target_log_macos' into 'master'
...
linux target: add ESP_LOG_BUFFERS support, fix build on macOS
See merge request espressif/esp-idf!17726
2022-04-19 19:45:24 +08:00
Ivan Grokhotkov
93edb8fd52
Merge branch 'bugfix/errno_overlap' into 'master'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Darian Leung
839476b461
freertos: Add SMP FreeRTOS coprocessor unit tests
2022-04-19 13:35:30 +08:00
Darian Leung
8c92d0b2af
freertos: Disable portUSING_MPU_WRAPPERS in FreeRTOS SMP Xtensa port
...
This commit disables portUSING_MPU_WRAPPERS for the FreeRTOS SMP xtensa port.
This was previously enabled due to the need to keep a CPSA (coprocessor save
area pointer) in the TCB. The CPSA pointer is now calculated at run time.
2022-04-19 13:35:30 +08:00
Rahul Tank
8b4e032255
Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
4af0cd89dd
Merge branch 'bugfix/correct_nimble_kconfig' into 'master'
...
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
See merge request espressif/esp-idf!17779
2022-04-18 21:42:51 +08:00
Kapil Gupta
86013e918a
Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
...
wpa_supplicant: Add CA certification bundle support
See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
Darian
2fda413674
Merge branch 'bugfix/freertos_smp_main_task_affinity' into 'master'
...
freertos: Fix main task affinity in SMP FreeRTOS
See merge request espressif/esp-idf!17787
2022-04-18 19:14:55 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-04-18 12:10:30 +02:00
Omar Chebib
bd50aa4dfc
Merge branch 'refactor/remove_hal_dependency_on_log' into 'master'
...
hal: Remove dependency on log component
Closes IDF-4859
See merge request espressif/esp-idf!17709
2022-04-18 17:48:03 +08:00
Darian Leung
79cecf05b3
freertos: Fix main task affinity in SMP FreeRTOS
2022-04-18 15:50:47 +08:00
Konstantin Kondrashov
04bcc17dcc
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Omar Chebib
f772d78317
hal: Remove dependency on log component
...
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
...
In c4bcf111
, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.
Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.
This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Adam Múdry
22b46580f8
fatfs: add esp_vfs_fat_info() + unit tests
2022-04-15 20:49:53 +02:00
Krzysztof Lewandowski
e72151055b
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-15 05:22:24 -04:00
Martin Vychodil
b9e06d7222
Merge branch 'bugfix/sdmmc_cmd38_arg_validation' into 'master'
...
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
Closes IDFGH-7094
See merge request espressif/esp-idf!17684
2022-04-15 04:33:37 +08:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
David Čermák
a7c1112ca4
Merge branch 'feature/ws_client_support_cont_frames' into 'master'
...
transport_ws: Parse and expose frame fin flag
Closes IDFGH-6767 and IDFGH-6737
See merge request espressif/esp-idf!17748
2022-04-14 23:18:12 +08:00
Hrudaynath Dhabe
57905c7ecf
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
...
handling of key RSC.
Closes https://github.com/espressif/esp-idf/issues/8401
2022-04-14 17:13:49 +05:30
Nachiket Kukade
8dea7cbed6
wpa_supplicant/dpp: Avoid deadlock while deleting DPP task
...
Closes https://github.com/espressif/esp-idf/issues/8724
2022-04-14 16:54:47 +05:30
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Rahul Tank
18df58f1df
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
2022-04-14 16:13:21 +05:30
Roland Dobai
667edfa7a9
Merge branch 'bugfix/s3_otg_compressed_flash_with_stub' into 'master'
...
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub
Closes ESPTOOL-372
See merge request espressif/esp-idf!17559
2022-04-14 18:26:18 +08:00
Jiang Jiang Jian
2c434ff4a5
Merge branch 'bugfix/fix_phy_i2c_crash' into 'master'
...
esp_phy: Add IRAM_ATTR for phy i2c spinlock
Closes BT-2323
See merge request espressif/esp-idf!17756
2022-04-14 18:25:24 +08:00
Michael (XIAO Xufeng)
d64c6f581d
ledc: cleanup the clock selection code
2022-04-14 08:15:14 +00:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
KonstantinKondrashov
1e0eef52d3
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
morris
cc71e645be
Merge branch 'feature/ksz8863rll_support' into 'master'
...
ESP IDF infrastructure preparation for ksz8863rll support
See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Ondrej Kosta
90829e64d5
Merge branch 'feature/create_l2tap_example' into 'master'
...
Feature/create l2tap example
Closes IDF-4096
See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Michael (XIAO Xufeng)
46b5363e39
spi_flash: forbid writing to main flash when using invalid init arguments
...
Also refactored the init code to make the logic of device (CS) acquiring
more centralized.
Resolves: https://github.com/espressif/esp-idf/issues/8556
2022-04-13 18:02:34 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
xiewenxiang
ba3770ba30
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-13 12:16:58 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ondrej Kosta
e4217ff868
esp_eth/test_apps: fixed byte order of EthType during raw socket creation
2022-04-12 12:33:57 +00:00
Omar Chebib
047903c612
Merge branch 'typo/heap_test' into 'master'
...
Heap: fix typos in test and component
See merge request espressif/esp-idf!17731
2022-04-12 18:45:04 +08:00
MacDue
1ca3a4fbe3
transport_ws: Parse and expose frame fin flag
...
Note: esp_websocket_client still needs patching to expose this
2022-04-12 11:31:51 +01:00
Roland Dobai
3b161a40d6
esptool_py: Update to support ESP32-S3 USB OTG compressed flashing with stub
2022-04-12 08:53:12 +00:00
Wang Meng Yang
06b7c5c788
Merge branch 'bugfix/fix_spp_initiator_connect_failed' into 'master'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed
Closes BT-2332
See merge request espressif/esp-idf!17698
2022-04-12 14:56:25 +08:00
Kapil Gupta
ea7691ba6c
Merge branch 'bugfix/wmn_scan_fixes' into 'master'
...
wpa_supplicant: Remove scan done event from btm task
See merge request espressif/esp-idf!17705
2022-04-12 14:53:54 +08:00
Jakob Hasse
902611831b
Merge branch 'doc/rng_small_improvements' into 'master'
...
Doc: Clarify RNG usage
See merge request espressif/esp-idf!17695
2022-04-12 14:21:47 +08:00
Mahavir Jain
8fac20d7dc
Merge branch 'feature/upgrade_argtable_3_2_1_files' into 'master'
...
console: upgrade argtable3 to v3.2.1 (multi-file approach)
See merge request espressif/esp-idf!17687
2022-04-12 12:42:29 +08:00
Simon
675e15a6b5
Merge branch 'esptool/temporary_support_mspi_clock' into 'master'
...
spi_flash: esptool temporarily supports C2/H2 clock configurations
See merge request espressif/esp-idf!17721
2022-04-12 10:28:44 +08:00
Ivan Grokhotkov
5f7afd3980
console: argtable3: sync arg_end argument name
...
...between declaration and definition, to silence clang-tidy warnings
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
ebe1acc6b8
console: argtable3: fix -Wwrite-strings warnings
...
Re-apply commit 744c2dcdd9
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
8240144580
console: argtable3: re-introduce arg_print_formatted function
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
21a94dfcb6
console: argtable3: use newlib getopt, disable logs
...
Opted for changing the source code to avoid adding one extra flag to
component public CPPFLAGS.
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
10f72e1086
console: argtable3: update CMakeLists.txt for v3.2.1
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
69d1424c15
console: argtable3: add SPDX copyright headers
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
c0d62c58d3
console: argtable3: upgrade to v3.2.1
...
Source code taken from release archives in
https://github.com/argtable/argtable3/releases/tag/v3.2.1.52f24e5
Applied dos2unix to all files.
Removed trailing whitespace with the pre-commit hook.
Resolves some of the static analysis issues reported in
https://github.com/espressif/esp-idf/issues/6440
(mallocs are replaced by xmalloc wrapper which panics on failed
allocations)
2022-04-11 19:42:52 +02:00
Vamshi Gajjela
0e366db603
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
...
Unit test cases added to verify -ve test, for sdmmc_erase_sectors to
return ESP_ERR_NOT_SUPPORTED
Closes https://github.com/espressif/esp-idf/issues/8704
2022-04-11 15:36:45 +00:00
morris
0164ce894d
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio' into 'master'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
Closes IDFGH-7128
See merge request espressif/esp-idf!17737
2022-04-11 21:15:06 +08:00