Wu Zheng Hui
a79c5ef7ed
Merge branch 'bugfix/esp32c6_deep_sleep_minor_fixes' into 'master'
...
bugfix: esp32c6 deep sleep minor fixes
Closes WIFI-5559, WIFI-5425, WIFI-3494, WIFI-3495, WIFI-4163, and WIFI-4164
See merge request espressif/esp-idf!22697
2023-03-18 14:41:43 +08:00
Kevin (Lao Kaiyao)
d659991bbb
Merge branch 'feature/gpio_runtime_preserve' into 'master'
...
gpio: support runtime reserve
Closes IDF-6731
See merge request espressif/esp-idf!22223
2023-03-18 10:55:44 +08:00
Kevin (Lao Kaiyao)
2d14ba2b91
Merge branch 'feature/analog_comparator_h2' into 'master'
...
Introduce the Analog Comparator driver
Closes IDF-6817
See merge request espressif/esp-idf!22355
2023-03-18 00:42:20 +08:00
Darian Leung
4f8c6c6277
freertos: Remove xTaskRemoveFromUnorderedEventList compatibility define
...
xTaskRemoveFromUnorderedEventList is a scheduler internal function, thus will
never be called by users. Therefore, the compatbility define is not necessary.
2023-03-17 20:15:13 +08:00
wuzhenghui
cb55d51be4
bugfix: set I2C_MST_SEL_160M always be 1
2023-03-17 19:45:56 +08:00
wuzhenghui
bace80016d
bugfix: fix misspell
2023-03-17 19:45:56 +08:00
wuzhenghui
94034246b2
bugfix: close rf in deep sleep prepare to reduce base current
2023-03-17 19:45:56 +08:00
wuzhenghui
8e397f9bd9
bugfix: no need to do retention in deepsleep
2023-03-17 19:45:56 +08:00
wuzhenghui
c50e5d45a3
feature: add deep sleep prepare callback hook
2023-03-17 19:45:56 +08:00
wuzhenghui
acecfe4ba5
bugfix: Slow clock power domain management has been maintained in pd_flags
2023-03-17 19:42:01 +08:00
wuzhenghui
902064df7d
soc_caps: enable SOC_PM_SUPPORT_RTC_PERIPH_PD
2023-03-17 19:42:01 +08:00
Jiang Jiang Jian
68185c11bd
Merge branch 'bugfix/fix_unit_test_for_esp_phy' into 'master'
...
esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6
Closes WIFI-5112
See merge request espressif/esp-idf!22787
2023-03-17 17:56:21 +08:00
isha.pardikar@espressif.com
e985cc521b
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN
2023-03-17 15:25:08 +05:30
liuning
a36caf48fe
esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2
2023-03-17 17:33:46 +08:00
Jiang Jiang Jian
73c06b5039
Merge branch 'bugfix/sleep_current_issue_caused_by_sar_adc' into 'master'
...
sleep current issue caused by sar adc
Closes IDF-6111 and WIFI-4370
See merge request espressif/esp-idf!22769
2023-03-17 17:32:59 +08:00
David Cermak
97e785c01d
lwip:esp_netif: Send Periodic Gratuitous ARP only on valid IPv4
...
It was possible that the device would send a Gratuitous ARP before
acquiring a valid address, advertising it has 0.0.0.0 address.
2023-03-17 09:18:53 +01:00
Jiang Jiang Jian
16f6ea4e3a
Merge branch 'feature/support_esp32h2_libcoex' into 'master'
...
coex: support esp32h2 coex lib
See merge request espressif/esp-idf!22654
2023-03-17 16:02:19 +08:00
Jiang Jiang Jian
159edc5d86
Merge branch 'bugfix/h2_controller' into 'master'
...
Bluetooth : Fixed h2 controller function definition
See merge request espressif/esp-idf!22796
2023-03-17 15:20:35 +08:00
Jiang Jiang Jian
2658fb7623
Merge branch 'feature/add_memprot_support_for_esp32h2' into 'master'
...
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452 and IDF-6332
See merge request espressif/esp-idf!22699
2023-03-17 15:19:52 +08:00
Marius Vikhammer
43784e7a24
memprot: move memprot functions out of IRAM
...
Memprot functions are no longer placed by default in IRAM,
selecting ESP_PANIC_HANDLER_IRAM will still force panic related memprot
functions to be placed in IRAM.
2023-03-17 14:51:20 +08:00
laokaiyao
53584bb5a7
ana_cmpr: add programming guide
2023-03-17 14:35:55 +08:00
Jiang Jiang Jian
3f3a2cf560
Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep' into 'master'
...
rtc_sleep: workaround systimer stall issue during sleep on ESP32C3
See merge request espressif/esp-idf!22739
2023-03-17 14:16:36 +08:00
Li Shuai
a25ce78392
sleep: fix sleep current issue caused by sar adc
2023-03-17 13:06:39 +08:00
laokaiyao
c9f780dc2e
gpio: support runtime preserve
2023-03-17 11:59:49 +08:00
laokaiyao
24361f232d
ana_cmpr: add an example and test cases
2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8
ana_cmpr: designed driver layer
2023-03-17 11:38:32 +08:00
morris
11cdbf2da0
driver: added analog comparator driver
2023-03-17 11:38:32 +08:00
morris
eb7ccbd174
hal: added analog comparator's LL driver
2023-03-17 11:38:32 +08:00
chenjianxing
b09a4e29c9
esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env.
...
esp_wifi: fix potential issue when tx fragment pkt
Closes WIFI-5106
Closes WIFI-5529
2023-03-17 11:23:59 +08:00
Alexey Lapshin
8c7c653a7f
app_trace: fix fwrite/fread return value
2023-03-17 00:15:07 +08:00
Mahavir Jain
4f0769d2ed
Merge branch 'ci/fix_efuse_tests_when_blocks_are_not_free' into 'master'
...
efuse: Fix some tests, some CI chips may already have blocks written
See merge request espressif/esp-idf!22794
2023-03-16 21:43:56 +08:00
isha.pardikar@espressif.com
7d3e347ba2
Bluetooth : Fixed h2 controller function definition
2023-03-16 18:03:39 +05:30
Zim Kalinowski
7c090d9a42
Merge branch 'bugfix/bootloader-ignored-warnings' into 'master'
...
bootloader: fix and re-enable no-format warnings
Closes IDF-6789
See merge request espressif/esp-idf!22715
2023-03-16 19:57:58 +08:00
KonstantinKondrashov
77a8b1afef
efuse: Fix some tests, some CI chips may already have blocks written
2023-03-16 18:19:08 +08:00
zhangwenxu
b596c28a22
coex: support esp32h2 coex lib
2023-03-16 17:23:43 +08:00
Marius Vikhammer
585f05596b
system: fixed USE_FIXED_STATIC_RAM_SIZE option
...
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.
Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-16 16:23:59 +08:00
Andrew Clink
82cdcc5de5
Add user_data accessor and mutator to esp_http_client
...
Closes: https://github.com/espressif/esp-idf/pull/10715
2023-03-16 12:36:16 +05:30
lly
fd799153cf
ble_mesh: stack: Minor updates for BQB test log
2023-03-16 14:23:22 +08:00
Wan Lei
3b62bf59c4
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
...
mspi: turn down freq to fix crash when sleep
Closes IDF-6881
See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
Shu Chen
e995db71c1
Merge branch 'openthread/disable_ipv4' into 'master'
...
openthread: Fix errors after disabling IPv4 in LwIP
See merge request espressif/esp-idf!22658
2023-03-16 13:57:04 +08:00
Mahavir Jain
361f6821a0
Merge branch 'feature/esp_http_client_esp_events' into 'master'
...
esp_http_client: Add support for esp_events
See merge request espressif/esp-idf!21113
2023-03-16 13:25:38 +08:00
Aditya Patwardhan
85b1efc729
Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
...
Update common cert authorities csv
See merge request espressif/esp-idf!22713
2023-03-16 12:59:48 +08:00
wangjialiang
87c694f44c
ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log
2023-03-16 12:29:44 +08:00
wangmengyang
20e596bbcf
esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6
...
- esp_phy_enable() blocks in the unit test due to the FE related functions in modem clock registers are not enabled. This MR adds dependency of FE for PHY module.
2023-03-16 12:13:00 +08:00
wanlei
a48d1a85c1
mspi: add test_app measuring time cost of mspi APIs
...
and merge mspi unit test into this
2023-03-16 11:11:43 +08:00
Gustavo Henrique Nihei
866c5cefa4
hal: Fix missing definition for "bool" type
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Gustavo Henrique Nihei
459ebff4ff
esp_hw_support: Fix check for SOC_MODEM_CLOCK_IS_INDEPENDENT definition
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Gustavo Henrique Nihei
29d85e3fa1
log: Fix function name in OS-independent implementation
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Gustavo Henrique Nihei
50145ed179
esp_rom: Remove STATUS struct in favor of ETS_STATUS
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Gustavo Henrique Nihei
3672144c9f
efuse: Remove dependency on bootloader component headers
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Sudeep Mohanty
c77b5752ef
Merge branch 'feature/freertos_schedule_unblocked_task_on_unsuspended_core' into 'master'
...
FreeRTOS-IDF: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
Closes IDF-5856
See merge request espressif/esp-idf!22627
2023-03-16 00:20:44 +08:00
KonstantinKondrashov
776a0e8a20
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
2023-03-15 23:15:32 +08:00
cjin
e317f07798
ble: update config in esp32h2 chip
2023-03-15 21:02:12 +08:00
liuning
14ca81f03f
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-03-15 20:33:03 +08:00
David Čermák
76730607a7
Merge branch 'bugfix/lwip_opts_sock_macro_param' into 'master'
...
lwip: Fix lwiopts macro expansion
See merge request espressif/esp-idf!22745
2023-03-15 20:24:45 +08:00
Rahul Tank
a945b85543
Merge branch 'bugfix/add_debug_check' into 'master'
...
Nimble: Added debug relate flag around debug code
See merge request espressif/esp-idf!22764
2023-03-15 18:04:09 +08:00
Mahavir Jain
233d8e1a33
esp32c6: Ensure that previous PMP entry is correctly set for TOR case
2023-03-15 13:16:27 +05:30
Mahavir Jain
891df4eff9
Cleanup soc_memprot_types.h for C6/H2
...
This header is not required as there is no PMS peripheral in C6/H2
Closes IDF-6332
2023-03-15 13:16:27 +05:30
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target
2023-03-15 13:16:26 +05:30
Mahavir Jain
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
...
Closes IDF-6452
2023-03-15 13:16:18 +05:30
Sudeep Mohanty
9b81e2b189
freertos: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
...
FromISR APIs would put an unblocked task on the pending ready list if
the scheduler is suspended on the current core, irrespective of the
task's core affinity and the state of the scheduler on the other core.
This commit updates this behavior by allowing tasks to get scheduled on
a core which has the scheduler running as long as the task's core
affinity allows it.
2023-03-15 07:43:33 +00:00
Darian
d3d5b77363
Merge branch 'bugfix/flakey_task_snapshot_tests' into 'master'
...
FreeRTOS: Fix flakey task snapshot tests
See merge request espressif/esp-idf!22743
2023-03-15 15:41:55 +08:00
Harshit Malpani
0cc243a8cc
esp_http_client: remove dependency of esp_stubs from esp_http_client. Add esp_event stubs in linux
component
2023-03-15 11:48:11 +05:30
Harshit Malpani
674fd8feb8
esp_http_client: Add support for esp_events
2023-03-15 11:48:11 +05:30
Jiang Jiang Jian
745c06626d
Merge branch 'h2/support-ecc' into 'master'
...
esp32h2: Add support for ECC hardware accelerator
See merge request espressif/esp-idf!22274
2023-03-15 14:06:23 +08:00
Jiang Jiang Jian
948a895f24
Merge branch 'bugfix/fix_ram_app_mmu_issue' into 'master'
...
RAM APP: fixed cannot use external memory correctly issue
Closes IDF-7019 and IDF-7039
See merge request espressif/esp-idf!22682
2023-03-15 14:04:44 +08:00
wanlei
d0c70aa7ac
mspi: turn down freq to fix crash when sleep
2023-03-15 11:26:34 +08:00
Armando
785bd812e9
cpu_start: move esp_rom_spiflash_attach earilier
...
esp_rom_spiflash_attach is called in cpu_start.c when it's
CONFIG_APP_BUILD_TYPE_RAM && !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP.
This function will:
- reset MSPI
- configure MSPI IOs
- configure MSPI into slow read mode
Prior to this commit, this function is put quite late. It's OK for chips
earlier than C6. On C6 and H2, MMU registers are in SPI_MEM_x, so
resetting MSPI registers will also reset MMU registers.
After this commit, this funciton is called eariler, before
cpu_start.c: bootloader_init().
2023-03-15 10:59:20 +08:00
Armando
bae6680207
mmu: hal function to init, and hal function to unmap all
2023-03-15 10:59:20 +08:00
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Zhi Wei Jian
ad1999f03c
Merge branch 'feature/support_esp32c3_new_app_lib' into 'master'
...
Update BLE lib for ESP32C3 and ESP32S3
Closes BLERD2QA23-11, BLEQABR23-60, BLERD2QA23-24, BT-3197, and BT-3215
See merge request espressif/esp-idf!22668
2023-03-15 10:54:42 +08:00
Zim Kalinowski
f6453b7938
bootloader: fix and re-enable no-format warnings
2023-03-15 00:28:31 +01:00
Ondrej
2ec7fc8f10
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-14 13:59:27 +00:00
Roman Leonov
0b08570ae2
usb: usb_reg.h update missing register description
2023-03-14 13:29:20 +01:00
Rahul Tank
2fed59af2f
Nimble: Added debug relate flag around debug code
2023-03-14 16:57:40 +05:30
Mahavir Jain
72b7161612
Merge branch 'test/enable_esp_crt_bundle_tests_for_esp32h2' into 'master'
...
test: enable mbedtls esp_crt_bundle test for esp32h2
Closes IDF-6847
See merge request espressif/esp-idf!22725
2023-03-14 18:54:15 +08:00
Zim Kalinowski
db24be7010
Merge branch 'bugfix/esp-event-ignored-warnings' into 'master'
...
esp_event: fix and re-enable no-format warnings
Closes IDF-6795
See merge request espressif/esp-idf!22716
2023-03-14 17:51:42 +08:00
Zim Kalinowski
728b9e5368
Merge branch 'bugfix/heap-ignored-warnings' into 'master'
...
heap: fix and re-enable no-format warnings
Closes IDF-6802
See merge request espressif/esp-idf!22717
2023-03-14 17:50:54 +08:00
Darian Leung
e5559d7903
freertos: Fix flakey task snapshot tests
...
The task snapshot tests use esp_cpu_stall() to stall the other CPU before
manually walking the task lists. However, it is possible that the other CPU
was also accessing the task lists when esp_cpu_stall() is called, leading to
flakey tests
This commit fixes the test by using a 2-way handshake instead of
esp_cpu_stall().
2023-03-14 16:51:25 +08:00
zhiweijian
588626d64e
Fixed ATT Ignore wrong response error
2023-03-14 08:49:19 +00:00
Jakob Hasse
356f139ef8
Merge branch 'bugfix/pthread_condvar_test_wrong_deinit' into 'master'
...
Bugfix/pthread condvar test wrong deinit
See merge request espressif/esp-idf!22729
2023-03-14 16:19:12 +08:00
Jiang Jiang Jian
f3a32bc687
Merge branch 'fixbug/baidu_tcp_ooseq_assert' into 'master'
...
lw-ip:fixbug for tcp ooseq assert
Closes AUD-4354
See merge request espressif/esp-idf!22376
2023-03-14 14:45:06 +08:00
Jakob Hasse
8e2e61ad83
pthread: unit test builds only necessary components
2023-03-14 09:37:01 +08:00
Jakob Hasse
be7859ad43
pthread: fixed wrong deletion of condvar in unit test
2023-03-14 09:37:01 +08:00
David Cermak
ffd1386a2e
lwip: Fix lwiopts macro expansion
...
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
2023-03-13 19:32:11 +01:00
Jiang Jiang Jian
266a58f85b
Merge branch 'bugfix/add_rf_test_lib' into 'master'
...
esp_phy: Update esp32c3/s3 phy lib and add test lib
Closes WIFI-5097
See merge request espressif/esp-idf!22058
2023-03-13 20:21:47 +08:00
Jakob Hasse
0769298b3b
Merge branch 'contrib/github_pr_8987' into 'master'
...
pthread: avoid heap alloc in pthread_cond_timedwait if possible (GitHub PR)
Closes IDFGH-7409
See merge request espressif/esp-idf!22702
2023-03-13 19:34:21 +08:00
Sachin Parekh
0342bb8eab
esp32c6/ecc: Remove inverse multiplication mode
...
On C6, inverse multiplication mode is reserved and not available
2023-03-13 16:39:46 +05:30
Sachin Parekh
bbc99e5532
esp32c2/ecc: Remove support for inverse multiplication
...
On C2, inverse multiplication (division) mode uses the modular base P
instead of N making it impractical for ECC crypto calculation
2023-03-13 16:39:46 +05:30
Sachin Parekh
413fa38a45
hal/test_apps: Add no-os ecc test app
2023-03-13 16:39:46 +05:30
Sachin Parekh
a485b1cb67
esp32h2: Add support for ECC hardware accelerator
2023-03-13 16:39:46 +05:30
zwj
a9d9f115c3
- Support ESP32C3 and ESP32S3 new BLE lib
...
- Disable controller 5.0 feature bits if host 5.0 feature is not enabled
- Fixed extend ADV parameters check for ADV_DIRECT_HI
2023-03-13 10:47:18 +00:00
Zim Kalinowski
ba5fa07bc3
Merge branch 'bugfix/ulp-ignored-warnings' into 'master'
...
ulp: fix and re-enable no-format warnings
Closes IDF-6804
See merge request espressif/esp-idf!22718
2023-03-13 17:49:17 +08:00
Jakob Hasse
96a4abdbec
Merge branch 'bugfix/pthread-ignored-warnings' into 'master'
...
pthread: fix and re-enable no-format warnings
Closes IDF-6803
See merge request espressif/esp-idf!22719
2023-03-13 16:12:41 +08:00
C.S.M
f17bf1dd6a
Merge branch 'cleanup/unicore_reset' into 'master'
...
system: Clean up code, some single core chips have useless dual-core code
See merge request espressif/esp-idf!22698
2023-03-13 15:29:07 +08:00
xueyunfei
336fc879b3
1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
...
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved
* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7
Detailed description of the changes:
- dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
- tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
- netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
- lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
- lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-13 15:21:26 +08:00
harshal.patil
6b8bc64f31
test: enable mbedtls esp_crt_bundle test for esp32h2
2023-03-13 12:00:01 +05:30
Jakob Hasse
03bc6488de
bugfix(esp_system): made watchpoint setting configuration-dependent
...
esp_execute_shared_stack_function always restored the stack watchpoint
regardless of CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK. This would lead
to an abondoned but active watchpoint on a former stack once the task
calling esp_execute_shared_stack_function is deleted, if
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is inactive.
This has been fixed now.
Closes https://github.com/espressif/esp-idf/issues/10414
2023-03-13 14:24:15 +08:00
Jiang Jiang Jian
251e0c5fc7
Merge branch 'bugfix/fix_adv_scan_state_conflict' into 'master'
...
Bluedroid: fix adv and scan state conflict
See merge request espressif/esp-idf!22685
2023-03-13 10:52:40 +08:00
Jiang Jiang Jian
abc43d8e94
Merge branch 'bugfix/some_small_fix_for_sleep' into 'master'
...
esp_hw_support/sleep: update soc caps for chips that support power down modem
Closes WIFI-4424
See merge request espressif/esp-idf!20198
2023-03-13 10:47:26 +08:00
Jiang Jiang Jian
d4a358a115
Merge branch 'bugfix/fix_sc_send_failure_and_exit_issue' into 'master'
...
smartconfig: fix the issue of sending failure and exit
Closes WIFI-3844
See merge request espressif/esp-idf!22604
2023-03-13 10:41:28 +08:00
Jiang Jiang Jian
3cad41ee77
Merge branch 'bugfix/wpa3_softap_supplicant_coverity_fixes' into 'master'
...
esp_wifi: Fix some SAE SoftAP issues
Closes WIFI-5493, WIFI-5498, IDF-7028, WIFI-5516, and WIFI-5515
See merge request espressif/esp-idf!22574
2023-03-13 10:33:27 +08:00
Cao Sen Miao
8b5f4f54fc
system: Clean up code, some single core chips have useless dual-core code
2023-03-13 10:27:57 +08:00
Marius Vikhammer
75591a8a13
Merge branch 'ci/driver_single_board' into 'master'
...
ci: update test apps to use run_all_single_board_cases
See merge request espressif/esp-idf!22669
2023-03-13 09:25:42 +08:00
Mark H. Spatz
0abd1cb51f
[esp-tls] Add addr_family option to esp_tls_cfg_t
2023-03-12 17:41:30 -04:00
Zim Kalinowski
ff3a3ac411
pthread: fix and re-enable no-format warnings
2023-03-12 21:49:57 +01:00
Zim Kalinowski
5016eb6269
ulp: fix and re-enable no-format warnings
2023-03-12 21:47:24 +01:00
Zim Kalinowski
f6fc5e3c31
heap: fix and re-enable no-format warnings
2023-03-12 21:45:11 +01:00
Zim Kalinowski
dca8ee21ee
esp_event: fix and re-enable no-format warnings
2023-03-12 21:40:47 +01:00
Shreyas Sheth
c797146f43
wpa_supplicant: Resolve WPA3 SAE softAP coverity issues
...
1) Resolve wpa_suppliant coverity issues caused by SAE softAP
2) Fix crash occured while deinitialization of softAP
when authmode is changed
3) Fix issue related to anti clogging token and send_confirm
4) Put some AP specific functions under ESP_WIFI_SOFTAP_SUPPORT
compilation flags
2023-03-12 17:33:17 +05:30
Espressif BOT
e174fc967e
Update common cert authorities csv
2023-03-12 11:00:24 +08:00
Song Ruo Jing
3ec287eaa5
Merge branch 'feature/ledc_gamma_curve_support' into 'master'
...
ledc: Support gamma curve fade feature
Closes IDF-5811 and IDF-6236
See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
Wu Zheng Hui
c8364fb921
Merge branch 'feature/add_wakeup_cost_info_to_dslp_wakestub_example' into 'master'
...
feature: add wake up time cost info to deep_sleep_wake_stub example
See merge request espressif/esp-idf!22683
2023-03-11 15:11:53 +08:00
Rahul Tank
9e0502daeb
Merge branch 'bugfix/macro_adjustment' into 'master'
...
NimBLE : Correct macro usage
Closes IDF-6565
See merge request espressif/esp-idf!22528
2023-03-11 14:43:49 +08:00
morris
f8d68efcbf
Merge branch 'bugfix/atomic_gptimer_fsm' into 'master'
...
gptimer: fix race condition between start and stop
See merge request espressif/esp-idf!22620
2023-03-11 09:40:17 +08:00
Jiang Jiang Jian
d5f53fb415
Merge branch 'feature/nan_datapath' into 'master'
...
NAN Datapath support and console example
Closes WIFI-1223
See merge request espressif/esp-idf!13593
2023-03-11 04:50:10 +08:00
Darian
a8948eb130
Merge branch 'refactor/xtensa_default_vectors' into 'master'
...
Xtensa: Move default vectors back into xtensa_vectors.S
Closes IDF-7022
See merge request espressif/esp-idf!20512
2023-03-11 01:00:48 +08:00
morris
2d52334e5d
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-10 23:27:29 +08:00
Konstantin Kondrashov
ed97d230c8
Merge branch 'ci/fix_ipc_tests' into 'master'
...
ipc: Mitigates and speeds up some ipc tests
Closes IDFCI-1638
See merge request espressif/esp-idf!22657
2023-03-10 21:48:00 +08:00
Roman Leonov
6777579cb6
Merge branch 'bugfix/usb_host_enumeration_delay' into 'master'
...
USB Host: SetAddress recovery interval + menuconfig configuration
Closes IDFGH-9036, IDFGH-9340
See merge request espressif/esp-idf!22607
2023-03-10 20:19:12 +08:00
C.S.M
b0b99a9a1b
Merge branch 'feature/flash_support_h2' into 'master'
...
spi_flash: Allow clock frequency up to 64M on ESP32H2
See merge request espressif/esp-idf!22476
2023-03-10 19:13:03 +08:00
C.S.M
b42f6e3e13
Merge branch 'bugfix/reenable_gpio_usb_pins_on_h2' into 'master'
...
gpio: Re-enable gpio usb pins test cases on esp32h2
Closes IDF-6845
See merge request espressif/esp-idf!22687
2023-03-10 17:25:59 +08:00
wuzhenghui
8820efe2e1
feature: add wake up time cost info to deep_sleep_wake_stub example
2023-03-10 16:37:02 +08:00
MacDue
253b952f4d
pthread: avoid heap alloc in pthread_cond_timedwait
2023-03-10 15:52:27 +08:00
Marius Vikhammer
0be8e03907
ci: update test apps to use run_all_single_board_cases
2023-03-10 14:27:09 +08:00
jingli
cb0f517fe3
soc/soc_caps: update soc caps for chips that support power-down of modem hardware
...
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
Armando (Dou Yiwen)
1b4643d323
Merge branch 'refactor/create_mspi_timing_tuning_ll' into 'master'
...
mspi: create mspi timing tuning ll
Closes IDF-6638
See merge request espressif/esp-idf!21924
2023-03-10 14:14:23 +08:00
Darian Leung
29ec3fbacf
xtensa: Move default vectors back into xtensa_vectors.S
...
The default implementation of some xtensa vectors were previously moved to
"xtensa_vector_defaults.S" as weak functions so that they could be overriden.
This commit moves these default vectors back into "xtensa_vectors.S" in
preparation for further refactoring of the xtensa component.
2023-03-10 13:59:01 +08:00
Zim Kalinowski
44df8624ed
Merge branch 'bugfix/freertos-fix-ignored-warnings' into 'master'
...
freertos: fix and re-enable no-format warnings
Closes IDF-6798
See merge request espressif/esp-idf!22638
2023-03-10 13:58:45 +08:00
Nachiket Kukade
4c76af3f68
esp_wifi: Add support for NAN Discovery and Datapath
...
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's
In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management
Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30
Roshan Bangar
de7a7b41b7
NimBLE : Correct macro usage
2023-03-10 11:05:41 +05:30
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Rahul Tank
8fc0343e5a
Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
...
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips
See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Island
b43cde7463
Merge branch 'bugfix/esp32c2_acl_flow_ctrl_err' into 'master'
...
Bugfix/esp32c2 acl flow ctrl err
See merge request espressif/esp-idf!22689
2023-03-10 12:26:06 +08:00
Mahavir Jain
00f30bb199
Merge branch 'esp32c6/fix_pmp_config' into 'master'
...
esp32c6: Fix incorrect PMP configuration
Closes IDF-6927
See merge request espressif/esp-idf!22435
2023-03-10 12:21:30 +08:00
Cao Sen Miao
bc655a6890
spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2
2023-03-10 11:39:53 +08:00
Armando (Dou Yiwen)
7f7b0a70eb
Merge branch 'feature/spi_flash_verify_write' into 'master'
...
spi_flash: verify_write feature, and ESP-IDF vs ESP-ROM spi flash driver difference doc
Closes IDF-5624
See merge request espressif/esp-idf!19998
2023-03-10 10:07:43 +08:00
Marius Vikhammer
dfedaa2b65
Merge branch 'feature/c6_ulp' into 'master'
...
ulp: added basic support for building and running a binary in the lp core
Closes IDF-6829 and IDF-6272
See merge request espressif/esp-idf!22554
2023-03-10 09:56:38 +08:00
xiehang
c8d7c9bd71
Add the output RX result command
2023-03-10 09:29:27 +08:00
Jiang Jiang Jian
1f05281913
Merge branch 'bugfix/fix_hidh_connection_bug' into 'master'
...
Bugfix/Fix HID Host bug when handling the two consecutive connection request
Closes IDFGH-9100
See merge request espressif/esp-idf!21988
2023-03-10 03:48:48 +08:00
Darian
77ca79a5e9
Merge branch 'refactor/freertos_check_scheduler_suspend_asserts' into 'master'
...
FreeRTOS(IDF): Refactor configASSERTs for scheduler suspension
Closes IDF-5889
See merge request espressif/esp-idf!22576
2023-03-09 20:19:57 +08:00
zwl
45d207572b
Add hci uart pin reconfig API
2023-03-09 20:03:08 +08:00
zwl
57c7310512
ble: Add assertion checking for bluedroid hci on ESP32-C2,ESP32-C6 and ESP32-H2
2023-03-09 20:02:23 +08:00
Zim Kalinowski
70ba19b806
freertos: fix and re-enable no-format warnings
2023-03-09 12:43:11 +01:00
zwl
620cbfd428
ble: Fixed flow control count error on ESP32-C2
2023-03-09 19:29:52 +08:00
Armando
36532aaea8
mspi: make mspi_timing_tuning.h available for all supported targets
2023-03-09 10:38:32 +00:00
Armando
99882ac2d1
mspi: mspi timing tuning ll
2023-03-09 10:38:32 +00:00
Wang Meng Yang
9c1897028a
Merge branch 'bugfix/avrcp_psth_cmd_rsp' into 'master'
...
bt:Added a parameter to tell the user the result of the pass through command implementation
Closes BT-2233
See merge request espressif/esp-idf!22474
2023-03-09 17:48:15 +08:00
Jiang Jiang Jian
e63f609501
Merge branch 'bugfix/fix_fast_packets_handling' into 'master'
...
Nimble: Retry buffer allocation, if previous allocation fails
Closes BT-2473 and IDFGH-9487
See merge request espressif/esp-idf!22586
2023-03-09 17:44:54 +08:00
Isha Pardikar
da10eff2b3
Merge branch 'bugfix/IDFGH_9535' into 'master'
...
wifi_prov_mgr : Fixed return value of characteristic read operation in nimble
See merge request espressif/esp-idf!22623
2023-03-09 17:25:08 +08:00
Song Ruo Jing
5c5cfbc7c7
gpio: Re-enable gpio usb pins test cases on esp32h2
2023-03-09 17:21:43 +08:00
KonstantinKondrashov
ced3c50cd6
ipc: Mitigates and speeds up some ipc tests
...
Test ipc_isr two tasks use IPC function calls
Test multiple ipc_calls
Closes IDFCI-1638
2023-03-09 17:08:45 +08:00
chenjianhua
7bbfd28d44
bluedroid: fix adv and scan state conflict
2023-03-09 16:36:54 +08:00
Aditya Patwardhan
38b036e9ae
Merge branch 'bugfix/fix_esp_http_client_host_test_failures' into 'master'
...
esp-tls: Fix esp-tls component to resolve esp_http_client example failure for Linux target.
Closes IDFCI-1646 and IDFCI-1647
See merge request espressif/esp-idf!22584
2023-03-09 15:46:00 +08:00
Shu Chen
47852846d3
Merge branch 'bugfix/ieee802154_rst_clock' into 'master'
...
ieee802154: update lib to change esp32h2 clock init
See merge request espressif/esp-idf!22659
2023-03-09 15:16:07 +08:00
Roman Leonov
be899f6653
usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
...
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-09 08:11:05 +01:00
Armando
d35b6dd852
spi_flash: support write verify feature on esp_flash_write_encrypted API
2023-03-09 14:55:13 +08:00
Armando
110853517a
spi_flash: support write verify feature on esp_flash_write API
2023-03-09 14:55:13 +08:00
gaoxu
44dd14dde4
support SPI_FLASH_VERIFY_WRITE feature on esp_flash driver and add config to test it
2023-03-09 14:55:13 +08:00
Wu Zheng Hui
31acd5d509
Merge branch 'bugfix/fix_ssc_crash_when_light_sleep_with_main_xtal_power_on' into 'master'
...
ssc/uart: disable UART_INTR_BRK_DET interrupt to avoid ssc crash when light sleep
See merge request espressif/esp-idf!21252
2023-03-09 14:53:06 +08:00
liqigan
20c9efed4d
fix HID Host bug when handling the two consecutive connection request
...
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Sachin Parekh
ed0a1f7b52
esp32c6: Fix incorrect PMP configuration
...
- Enable pytest memprot tests for C6
2023-03-09 11:37:29 +05:30
Sachin Parekh
7bd5d93905
esp_hw_support: Move cpu protection in port files
2023-03-09 11:37:29 +05:30
muhaidong
fcdea7e9d4
smartconfig: fix the issue of sending failure and exit
2023-03-09 05:17:50 +00:00
WanqQixiang
44d1ee0d1d
openthread: Fix errors after disabling IPv4 in LwIP
2023-03-09 11:19:31 +08:00
Jiang Jiang Jian
2f7aa5abe8
Merge branch 'feature/add_mldv6_report' into 'master'
...
lwip: solve some routers do not forward multicast packet issue
Closes WIFI-5132
See merge request espressif/esp-idf!21881
2023-03-09 10:43:13 +08:00
jingli
238f31d93b
uart: add low level func for uart to set err wr mask
2023-03-09 10:28:33 +08:00
Marius Vikhammer
284dabf17f
ulp: added basic support for building and running a binary in the lp core
2023-03-09 10:12:23 +08:00
Martin Vychodil
f8383f439f
Merge branch 'feature/sd_perf_uplift' into 'master'
...
fatfs: fstat - enable setting a custom preferred block size
Closes IDF-6978
See merge request espressif/esp-idf!22522
2023-03-09 00:03:02 +08:00
xiaqilin
f1cf243385
ieee802154: update lib to change esp32h2 clock init
...
esptool: remove no_stub for esp32h2
2023-03-08 21:12:40 +08:00
Zim Kalinowski
05037957c7
Merge branch 'docs/broken_links_2' into 'master'
...
docs: fix broken links
See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Zhang Wen Xu
10864e353a
Merge branch 'support/openthread_upstream_update' into 'master'
...
openthread: update openthread upstream
See merge request espressif/esp-idf!22559
2023-03-08 18:00:07 +08:00
Martin Vychodil
e0a206ec8b
Merge branch 'bugfix/esp_partition_unload_fix' into 'master'
...
esp_partition: Fixed use-after-free issue (coverity)
Closes IDF-6165 and IDF-6999
See merge request espressif/esp-idf!22608
2023-03-08 17:41:36 +08:00
Harshit Malpani
866e6b0d6b
esp-tls: Fix esp-tls component to resolve esp_http_client example failure for Linux target.
...
esp_http_client does not use lwip component when building for linux target. Using lwip configs directly in esp-tls caused the test failures
2023-03-08 14:56:04 +05:30
xueyunfei
ad0b32c662
lwip: solve some routers do not forward multicast packet issue
2023-03-08 16:58:29 +08:00
Adam Múdry
16915556a3
fatfs: fstat - enable setting a custom preferred block size
...
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
Rahul Tank
eb304455d5
Nimble: Added change to give time to allocate buffers, in case previous
...
allocation fails
Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-08 12:31:41 +05:30
Jiang Jiang Jian
7dd7498212
Merge branch 'bugfix/add_mmu_pwr_ctrl_reg_to_retention_link' into 'master'
...
bugfix: esp32c6 light sleep minor fixes
Closes WIFI-5353
See merge request espressif/esp-idf!22619
2023-03-08 14:44:51 +08:00
Rahul Tank
d89736babf
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips
2023-03-08 11:59:43 +05:30
Jiang Guang Ming
fc9538c63d
Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
...
flash mmap: more config options for flash mmap test app
See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
Omar Chebib
0fa63be9d1
Merge branch 'bugfix/fix_psram_kconfig_help' into 'master'
...
psram: removed deprecated statement about coredump and external BSS
See merge request espressif/esp-idf!22561
2023-03-08 13:31:53 +08:00
Martin Vychodil
744742cb3d
host_test:
...
[fatfs, wl]: partition.c interim update to work around non-Linux target
[partition_api_test]: cleanup, new function for tmp filename generation
2023-03-08 05:06:30 +00:00
Martin Vychodil
a2b4b27b62
esp_partition: Fixed use-after-free issue (coverity)
2023-03-08 05:06:30 +00:00
Martin Vychodil
cd747165df
Merge branch 'fix/sdmmc_cmd_sector_count_shouldnt_be_zero' into 'master'
...
sdmmc: read/write/erase return early on sector count == 0
Closes IDFGH-9203
See merge request espressif/esp-idf!22440
2023-03-08 13:01:51 +08:00
xiehang
481c264d0d
Add cert test example
2023-03-08 11:03:33 +08:00
xiehang
de4091b0d8
esp_phy: Add RF certification APIs
2023-03-08 11:03:16 +08:00
Ivan Grokhotkov
e0009e6d9e
Specification Kconfig description
2023-03-08 11:01:49 +08:00
xiehang
9c8b7fc0dd
esp_phy: Update esp32c3/s3 phy lib and add test lib
2023-03-08 11:01:31 +08:00
zhangwenxu
976cdd7d7e
openthread: update openthread upstream
...
* openthread upstream(091f68ed)
2023-03-08 10:55:51 +08:00
Jiang Jiang Jian
fe979e6513
Merge branch 'feature/merge_c3_s3_bt_files_to_one' into 'master'
...
Merge ESP32C3 and ESP32S3 BLE bt.c, esp_bt.h and kconfig files to one
Closes BT-3209
See merge request espressif/esp-idf!22453
2023-03-08 10:53:01 +08:00
Jiang Jiang Jian
54b0779b34
Merge branch 'support/esp32h2_phy_lib' into 'master'
...
esp_phy: update esp32h2 libphy
See merge request espressif/esp-idf!22622
2023-03-07 23:53:51 +08:00
wuzhenghui
43bf9fd3ab
bugfix: fix wrong lock in sleep retention entry destroy
2023-03-07 20:56:13 +08:00
Darian Leung
353b25410a
freertos: Refactor configASSERTs for scheduler suspension
...
This commit adds a common macro for the differing configASSERT() calls that
check if the scheduler is suspended outside a critical section. This macro
allows vanilla behavior to be restored for single core builds. Also added
comments explaining why xTaskGetSchedulerState() is called instead when
building for SMP.
2023-03-07 18:12:15 +08:00
Darian
daf4150846
Merge branch 'refactor/freertos_port_malloc_macros' into 'master'
...
FreeRTOS(IDF): Refactor pvPortMalloc()/vPortFree(), Implement IDF heap wrapper for FreeRTOS.
Closes IDF-3997
See merge request espressif/esp-idf!22565
2023-03-07 17:30:10 +08:00
Li Shuai
ffcec33057
modem clock: enable all clock enable of wifi module when PMU switch to ACTIVE from sleep state
2023-03-07 16:19:39 +08:00
Mahavir Jain
56dc272514
Merge branch 'feature/esp32h2_secure_boot' into 'master'
...
esp32h2: add secure boot feature support
Closes IDF-6281 and IDF-6681
See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
jiangguangming
87f2eb9e2a
esp_rom: put rom cache related functions to cache.h
2023-03-07 14:51:24 +08:00
Zim Kalinowski
afbdb0f3ef
Merge branch 'bugfix/console-fix-ignored-warnings' into 'master'
...
console: fix and re-enable no-format warnings
Closes IDF-6791
See merge request espressif/esp-idf!22534
2023-03-07 14:23:05 +08:00
Zim Kalinowski
9c75cbfecd
Merge branch 'bugfix/efuse-fix-ignored-warnings' into 'master'
...
efuse: reenable and fix no-format warnings
Closes IDF-6794
See merge request espressif/esp-idf!22629
2023-03-07 14:18:05 +08:00
Jiang Jiang Jian
58b3692540
Merge branch 'bugfix/add_unregister_wpa3_cb' into 'master'
...
wpa_supplicant : Fix issues encountered in WFA testing
Closes WIFI-5386
See merge request espressif/esp-idf!22396
2023-03-07 14:15:20 +08:00
zhangwenxu
566ea41de9
esp_phy: update esp32h2 libphy
...
* phy_version: 101,0, 90773fa-dirty, Feb 27 2023, 16:19:13
2023-03-07 14:07:45 +08:00
Omar Chebib
9852cb49f7
psram: removed deprecated statement about coredump and external BSS
2023-03-07 05:59:08 +00:00
Konstantin Kondrashov
cf68a4c136
Merge branch 'feature/esp_timer_uses_shared_isr' into 'master'
...
esp_timer: Adds TASK and ISR AFFINITY to core options
Closes IDFGH-9053
See merge request espressif/esp-idf!21923
2023-03-07 13:38:23 +08:00
Jiang Jiang Jian
d1adc453b0
Merge branch 'bugfix/some_small_fix_for_sleep_examples' into 'master'
...
examples: some small fix for sleep examples
See merge request espressif/esp-idf!19052
2023-03-07 13:07:10 +08:00
Island
3ab20c1d26
Merge branch 'feature/support_ble_on_esp32h2' into 'master'
...
Feature/support ble on esp32h2
Closes IDF-6416 and IDF-6337
See merge request espressif/esp-idf!22221
2023-03-07 11:43:57 +08:00
Jiang Jiang Jian
a3b5472d99
Merge branch 'feature/password_identifier_sae' into 'master'
...
identifier support for SAE
See merge request espressif/esp-idf!19248
2023-03-07 11:19:19 +08:00
Zim Kalinowski
0c090b7308
efuse: reenable and fix no-format warnings
2023-03-06 19:08:00 +01:00
Darian Leung
4069a62629
freertos(IDF): Remove usage of xPortGetFreeHeapSize() outside FreeRTOS
...
After heap_idf.c has been added (where the FreeRTOS heap is a subset of the
ESP-IDF heap), xPortGetFreeHeapSize() was updated to only returns the free
size of the FreeRTOS heap and not the entire ESP-IDF heap.
This commit replaces calls of xPortGetFreeHeapSize() with
esp_get_free_heap_size() in places outside of FreeRTOS.
2023-03-07 02:02:28 +08:00
Adam Múdry
415e785135
sdmmc: read/write/erase return early on sector count == 0
...
Closes https://github.com/espressif/esp-idf/issues/10593
2023-03-06 15:45:04 +01:00
wuzhenghui
e213a7ffdd
bugfix: fix esp_mac_bb_power_up
2023-03-06 21:38:48 +08:00
Zim Kalinowski
2a8bbda6e4
console: Fix and re-enable no-format warnings
2023-03-06 14:12:31 +01:00
morris
66ab7c9f6a
Merge branch 'bugfix/timg0_disable' into 'master'
...
esp_system: Fix TIMG0 still enabled after Timer is freed
See merge request espressif/esp-idf!22503
2023-03-06 20:50:12 +08:00
jiangguangming
91b86f55d5
esp_system: use ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE instead of IDF_TARGET_XXX
2023-03-06 20:32:04 +08:00
jiangguangming
344d30c18e
esp_rom: add macro ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE for S3/C3/C2/C6/H2/H4
2023-03-06 19:47:18 +08:00
Jiang Guang Ming
5414eda027
flash mmap: disable mmap into instruction address
when SPI_FLASH_ROM_IMPL enabled
2023-03-06 19:47:18 +08:00
jiangguangming
232da4ca72
flash mmap: more config option for flash mmap test app
2023-03-06 19:47:15 +08:00
Mahavir Jain
d4ccdd48f6
esp32h2: add secure boot feature support
...
Closes IDF-6281
2023-03-06 16:57:45 +05:30
Mahavir Jain
d61f974a3d
esp32h2: enable secure boot feature related capabilities
2023-03-06 16:36:17 +05:30
isha.pardikar@espressif.com
e72d223737
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-06 15:23:26 +05:30
Marius Vikhammer
24e0d91cd0
docs: fix broken links
2023-03-06 17:29:10 +08:00
Darian Leung
e21ab0332b
freertos(IDF): Refactor port heap functions
...
Vanilla FreeRTOS expects applications to use one of the heap implementations
provided by FreeRTOS (i.e., heap_x.c), where functions such as pvPortMalloc()
and vPortFree() are defined in the heap implementation.
However, ESP-IDF already provides its own heap implementation
(i.e., esp_heap_caps.h). Thus, the pvPortMallc()/vPortFree() functions were
previously overriden by macro to call esp_heap functions directly.
This commit refactors the FreeRTOS port's heap as such:
- Added a heap_idf.c that implements all of the heap related functions required
by FreeRTOS source
- All dynamic memory allocated by FreeRTOS is from internal memory. Thus, the
FreeRTOS heap is the internal memory subset of the ESP-IDF heap.
- Removed some old macros to reduce diff from upstream source code.
2023-03-06 16:00:29 +08:00
morris
1b8a2c264d
Merge branch 'feature/support_spi_flash_cache_test_on_c6_h2' into 'master'
...
spi_flash: enable spi flash cache test on c6 h2
Closes IDF-6931
See merge request espressif/esp-idf!22580
2023-03-06 15:39:09 +08:00
morris
cc2068684f
Merge branch 'feature/support_efuse_for_esp32c6' into 'master'
...
efuse: Updates efuse table for esp32c6
See merge request espressif/esp-idf!22400
2023-03-06 15:33:11 +08:00
zwj
a5e43a7d43
Merge ESP32C3 and ESP32S3 BLE bt.c files to one
2023-03-06 14:53:03 +08:00
wuzhenghui
f44e0cdb80
bugfix: add SPI_MEM_MMU_POWER_CTRL_REG to REGDMA_SPIMEM_LINK
2023-03-06 13:41:36 +08:00
gauri patankar
6f7cf98ffe
esp_wifi: SAE Password Identifier support
2023-03-06 11:04:20 +05:30
Gustavo Henrique Nihei
2a2bd0f8ff
esp_system: Fix TIMG0 still enabled after Timer is freed
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
Gustavo Henrique Nihei
3cbac3dd1d
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
morris
117279ebe1
Merge branch 'test/gptimer_late_alarm' into 'master'
...
gptimer: test late alarm
Closes IDFGH-9522
See merge request espressif/esp-idf!22572
2023-03-06 12:22:22 +08:00
jingli
e38e5be9ac
system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK
2023-03-06 10:58:18 +08:00
jingli
955f2838fc
konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED
2023-03-06 10:58:18 +08:00
Shen Weilong
e77a07e5d0
esp_phy: Add libphy for esp32h2
2023-03-06 10:43:17 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +08:00
laokaiyao
40f1709a1f
Revert "i2s: guarantee safety of memcpy from being interrupted by uart logging"
...
This reverts commit 646fd5e15a
.
2023-03-05 14:10:12 +00:00
laokaiyao
754aa7d128
sdm: adopt clock tree
2023-03-05 14:10:12 +00:00
laokaiyao
fd5bfb2cd4
sdm: fixed wrong sdm struct sequence on esp32h2
2023-03-05 14:10:12 +00:00
morris
004c1713b6
gptimer: test late alarm
...
Closes https://github.com/espressif/esp-idf/issues/10877
2023-03-05 13:59:23 +00:00
Wu Zheng Hui
af805df3cb
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_modem' into 'master'
...
esp32c6: support light_sleep (Stage 3: support Modem power down)
Closes WIFI-5150, WIFI-5151, and IDF-5679
See merge request espressif/esp-idf!22236
2023-03-05 09:23:59 +08:00
Jiang Guang Ming
3556fe9326
spi_flash: enable spi flash cache test on c6 h2
2023-03-04 07:23:59 -08:00
Martin Vychodil
698752684e
Merge branch 'feature/storage_esp_partition_linux_file' into 'master'
...
ESP Partition/Linux: Extended control of file emulating flash memory
Closes IDF-4701
See merge request espressif/esp-idf!22110
2023-03-04 20:01:51 +08:00
Armando
89fa53f1c0
mmu: support configurable mmu page size
2023-03-04 02:48:40 +00:00
Martin Vychodil
abc4d67a9d
Storage: Fixed formatting of esp_partition Linux code
2023-03-03 23:57:34 +00:00
radek.tandler
e9e388a085
Storage: ESP Partition extended options for the SPI Flash emulation
...
Various extensions and fixes to improve Linux target SPI Flash emulation. Used by the host tests
2023-03-03 23:57:34 +00:00
wuzhenghui
15eb1931c0
soc: clean WIFI unsupport soc_caps
2023-03-04 00:17:40 +08:00
wuzhenghui
fd7e8abd73
workaround: bypass esp32c6 flash powedown sleep time adjustment
2023-03-04 00:17:40 +08:00
wuzhenghui
45c2900ec0
resolve WIFI-5150
...
bugfix: Don't hold CS pin when VDDSDIO is power down to reduce the base current
2023-03-04 00:17:40 +08:00
Li Shuai
7ee1b09433
power save: wifi beacon monitor support for esp32c6
...
power save: fix multicast more data always true cause wifi goto sleep fail
2023-03-04 00:17:40 +08:00
wuzhenghui
8a69bc4f9e
power save: fix some auto beacon issues and add some ps features for esp32c6
2023-03-04 00:17:40 +08:00
Li Shuai
1a10eabe41
Power Management: refactor the configuration of each module in sleep mode
2023-03-04 00:17:40 +08:00
Li Shuai
200f69e6eb
auto beacon: support esp32c6 autobeacon (advanced DTIM sleep feature)
...
modem retention: Support esp32c6 wifi MAC and baseband sleep retention
sleep_modem: wifi MAC modem wakeup protect in modem state before PMU trigger sleep enable request
sleep modem: provide a interface to get whether the Modem power domain is allowed to power off during sleep
add i2c_ana master header file to project
auto beacon: release PMU's lock on root clock source (it is locked in the PLL)
wifi receiving beacon frame in PMU modem state strongly depends on the BBPLL
clock, PMU will forcibly lock the root clock source as PLL, when the root
clock source of the software system is selected as PLL, we need to release
the root clock source locking.
When it is judged that the PLL is locked by PMU after wakeing up from the PMU
modem state, switch the root clock source to the PLL in the sleep process (a
critical section).
auto beacon: fix the failure to receive broadcast/multicast frames in modem state
When the multicast field in the beacon frame received in the PMU modem state is
True, the PMU switches to the PMU active state (the PMU waits for the HP LDO to
stabilize and then restores the MAC context) and starts to receive
broadcast/multicast frames (Broadcast/Multicast frames will be sent after a
minimum delay of 48 us after the beacon frame), because the PMU waits for the HP
LDO to stabilize too long (~154 us), which will cause broadcast/multicast frame
reception to be missed.
auto beacon: select the PLL clock source as the REGDMA backup clock source when the PMU switches to ACTIVE from MODEM state
update Digital Peripheral (M2A switch) REGDMA restore time parameter
auto beacon: fix the issue that only channel 1 can connect to AP in modem state
2023-03-04 00:17:40 +08:00
Li Shuai
93c02fed3b
light sleep: add modem power domain and power down the modem power domain during sleep
2023-03-04 00:17:40 +08:00
Li Shuai
3a5fe2ab63
light sleep: rename sleep mac bb to modem, it includes MAC and baseband of wifi, bt and ieee802.15.4 modules
2023-03-04 00:17:40 +08:00
Li Shuai
f95854dc8f
soc_caps: add SOC_PM_MODEM_RETENTION_BY_REGDMA caps
...
soc_caps: add SOC_PM_SUPPORT_BEACON_WAKEUP caps
soc_caps: add SOC_PM_SUPPORT_PMU_MODEM_STATE caps
soc_caps: add SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW caps
soc_caps: add SOC_PM_SUPPORT_MAC_BB_PD caps
2023-03-04 00:17:40 +08:00
wuzhenghui
186da9af93
codeclean: rename sleep_periph to sleep_sys_periph
2023-03-04 00:17:40 +08:00
wuzhenghui
6f7eadf1ea
bugfix: fix wrong _ms suffix
2023-03-04 00:17:40 +08:00
wuzhenghui
7fcebce2e5
codeclean: fix struct volatile rule in pmu_struct.h/lp_timer.h
2023-03-04 00:17:40 +08:00
Shu Chen
370e250072
Merge branch 'bugfix/fix_bug_of_154_ci' into 'master'
...
ieee802154: fix bug of IEEE802154 receiving packets
See merge request espressif/esp-idf!22571
2023-03-04 00:11:17 +08:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
C.S.M
679dae70cd
Merge branch 'feature/temperature_intr' into 'master'
...
temperature sensor: Add high/low value threshold interrupt support
Closes IDF-5786
See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Wan Lei
40ca80397c
Merge branch 'test/add_spi_slave_freq_test' into 'master'
...
spi: add spi multiple config test
Closes IDF-5882
See merge request espressif/esp-idf!20125
2023-03-03 12:54:32 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
KonstantinKondrashov
449e4bcae7
esp_timer: Adds AFFINITY options for task and ISR
...
These new settings allow you to balance the load on cores.
Closes: https://github.com/espressif/esp-idf/issues/10457
2023-03-02 20:08:02 +08:00
wuzhenghui
975a53aee1
bugfix: workaround for CPU stuck due to DBUS request blocking when fetching unaligned instructions in LP_RAM
2023-03-02 18:10:10 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
wuzhenghui
7ee64bd8e8
refactor: always jump to wake stub wrapper after wakeup
2023-03-02 18:10:06 +08:00
Mahavir Jain
e364e1c102
Merge branch 'feature/esp32h2_enable_rsa_support' into 'master'
...
mbedtls: enable RSA support for esp32h2
Closes IDF-6284 and IDF-6415
See merge request espressif/esp-idf!22498
2023-03-02 15:06:24 +08:00
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
wuzhenghui
d3ec7880fe
bugfix: support GPIO current leakage workaround for esp32c6/esp32h2
2023-03-02 15:06:05 +08:00
wuzhenghui
d1d6b7349f
pmu: pmu parameter adjustment
2023-03-02 15:06:05 +08:00
wuzhenghui
4e80c7544a
esp32c6: soc caps adjustment
2023-03-02 15:06:05 +08:00
wuzhenghui
709adaaa37
soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
...
Close IDF-5924
2023-03-02 15:06:05 +08:00
Jiang Jiang Jian
df6b33712f
Merge branch 'Bugfix/softap_support_CIDR' into 'master'
...
Bugfix for softap support CIDR
Closes IDFGH-8574
See merge request espressif/esp-idf!22471
2023-03-02 14:03:00 +08:00
Marius Vikhammer
9ae7869a66
Merge branch 'feature/esp_system_pytest' into 'master'
...
esp-system: migrate test app cases to pytest
Closes IDF-5584
See merge request espressif/esp-idf!22461
2023-03-02 13:41:41 +08:00
Xu Si Yu
f8af6c3283
ieee802154: fix bug of IEEE802154 receiving packets
2023-03-02 12:07:39 +08:00
Marius Vikhammer
2f6a362be9
Merge branch 'bugfix/c6_pmp_ulp' into 'master'
...
hw-support: configure PMP to allow writing to ULP memory area
See merge request espressif/esp-idf!22555
2023-03-02 11:56:48 +08:00
Armando (Dou Yiwen)
6dc521325f
Merge branch 'bugfix/restore_test_attr_psram_test_scopte' into 'master'
...
esp_common: restore test_attr test scope for psram
See merge request espressif/esp-idf!22546
2023-03-02 11:21:26 +08:00
Armando (Dou Yiwen)
a807e0dbd0
Merge branch 'bugfix/fix_btld_app_overlap_c2' into 'master'
...
ld: fixed bootloader and app potential overlap issue on c3, c2, h2, c6
Closes IDF-4305
See merge request espressif/esp-idf!22511
2023-03-02 10:42:53 +08:00
Jakob Hasse
417838017f
Merge branch 'refactor/move_rom_test_to_fpga_only' into 'master'
...
esp_rom: miniz test only on FPGA
Closes IDFCI-1605
See merge request espressif/esp-idf!22445
2023-03-02 09:18:07 +08:00
Darian
640ba3c029
Merge branch 'feature/ringbuf_uses_event_lists' into 'master'
...
esp_ringbuf: Replace internal semaphores with task event lists
Closes IDF-875
See merge request espressif/esp-idf!22442
2023-03-02 01:58:44 +08:00
Zhang Wen Xu
26aba72125
Merge branch 'feature/fix_esp32h2_read_mac' into 'master'
...
efuse: fix esp_read_mac on esp32h2
See merge request espressif/esp-idf!22553
2023-03-02 01:37:03 +08:00
David Čermák
956e62c461
Merge branch 'feature/lwip_ipv6_only' into 'master'
...
lwip: Support IPv6 only mode
Closes IDF-6023
See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
David Čermák
4bef5f9056
Merge branch 'bugfix/lwip_sntp_enabled_missing' into 'master'
...
lw-ip: Add missing esp_sntp_enabled()
See merge request espressif/esp-idf!22480
2023-03-01 19:07:06 +08:00
Song Ruo Jing
0558d40c81
Merge branch 'contrib/github_pr_10856' into 'master'
...
Correct typo in referenced function name (GitHub PR)
Closes IDFGH-9496
See merge request espressif/esp-idf!22537
2023-03-01 18:39:11 +08:00
Xia Qi Lin
63d04942e5
Merge branch 'feature/esp32h2_support_ieee802154' into 'master'
...
ieee802154: add support esp32h2
Closes TZ-59
See merge request espressif/esp-idf!22379
2023-03-01 18:30:55 +08:00
morris
14555a19db
Merge branch 'feature/parlio_driver' into 'master'
...
Parallel IO TX driver && LED Matrix example
Closes IDF-6607
See merge request espressif/esp-idf!22163
2023-03-01 17:08:16 +08:00
harshal.patil
04cc562180
mbedtls: enable RSA support for esp32h2
2023-03-01 14:18:57 +05:30
jgujarathi
20c316d4cf
wpa_supplicant : Add disable for tls key usage check.
...
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-01 14:14:26 +05:30
Song Ruo Jing
3bb34f9882
Merge branch 'bugfix/ledc_improper_fade_param_for_setting_duty' into 'master'
...
ledc: Fix improper fade parameters for one-time duty set
Closes IDF-6928
See merge request espressif/esp-idf!22547
2023-03-01 15:02:54 +08:00
jgujarathi
d9d1c3e334
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validation for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-01 12:04:45 +05:30
zhangwenxu
c07ec73201
efuse: fix esp_read_mac on esp32h2
2023-03-01 14:14:30 +08:00
Marius Vikhammer
3f65959eef
hw-support: configure PMP to allow writing to ULP memory area
2023-03-01 12:50:28 +08:00
Bradley McFadden
6a21403cba
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-01 12:19:07 +08:00
Marius Vikhammer
7a0b9f65c9
esp-system: migrate test app cases to pytest
2023-03-01 03:21:39 +00:00
Armando
6d88c52bc5
esp_common: restore test_attr test scope for psram
2023-03-01 11:04:22 +08:00
Armando (Dou Yiwen)
bbac0c81f2
Merge branch 'bugfix/fix_adc_pm_lock_release_issue' into 'master'
...
esp_adc: fix continuous mode pm lock release fail issue and add tests
Closes IDFGH-9493
See merge request espressif/esp-idf!22535
2023-03-01 10:46:52 +08:00
Armando
0fb0be3817
ld: fixed bootloader and app potential overlap issue
2023-03-01 10:39:30 +08:00
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
morris
d9f82baca7
driver: fix typo "destroy"
2023-03-01 00:43:14 +00:00
Darian Leung
a8b9314353
esp_ringbuf: Clarify behavior when sending items of 0 size
...
Ring buffers permit sending items of 0 size where:
- No-split/allow-split buffers will send an item (i.e., header) but the item
will have a 0 sized data section
- Byte buffers will simply return pdTRUE
This commit fixes an incorrect assert w.r.t 0 item size in
xRingbufferSendAcquire() and also adds a note to the API descriptions regarding
0 item sizes. A test case has also been added.
2023-02-28 23:56:45 +08:00
Darian Leung
443d87c2ff
esp_ringbuf: Replace internal semaphores with task event lists
...
This commit replaces the existing TX/RX semaphores with FreeRTOS task event
lists (similar to how FreeRTOS queues implement task blocking). Using task
event lists allows the ring buffer object to be smaller and various ring buffer
functions to be faster. The ring buffer queue set impelementation was also
updated as a result.
2023-02-28 23:56:45 +08:00
Shu Chen
e8784f3641
Merge branch 'feature/add_154_ci_for_c6' into 'master'
...
IEEE802.15.4: replace ESP32-H4 with ESP32-C6 for 154 CI
See merge request espressif/esp-idf!22149
2023-02-28 22:38:12 +08:00
Shen Wei Long
20cc537044
Merge branch 'bugfix/fix_assertion_when_deinit_ble_controller' into 'master'
...
[esp32c2] Fixed the occasional assertion when deinit the ble controller
Closes BT-3203
See merge request espressif/esp-idf!22455
2023-02-28 20:53:21 +08:00
Song Ruo Jing
eab8abd877
ledc: Fix improper fade parameters for one-time duty set
...
Valid step and cycle values starts from 1.
scale = 0 indicates no change in duty for this linear fade.
2023-02-28 20:13:52 +08:00
xiaqilin
967bfb603c
ieee802154: update 154 lib for esp32h2 and esp32c6
...
* Add support esp32h2
* Change esp32c6 using modem clock
2023-02-28 19:59:28 +08:00
Mahavir Jain
4db6cae2d6
Merge branch 'fix/mbedtls_test_app_perf_logs_esp32c2' into 'master'
...
mbedtls/test_apps: Fix performance logs
See merge request espressif/esp-idf!22340
2023-02-28 19:50:56 +08:00
Jiang Jiang Jian
b9d40b4943
Merge branch 'feature/add_esp_http_client_host_test' into 'master'
...
fix esp_http_client_example to build for Linux target.
See merge request espressif/esp-idf!22339
2023-02-28 19:48:24 +08:00
Shu Chen
2f5b54111d
Merge branch 'bugfix/ot-spinel-uart-radio-frame-loss' into 'master'
...
openthread: add the configurable option of uart buffer size
See merge request espressif/esp-idf!22451
2023-02-28 19:13:08 +08:00
KonstantinKondrashov
a0408f7324
efuse: Updates efuse table for esp32c6
2023-02-28 17:13:21 +08:00
Wan Lei
c2d090d174
Merge branch 'test/h2_mcpwm_fix_legacy_test' into 'master'
...
mcpwm: fix h2 mcpwm legacy test
Closes IDF-6812
See merge request espressif/esp-idf!22510
2023-02-28 16:42:17 +08:00
Armando
53f1c35826
esp_adc: fix continuous mode pm lock release fail issue and add tests
...
Closes https://github.com/espressif/esp-idf/issues/10853
2023-02-28 16:33:50 +08:00
Martin Vychodil
25e438d94b
Merge branch 'feature/sdspi_host_h2' into 'master'
...
sdspi: h2 support
Closes IDF-6244
See merge request espressif/esp-idf!22504
2023-02-28 16:32:36 +08:00
Martin Vychodil
e4bb430743
Merge branch 'refactor/fix_code_coverity_issue' into 'master'
...
fatfs: fix deadcode issue
Closes IDF-6913
See merge request espressif/esp-idf!22413
2023-02-28 15:39:22 +08:00
Armando (Dou Yiwen)
a9ce76096d
Merge branch 'feature/esp_cache_msync' into 'master'
...
esp_mm: esp_cache_msync, a cache synchronise API
Closes IDF-6587, IDF-6779, and IDF-6288
See merge request espressif/esp-idf!22380
2023-02-28 15:17:49 +08:00
Xu Si Yu
6212ba6d35
IEEE802154: replace esp32h4 with esp32c6 for IEEE802.15.4 CI test
2023-02-28 15:04:04 +08:00
Jiang Jiang Jian
146a5c4de4
Merge branch 'feature/sae_softAP' into 'master'
...
esp_wifi: WPA3-SAE support for softAP
Closes IDFGH-4771
See merge request espressif/esp-idf!15690
2023-02-28 12:25:05 +08:00
Shreyas Sheth
2b8e40e760
esp_wifi: WPA3-SAE support for softAP
2023-02-28 12:25:05 +08:00
wanlei
08ecf47dd4
mcpwm: fix h2 mcpwm legacy test
2023-02-28 11:31:15 +08:00
Armando
4c0d6b6835
mbedtls: updated to use default gdma psram alignment
...
When accessing the PSRAM, the GDMA buffer alignment should be larger or
equal to the data cache line size
2023-02-28 10:42:22 +08:00
Armando
663e881868
gdma: fix potential unaligned cache writeback issue
2023-02-28 10:42:22 +08:00
Armando
1ecd1e3bf0
esp_mm: fix dependency to esp_psram
2023-02-28 10:42:22 +08:00
Armando
fda9746bb8
esp_mm: cache_msync API
2023-02-28 10:42:22 +08:00
Song Ruo Jing
8486a2c3ad
Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
...
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
Closes IDFGH-6887
See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Armando
0a472225cc
fatfs: fix deadcode issue
2023-02-27 11:25:29 +00:00
Xu Si Yu
4bf62250fb
CI: add openthread build CI for ESP32-H2
2023-02-27 17:51:19 +08:00
Harshit Malpani
214627f14b
mbedtls: Keep CONFIG_MBEDTLS_DYNAMIC_BUFFER
disabled for Linux target
2023-02-27 15:12:14 +05:30
Mahavir Jain
ad19981af8
Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
...
Feature/esp32h2 enable flash encryption
Closes IDF-6282 and IDF-6680
See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
David Cermak
5f6cb31105
lwip: Support IPv6 only mode
2023-02-27 08:53:34 +01:00
wanlei
e5810924f2
spi: formate test_spi_param.c
2023-02-27 15:40:24 +08:00
zhangwenxu
2816ff14e4
ieee802154: add support for esp32h2
2023-02-27 15:32:32 +08:00
Armando
83d0181a2c
sdspi: h2 support
2023-02-27 14:39:06 +08:00
Mahavir Jain
2c8c8bfd2d
Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets' into 'master'
...
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
Closes IDFGH-9392
See merge request espressif/esp-idf!22381
2023-02-27 12:45:23 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
Armando (Dou Yiwen)
dc76dde79f
Merge branch 'feature/support_c6_cache' into 'master'
...
cache: support c6/h2 cache error
Closes IDF-5342, IDF-5656, and IDF-6255
See merge request espressif/esp-idf!22078
2023-02-27 11:40:18 +08:00
wanlei
d8ac58b4d4
spi: add high freq test on different spi config
2023-02-27 11:27:57 +08:00
wanlei
cdd610cadc
spi_slave: fix io re-config issue
2023-02-27 11:27:57 +08:00
liuning
db11eaecdc
feature: separate coex lib from wifi lib, support esp32c6 internal coex
...
update wifi, coex, phy libs
2023-02-26 06:58:18 +00:00
liuning
31e340ee0d
esp_coex: correct wrapper names
2023-02-26 06:58:18 +00:00
wangmengyang
2c4fc5d9ea
bt: add coexistence internal API declarations and clean up some unused coexistence hooks
2023-02-26 06:58:18 +00:00
liuning
b3a040aa98
coex: apply new coex_schm_callback
2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-02-26 06:58:18 +00:00
liuning
7817c23623
esp_coex: correct Kconfig name
2023-02-26 06:58:18 +00:00
zhangwenxu
4697d85944
esp_coex: support i154 set coex pti
2023-02-26 06:58:18 +00:00
liuning
5e59276ddf
esp_wifi: port coex adapter for esp32c6
2023-02-26 06:58:18 +00:00
liuning
38316b38b5
esp_wifi: move coex part from esp_wifi to esp_coex
2023-02-26 06:58:18 +00:00
liuning
103772df94
esp_wifi: support adapter of all chips for new coex lib
2023-02-26 06:58:18 +00:00
Jiang Jiang Jian
e8b38e141d
Merge branch 'bugfix/wifi_config_fixes' into 'master'
...
esp_wifi: Update some wifi config options
See merge request espressif/esp-idf!22397
2023-02-26 14:57:25 +08:00
Sudeep Mohanty
b464933661
Merge branch 'feature/rtc_isr_for_ulp' into 'master'
...
ulp: Added APIs to handle ULP signal ISRs for the main CPU
Closes IDFGH-9362
See merge request espressif/esp-idf!22439
2023-02-25 14:20:26 +08:00
Island
7bc2046ec1
Merge branch 'bugfix/esp_ble_mesh_gcc12_compile' into 'master'
...
ble_mesh: fix gcc-12 compile errors
Closes MTWJ-234
See merge request espressif/esp-idf!22500
2023-02-24 19:53:26 +08:00
Mahavir Jain
190f4c72bd
Merge branch 'fix/http_client_disable_auto_redirect_causes_loop' into 'master'
...
http_client: fixed looping caused when disable_auto_redirect enabled
Closes IDFGH-9243
See merge request espressif/esp-idf!22158
2023-02-24 19:43:39 +08:00
morris
8538f16361
Merge branch 'bugfix/gpio_glitch_filter_test' into 'master'
...
driver: improve gpio glitch filter test
Closes IDFCI-1621 and IDFCI-1622
See merge request espressif/esp-idf!22477
2023-02-24 18:13:41 +08:00
Aditya Patwardhan
b5b7f32e46
hal/esp32h2: Enable ll layer for flash encryption
2023-02-24 15:21:51 +05:30
Aditya Patwardhan
aaf5d0670e
[bootloader_support/esp32h2] Enable flash encryption for esp32h2 target
2023-02-24 15:21:51 +05:30
Darian
2f44fa4123
Merge branch 'bugfix/freertos_stream_buffer_test' into 'master'
...
FreeRTOS: Fix stream buffer send-receive test
Closes IDF-6148
See merge request espressif/esp-idf!22407
2023-02-24 16:19:37 +08:00
Armando
4997689de5
cache: support h2 and c6 cache error
2023-02-24 16:16:46 +08:00
Darian
57b6be22a7
Merge branch 'bugfix/twai_listen_only_errata' into 'master'
...
TWAI: Add errata workaround for listen only mode
Closes IDFGH-7602
See merge request espressif/esp-idf!22479
2023-02-24 16:12:05 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54
Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
...
Test: Fixed target test of I2S and PCNT on H2
Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627
See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Sudeep Mohanty
a67d15fdea
ulp: Added APIs to handle ULP signal ISRs for the main CPU
...
This commit introduces APIs to handle ULP signal ISRs when the main core
is not in sleepmode.
Closes https://github.com/espressif/esp-idf/issues/10737
2023-02-24 07:25:39 +00:00
Laukik Hase
47c153ad9e
mbedtls/test_apps: Fix performance logs
...
- For esp32-c2, the `CONFIG_NEWLIB_NANO_FORMAT` is enabled by
default which does not allow printing `int64_t` values
- Copied these values to a `uint32_t` variable for printing
them properly
2023-02-24 12:26:21 +05:30
Wan Lei
cf146d4b31
Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
...
spi_master: fix whole master driver iram safe enviroenment
Closes IDF-6848
See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e
Merge branch 'feature/support_h2_adc' into 'master'
...
adc: support adc h2
Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695
See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
xueyunfei
4f0732cf05
Fixed bug for dhcp server support CIDR
...
Closes https://github.com/espressif/esp-idf/issues/10024
Closes https://github.com/espressif/esp-idf/issues/10559
2023-02-24 14:24:49 +08:00
David Cermak
708641204e
lwip: Add missing esp_sntp_enabled()
2023-02-24 07:23:55 +01:00
Jing Li
a529771d88
Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'
...
pm: refactor pm codes to use unified esp_pm_config_t
See merge request espressif/esp-idf!22472
2023-02-24 14:06:19 +08:00
Marius Vikhammer
c2f9392be5
Merge branch 'feature/h2_wdt' into 'master'
...
wdt: add support for H2
Closes IDF-6643 and IDF-6678
See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Aditya Patwardhan
0d20f8816f
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
...
Closes https://github.com/espressif/esp-idf/issues/10765
2023-02-24 04:45:23 +00:00
morris
fdac2589bb
driver: improve gpio glitch filter test
...
on esp32c6 and esp32h2, CPU frequency is 2x of IO MUX clock source.
There is a possiblity for a too short glitch pulse can't trigger GPIO
interrupt.
2023-02-24 11:05:59 +08:00
wanlei
f11c44e55b
spi_master: fix master driver iram safe enviroenment
2023-02-24 10:46:06 +08:00
wanlei
aff223276f
spi_slave: fix issue iram flag bind with iram config
...
bus flag`ESP_INTR_FLAG_IRAM` bind with `CONFIG_SPI_SLAVE_ISR_IN_IRAM`
2023-02-24 10:38:44 +08:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Chen Yudong
d352fb2411
ble_mesh: fix gcc-12 compile errors
2023-02-23 22:46:16 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
harshal.patil
32e78b71f3
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-23 14:11:58 +05:30
laokaiyao
646fd5e15a
i2s: guarantee safety of memcpy from being interrupted by uart logging
2023-02-23 15:11:13 +08:00
laokaiyao
71905d9cbf
i2s_test: fix unsupported sample rate on h2
2023-02-23 15:11:13 +08:00
laokaiyao
53658e56d6
pcnt_test: fix the error pin on h2
2023-02-23 15:11:13 +08:00
aditi_lonkar
6b95b4ffd7
esp_wifi: Update some wifi config options
...
1) Update sta_config_t options.
2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
Darian Leung
c97523ae0a
freertos: Fix stream buffer send-receive test
...
The stream buffer send-receive test preivously contained the following bugs:
- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
the sender task would cause memory corruption when accessing "tc" structure
allocated on the main task's stack
This commit fixes and simplifies the stream buffer test.
2023-02-23 12:52:28 +08:00
Darian Leung
72becf31e4
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-23 12:50:06 +08:00
Armando (Dou Yiwen)
aeaf119338
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h' into 'master'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
Closes IDF-5219
See merge request espressif/esp-idf!22447
2023-02-23 12:05:13 +08:00
Armando
486c765a93
adc: remove adc_hal_conf.h
...
Macros inside adc_hal_conf.h are moved to adc_ll.h
2023-02-23 11:48:31 +08:00
Armando
c2d5c19b28
adc: ll enum renaming
2023-02-23 11:48:31 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
jingli
3a648e8ed6
ci: h2 does not support deep sleep currently, comment some codes to avoid ci error
2023-02-23 11:36:13 +08:00
jingli
4c3d1e24d7
codeclean: remove unused sleep related functions
2023-02-23 11:36:13 +08:00
jingli
8f415a7f44
refactor: power management component use unified esp_pm_config_t
2023-02-23 11:36:07 +08:00
Marius Vikhammer
5d26a0de9a
wdt: add support for H2
2023-02-23 11:22:51 +08:00
Alexey Lapshin
1484f2d4f6
Merge branch 'feature/update-gnu-toolchain-to-12.2.0_20230208' into 'master'
...
tools: update GNU toolchain version to 'esp-12.2.0_20230208'
Closes GCC-297, GCC-224, GCC-299, GCC-254, and GCC-256
See merge request espressif/esp-idf!22270
2023-02-23 01:57:51 +08:00
Jiang Jiang Jian
f3f3e87ea2
Merge branch 'bugfix/fix_sta_auth_fail_but_softap_shows_it_connected_issue' into 'master'
...
esp_wifi: fix sta auth failed but softap shows it connected issue
Closes WIFI-5448 and WIFI-5449
See merge request espressif/esp-idf!22465
2023-02-22 19:41:42 +08:00
Konstantin Kondrashov
bfd2f6ed7c
Merge branch 'feature/adds_more_efuse_logs' into 'master'
...
efuse: Add more logging for virtual efuses
Closes IDFGH-9137
See merge request espressif/esp-idf!22399
2023-02-22 19:25:58 +08:00
Mahavir Jain
b6588eb99c
Merge branch 'fix/esp32_hw_mpi_data_corruption' into 'master'
...
esp32/mpi: Added alternate workaround for MPI data corruption issue
Closes IDFGH-8991
See merge request espressif/esp-idf!22139
2023-02-22 16:33:51 +08:00
xiongweichao
3b5939396d
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-02-22 15:37:54 +08:00
Kevin (Lao Kaiyao)
0f15d4a2c1
Merge branch 'feature/i2s_support_pre_load_dma_data' into 'master'
...
i2s: support preload data
Closes IDFGH-6847
See merge request espressif/esp-idf!21927
2023-02-22 15:28:16 +08:00
muhaidong
4cb4faa998
esp_wifi: fix sta auth failed but softap shows it connected issue
2023-02-22 06:52:59 +00:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
morris
1c9b96ab37
Merge branch 'feature/support_efuse_for_esp32h2' into 'master'
...
efuse: Add support for esp32h2
Closes IDF-6252, IDF-4337, and IDF-6897
See merge request espressif/esp-idf!22393
2023-02-22 13:41:40 +08:00
Alexey Lapshin
1e65ea8889
hal: always inline mmu_ll_check_valid_paddr_region for esp32h2
2023-02-22 05:33:03 +00:00
Alexey Lapshin
36d0e275a0
hal: always inline clk_tree_ll functions
2023-02-22 05:33:03 +00:00
Alexey Lapshin
84ff4d6e37
esp_rom: always inline cache.h functions for esp32
2023-02-22 05:33:03 +00:00
Alexey Lapshin
85b48bfcc0
esp_netif: fix test_app_vfs_l2tap stack overflow
2023-02-22 05:33:03 +00:00