Commit Graph

19358 Commits

Author SHA1 Message Date
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
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
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