jiangguangming
51ec91c637
add example deep sleep wake stub
2023-01-10 17:03:50 +08:00
morris
3681dee80e
gdma: support esp32h2
2023-01-10 16:37:02 +08:00
morris
d0b7f3214a
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-01-10 16:37:01 +08:00
morris
cbde82c33f
apm: added low level functions for tee controller
2023-01-10 16:37:01 +08:00
morris
f7fdba7f39
apm: disable permission control temporarily for esp32h2
...
Access Protection Mode is not yet configured globally, disable the APM
functionality temporarily for esp32h2 and esp32c6
2023-01-10 16:37:01 +08:00
Zim Kalinowski
7aabacbcfc
Merge branch 'refactor/posix_linux_sim_docs_code_format' into 'master'
...
[freertos/linux]: improved docs and coding style in non-SMP code
See merge request espressif/esp-idf!21832
2023-01-10 16:32:15 +08:00
jiangguangming
cceccb4ed9
hal: add rtc_cntl LL function for wake stub
2023-01-10 16:09:49 +08:00
Krzysztof Budzynski
738600d839
Merge branch 'docs/update_gpio_hold_en_description' into 'master'
...
docs: update description of gpio_hold_en()
See merge request espressif/esp-idf!21834
2023-01-10 15:50:05 +08:00
Darian Leung
412b09abf4
esp_pm: Migrate unit tests to test app
...
This commit migrates the esp_pm unit tests from the legacy unit test to a
stand alone test app. The following CI configurations are provided
- Default: Automatic light sleep with mostly default configurations
- Options: Enables all of the optional esp_pm features
- Limits: Limit tests esp_pm
2023-01-10 15:43:33 +08:00
C.S.M
faac178784
Merge branch 'feature/brownout_bringup_c6' into 'master'
...
BOD: Bringup for ESP32C6
Closes IDF-5345
See merge request espressif/esp-idf!21888
2023-01-10 14:42:43 +08:00
Jiang Jiang Jian
73b838dac3
Merge branch 'bugfix/sae_auth_and_pmk_issues' into 'master'
...
Fix SAE open auth and PMK issues
Closes WIFI-5059
See merge request espressif/esp-idf!21910
2023-01-10 14:03:01 +08:00
Shyamal Khachane
9603d1d903
Fix SAE open auth and PMK issues
2023-01-10 14:03:00 +08:00
Alexey Lapshin
022f3a28b6
Merge branch 'fix/efuse-function-declaration' into 'master'
...
efuse: fix esp_efuse_utility_write_reg() declaration
See merge request espressif/esp-idf!20490
2023-01-10 13:48:35 +08:00
Zhang Wen Xu
c29dc28176
Merge branch 'feature/add_ieee802154_multipan_api' into 'master'
...
ieee802154: add multipan api
See merge request espressif/esp-idf!21600
2023-01-10 11:14:51 +08:00
Zhi Wei Jian
c08cd91da3
Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
...
Bluedroid: fixed GATT multi notify and robust caching
Closes BT-3142
See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
Zhi Wei Jian
1002ad1f90
Merge branch 'bugfix/fix_disconn_due_to_instant_passed' into 'master'
...
Fix ble disconnect due to channel map update instant passed
Closes BT-3085
See merge request espressif/esp-idf!21889
2023-01-10 10:48:37 +08:00
Cao Sen Miao
56a2d0b8a2
BOD: Bringup for ESP32C6
2023-01-10 10:37:30 +08:00
tgotic
23a290f29f
esp_ipc: Use task notifications instead of semaphores
...
Closes https://github.com/espressif/esp-idf/pull/10226
- Drop the atomic usage
- Return the xSemaphoreTake for ask back
- Refactoring
2023-01-10 05:11:31 +08:00
Aleksei Apaseev
6b8be56e71
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_version' into 'master'
...
espcoredump: fix incorrectly defined coredump chip version
See merge request espressif/esp-idf!21959
2023-01-10 01:48:30 +08:00
morris
7b04836a74
Merge branch 'bugfix/esp32c3_soc_dma_low' into 'master'
...
soc: fix SOC_DMA_LOW and SOC_BYTE_ACCESSIBLE_LOW for esp32c3, esp32c2, esp32h4
See merge request espressif/esp-idf!21883
2023-01-09 21:39:39 +08:00
Aleksei Apaseev
46651e7a6a
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 18:43:35 +08:00
Laukik Hase
68d90dd392
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-01-09 15:41:36 +05:30
Laukik Hase
1e4493e592
mbedtls: Fix build with dynamic buffers feature
2023-01-09 15:41:36 +05:30
Laukik Hase
c2ab1af47f
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-01-09 15:41:36 +05:30
Laukik Hase
59de3948dc
mbedtls: Update config options as per v3.3.0 release
2023-01-09 15:41:36 +05:30
Laukik Hase
d2dddf13ae
mbedtls: Update to v3.3.0
2023-01-09 15:41:35 +05:30
Kapil Gupta
45571b0525
Merge branch 'bugfix/remove_sha384_hash_for_bigger_certs' into 'master'
...
esp_wifi: remove sha384 hash for cert size > 2k
Closes WIFI-5208
See merge request espressif/esp-idf!21840
2023-01-09 18:07:50 +08:00
Armando
5ab90e9728
phy_override: add pwdet power function
2023-01-09 17:10:36 +08:00
Armando
5be3c21cfc
adc: improve power logic
2023-01-09 17:10:04 +08:00
Armando
f9da48d94f
rtc: add pwdet and sar adc power related low level func
2023-01-09 17:09:01 +08:00
Ivan Grokhotkov
0dcdd39db1
soc: fix some memory region boundaries for esp32c3, esp32c2, esp32h4
2023-01-09 07:33:37 +00:00
morris
5fb9866f0d
Merge branch 'feature/add_sdm_dac_example' into 'master'
...
sdm: add wave output example
Closes IDF-6636
See merge request espressif/esp-idf!21892
2023-01-09 15:30:30 +08:00
morris
dba66c100c
Merge branch 'feature/mcpwm_non_varg_version_api' into 'master'
...
mcpwm: support non-vararg version of generator functions
Closes IDFGH-9046
See merge request espressif/esp-idf!21872
2023-01-09 15:07:21 +08:00
xiaqilin
98871be8ee
ieee802154: add multipan api
2023-01-09 15:06:01 +08:00
Chen Yu Dong
e72905ee35
Merge branch 'ci/enable_more_wifi_tests' into 'master'
...
CI: enable more wifi cases
See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Armando
349922dcee
adc: make adc_channel.h macros work with ng driver
...
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-09 14:25:24 +08:00
Cao Sen Miao
467356cfcd
I2C: Fix issue that pointer would be NULL if calls i2c_param first,
...
Closes https://github.com/espressif/esp-idf/issues/10163
2023-01-09 10:18:03 +08:00
Adam Múdry
586e738f8a
add: Unit test - don't trigger WDT when erasing chip
2023-01-08 13:58:37 +00:00
Adam Múdry
cfc8332833
spi: Mask esp_flash_erase chip with esp_flash_erase_sector
...
add: Fix to prevent WDT trigger
add: comments to better explain SPI API
Closes https://github.com/espressif/esp-idf/issues/9945
Closes https://github.com/espressif/esp-idf/issues/9212
Closes https://github.com/espressif/esp-idf/issues/8135
2023-01-08 13:58:37 +00:00
Matus Fabo
1b747867bd
spi: implement yield for spi2 and spi3
...
add: yield functions for spi2 and spi3
add: spi23 start and end functions
change: function names with spi1 that were not specific to spi1
change: chip data for spi2 and spi3 increased for timestamps
change: merge spi_app_func_arg_t into app_func_arg_t
change: moved os_func_data allocation before host check
2023-01-08 13:58:37 +00:00
Mahavir Jain
c948a70895
Merge branch 'fix/memory-layout-c6' into 'master'
...
soc: Fix memory layout for esp32c6
Closes IDF-5627
See merge request espressif/esp-idf!21894
2023-01-08 21:51:21 +08:00
Linda
cdc12389d5
docs: update description of gpio_hold_en()
2023-01-07 13:57:02 +08:00
Rocha Euripedes
8ba285d882
Merge branch 'feature/esp_mqtt_as_managed_component' into 'master'
...
[MQTT] - Moves compile definition out of idf
See merge request espressif/esp-idf!20651
2023-01-06 21:17:29 +08:00
chenjianhua
70bb6c7388
bluedroid: fixed GATT multi notify and robust caching
2023-01-06 20:13:58 +08:00
Jiang Jiang Jian
2b1e9dfe02
Merge branch 'feature/esp32c2_optimize_npl_api' into 'master'
...
Optimized NPL Freertos API
Closes BLE-459
See merge request espressif/esp-idf!21902
2023-01-06 19:23:53 +08:00
Armando (Dou Yiwen)
30a535db18
Merge branch 'refactor/move_mspi_timing_tuning_to_esp_hw_support' into 'master'
...
mspi: move timing tuning to esp_hw_support
Closes IDF-6470
See merge request espressif/esp-idf!21912
2023-01-06 18:47:07 +08:00
Guillaume Souchere
b8a4988451
soc: Update calculation of TWAI 1/2 base addresses
2023-01-06 09:30:36 +00:00
Guillaume Souchere
6dffac74e9
heap: Fix IRAM level 2 starting address
...
The IRAM level 2 address should start at the same address as DRAM level 2 and not DRAM level 3.
2023-01-06 09:30:36 +00:00
laokaiyao
6b631b68d1
sdm: correct concept duty to density
2023-01-06 17:01:48 +08:00
Wu Zheng Hui
751fa28919
Merge branch 'feature/update_esp32h2_memory_layout' into 'master'
...
ESP32-H2: update esp32h2 memory layout
See merge request espressif/esp-idf!21930
2023-01-06 15:51:29 +08:00
zwl
06937271bb
Optimized NPL Freertos API
2023-01-06 15:10:18 +08:00
Konstantin Kondrashov
ffea490cc7
Merge branch 'feature/mac_crc' into 'master'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort
Closes IDFGH-8989
See merge request espressif/esp-idf!21789
2023-01-06 14:50:40 +08:00
Armando
b46cfd15a2
mspi: move timing tuning to esp_hw_support
2023-01-06 14:41:20 +08:00
Euripedes Rocha
5afa3d347c
[MQTT] - Moves compile definition out of idf
...
- MQTT build process is to be managed in esp-mqtt repository
- Componenf directory points directly to submodule, usage must be
unchanged
2023-01-06 06:30:26 +00:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
wangmengyang
3cd5ba44d1
phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3
...
function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute
2023-01-06 06:03:52 +00:00
wuzhenghui
05e37ba214
esp32h2 memory: update esp32h2 memory layout
2023-01-06 05:30:24 +00:00
Marius Vikhammer
c55d82d1fa
Merge branch 'bugfix/nvs_docs_build' into 'master'
...
docs: fix nvs-related docs build issue
See merge request espressif/esp-idf!21917
2023-01-06 13:18:35 +08:00
Marius Vikhammer
7f0aa7b534
docs: updated path to nvs_tool.py in chinese doc.
2023-01-06 11:00:17 +08:00
Shu Chen
aa05964412
Merge branch 'bugfix/fix_recv_buffer_overflow' into 'master'
...
openthread_port: fix receive buffer overflow
See merge request espressif/esp-idf!21899
2023-01-06 10:27:28 +08:00
morris
4f8b2bedb5
Merge branch 'bugfix/ledc_glb_clk_compiler_warning' into 'master'
...
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on ESP32
Closes IDFGH-8904 and IDFGH-7450
See merge request espressif/esp-idf!21890
2023-01-05 22:39:35 +08:00
morris
4f37b0b0a0
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
WIP: clk: Add basic clock support for esp32h2
See merge request espressif/esp-idf!21865
2023-01-05 19:19:22 +08:00
zhangwenxu
eabc5e5b01
openthread_port: fix receive buffer overflow
2023-01-05 19:09:07 +08:00
David Čermák
c498017df6
Merge branch 'unit_test_for_C2_netif' into 'master'
...
lwip: Re-enable esp-netif unit tests for ESP32C2 target
See merge request espressif/esp-idf!21372
2023-01-05 18:56:23 +08:00
Ivan Grokhotkov
61c5fc21e1
docs: fix nvs-related docs build issue
2023-01-05 09:28:57 +01:00
Wan Lei
419544a2c8
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX' into 'master'
...
spi: fix micro SPI_HOST_MAX error
Closes IDFGH-8932
See merge request espressif/esp-idf!21557
2023-01-05 16:07:17 +08:00
Sudeep Mohanty
28ccb3b414
Merge branch 'bugfix/rtc_i2c_stuck_after_esp_restart' into 'master'
...
ulp risc-v rtc i2c: Fix a bug where RTC I2C failed to initialize after esp_restart()
Closes IDFGH-9065
See merge request espressif/esp-idf!21862
2023-01-05 15:59:08 +08:00
Sudeep Mohanty
2df00a4b17
Merge branch 'docs/ulp_riscv_i2c_sub_reg_addr' into 'master'
...
ulp-riscv-i2c: Updated API documentation about sub register address usage
Closes IDFGH-9023
See merge request espressif/esp-idf!21838
2023-01-05 15:58:29 +08:00
David Čermák
063a26b5e6
Merge branch 'bugfix/lwip_mark_ppp_officially_supported' into 'master'
...
lwip: Mark PPP officially supported
Closes IDFGH-8820
See merge request espressif/esp-idf!21900
2023-01-05 15:57:45 +08:00
Song Ruo Jing
46f67092d0
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
...
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-05 15:16:04 +08:00
Mahavir Jain
21c5c50924
Merge branch 'feature/esp_http_client_on_linux' into 'master'
...
Feature/esp http client on linux
Closes IDF-6564
See merge request espressif/esp-idf!21128
2023-01-05 14:55:02 +08:00
Shreyas Sheth
623d384778
Merge branch 'bugfix/wps_coverity_fwd_null' into 'master'
...
wpa_supplicant: Bugfix wps coverity forward null pointer issue
See merge request espressif/esp-idf!21848
2023-01-05 14:31:46 +08:00
Wan Lei
747214616c
Merge branch 'feature/add_api_spi_slave_trans_in_isr' into 'master'
...
spi_slave: add isr version api to add transaction in isr callback
Closes IDF-6199 and IDF-6049
See merge request espressif/esp-idf!20587
2023-01-05 12:46:01 +08:00
wangmengyang
29610b8a1b
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2023-01-05 12:34:49 +08:00
Zhang Wen Xu
4485bd4245
Merge branch 'bugfix/phy_print_link_error_when_build_lib_from_src' into 'master'
...
ieee802154: fix phy_printf link error when build lib from src
See merge request espressif/esp-idf!18922
2023-01-05 11:34:28 +08:00
Armando (Dou Yiwen)
7e4ef3c321
Merge branch 'feature/remove_80m_ddr_warning' into 'master'
...
mspi: remove 80m ddr warning regarding to timing tuning
See merge request espressif/esp-idf!18380
2023-01-05 11:05:06 +08:00
Island
e58181b3f9
Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2' into 'master'
...
Bugfix/fixed hci uart flow ctrl error on esp32c2
Closes BLE-460, BLE-471, and IDF-6530
See merge request espressif/esp-idf!21882
2023-01-05 10:06:16 +08:00
Adam Múdry
40d1eff2bd
Merge branch 'feature/nvs_tool_refinement' into 'master'
...
nvs: Partition tool refinement
Closes IDF-6061
See merge request espressif/esp-idf!20683
2023-01-05 06:39:01 +08:00
mofeifei
0fc2fbe83f
docs: update cn trans nvs_partition_tool/readme
2023-01-04 18:32:30 +01:00
Mahavir Jain
650fa6dba0
Merge branch 'feature/enable_SHA_and_AES_support_for_esp32c6' into 'master'
...
Feature/enable sha and aes support for esp32c6
Closes IDF-5353 and IDF-5356
See merge request espressif/esp-idf!21782
2023-01-04 23:48:34 +08:00
David Cermak
d964aaceac
lwip: Mark PPP officially supported
...
Closes https://github.com/espressif/esp-idf/issues/10249
2023-01-04 14:20:20 +01:00
Armando
7b3dc05308
mspi: remove mspi 80m ddr mode warning regarding to timing tuning
2023-01-04 12:45:20 +00:00
Wang Meng Yang
068fec4714
Merge branch 'bugfix/access_nullptr_when_ble_disconn' into 'master'
...
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected`
See merge request espressif/esp-idf!21877
2023-01-04 20:43:58 +08:00
Adam Múdry
87bdcc89d0
nvs: NVS tool refinement
...
add: JSON output
add: integrity check - correct number of free pages check
change: split to separate files
2023-01-04 12:44:22 +01:00
Island
bdf3001a45
Merge branch 'feature/support_ble_for_esp32c6' into 'master'
...
support ble for esp32c6
See merge request espressif/esp-idf!21866
2023-01-04 19:10:22 +08:00
Konstantin Kondrashov
708a9047e8
Merge branch 'feature/adds_funcs_to_read_efuses_from_cmake' into 'master'
...
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
Closes IDFGH-8890
See merge request espressif/esp-idf!21585
2023-01-04 17:17:47 +08:00
zhangwenxu
0ce075e7fa
ieee802154: fix phy_printf link error when build lib from src
2023-01-04 17:03:53 +08:00
wanlei
120d54d700
test: formate test_spi_slave.c
2023-01-04 15:35:04 +08:00
wanlei
45c1dc424f
spi_slave: add spi 'spi_slave_queue_reset_isr' and add test
2023-01-04 15:35:04 +08:00
wanlei
6ae852f8b0
spi_slave: add api 'queue_trans_isr' and add a test case
2023-01-04 15:35:04 +08:00
wanlei
971eaa0c08
spi_slave: fix spi_slave_isr iram_safe and add test case for it
2023-01-04 15:35:04 +08:00
zhaoweiliang
98c487233c
Fixed task watchdog trigger issue when closed hci uart
2023-01-04 15:27:31 +08:00
morris
781eb0c2ce
Merge branch 'doc/calarify_transmitted_symbols' into 'master'
...
rmt: clarify num_symbols in the tx done event data
Closes IDFGH-9026
See merge request espressif/esp-idf!21807
2023-01-04 14:50:37 +08:00
Guillaume Souchere
8fe13d53b1
Merge branch 'feature/re-enable-newlib-test-c2' into 'master'
...
newlib: Remove tests using RTC related features from the esp32c2 test set
Closes IDF-5057
See merge request espressif/esp-idf!21858
2023-01-04 14:46:58 +08:00
Aditya Patwardhan
be38f94c6c
esp32c6 support: Enable support for SHA and AES in esp32c6
2023-01-04 12:07:32 +05:30
Aditya Patwardhan
04a9366694
esp32c6-SHA/AES support: Added sha_ll.h and aes_ll.h files in hal layer
2023-01-04 12:07:26 +05:30
Guillaume Souchere
ebbe24ac09
Merge branch 'feature/re-enable-intr-alloc-test-c2' into 'master'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target
Closes IDF-5061
See merge request espressif/esp-idf!21836
2023-01-04 14:25:05 +08:00
Harshit Malpani
49ce5ada76
ci: Fix ci failures for target esp32c6
2023-01-04 11:20:52 +05:30
Harshit Malpani
e215ede439
mbedtls: Add support to build for linux target
2023-01-04 11:17:29 +05:30
Harshit Malpani
0635dc36c1
tcp_transport: Update tcp_transport to support linux build
2023-01-04 11:17:29 +05:30
Harshit Malpani
68ded2c350
esp_http_client: fix -Werror-format compile errors for linux target
2023-01-04 11:17:28 +05:30
Harshit Malpani
1c77e13d35
esp_http_client: Update to support build for linux
2023-01-04 11:17:28 +05:30
Harshit Malpani
43e4383bb7
esp-tls: fix build error without -Wno-format compile flag when building for Linux target
2023-01-04 11:17:27 +05:30
Harshit Malpani
aefd3b0aec
esp-tls: update esp-tls to support linux build
2023-01-04 11:17:27 +05:30
Harshit Malpani
a3c7905dc1
linux: Add esp_linux_helper.h header file
2023-01-04 11:17:18 +05:30
Wu Zheng Hui
61a04e2257
Merge branch 'bugfix/workaround_for_esp32c6_bad_mspi_freq_on_hs_mode_reset' into 'master'
...
bugfix: workaround for esp32c6 bad mspi freq on hs mode reset
See merge request espressif/esp-idf!21851
2023-01-04 13:38:32 +08:00
Jin Cheng
2e9a180f43
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:47:05 +08:00
chenjianhua
c0dd6896a7
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-01-04 11:22:33 +08:00
Shen Weilong
e41b35b089
1. Update libbt
...
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f
support ble on esp32c6
2023-01-04 11:10:10 +08:00
KonstantinKondrashov
fd721c5b09
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
...
Closes https://github.com/espressif/esp-idf/issues/10311
2023-01-04 00:30:38 +08:00
zhaoweiliang
2819f9a4c3
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
2023-01-03 20:48:32 +08:00
Song Ruo Jing
105fe9f950
Merge branch 'bugfix/ledc_channel_update_usage' into 'master'
...
ledc: Fix bug in channel-duty configuration
Closes IDF-6439
See merge request espressif/esp-idf!21635
2023-01-03 20:11:08 +08:00
Zhang Wen Xu
5bbde784de
Merge branch 'feature/support_esp32c6_phy_update' into 'master'
...
phy: update esp32c6 phy lib
See merge request espressif/esp-idf!21875
2023-01-03 19:11:17 +08:00
Guillaume Souchere
ec34a0f5f5
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:33:38 +01:00
gauri patankar
68fb038f43
wpa_supplicant:Remove redundant DEBUG_PRINT in supplicant
2023-01-03 12:52:54 +05:30
Song Ruo Jing
662df0da3b
ledc: Channel configuration requires the ledc core clock on to be effective. Therefore, a clock source is selected for the core clock since the peripheral initialization. Additionally, correct the usage of channel para_up and duty_start bits.
2023-01-03 15:16:00 +08:00
zhangwenxu
1abe00d82b
phy: update esp32c6 phy lib
...
* phy_version 101,587adde,Dec 20 2022,14:21:21
2023-01-03 14:53:33 +08:00
morris
592673b052
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-03 14:42:49 +08:00
Rahul Tank
5c8263a08b
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue' into 'master'
...
NimBLE: Fix incomplete clearing of peer_dev_rec
See merge request espressif/esp-idf!21088
2023-01-03 14:05:46 +08:00
Song Ruo Jing
981d6a67b0
clk: Add basic clock support for esp32h2
2023-01-03 11:00:32 +08:00
Cao Sen Miao
a1285ff4a5
serial_jtag: fix issue that stuck after retart after C6
2023-01-03 10:38:18 +08:00
David Čermák
bef3f2ce9e
Merge branch 'bugfix/esp_netif_ip_reconnect' into 'master'
...
esp_netif: Post IP event for PPP netifs unconditionally
Closes IDFGH-8893 and IDFGH-8899
See merge request espressif/esp-idf!21666
2023-01-03 01:10:07 +08:00
Sudeep Mohanty
4a410391cc
ulp risc-v rtc i2c: Fix a bug where RTC I2C failed to initialize after esp_restart()
...
This commit fixes a bug wherein the RTC I2C peripheral got stuck after
the main CPU performs a soft reset by using esp_restart(). This is
because the RTC domain config registers for the RTC I2C domain are not
cleared after the soft restart and hence need to be cleared manually
while initializing the RTC I2C peripheral again.
Closes https://github.com/espressif/esp-idf/issues/10468
2023-01-02 15:44:03 +01:00
Sudeep Mohanty
4c98bee8a4
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2' into 'master'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
Closes IDFGH-8880
See merge request espressif/esp-idf!21463
2023-01-02 20:50:59 +08:00
Guillaume Souchere
b5bacffbd3
esp_hw_support: allow writing in IRAM when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set for esp32C2
...
when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set, the PMP rule for esp32c2 shoud allow write access.
Fix esp_cpu_configure_region_protection() in cpu.c accordingly.
2023-01-02 08:41:16 +01:00
Guillaume Souchere
a218139d25
heap: RE-enable ESP32C2 test in test_apps
2023-01-02 08:40:59 +01:00
Guillaume Souchere
979525d0d8
esp-hw-support: fix interrupt allocation tests on esp32c2
...
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-02 08:30:20 +01:00
Shreyas Sheth
d5c88500c0
wpa_supplicant: Bugfix wps coverity forward null pointer issue
2023-01-01 19:33:24 +00:00
Shu Chen
0025915dc4
Merge branch 'feature/public_ot_port' into 'master'
...
openthread: open source openthread port layer
See merge request espressif/esp-idf!21803
2022-12-31 09:26:23 +08:00
Sumeet Singh
79fbb4add7
NimBLE: Fix incomplete clearing of peer_dev_rec
2022-12-30 17:26:00 +05:30
wuzhenghui
77f6b70a52
workaround: workaround_for_esp32c6 bad mspi freq on hs mode reset
2022-12-30 19:20:30 +08:00
Shu Chen
094997a2ec
openthread: remove port libs
2022-12-30 09:36:41 +00:00
Shu Chen
c8e98e1de0
openthread: remove the NCP vendor hook for OTA
...
The RCP update uses serial flasher.
2022-12-30 09:36:41 +00:00
Shu Chen
926af9eda1
openthread: open source openthread port layer
2022-12-30 09:36:41 +00:00
Abudl Rehman
ab80e9b5c7
ieee802154: Add linkage target library
2022-12-30 09:21:21 +00:00
zhangwenxu
0479cce5d9
CI: fix fast template app due to function unused.
2022-12-30 15:25:12 +08:00
Kevin (Lao Kaiyao)
42509fa0b3
Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq' into 'master'
...
i2s_pdm: fix tx frequency limitation
Closes IDFGH-9010
See merge request espressif/esp-idf!21764
2022-12-30 10:16:03 +08:00
Jiang Jiang Jian
c681c92e4c
Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master' into 'master'
...
esp_wifi: add basic support for esp32c6
Closes WIFI-5174, WIFI-5175, WIFI-5176, WIFI-5185, WIFI-5188, WIFI-5193, WIFI-5141, WIFI-5157, WIFI-5154, WIFI-5155, WIFI-5156, WIFI-5200, WIFI-5168, WIFI-5160, and WIFI-5214
See merge request espressif/esp-idf!21715
2022-12-30 10:08:29 +08:00
Shu Chen
2ce330bd34
Merge branch 'feature/add_openthread_and_i154_lib_for_c6' into 'master'
...
openthread: add 802.15.4 and Thread support for ESP32-C6
See merge request espressif/esp-idf!21780
2022-12-30 09:41:39 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
Jiang Guang Ming
8464186e67
Merge branch 'bugfix/update_esp_rom_rtc_header' into 'master'
...
update esp rom rtc header
See merge request espressif/esp-idf!21802
2022-12-29 18:16:13 +08:00
Kapil Gupta
7a8a85877d
Removed sha384 hash for certs > 2k
2022-12-29 15:16:58 +05:30
Xu Si Yu
c35759448a
openthread: add 802.15.4 and Thread support lib for ESP32-C6
2022-12-29 17:29:18 +08:00
Sudeep Mohanty
07a506bb02
ulp-riscv-i2c: Updated API documentation about sub register address usage
...
The RTC I2C peripheral always expects a I2C slave sub register address
to be programmed. If it is not programmed then a sub register address
available in SENS_SAR_I2C_CTRL_REG[18:11] is used for I2C read/write.
This commit updates the documentation of the API
ulp_riscv_i2c_master_set_slave_reg_addr() to clarify the same.
2022-12-29 09:58:24 +01:00
laokaiyao
943dcd2cd1
i2s_pdm: fix tx frequency limitation
...
Closes: https://github.com/espressif/esp-idf/issues/10420
2022-12-29 16:31:03 +08:00
laokaiyao
f95c2274b8
i2s: fix some typos
2022-12-29 16:31:03 +08:00
Michael (XIAO Xufeng)
c42fe6769a
Merge branch 'feat/codeowner_spi_flash_docs' into 'master'
...
docs/spi_flash: add peripherals to codowner of spi_flash doc pages
See merge request espressif/esp-idf!20311
2022-12-29 15:56:35 +08:00
morris
d5b4108085
gpio: combine sdm, glitch filter, fast gpio tests into one app
2022-12-29 14:46:16 +08:00
morris
ca1b182b25
glitch_filter: support derive clock source form IO MUX
2022-12-29 14:46:16 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
morris
672ac58ad5
io_mux: can set different clock source
2022-12-29 14:46:16 +08:00
wuzhenghui
a5fdc53bb7
clk: initialize wifi lp_clk in esp_perip_clk_init
2022-12-29 13:13:37 +08:00
lvshisheng
bba409eec1
wifi: update wifi libs to support wifi6 features and fix build error
2022-12-29 13:13:35 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Jakob Hasse
83afda922b
style(freertos/linux): improved docs and coding style
2022-12-29 12:05:15 +08:00
yuexia
6e14adcb44
rom: sync with the rebase
2022-12-29 11:48:36 +08:00
yuexia
032ebd76cb
esp32c6: support wifi 6
2022-12-29 11:48:36 +08:00
yuexia
58b7fc1d8b
esp32c6: enable wifi
2022-12-29 11:48:35 +08:00
morris
7c9e3b60c6
rmt: no auto light sleep if xtal is working as the clock source
2022-12-29 11:33:43 +08:00
KonstantinKondrashov
185262c283
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2022-12-29 05:23:18 +08:00
Michael (XIAO Xufeng)
0fcd384677
docs: fix driver sphinx warnings
2022-12-29 00:59:04 +08:00
Michael (XIAO Xufeng)
daa4af1b1f
docs: split spi_flash api-reference documents to peripherals folder
2022-12-29 00:59:03 +08:00
Wu Zheng Hui
8a095a74d4
Merge branch 'feature/add_ieee8020154_only_caps_for_esp32hx' into 'master'
...
soc: add ieee8020154_ble_only cap for esp32hx
See merge request espressif/esp-idf!21824
2022-12-28 20:12:10 +08:00
Mahavir Jain
8437c0d12c
Merge branch 'feature/gcm_operation_using_ctr_based_calculation' into 'master'
...
GCM operation optimisation
Closes IDF-5379
See merge request espressif/esp-idf!21528
2022-12-28 19:33:12 +08:00
jiangguangming
fe2984a52d
esp_hw_support: support riscv call
2022-12-28 17:35:12 +08:00
jiangguangming
42144a7e45
soc: H4/H2/C6 support SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY
2022-12-28 17:35:07 +08:00
jiangguangming
626fb5d426
esp_rom: update H4/H2/C2/C6 rom rtc.h
2022-12-28 17:06:20 +08:00
Darian
1c5ef9cb7c
Merge branch 'refactor/app_trace_use_try_critical_section_macro' into 'master'
...
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
See merge request espressif/esp-idf!21094
2022-12-28 16:55:00 +08:00
wuzhenghui
3b43b63d47
soc: add ieee8020154_only cap for esp32hx
2022-12-28 16:15:58 +08:00
Michael (XIAO Xufeng)
84a6c6f7d9
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32' into 'master'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
Closes IDFGH-4893
See merge request espressif/esp-idf!21558
2022-12-28 15:30:01 +08:00
Guillaume Souchere
a74ae7fba7
Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master'
...
heap_trace: improvements to formatting, code, comments of heap trace standalone
Closes IDFGH-8699
See merge request espressif/esp-idf!21506
2022-12-28 15:07:30 +08:00
zhiweijian
7c9d47b702
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2022-12-28 14:59:38 +08:00
LiPeng
5c93fe47cb
mbedtls: GCM implementation is replaced with CTR-based calculation
...
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
- which could not make good use of the AES DMA function to improve efficiency.
- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2022-12-28 12:14:29 +05:30
harshal.patil
f9f10c2590
mbedtls: fix esp_aes_gcm_update_ad()
API implementation
2022-12-28 11:33:09 +05:30
harshal.patil
48840d04f0
mbedtls: fix esp_aes_crypt_ctr writing to null stream block
2022-12-28 11:33:09 +05:30
harshal.patil
06bb0ee077
mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey()
2022-12-28 11:33:09 +05:30
harshal.patil
e0f31edab5
test_aes_gcm: fix output_size paramter in mbedtls_get_update()
...
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2022-12-28 11:33:09 +05:30
harshal.patil
c15b36b9c4
mbedtls: populate mbedtls_gcm_update() output_length paramater
2022-12-28 11:33:09 +05:30
Li Shuai
3ce896429c
periph clock: implemented the modem module enable, disable and reset for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
e9172ddcea
initialize the clock gating control signal of each modem clock domain
2022-12-27 21:31:59 +08:00
Li Shuai
63af1e9631
modem clock(driver): implemented the modem clock driver for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
8c05d6fd9d
modem clock(hal): implemented the modem clock hal-layer for esp32c6
2022-12-27 21:31:21 +08:00
Li Shuai
28dfaeaaef
modem clock(ll): implemented the modem clock ll-layer (include modem syscon and lpcon) for esp32c6
2022-12-27 21:31:21 +08:00
wuzhenghui
aa20825659
soc_caps: rename ESP_PD_DOMAIN_RTC8M to ESP_PD_DOMAIN_FOSC
2022-12-27 21:31:21 +08:00
Li Shuai
17f9285524
esp32c6: add SOC_MODEM_CLOCK_IS_INDEPENDENT soc_cap and more pd_caps
2022-12-27 21:31:21 +08:00
wuzhenghui
a898c3ddc6
soc: regenerate modem header with regtool
2022-12-27 21:31:21 +08:00
Kevin (Lao Kaiyao)
4a86240b6e
Merge branch 'feature/support_adc_on_c6' into 'master'
...
adc: support adc on c6
Closes IDF-5310, IDF-5311, IDF-5917, and IDF-6567
See merge request espressif/esp-idf!21431
2022-12-27 21:01:43 +08:00
Jiang Jiang Jian
eab2792735
Merge branch 'bugfix/wps_start_state_issue' into 'master'
...
esp_wifi: Add check for wps start state
See merge request espressif/esp-idf!21100
2022-12-27 17:33:20 +08:00
Guillaume Souchere
89c0a259ee
heap-trace: Add missing tests for heap_trace_summary() and heap_trace_dump_caps()
...
Note: the checks for the tests marked as [test-dump] are done in the pytest function
test_heap_trace_dump() since they are relying on the content of the heap_trace_dump_caps()
output.
2022-12-27 10:24:14 +01:00
Guillaume Souchere
c39a9de344
heap_trace: unify API to pass caps param to heap_trace_dump()
2022-12-27 10:23:30 +01:00
Sudeep Mohanty
099f648686
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
...
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.
Closes https://github.com/espressif/esp-idf/issues/10301
2022-12-27 07:44:26 +00:00
Kapil Gupta
142f339642
wpa_supplicant: Update WPS API documentation
2022-12-27 13:04:20 +05:30
Zhang Xiao Yan
b043c55f0a
Merge branch 'docs/fix_typo_in_logging_library' into 'master'
...
docs:fix a typo in logging library
See merge request espressif/esp-idf!21806
2022-12-27 14:17:52 +08:00
Shreyas Sheth
18ea8fd0ce
esp_wifi: Add check for wps start state
2022-12-27 11:14:03 +05:30
Nachiket Kukade
ac7aaabe39
Merge branch 'bugfix/remove_stray_newline_in_supplicant_logging' into 'master'
...
Follow-up changes to remove all stray '\n'
Closes IDFGH-8861
See merge request espressif/esp-idf!21453
2022-12-27 13:02:39 +08:00
Laukik Hase
58530ae070
Merge branch 'esp_local_ctrl/fix_https_server_dep' into 'master'
...
esp_local_ctrl: Add support for insecure HTTP server transport
See merge request espressif/esp-idf!21661
2022-12-27 13:02:03 +08:00
morris
011315a146
Merge branch 'feature/rmt_clock_rc_fast_c6' into 'master'
...
rmt: support PLL clock on esp32c6
Closes IDF-6341
See merge request espressif/esp-idf!21602
2022-12-27 12:53:56 +08:00
morris
080328a664
Merge branch 'feature/gptimer_rc_fast_c6' into 'master'
...
gptimer: support RC_FAST clock source
See merge request espressif/esp-idf!21601
2022-12-27 12:45:03 +08:00
morris
26467f63cd
doc: clarify num_symbols in the tx done event data
...
Closes https://github.com/espressif/esp-idf/issues/10435
2022-12-27 12:08:38 +08:00
Linda
7b6c8d6f8f
docs:fix a typo in logging library
2022-12-27 11:58:47 +08:00
Jiang Jiang Jian
77d220c8e8
Merge branch 'bugfix/fix_reconnect_slowly_due_to_power_save_issue' into 'master'
...
esp_wifi: send null data when state change from association to run
Closes WIFI-5048
See merge request espressif/esp-idf!21587
2022-12-27 11:56:13 +08:00
Omar Chebib
5eb8defb30
Merge branch 'staging/coredump_extram_support' into 'master'
...
coredump: enable support for stacks in external RAM
Closes IDF-5497 and IDF-2391
See merge request espressif/esp-idf!21067
2022-12-26 17:52:41 +08:00
muhaidong
0af89c4611
esp_wifi: send null data when state change from association to run
2022-12-26 17:21:52 +08:00
morris
2f711d1e82
Merge branch 'contrib/github_pr_10331' into 'master'
...
rmt: adding loop_count to the config initializer (GitHub PR)
Closes IDFGH-8912
See merge request espressif/esp-idf!21560
2022-12-26 15:58:20 +08:00
cje
a0ed82525e
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-26 07:19:13 +00:00
morris
bc2a2d3cde
gptimer: support RC_FAST clock source
...
GPTimer on C6 supports RC_FAST as the clock source. The benefit of this
clock is that, the clock can sustain in light sleep.
Added a new API to return the real resolution of the timer handle.
2022-12-26 13:18:25 +08:00
Darian Leung
cc5ee295ad
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
...
Previously, esp_apptrace_lock_take() would manually disable interrupts and
acquire the spinlock in order to allow the criticla section entry to have time
outs, and also be preemptable in between attempts to acquired.
However, the same can be achieved by using portTRY_ENTER_CRITICAL(), thus
allowing us to make spinlock_acquire/spinlock_release private.
2022-12-23 19:20:42 +08:00
Darian
b223baf318
Merge branch 'feature/freertos_xtensa_disable_port_using_mpu_wrappers' into 'master'
...
FreeRTOS: Fix FPU bugs on Amazon SMP FreeRTOS, port over FPU updates to IDF FreeRTOS
Closes IDF-5803
See merge request espressif/esp-idf!20280
2022-12-23 19:17:49 +08:00
gauri patankar
9a1e4e3b7b
wpa_supplicant:Remove stray \n in supplicant logging
2022-12-23 15:55:06 +05:30
chli
e8d652165c
wpa_supplicant: remove stray \n when logging "wifi_wps_enable"
...
Closes https://github.com/espressif/esp-idf/pull/10285
Signed-off-by: gauri patankar <gauri.patankar@espressif.com>
2022-12-23 15:32:58 +05:30
Mahavir Jain
d6dd8a56f3
Merge branch 'feature/logs_for_flash_enc_virtual' into 'master'
...
bootloader_support: Adds better logs for virtual efuses
See merge request espressif/esp-idf!21748
Closes https://github.com/espressif/esp-idf/pull/10383
2022-12-23 16:02:53 +08:00
Darian Leung
92bbf85350
freertos: Fix clang-tidy warning on pxPortInitialiseStack()
2022-12-23 15:29:17 +08:00
Darian Leung
82f28a3e09
freertos: Update FPU unit tests to run for multiple iterations
...
This commit updates the FreeRTOS port FPU unit tests so that they run for
multiple iterations, thus checking that a task's FPU context is properly
cleaned up on deletion.
2022-12-23 15:29:17 +08:00
Darian Leung
45badf864f
freertos(IDF): Allow cross-core freeing of task memory when deleting tasks
...
Previously, IDF FreeRTOS would restrict the clean up of task memory (done by
vTaskDelete() or the Idle task) to only tasks pinned to the current core or
unpinned tasks. This was due to the need to clear the task's coprocessor
ownership on the other core (i.e., "_xt_coproc_owner_sa"). But this restriction
can be lifted by simply protecting access of "_xt_coproc_owner_sa" with a
spinlock.
This commit implements a "_xt_coproc_owner_sa_lock" to protect the access of
"_xt_coproc_owner_sa", thus vTaskDelete() and prvDeleteTCB() can now delete
tasks pinned to the other core so long as that task is not currently running.
Note: This fix was copied from the Xtensa port of Amazon SMP FreeRTOS
2022-12-23 15:29:17 +08:00
Darian Leung
c318c89453
freertos(IDF): Remove dependency on portUSING_MPU_WRAPPERS
...
This commit removes the dependency on portUSING_MPU_WRAPPERS on the Xtensa port
of IDF FreeRTOS. This dependency was added due to a hack implemented in the
upstream port that required the usage of the "xMPUSettings" member of the TCB.
The "xMPUSettings" would be used as a pointer to the task's coprocessor save
area on the stack, even though FreeRTOS MPU support was not available.
The hack has now been removed, and the CPSA pointer is now calculated using
a combination of constant offsets values and the pxEndOfStack member of the
TCB.
Note: This impelemtation was copied from the Xtensa port of Amazon SMP FreeRTOS.
2022-12-23 15:29:17 +08:00
Darian Leung
9300bef9b8
freertos(SMP): Refactor FPU handling on the Xtensa port of Amaazon SMP FreeRTOS
...
This commit refactors the FPU handling code on the Xtensa port of Amazon SMP
FreeRTOS in the following ways:
Auto-pinning via XT_RTOS_CP_EXC_HOOK
------------------------------------
The "_xt_coproc_exc" exception would previously automatically pin a task that
uses the FPU to the current core (to ensure that we can lazy save the task's FPU
context). However, this would mean that "xtensa_vectors.S" would need to be
OS-aware (to read the task's TCB structure).
This is now refactored so that "_xt_coproc_exc" calls a CP exception hook
function ("XT_RTOS_CP_EXC_HOOK") implemented in "portasm.S", thus allowing
"xtensa_vectors.S" to remain OS agnostic.
Using macros to acquire owner spinlock
--------------------------------------
The taking and relasing of the "_xt_coproc_owner_sa_lock" is now mostly
abstracted as the "spinlock_take" and "spinlock_release" macro. As a result,
"_xt_coproc_release" and "_xt_coproc_exc" are refactored so that:
- They are closer to their upstream (original) versions
- The spinlock is only taken when building for multicore
- The spinlock held region is shortened (now only protects the instructions
that access the "_xt_coproc_owner_sa" array
Other Changes
-------------
- Updated placing and comments of various "offset_..." constants used by
portasm.S
- Update description of "get_cpsa_from_tcb" assembly macro
- Tidied up some typos in the ".S" files
2022-12-23 15:29:17 +08:00
Darian Leung
fd48daf278
freertos(SMP): Fix SMP FreeRTOS Xtensa port FPU/Coproccessor bugs
...
This commit fixes the following FPU/Coprocessor bugs in the Xtensa port of
Amazon SMP FreeRTOS:
- vPortCleanUpCoprocArea() does not calculate the correct pointer to the
task's CPSA (located on the task's stack). This can result in
- _xt_coproc_release() not releasing the task's CP ownership
- The next coprocessor exception will write the current CP owner (i.e., the
deleted task's CPSA) leading to memory corruption
- _xt_coproc_release() writes xCoreID instead of 0 when clearing a CP owner.
This results in the next CP exception trying to load the CP owner's CPSA at
the address of "xCoreID", leading to a double exception.
2022-12-23 15:29:17 +08:00
Laukik Hase
b3fa7fcf73
esp_local_ctrl: Add support for insecure HTTP server transport
2022-12-23 12:14:25 +05:30
laokaiyao
ec812c1370
adc: add ADC target test for esp32c6
2022-12-23 14:05:56 +08:00
Jakob Hasse
4934487be4
Merge branch 'refactor/esp_event_test_delay' into 'master'
...
refactor(esp_event): reduced test run time
Closes IDF-6322
See merge request espressif/esp-idf!21612
2022-12-23 12:43:28 +08:00
laokaiyao
5333ac81bf
adc: support ADC on esp32c6 (driver/test/example)
2022-12-23 11:24:06 +08:00
laokaiyao
e27f3e3128
adc: support ADC on esp32c6 (hal)
2022-12-23 11:24:06 +08:00
Kevin (Lao Kaiyao)
42c6ae3522
Merge branch 'feature/support_rtcio_on_c6' into 'master'
...
rtcio: support rtcio on c6
Closes IDF-6027
See merge request espressif/esp-idf!21603
2022-12-23 10:56:49 +08:00
Jiang Jiang Jian
0d6b9e463f
Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap' into 'master'
...
Avoid ftm initiator mode on softap
Closes WIFI-5084, WIFI-5072, and WIFI-5078
See merge request espressif/esp-idf!21491
2022-12-23 10:41:33 +08:00
Darian
14394ed783
Merge branch 'bugfix/esp_pm_and_sleep_build_errors' into 'master'
...
esp_system: Fix various PM and sleep build errors
Closes IDFGH-8930
See merge request espressif/esp-idf!21606
2022-12-23 03:42:57 +08:00
Darian
d534d08244
Merge branch 'bugfix/flakey_gptimer_tests' into 'master'
...
Driver: Fix flakey gptimer tests by allowing larger count deltas
See merge request espressif/esp-idf!21766
2022-12-23 03:18:08 +08:00
Rahul Tank
8ff7d526b0
Merge branch 'bugfix/remove_global_min_max_def' into 'master'
...
Nimble: Removes global min/max definition causing problems with other libraries
See merge request espressif/esp-idf!21652
2022-12-22 22:53:45 +08:00
KonstantinKondrashov
92de037883
efuse: Hides the FLASH_ENCRYPTION_MODE_RELEASE option when using EFUSE_VIRTUAL
2022-12-22 20:03:42 +08:00
Omar Chebib
835263e50a
Coredump: add a test to check that coredump supports stacks in SPIRAM
2022-12-22 12:47:22 +01:00
Omar Chebib
42b2169542
coredump: add support for stacks in external RAM
...
Tasks having their stacks in SPIRAM can now be part of the coredump written to flash
2022-12-22 12:47:22 +01:00
Harshit Malpani
5cf26f61c0
Merge branch 'bugfix/protocol_components_no_format_cflag' into 'master'
...
Remove "-Wno-format" from protocol example specific components
See merge request espressif/esp-idf!21734
2022-12-22 18:54:48 +08:00
Darian
68e1e7d756
Merge branch 'bugfix/esp32s3_int_wdt' into 'master'
...
system: disable interrupts in esp_restart_noos_dig to fix infinite int_wdt on ESP32-S3
Closes IDF-6559
See merge request espressif/esp-idf!21755
2022-12-22 18:24:01 +08:00
Shu Chen
0215575606
Merge branch 'feature/esp32c6_ieee802154_support' into 'master'
...
ieee802154: add ieee802154 support for esp32c6
See merge request espressif/esp-idf!21615
2022-12-22 18:01:58 +08:00
Darian Leung
acd88e3f5e
driver: Fix flakey gptimer tests by allowing larger count deltas
2022-12-22 17:57:00 +08:00
Song Ruo Jing
36cdf88a5b
Merge branch 'contrib/github_pr_10402' into 'master'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR)
Closes IDFGH-8990
See merge request espressif/esp-idf!21711
2022-12-22 16:55:29 +08:00
gauri patankar
f4a2829a70
esp_wifi: Update wifi libs
...
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 14:00:32 +05:30
Ivan Grokhotkov
6020bb0f90
Merge branch 'feature/gdbstub_esp32c2' into 'master'
...
gdb stub: re-enable for ESP32-C2
Closes IDF-4135 and IDF-4245
See merge request espressif/esp-idf!21386
2022-12-22 16:00:01 +08:00
Song Ruo Jing
5d300b9bc1
Merge branch 'refactor/ledc_unit_test' into 'master'
...
ledc: Move ledc unit test to test_apps pytest framework
Closes IDF-5502
See merge request espressif/esp-idf!21723
2022-12-22 15:24:47 +08:00
Song Ruo Jing
1a6e1aba3d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2022-12-22 14:38:58 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08:00
Jiang Jiang Jian
cfef24863f
Merge branch 'bugfix/esp32c2_rev_1_1' into 'master'
...
esp32c2: fixed chip revision of ECO2
See merge request espressif/esp-idf!21735
2022-12-22 13:12:45 +08:00
Kevin (Lao Kaiyao)
7e29d113ae
Merge branch 'bugfix/add_unity_sig_sync_for_i2s_tdm_test' into 'master'
...
i2s_test: fixed rx_update stuck issue
Closes IDFCI-1527
See merge request espressif/esp-idf!21308
2022-12-22 11:27:52 +08:00
morris
32cd193ddf
rmt: support pll clock source on esp32c6
2022-12-22 11:25:54 +08:00
morris
c6e452a871
mcpwm: enable test on esp32c6
2022-12-22 11:17:38 +08:00
Chen Yu Dong
d3716c439d
Merge branch 'ci/add_generic_to_xtal_26mhz_runners' into 'master'
...
CI: add generic to xtal_26mhz jobs
See merge request espressif/esp-idf!21725
2022-12-22 10:56:25 +08:00
xiaqilin
57a6abdad1
ieee802154: add support ieee802154 for esp32c6
2022-12-22 10:45:23 +08:00
Ivan Grokhotkov
0c9ac7df6d
system: disable interrupts in esp_restart_noos_dig
2022-12-21 21:58:59 +01:00
Mahavir Jain
9c99080841
Merge branch 'fix/wifi_prov_scan_method' into 'master'
...
Changed wifi provisioning scan method
See merge request espressif/esp-idf!20408
2022-12-22 01:20:25 +08:00
Jakob Hasse
102b501b10
Merge branch 'contrib/github_pr_9962' into 'master'
...
[Panic] add user configurable reboot delay in seconds (GitHub PR)
Closes IDFGH-8506
See merge request espressif/esp-idf!21305
2022-12-21 21:12:21 +08:00
Ivan Grokhotkov
e3a4d47fd9
gdb stub: re-enable for ESP32-C2
2022-12-21 13:21:41 +01:00
wanlei
3c37bccb04
spi_flash: fix flash function arg_check with spi host_id
2022-12-21 20:03:46 +08:00
wanlei
faaf776730
spi: fix micro SPI_HOST_MAX error
...
Closes https://github.com/espressif/esp-idf/issues/10349
2022-12-21 20:03:46 +08:00
Song Ruo Jing
e68c9a6733
Merge branch 'refactor/gpio_unit_case_ci_script' into 'master'
...
gpio: Improve unit test test-apps CI process
Closes IDF-5914
See merge request espressif/esp-idf!21595
2022-12-21 18:31:18 +08:00
Chip Weinberger
9e02682097
bootloader_support: Adds better logs for virtual efuses
...
Close https://github.com/espressif/esp-idf/pull/10383
2022-12-21 18:03:41 +08:00
laokaiyao
705ddd221f
test more freq
2022-12-21 17:31:38 +08:00
Mahavir Jain
b709c84e1c
esp_local_ctrl: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:14:05 +05:30
Mahavir Jain
035c2e5799
esp_http(s)_server: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:14:04 +05:30
Mahavir Jain
bbc5914e63
esp_http_client: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:14:04 +05:30
Mahavir Jain
3a56807568
protocomm: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:13:55 +05:30
Darian Leung
2f504695e4
esp_pm: Fix string formatting type errors
...
This commit fixes a string formatting error in esp_pm with CONFIG_PM_PROFILING
is enabled.
Closes https://github.com/espressif/esp-idf/issues/10347
2022-12-21 15:50:12 +08:00
Darian Leung
13cec981df
esp_pm: Fix build error when CONFIG_PM_PROFILING is enabled
2022-12-21 15:50:12 +08:00
Michael (XIAO Xufeng)
9aec53e83f
esp32c2: fixed chip revision of ECO2
2022-12-21 15:28:50 +08:00
Jiang Jiang Jian
9d6ff96493
Merge branch 'fix/clear_cur_pmksa' into 'master'
...
Clear current pmksa before generating RSN IE
Closes IDFGH-8952
See merge request espressif/esp-idf!21413
2022-12-21 15:21:24 +08:00
morris
69dd3839ce
Merge branch 'feature/c6_sdspi_host' into 'master'
...
sdspi: bringup sdspi on c6
Closes IDF-5860
See merge request espressif/esp-idf!21681
2022-12-21 14:07:56 +08:00
Mahavir Jain
078835e358
Merge branch 'contrib/github_pr_10391' into 'master'
...
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification (GitHub PR)
Closes IDFGH-8978
See merge request espressif/esp-idf!21712
2022-12-21 13:59:00 +08:00
Song Ruo Jing
774197b7d3
ledc: Move ledc unit test to test_apps pytest framework
...
Add ledc_hal_set_duty_start and ledc_hal_set_duty_int_part to IRAM
Fix test_ledc.c minor issues
2022-12-21 12:04:42 +08:00
Mahavir Jain
9a7dd9a2a2
Merge branch 'feature/esp_http_server_esp_events' into 'master'
...
esp_http_server: Added support for esp_events
See merge request espressif/esp-idf!21132
2022-12-21 11:59:00 +08:00
Chen Yudong
b5eebc490f
CI: add generic to xtal_40mhz jobs
2022-12-21 11:53:38 +08:00
Jiang Jiang Jian
8cd0571cc9
Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue' into 'master'
...
esp_phy: add country code 01 to country code map type table
Closes IDFCI-1299
See merge request espressif/esp-idf!21656
2022-12-20 21:31:24 +08:00
sanket.wadekar
bd6a74fcac
Changed wifi provisioning scan method
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-20 17:04:30 +05:30
Shyamal Khachane
2e8ebdc0fc
wpa_supplicant: Clear current pmksa before generating RSN IE
...
Also update wifi libs with below changes -
- Fix reason codes for Invalid PMKID
- Fix handling of Assoc Resp status codes for Station
Closes https://github.com/espressif/esp-idf/issues/10364
2022-12-20 14:45:47 +05:30
Jakob Hasse
cb9786d35e
refactor(esp_system): reboot delay: added docs, protected by watchdog
2022-12-20 15:51:00 +08:00
Song Ruo Jing
4e8eb6864e
pcnt: Re-enable legacy pcnt test for esp32c6 (ledc support completed)
2022-12-20 15:28:33 +08:00
Song Ruo Jing
8db902c57b
gpio: Refactor pytest_gpio to separate cases with labels, and update to use new IdfDut class in pytest_embedded_idf
2022-12-20 15:28:33 +08:00
laokaiyao
f44aa9bcc5
i2s: fixed rx update stuck bug
2022-12-20 14:49:35 +08:00
laokaiyao
cd5f2c3d76
i2s_test: add unity signal for synchronization
2022-12-20 14:49:35 +08:00
Rahul Tank
133b2e45e3
Nimble: Removes global min/max definition causing problems with other libraries
2022-12-20 11:21:31 +05:30
Jiang Jiang Jian
266fc5e0cc
Merge branch 'bugfix/flush_pmksa_entry_after_disconnect' into 'master'
...
Fix PMK caching related regression
See merge request espressif/esp-idf!21693
2022-12-20 13:47:24 +08:00
Chip Weinberger
d43dd9246f
[Docs] specify Digital Signature byte order, and esp_ds_sign() clarification
2022-12-19 21:30:03 -08:00
Chip Weinberger
6e2ce0d289
refactor(esp_system) add user configurable reboot delay in seconds
...
Closes https://github.com/espressif/esp-idf/pull/9962
2022-12-20 13:17:09 +08:00
wuzhenghui
adc259cc79
efuse_table: update esp32c6 efuse block1 fields definition
2022-12-20 11:27:38 +08:00
Roland Dobai
7f4179744b
Merge branch 'feature/add_bootloader_sector_pad_option' into 'master'
...
esptool_py: Added a --pad-to-size flag to align the bootloader image
Closes IDF-6369
See merge request espressif/esp-idf!21238
2022-12-20 00:46:58 +08:00
Shyamal Khachane
28fdafbca6
wpa_supplicant: Fix PMK caching related regression
...
Fixed regression caused by commit bd55b8b7
2022-12-19 19:08:06 +05:30
Harshit Malpani
0885d8542d
esp_http_server: Added support for esp_events
2022-12-19 17:33:37 +05:30
Aditya Patwardhan
11dee5d27f
Merge branch 'docs/update_esp_https_ota_docs_for_esp_events' into 'master'
...
docs: Update esp_https_ota docs to have information about OTA events
See merge request espressif/esp-idf!21531
2022-12-19 19:02:43 +08:00
Jiang Jiang Jian
af9dcc4e32
Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time_on_esp32' into 'master'
...
Add config to set duplicate scan list refresh period on ESP32
Closes BT-3023
See merge request espressif/esp-idf!21618
2022-12-19 18:17:33 +08:00
Omar Chebib
1ff8a68c21
Merge branch 'bugfix/support_coredump_stack_xtensa' into 'master'
...
coredump: custom core dump stack is now supported on Xtensa targets
See merge request espressif/esp-idf!21335
2022-12-19 18:02:15 +08:00
Armando
2b14a4e93e
sdspi: bringup sdspi on c6
2022-12-19 16:33:50 +08:00
zwj
9ac7b16124
Update bt lib for ESP32
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 15:15:37 +08:00
Mahavir Jain
35d2a825c4
Merge branch 'bugfix/fix_httpd_req_cleanup' into 'master'
...
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
Closes IDFGH-8842
See merge request espressif/esp-idf!21320
2022-12-19 14:40:24 +08:00
Jiang Jiang Jian
be94097eab
Merge branch 'Bugfix/softap_excedes_the_range_of_subnet' into 'master'
...
dhcp:bugfix softap excedes the range of subnet
Closes IDF-6138
See merge request espressif/esp-idf!20831
2022-12-19 13:41:35 +08:00
Laukik Hase
346597a1c6
Merge branch 'fix/https_server_kconfig_dep' into 'master'
...
esp_https_server: Add dependency on `MBEDTLS_TLS_SERVER` config
See merge request espressif/esp-idf!21633
2022-12-19 12:32:48 +08:00
Jiang Jiang Jian
066dc196af
Merge branch 'feature/esp32c6_wifi_bt_common_dependcy_support' into 'master'
...
esp32c6: support esp32c6 phy
Closes IDF-5680
See merge request espressif/esp-idf!21576
2022-12-19 12:16:11 +08:00
Jiang Jiang Jian
92a4a146a0
Merge branch 'bugfix/fix_max_conn_num_issue' into 'master'
...
esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
See merge request espressif/esp-idf!21503
2022-12-19 11:08:46 +08:00
muhaidong
d912bbbcb0
esp_phy: add country code 01 to country code map type table
2022-12-18 14:25:17 +08:00
David Cermak
12fd9029bf
esp_netif: Post IP event for PPP netifs unconditionally
...
IP update notification for "point to point" interfaces is performed
via the same callback function as for any other interfaces (dhcp_cb,
although it's not DHCP related). In P2P interfaces we have to assure
that we always get a notification, so we can set the interface up.
This was omitted when getting the same IP address for the second
time, causing the PPPoS interface (in esp-modem applications) failing
to reconnect if disconnected.
Closes https://github.com/espressif/esp-idf/issues/10308
Closes https://github.com/espressif/esp-protocols/issues/188
2022-12-16 18:07:32 +01:00
David Čermák
a3dd334081
Merge branch 'bugfix/netif_test_rules' into 'master'
...
esp_netif various fixes: dependency cleanup, default flags, CI rules
Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155
See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
Mahavir Jain
81932a273a
Merge branch 'bugfix/esp_tls_timeout' into 'master'
...
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
See merge request espressif/esp-idf!21632
2022-12-16 18:32:30 +08:00
Zhang Wen Xu
0d88655caf
Merge branch 'support/lwip_enable_udp_debug' into 'master'
...
lwip: add menuconfig option to enable UDP debugging log
See merge request espressif/esp-idf!21634
2022-12-16 17:58:11 +08:00
Harshit Malpani
89a56392e3
esp_http_server: fix wrong context pointer in httpd_req_cleanup function
...
Added example which fails without the fix
Closes https://github.com/espressif/esp-idf/issues/10265
2022-12-16 14:40:37 +05:30
wuzhenghui
8f78520342
esp_phy: only esp32c3&esp32s3 support MAC_BB_PD, remove unused caps define
2022-12-16 15:47:59 +08:00
wuzhenghui
5822cdf93b
esp_phy: enable for esp32c6
2022-12-16 15:47:56 +08:00
xueyunfei
1ae1723d23
dhcp server:bugfix softap excedes the range of subnet
2022-12-16 14:25:04 +08:00
morris
3d09cc32a1
Merge branch 'bugfix/esp_lcd_modify_bounce_buffer_index' into 'master'
...
RGB LCD: support multi frame buffer in bounce buffer mode
See merge request espressif/esp-idf!21555
2022-12-16 14:15:51 +08:00
zhangwenxu
fd49a818f8
lwip: add menuconfig option to enable UDP debugging log
2022-12-16 06:12:50 +00:00
Laukik Hase
c86e13c3d4
esp_https_server: Add dependency on MBEDTLS_TLS_SERVER
config
2022-12-16 10:30:41 +05:30
Harshit Malpani
45bcf572c2
docs: Update esp_https_ota docs to have information about OTA events
2022-12-16 10:26:15 +05:30
Laukik Hase
665ad3dbdb
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t
...
- If internet connectivity weakened or disappeared suddenly while we were
in the TLS handshake stage, the app got stuck at that point indefinitely.
- This was because when timeout was not explicitly specified in esp_tls_cfg_t,
the default timeout was set at the wrong place. This causes the sockets to be
setup with zero timeout, hence the indefinite wait.
2022-12-16 10:20:21 +05:30
Armando
ded528e188
adc: no longer support adc2 oneshot mode on esp32c3
...
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.
However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
b4c90c44d2
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
...
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous mode is not stable.
However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Armando
6aa7091199
adc: added a soc macro indicating digital controller supported unit
2022-12-16 02:06:03 +00:00
morris
15e98dc7d3
doc: recommend turn on psram xip feature for bounbe buffer mode
2022-12-16 02:04:59 +00:00
Liu Zhongwei
4fac26e0a9
rgb_lcd: support multi-fb with bounce buffer
2022-12-16 02:04:59 +00:00
Jakob Hasse
edeadc87f2
refactor(esp_event): reduced test run time
2022-12-16 08:57:59 +08:00
David Čermák
52cfc01655
Merge branch 'bugfix/nvs_memory_issue' into 'master'
...
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
Closes IDF-6481
See merge request espressif/esp-idf!21619
2022-12-15 23:46:42 +08:00
wuzhenghui
b887f86a78
soc: add SOC_IEEE802154_SUPPORTED caps
2022-12-15 17:18:28 +08:00
Armando (Dou Yiwen)
34e5a809e0
Merge branch 'bugfix/fix_mspi_timing_tuning_psram_timing_issue' into 'master'
...
mspi_tuning: fix psram timing tuning bug
Closes IDF-6457
See merge request espressif/esp-idf!21536
2022-12-15 16:34:38 +08:00
Zhi Wei Jian
67cfef0acd
Merge branch 'feature/add_config_to_set_duplicate_scan_list_refresh_time' into 'master'
...
Add config to set duplicate scan list refresh period on ESP32-S3 and ESP32-C3
Closes BT-3073 and BT-3023
See merge request espressif/esp-idf!21586
2022-12-15 16:29:44 +08:00
Jakob Hasse
e6ca481623
bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init()
2022-12-15 15:37:21 +08:00
zhangyanjiao
590481d531
esp_wifi: change max connection num on ESP32C3 and ESP32S3
...
Closes WIFI-5114
2022-12-15 15:23:32 +08:00
Shu Chen
2a12fabec0
Merge branch 'support/ieee802154_lib_CI_beta' into 'master'
...
ieee802154: add ieee802154 component CI
See merge request espressif/esp-idf!20770
2022-12-15 14:11:48 +08:00
Jiang Jiang Jian
c08a0082d4
Merge branch 'fix/long_assoc_comeback_time' into 'master'
...
SA Query and assoc comeback related improvements in STA and SoftAP
Closes WIFI-4964
See merge request espressif/esp-idf!21115
2022-12-15 13:41:18 +08:00
David Cermak
38dec0be48
esp-netif: Support non-lwip mode, add test
...
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00
David Cermak
678d7aadd9
esp-netif/lwip: Introduce TCP/IP stack has BSD API
...
* This variable is automatically selected when lwip stack is chosen
* This commit also fixes lwip loopback configuration
2022-12-14 14:12:50 +00:00
David Cermak
fab39d2c4b
esp_netif: Make GARP default netif flags only if enabled in lwip
...
Closes https://github.com/espressif/esp-idf/issues/8641
2022-12-14 14:12:50 +00:00
David Cermak
0309e0eb03
ci/esp-netif: Update build/test rules for netif tests
2022-12-14 14:12:50 +00:00
Rahul Tank
f3012849e8
Merge branch 'feature/add_periodic_helper_macros' into 'master'
...
Nimble: Add helper macros to set interval min / max for periodic adv
See merge request espressif/esp-idf!21575
2022-12-14 22:07:00 +08:00
AndriiFilippov
4417d49333
Re-enable esp-netif unit tests for ESP32C2 target
2022-12-14 14:07:28 +01:00
Mahavir Jain
14d392b4fe
Merge branch 'bugfix/update_docs_for_secure_dl_mode' into 'master'
...
docs: Fix Secure DL mode documentation about flash read being unsupported
Closes IDF-6468
See merge request espressif/esp-idf!21593
2022-12-14 19:08:43 +08:00
Jiang Guang Ming
947c112233
Merge branch 'bugfix/update_esp_rom_gpio_header' into 'master'
...
esp_rom: update rom gpio.h
Closes IDFGH-8773
See merge request espressif/esp-idf!21268
2022-12-14 18:47:18 +08:00
Martin Vychodil
00f721f746
Merge branch 'refactor/nvs_allocatable_objects' into 'master'
...
refactor(nvs): custom allocator for all objects allocated in NVS
Closes IDF-6308
See merge request espressif/esp-idf!21239
2022-12-14 17:35:13 +08:00
Jiang Jiang Jian
97d6050fea
Merge branch 'feature/esp32c2_optimize_npl_element_count' into 'master'
...
Feature/esp32c2 optimize npl element count
Closes BT-3012
See merge request espressif/esp-idf!21562
2022-12-14 17:18:07 +08:00
Martin Vychodil
732b76e3a0
Merge branch 'bugfix/nvs_cxx_example' into 'master'
...
nvs_flash: fixed wrong error check after open_nvs_handle in example
Closes IDFGH-8809
See merge request espressif/esp-idf!21269
2022-12-14 17:17:59 +08:00
Zim Kalinowski
575594477b
Merge branch 'feature/qemu-pthread' into 'master'
...
pthread: enable qemu tests
Closes QEMU-81
See merge request espressif/esp-idf!21420
2022-12-14 16:44:26 +08:00
zwj
5e72006fb9
Update bt lib for ESP32-C3 and ESP32-S3
...
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-14 15:54:01 +08:00
Abhik Roy
627d03182a
Merge branch 'components/lwip/napt_debug_enable' into 'master'
...
components/lwip: Add menuconfig option to enable NAPT debugging.
See merge request espressif/esp-idf!21260
2022-12-14 15:27:48 +08:00
jiangguangming
7c0c5481c8
esp_rom: update rom gpio.h
...
Closes https://github.com/espressif/esp-idf/issues/10205
2022-12-14 15:14:38 +08:00
Sarvesh Bodakhe
ecafe007e5
esp_wifi: Update wifi libs
...
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished
Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-14 12:17:53 +05:30
Zhi Wei Jian
cd5ce86cf2
Merge branch 'bugfix/fix_ble_conn_failed_in_air' into 'master'
...
Change default TX power to 9 dBm on ESP32
Closes BT-2436
See merge request espressif/esp-idf!21567
2022-12-14 14:43:54 +08:00
Zhi Wei Jian
be7f20ecc4
Merge branch 'bugfix/fix_multi_per_adv_sync_fail' into 'master'
...
Fixed privacy error and multi periodic adv sync failed on ESP32-C3 and ESP32-S3
Closes BT-2757
See merge request espressif/esp-idf!21570
2022-12-14 14:41:38 +08:00
Jiang Jiang Jian
206f486256
Merge branch 'bugfix/fix_multicast_issue' into 'master'
...
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
Closes WIFI-5076
See merge request espressif/esp-idf!21581
2022-12-14 12:37:46 +08:00
Mahavir Jain
188017d6b1
docs: Fix Secure DL mode documentation about flash read being unsupported
...
Simple flash read command is not supported if Secure DL mode is enabled on the target.
Remove reference of this from the relevant docs part.
Related: https://github.com/espressif/esptool/issues/810
Related: ESPTOOL-567
Closes IDF-6468
2022-12-14 10:03:46 +05:30
Shu Chen
a7df7ba9aa
Merge branch 'support/fix_multi_br_forwarding_ping_reply' into 'master'
...
openthread: fix multi br forwarding ping reply
See merge request espressif/esp-idf!21478
2022-12-14 12:29:43 +08:00
zhengyujie
1e3c82b27d
ieee802154: add ieee802154 component CI
2022-12-14 12:20:45 +08:00
Zim Kalinowski
7627a12045
pthread: enable qemu tests
2022-12-13 21:42:58 +01:00
Rocha Euripedes
aaeaefc9ad
Merge branch 'update/esp-mqtt' into 'master'
...
mqtt: [Update mqtt_client] - Set state on stoping; Add error code to Subscribed event
See merge request espressif/esp-idf!20922
2022-12-14 04:34:09 +08:00
Song Ruo Jing
edd815af2e
Merge branch 'feature/esp32c6_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32c6
Closes IDF-5630, IDF-5973, IDF-5346, and IDF-6050
See merge request espressif/esp-idf!21149
2022-12-14 02:22:49 +08:00
Euripedes Rocha
4ec9d4bad6
mqtt: Set state on stoping; Add error code to Subscribed event
...
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687
Detailed description of the changes:
* Fix the default configuration for event queue
- See merge request espressif/esp-mqtt!153
- See commit https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
- See merge request espressif/esp-mqtt!152
- See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
- See merge request espressif/esp-mqtt!150
- Closes https://github.com/espressif/esp-mqtt/issues/239
- See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
- See merge request espressif/esp-mqtt!143
- - Closes https://github.com/espressif/esp-mqtt/issues/233
- See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
- See merge request espressif/esp-mqtt!145
- See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
- See merge request espressif/esp-mqtt!147
- See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
- See merge request espressif/esp-mqtt!142
- See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
- See merge request espressif/esp-mqtt!140
- Closes https://github.com/espressif/esp-mqtt/issues/230
- See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
- See merge request espressif/esp-mqtt!139
- Closes https://github.com/espressif/esp-idf/issues/9194
- See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2022-12-13 15:34:31 +00:00
chenjianhua
d7c97ce20b
update bt lib for ESP32-C3 and ESP32-S3
...
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-13 21:40:04 +08:00
Ivan Grokhotkov
ff23012d68
Merge branch 'contrib/github_pr_10334' into 'master'
...
Set errno in adjtime (GitHub PR)
Closes IDFGH-8915
See merge request espressif/esp-idf!21516
2022-12-13 19:36:49 +08:00
Song Ruo Jing
536d5827c0
gpio_filter: Fix test case fail on esp32c6 due to slow io_mux clock compare to 160MHz cpu clock.
2022-12-13 19:18:34 +08:00
Song Ruo Jing
19ee95e509
gptimer: Fix esp32c6 gptimer clock source, no APB, instead, is PLL_F80M_CLK
2022-12-13 19:18:34 +08:00
Song Ruo Jing
244d3caa97
i2s: Fix esp32c6 get I2S_CLK_SRC_PLL_160M clock frequency value wrong issue
2022-12-13 19:18:34 +08:00
Song Ruo Jing
182e937c5a
clk_tree: Add basic clock support for esp32c6
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32c6
2022-12-13 19:18:34 +08:00
zwl
cdcdc50cfe
Renamed BAH
2022-12-13 18:02:19 +08:00
zwl
a83ee7d406
Fixed some occasional ble issues on ESP32H2BETA2
2022-12-13 17:47:28 +08:00
zwl
0b3490acd8
Optimized the number of npl on ESP32C2
2022-12-13 17:47:28 +08:00
Nachiket Kukade
3b31370e39
Merge branch 'bugfix/bdsa_security_issues' into 'master'
...
wpa_supplicant: BDSA related patch updates
Closes WIFI-4853
See merge request espressif/esp-idf!20535
2022-12-13 17:04:26 +08:00
chenjianxing
1c96b509bb
esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
...
Closes WIFI-5076
2022-12-13 16:57:41 +08:00
Rahul Tank
4e43694b7c
Nimble: Add helper macros to set interval min / max for periodic adv
2022-12-13 13:44:30 +05:30
Darian
c83078b765
Merge branch 'bugfix/example_pytest_expectations_startup_dependence' into 'master'
...
pytest: Expect "Calling app_main()" to indicate start of application
See merge request espressif/esp-idf!21510
2022-12-13 15:41:57 +08:00
zhangwenxu
98a1e9d786
openthread: fix multi br forwarding ping reply
2022-12-13 15:32:30 +08:00
Rahul Tank
af953e48de
Merge branch 'doc/update_nimble_mesh_example_information' into 'master'
...
Nimble: Update Mesh example documentation
See merge request espressif/esp-idf!21539
2022-12-13 15:24:42 +08:00
Marius Vikhammer
6c4c6e0b98
Merge branch 'bugfix/cxx_stack_smash_test' into 'master'
...
cxx: fixed stack smash test case failing due to changed output
Closes IDFCI-1549
See merge request espressif/esp-idf!21574
2022-12-13 15:16:56 +08:00
Wang Meng Yang
1ac3595bde
Merge branch 'bugfix/a2dp_error_code' into 'master'
...
bt: Update A2DP version to v1.4
Closes BT-2918, BT-2919, and BT-2932
See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +08:00
Marius Vikhammer
bb435c076b
cxx: fixed stack smash test case failing due to changed output
...
__stack_chk_fail no longer prints "abort() was called" message,
changed test case to reflect this.
2022-12-13 11:15:01 +08:00
chenjianhua
5c533afbae
update bt-lib for ESP32
...
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-13 10:33:22 +08:00
Wu Zheng Hui
bec679fbc6
Merge branch 'bugfix/fix_esp32c6_regi2c_enable_clock' into 'master'
...
bugfix: regi2c: fix regi2c api for esp32c6
See merge request espressif/esp-idf!21397
2022-12-13 10:20:14 +08:00
Rahul Tank
1d9eaccde4
Nimble: Update documentation to include distinction between upstream
...
mesh example and ESP-BLE-MESH
2022-12-12 18:06:55 +05:30
morris
f0bea3ce51
mcpwm: support not reset GPIO config at exit
...
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.
Closes https://github.com/espressif/esp-idf/issues/10327
2022-12-12 17:50:06 +08:00
Shreyas Sheth
bd55b8b72e
esp_wifi:BDSA related patch updates
2022-12-12 15:04:04 +05:30
Zhi Wei Jian
6d676019c1
Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
...
Bluedroid: fix encrypt keysize of GATT characteristic permission
Closes BT-2992
See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Nathan Phillips
6a7e8581e9
rmt: fix bad config initializer
...
Merges https://github.com/espressif/esp-idf/pull/10331
2022-12-12 15:32:20 +08:00
Zhi Wei Jian
250f2c4a89
Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
...
Bluedroid: fix ble connection update with same params
Closes BT-2943
See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f
Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
...
bugfix/correct the SR_mode selection when konw nothing about Peripheral
See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
Jiang Jiang Jian
f0fd0b7bc3
Merge branch 'rebase/remove_redundant_pm_lock_on_ble' into 'master'
...
ble: remove redundant pm lock on ble
See merge request espressif/esp-idf!21357
2022-12-12 14:49:23 +08:00
Wang Meng Yang
84e48db373
Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
...
Bluedroid: support ble host features for PTS
See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +08:00
morris
7064b668c6
Merge branch 'feature/etm_api_update' into 'master'
...
etm: introduce config structure for event/task new functions
See merge request espressif/esp-idf!21483
2022-12-12 13:12:09 +08:00
Marius Vikhammer
0443865102
Merge branch 'feature/s2_bootld_iram_increase' into 'master'
...
bootloader: increased iram_loader_seg for ESP32-S2
See merge request espressif/esp-idf!21254
2022-12-12 11:50:12 +08:00
Zhi Wei Jian
6842d2f8c9
Merge branch 'bugfix/fix_mem_not_released_after_controller_init_failed_on_esp32c3' into 'master'
...
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
Closes BT-3047 and BT-3025
See merge request espressif/esp-idf!21504
2022-12-12 11:15:34 +08:00
Li Qi Gan
df5c1ffd8b
Merge branch 'bugfix/fix_hid_device_vup_without_connection' into 'master'
...
Bugfix/Fix HID Device can not remove virtually cabled device without a connection
Closes IDFGH-8662
See merge request espressif/esp-idf!21152
2022-12-12 10:08:57 +08:00
Jakob Hasse
b36c0e823f
Merge branch 'feature/linux_esp_hw_support' into 'master'
...
linux target: add support for building esp_hw_support, soc and hal components for linux target
See merge request espressif/esp-idf!21502
2022-12-12 09:59:31 +08:00
Mahavir Jain
c4c904c8ae
Merge branch 'contrib/github_pr_10329' into 'master'
...
Fix type of cast (GitHub PR)
Closes IDFGH-8910
See merge request espressif/esp-idf!21517
2022-12-11 22:35:06 +08:00
Rahul Tank
7b08933d09
Merge branch 'feature/nimble_support_ble_max_conn_num' into 'master'
...
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
See merge request espressif/esp-idf!21498
2022-12-09 21:35:19 +08:00
Darian Leung
cdbd8ebeaa
pytest: Expect "Calling app_main()" to indicate start of application
...
This commit updates variousf pytest scripts to expect
"main_task: Calling app_main()" instead of "cpu_start: Starting scheduler" as
indicator of the start of an application.
2022-12-09 19:40:40 +08:00
Zhi Wei Jian
bf3a9a1085
Merge branch 'bugfix/fix_mem_not_free_after_controller_init_failed' into 'master'
...
Fixed some memory was not released after Bluetooth controller initialization failed on ESP32
Closes BT-3025 and BT-3037
See merge request espressif/esp-idf!21477
2022-12-09 18:57:06 +08:00
Guillaume Souchere
c92f2394f2
Merge branch 'fix/stack-check-fail-in-flash' into 'master'
...
esp_system: fix placement of __stack_chk_fail from flash to RAM
See merge request espressif/esp-idf!21465
2022-12-09 18:08:57 +08:00
Armando
25114b716e
mspi_tuning: fix psram timing tuning bug
...
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()
psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM
This commit will add psram timing tuning, in these two functions.
2022-12-09 17:23:23 +08:00
morris
374434524b
Merge branch 'feature/gpio_filter_esp32c6' into 'master'
...
GPIO glitch filter driver
Closes IDF-5810, IDF-6059, and IDF-5913
See merge request espressif/esp-idf!20567
2022-12-09 16:06:32 +08:00
Mahavir Jain
fbbb937b06
Merge branch 'contrib/github_pr_10328' into 'master'
...
Improve certificate logging (GitHub PR)
Closes IDFGH-8911
See merge request espressif/esp-idf!21518
2022-12-09 15:37:08 +08:00
cjin
77d870c73a
ble: fix occasional assertion on ble rtc intr
2022-12-09 15:23:44 +08:00
zwl
46127774fa
Unify controller internal error code on ESP32-C2
2022-12-09 15:23:44 +08:00
cjin
6d83c999c6
ble: remove redundant pm lock on ble
2022-12-09 15:23:44 +08:00
chenjianhua
5a0bc5c1fd
bluedroid: fix ble connection update with same params
2022-12-09 14:40:57 +08:00
Marius Vikhammer
4ddbaa4166
linux target: add support for building esp_hw_support, soc and hal components for linux target
2022-12-09 13:59:39 +08:00
chenjianhua
2afe5cdc76
bluedroid: add config for GAP service and periodic adv sync transfer
2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e
bluedroid: add internal GATT API for PTS
2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806
bluedroid: add config for robust caching and RPA timeout
2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8
bluedroid: support GATT robust caching feature
2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d
bluedroid: support GATT services database hash calculate
2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c
bluedroid: support periodic advertising sync transfer cmd
2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323
bluedroid: support LE L2CAP credit based connection
2022-12-09 13:28:31 +08:00
chenjianhua
2048322429
bluedroid: support oob pairing for smp secure connection
2022-12-09 13:28:31 +08:00
Wang Meng Yang
7d7a710b60
Merge branch 'feature/report_acl_conn_cmp_stat_to_app' into 'master'
...
feature/report ACL link related events to application
Closes BT-2097 and BT-1863
See merge request espressif/esp-idf!19276
2022-12-09 13:10:52 +08:00
morris
62f1cbca2c
gpio: support glitch filter
2022-12-09 11:33:42 +08:00
morris
2b9d3a37ee
twai: fix coverity warnings
2022-12-09 11:33:42 +08:00
jofrev
60767c234d
Set errno in adjtime if delta is too large
...
errno should be set to EINVAL in this case according to adjtime's man
page.
2022-12-08 22:35:50 +00:00
jofrev
1005b45ca8
Set errno in adjtime if newlib time funcs are not implemented
...
Other time functions (e.g. settimeofday) set errno to ENOSYS if
IMPL_NEWLIB_TIME_FUNCS is not set.
adjtime should probably do the same.
2022-12-08 22:34:49 +00:00
Rahul Tank
4bf8886042
Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3
2022-12-08 17:23:15 +05:30
Wu Zheng Hui
46917a87ba
Merge branch 'bugfix/unstall_other_cpu_on_core_reset' into 'master'
...
bugfix: unstall other cpu on core reset
Closes IDFGH-8902
See merge request espressif/esp-idf!21495
2022-12-08 18:53:36 +08:00
Nathan Phillips
2d047f5439
Fix type of cast
2022-12-08 10:51:16 +00:00
Nathan Phillips
260fd5c5a5
Explicitly log an invalid digest in DS data
2022-12-08 10:33:59 +00:00
Nathan Phillips
057f5cb120
Distinguish 4 identical log messages
...
Say which certificate couldn't be parsed in each one.
2022-12-08 10:31:28 +00:00
Wan Lei
35a749a76e
Merge branch 'test/re-enable_unit-test' into 'master'
...
test: re-enable some test cases of spi for esp32c2 and c6
Closes IDF-5146
See merge request espressif/esp-idf!21052
2022-12-08 17:54:04 +08:00
zwj
b5a6e9a528
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3
2022-12-08 17:26:14 +08:00
Chip Weinberger
9afc386dd2
[Heap Trace Standalone] improvements to formatting, code, comments
2022-12-08 00:47:02 -08:00
Song Ruo Jing
6f4d1ea436
Merge branch 'feature/esp32c6_ledc_support' into 'master'
...
ledc: Add basic support for esp32c6
Closes IDF-5328
See merge request espressif/esp-idf!21387
2022-12-08 16:07:46 +08:00
Vilem Zavodny
1303a7ceee
Merge branch 'feature/support_rotating_lcd_ssd1306_1' into 'master'
...
Support rotation SSD1306, changed example for using LVGL port component and added SH1107 LCD support.
See merge request espressif/esp-idf!21196
2022-12-08 15:34:39 +08:00
wuzhenghui
0d345c814a
bugfix: unstall other cpu on core reset
...
- Closes https://github.com/espressif/esp-idf/issues/10320
2022-12-08 15:30:39 +08:00
Darian Leung
486cc33fb3
freertos: Refactor port common functions
...
This commit refactors port_common.c so that it only contains implementation of
FreeRTOS port functions that are common to all FreeRTOS ports (i.e., on all
architectures and on all FreeRTOS implementations).
2022-12-08 01:57:30 +08:00
Darian Leung
09690906e7
freertos: Refactor OS startup functions
...
This commit refactors the OS startup functions as follows:
- Moved the OS/app startup functions listed below to "app_startup.c". Their
implementations are now common to all ports (RISC-V and Xtensa) of all
FreeRTOS implementations (IDF and Amazon SMP).
- esp_startup_start_app()
- esp_startup_start_app_other_cores()
- Removed esp_startup_start_app_common() as app startup functions are now
already common to all ports.
- Added extra logs to "main_task" to help with user debugging
Note: Increased startup delay on "unity_task". The "unity_run_menu()" is non
blocking, thus if the main task or other startup tasks have not been freed
by the time "unity_run_menu()" is run, those tasks will be freed the next time
"unity_task" blocks. This could cause some tests to have a memory leak, thus
the "unity_task" startup delay has increased.
2022-12-08 01:57:30 +08:00
Alexey Gerenkov
9ac90acd9e
Merge branch 'feature/add_newlib_nano_build_support_for_clang' into 'master'
...
Newlib nano build support for clang
See merge request espressif/esp-idf!21056
2022-12-07 20:24:58 +08:00
Andrei Safronov
2c5a9494fe
Merge branch 'bugfix/fix_gnu_asm_struct' into 'master'
...
xtensa: remove asm struct expressions in header files
See merge request espressif/esp-idf!18836
2022-12-07 20:21:31 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
Jin Cheng
f2f6aef019
correct the SR_mode selection when konw nothing about Peripheral
2022-12-07 09:47:03 +00:00
Vilem Zavodny
8631e4544b
lcd: Support rotation SSD1306 and changed example for using LVGL port component.
2022-12-07 09:04:17 +01:00
Guillaume Souchere
4d16f46a88
esp_system: fix placement of __stack_chk_fail from flash to RAM
...
When stack check is enabled, certain functions (sometimes placed in RAM)
are being decorated with stack guards and a call to __stask_chk_fail() in
case ofr stack corruption. For this reason, __stack_chk_fail() must be
placed in RAM too.
Add stack check config in heap tests on all targets to find eventual flash to RAM
calls due to stack checks when running callgraph_check.py
2022-12-07 08:49:12 +01:00
morris
5c06e9cf40
etm: update etm event task new API
2022-12-07 15:43:20 +08:00
C.S.M
c645c9ba06
Merge branch 'feature/add_esp32h2_system_support' into 'master'
...
ESP32H2: Add system support for ESP32H2
See merge request espressif/esp-idf!21460
2022-12-07 15:39:45 +08:00
David Čermák
1aa1e265ea
Merge branch 'bugfix/tcp_transport_psram' into 'master'
...
Bugfix for tcp_transport CI psram issue
See merge request espressif/esp-idf!17127
2022-12-07 15:17:54 +08:00
zwj
e9bfaf9a41
Fixed some memory was not released after bluetooth controller initialization failed on ESP32
2022-12-07 15:04:39 +08:00
morris
9cce5849e8
Merge branch 'bugfix/usb_host_dwc_hal_chan_halt_race_condition' into 'master'
...
USB Host: Fix USB DWC HAL host channel halt race condition + Incorrect bmRequestType direction flag
Closes IDF-6348
See merge request espressif/esp-idf!21452
2022-12-07 14:27:13 +08:00
Mahavir Jain
a46223bc4e
Merge branch 'bugfix/fix_esp_https_server_initialize' into 'master'
...
esp_https_server: Fix initializers missing in esp_https_server
Closes IDFGH-8885
See merge request espressif/esp-idf!21437
2022-12-07 14:18:31 +08:00
Sachin Parekh
e997038ab4
Merge branch 'esp32c6/bootloader_region_protection' into 'master'
...
esp32c6: Enable IRAM-DRAM split using PMP
Closes IDF-5642 and IDF-5684
See merge request espressif/esp-idf!21199
2022-12-07 13:45:46 +08:00
Mahavir Jain
bdd822970c
Merge branch 'bugfix/add_check_for_coredump_encrypted_flag' into 'master'
...
coredump: add partition encrypted flag check for flash encryption case
See merge request espressif/esp-idf!21410
2022-12-07 11:52:49 +08:00
Cao Sen Miao
8cc9260f86
ESP32H2: Add system support for ESP32H2
2022-12-07 11:38:51 +08:00
wanlei
dd50bb2d50
test: enable multi-board test of spi for c6
2022-12-07 11:37:48 +08:00
wanlei
7f14f9e487
spi_slave_hd: fix c6 bringup issue of dma interrupt invokr bit
2022-12-07 11:37:48 +08:00
wanlei
5c099a2a49
test: re-enable some test cases of spi for esp32c2
2022-12-07 11:37:48 +08:00
morris
171b849831
Merge branch 'doc/esp_lcd_class_diagram' into 'master'
...
RGB LCD multi-framebuffer support
Closes IDF-5309, IDF-5939, and IDF-6336
See merge request espressif/esp-idf!20975
2022-12-07 11:25:15 +08:00
Wang Meng Yang
c9b4f1995a
Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption' into 'master'
...
Reduce the stack consumption of BTU_TASK
Closes BT-3022 and BT-2950
See merge request espressif/esp-idf!21433
2022-12-07 11:13:41 +08:00
liqigan
2198c3ed77
fix HID device can not remove virtually cabled device without a connection
...
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
jincheng
228bf596dc
Added reporting for ACL link related events to application
2022-12-07 02:33:55 +00:00
Marius Vikhammer
2f348d93c7
Merge branch 'feature/linux_heap' into 'master'
...
heap: add linux target support
Closes IDF-6000
See merge request espressif/esp-idf!21401
2022-12-07 09:28:36 +08:00
Alexey Gerenkov
002411b169
riscv: Use 'li' instead of 'la' for loading peripheral reg address
2022-12-06 21:54:50 +03:00
Zim Kalinowski
c73f1f1d02
Merge branch 'feature/qemu-efuse' into 'master'
...
efuse: enable qemu tests
Closes QEMU-73
See merge request espressif/esp-idf!21419
2022-12-07 01:47:36 +08:00
Sachin Parekh
7af998d23f
esp32c6: Enable IRAM-DRAM split using PMP
2022-12-06 14:50:55 +00:00
Wang Meng Yang
7b1bbd59eb
Merge branch 'bugfix/spp_vfs_memory_leak' into 'master'
...
Component_bt/fix esp_spp_vfs_register memory leak
Closes BT-2344
See merge request espressif/esp-idf!17909
2022-12-06 20:14:51 +08:00
Alexey Gerenkov
2710749f21
riscv: Remove asm struct expressions in header files
2022-12-06 13:35:27 +03:00
Darian Leung
c2bc34ee84
usb: Fix incorrect bmRequestType direction flag in USB Host Library
...
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2022-12-06 18:10:45 +08:00
Darian Leung
d69d1aafaf
hal: Fix USB DWC HAL host channel halt race condition
...
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...
- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.
This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2022-12-06 18:08:54 +08:00
Alexey Gerenkov
893cc19f75
tools: Adds newlib nano support for clang builds
2022-12-06 12:33:09 +03:00
Shen Wei Long
67507baf37
Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
...
Explain how much memory that will be used by each connection/advertiser.
See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
Jiang Jiang Jian
8223a59183
Merge branch 'feat/espnow_rx_cb_opt' into 'master'
...
esp_wifi: upload more pkt info for espnow rx cb
Closes WIFI-4754
See merge request espressif/esp-idf!18261
2022-12-06 16:33:16 +08:00
Jiang Guang Ming
454aeb3a48
Merge branch 'feature/add_new_caps_for_rom_has_regi2c_bug' into 'master'
...
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps
See merge request espressif/esp-idf!21418
2022-12-06 16:04:21 +08:00
Marius Vikhammer
6bd0be3e92
Merge branch 'bugfix/freertos_port_miss_header' into 'master'
...
freertos: add missing header include for esp_chip_info.h to port.c
Closes IDFGH-8889
See merge request espressif/esp-idf!21456
2022-12-06 12:46:54 +08:00
Marius Vikhammer
ea249dc3a6
freertos: add missing header include for esp_chip_info.h to port.c
...
Closes https://github.com/espressif/esp-idf/issues/10310
2022-12-06 11:31:15 +08:00
morris
8c7e8f2811
doc: add api reference for controller lcd drivers
2022-12-06 11:12:28 +08:00
morris
18545e9abe
lcd: support multi framebuffers for RGB LCD driver
2022-12-06 11:12:28 +08:00
Marius Vikhammer
36cb08c379
heap: add linux target support
...
Add wrappers for public heap API for the linux target.
2022-12-06 10:49:59 +08:00
Andrei Safronov
9d257054c8
xtensa: remove asm struct expressions in header files
2022-12-05 22:00:07 +03:00
Jakob Hasse
91f04aa877
refactor(nvs): custom allocator for all objects allocated in NVS
2022-12-05 18:59:33 +01:00
jiangguangming
d65913d279
esp_psram: update esp_psram s2/s3 Kconfig description
2022-12-05 15:07:29 +00:00
Jessy Chen
45ead31bd5
esp_wifi: upload more wifi pkt info in rx callback for espnow & csi
2022-12-05 22:30:08 +08:00
Jiang Jiang Jian
6419436684
Merge branch 'bugfix/skip_sae_during_wps' into 'master'
...
esp_wifi: Add changes to skip SAE handshake during WPS connection
Closes ESPCS-875
See merge request espressif/esp-idf!21369
2022-12-05 22:26:45 +08:00
xiongweichao
9d56c4c215
Assert when malloc user_data fail
2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029
Fixed memory leak when SPP initialization failed
2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011
Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register()
2022-12-05 20:30:43 +08:00
Ondrej Kosta
84ab32b4ef
Merge branch 'bugfix/emac_memory_leak' into 'master'
...
Fixed false positive emac rx memory leak reported by Coverity
Closes IDF-6363
See merge request espressif/esp-idf!21341
2022-12-05 20:04:15 +08:00
Ondrej Kosta
600788da6a
Merge branch 'contrib/github_pr_10292' into 'master'
...
fix small bug when logging eth error (GitHub PR)
Closes IDFGH-8869
See merge request espressif/esp-idf!21407
2022-12-05 17:58:37 +08:00
Zim Kalinowski
d4d76e1f5c
efuse: enable qemu tests
2022-12-05 10:54:39 +01:00
C.S.M
7e12197324
Merge branch 'feature/add_esp32h2_g0_support' into 'master'
...
ESP32-H2: Last MR for g0 component support, (only hal left)
See merge request espressif/esp-idf!21364
2022-12-05 17:32:21 +08:00
C.S.M
6b1d4b4d49
ESP32-H2: Last MR for g0 component support, (only hal left)
2022-12-05 17:32:21 +08:00
yuanjianmin
5862a64d1c
esp_https_server: Fix initializers missing in esp_https_server
...
Closes https://github.com/espressif/esp-idf/issues/10306
2022-12-05 17:19:58 +08:00
zwj
e5a45f00e4
Reduce the stack consumption of BTU_TASK
2022-12-05 17:01:48 +08:00
Mahavir Jain
26e3f0bfbe
Merge branch 'feature/http_request_cancel' into 'master'
...
Cancel an HTTP request
Closes IDFGH-8426
See merge request espressif/esp-idf!21171
2022-12-05 16:06:14 +08:00
Jiang Jiang Jian
f27a95c1f3
Merge branch 'feature/wps_registrar_example' into 'master'
...
WiFi: Add softAP WPS registrar example and events
See merge request espressif/esp-idf!18450
2022-12-05 16:04:43 +08:00
Jiang Jiang Jian
12180da408
Merge branch 'contrib/github_pr_9529' into 'master'
...
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails
See merge request espressif/esp-idf!19463
2022-12-05 15:37:02 +08:00
Jiang Jiang Jian
4bd1e3fd0f
Merge branch 'optimization/lwip_dns_ipv4_ipv6_timer' into 'master'
...
lwip:optimization dns ipv4 ipv6 timer
Closes AUD-4073
See merge request espressif/esp-idf!20963
2022-12-05 15:04:27 +08:00
Euripedes Rocha
88844e1504
tcp_transport: Adjust test task priorities.
...
Raise the listener task priority to be higher than runner task priority.
2022-12-05 07:02:28 +00:00
jiangguangming
7db7269a92
esp_rom: patch systimer_hal_init/deinit for esp32h2 rom
2022-12-04 11:23:30 +08:00
jiangguangming
f9b6e25b55
esp_rom: update CMakeList.txt
2022-12-04 11:23:30 +08:00
jiangguangming
9e3ba8d061
esp_rom: update esp32h2 rom caps
2022-12-04 11:23:30 +08:00
jiangguangming
66a0cedf5a
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps
2022-12-03 21:48:57 +08:00
Abhik Roy
c92f5faa70
components/lwip: Add menuconfig option to enable NAPT debugging,
...
removed L2_TO_L3_COPY in LWIP Kconfig,
Also added DHCP server start log.
2022-12-02 21:57:53 +05:30
Ondrej
647a9dfde3
Improved emac rx task code to suppress Coverity false positive memory leak indication
2022-12-02 12:57:43 +00:00
Jakob Hasse
88fa51951c
Merge branch 'feature/unity_test_runner_linux' into 'master'
...
refactor(unity): made unity runner compatible with Linux target
See merge request espressif/esp-idf!21195
2022-12-02 20:10:43 +08:00
Mahavir Jain
12b977dba6
coredump: add partition encrypted flag check for flash encryption case
...
Ref: https://esp32.com/viewtopic.php?f=13&t=30752
2022-12-02 17:15:01 +05:30
Kapil Gupta
924c709efe
WiFi: Add WPS softAP registrar example and events
2022-12-02 15:12:25 +05:30
Jiang Jiang Jian
a6982a92fe
Merge branch 'bugfix/fix_softap_beacon_memory_leak_issue' into 'master'
...
esp_wifi: fix softap beacon memory leak issue
Closes WIFI-4961, IDFGH-7780, and ESPCS-878
See merge request espressif/esp-idf!21079
2022-12-02 17:39:24 +08:00
chenjianhua
c37184aa85
bluedroid: fix encrypt keysize of GATT characteristic permission
2022-12-02 15:10:39 +08:00
Shen Weilong
b3d248df95
Explain how mush memory that will be used by each connection/advertiser.
2022-12-02 14:21:22 +08:00
Harshit Malpani
6de9e42122
esp_http_client: Add feature to cancel an HTTP request
...
Closes: https://github.com/espressif/esp-idf/issues/9892
2022-12-02 11:36:28 +05:30
Armando (Dou Yiwen)
f54df61486
Merge branch 'bugfix/fix_bootloader_sha256_flash_contents_mask_issue' into 'master'
...
bootloader: fix bootloader_sha256_flash_contents mmap issue
See merge request espressif/esp-idf!21391
2022-12-02 12:10:57 +08:00
Zhi Wei Jian
18e0cd6214
Merge branch 'feature/support_ble_max_conn_num_to_9' into 'master'
...
Support bluedroid host maximum number of connections to 9
Closes BT-2914, BT-3000, and BT-2915
See merge request espressif/esp-idf!20933
2022-12-02 12:10:27 +08:00
Omar Chebib
301cb74890
coredump: custom core dump stack is now supported on Xtensa targets
2022-12-02 12:01:19 +08:00
fuzhibo@espressif.com
a0df34093a
regi2c: fix regi2c api for esp32c6
2022-12-02 10:58:23 +08:00
muhaidong
b07438f26f
esp_wifi: fix softap beacon memory leak issue
...
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.
2022-12-02 02:24:02 +00:00
Jiang Jiang Jian
22f8bcdc27
Merge branch 'bugfix/flush_pmk_for_akm_change' into 'master'
...
esp_wifi: Flush PMK caching if bss akm has changed
Closes WIFI-5014
See merge request espressif/esp-idf!21179
2022-12-02 10:20:13 +08:00