xuxiao
5a21bea309
esp_wifi: itwt add setup timeout timer to track response frame
2023-06-02 19:46:15 +08:00
wuzhenghui
03832dbd5e
bugfix: fix some flash funcs called in sleep wakeup process
2023-06-02 02:53:51 +00:00
morris
d5fb4ff7c8
esp_rom: add common ROM API to update CPU tick rate
2023-06-01 10:57:13 +08:00
Jakob Hasse
f4f45345ee
esp_hw_support: decrease RNG read frequency on C6 and H2
...
* The RNG reading frequency of 200 KHz has been too high for
C6 and H2 since on these chips the RNG output is combined
with the RTC slow clock which is only 150KHz. Reduced the max
reading frequency via esp_random() from 200KHz to 62.5KHz,
which show best results in tests.
Also updated the bootloader_fill_random() max frequency to the
same value to be in line, even though it was just 83KHz.
2023-05-31 16:16:25 +00:00
Michael (XIAO Xufeng)
30f8f83d52
Merge branch 'bugfix/add_warning_for_rc_fast_calibration_h2_v5.1' into 'release/v5.1'
...
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2 (v5.1)
See merge request espressif/esp-idf!23935
2023-05-31 20:21:11 +08:00
Jiang Jiang Jian
5cd24826bb
Merge branch 'bugfix/fix_rc_fast_calibration_v5.1' into 'release/v5.1'
...
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value (backport v5.1)
See merge request espressif/esp-idf!23940
2023-05-31 17:40:28 +08:00
Jiang Jiang Jian
0d13f6f09d
Merge branch 'bugfix/fix_hang_during_sleep_process_v5.1' into 'release/v5.1'
...
bugfix: fix hang on pd_top sleep process (backport v5.1)
See merge request espressif/esp-idf!23852
2023-05-31 17:40:02 +08:00
Jiang Jiang Jian
125d00c0f7
Merge branch 'feature/c6_bootloader_rng_v5.1' into 'release/v5.1'
...
Feature/c6 bootloader rng (v5.1)
See merge request espressif/esp-idf!23896
2023-05-26 15:36:45 +08:00
wuzhenghui
8c714acfb5
bugfix: fix rc_fast bad calibration value
2023-05-26 13:59:25 +08:00
Song Ruo Jing
702afbb0f7
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
2023-05-26 11:45:00 +08:00
Jakob Hasse
b0e2f33082
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-24 09:43:21 +05:30
wuzhenghui
1df2dcc9fe
bugfix: treat too short sleep duration as sleep reject by software
2023-05-19 13:51:24 +08:00
wuzhenghui
00e777aff9
bugfix: fix pmp retention and add pma retention
2023-05-19 13:51:20 +08:00
Sudeep Mohanty
267c5e37a2
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:33:01 +02:00
Jiang Jiang Jian
ed32d7a267
Merge branch 'bugfix/move_adc_onshot_power_management_to_shot_read_func_v5.1' into 'release/v5.1'
...
Sleep: Fixed abnormal deepsleep base current of ULP ADC on esp32s2/esp32s3 chips (backport v5.1)
See merge request espressif/esp-idf!23828
2023-05-19 11:03:54 +08:00
Marius Vikhammer
19f300fa24
Merge branch 'bugfix/use_safe_noreturn_attr_v5.1' into 'release/v5.1'
...
compiler: replaced noreturn by __noreturn__ in header files (v5.1)
See merge request espressif/esp-idf!23811
2023-05-19 09:37:50 +08:00
wuzhenghui
ed076c2bc8
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
...
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 20:08:47 +08:00
Jiang Jiang Jian
5b4c95c50f
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles_backport_v5.1' into 'release/v5.1'
...
bugfix: update esp32c6 eco1 fosc calibration cycles during sleep(backport v5.1)
See merge request espressif/esp-idf!23490
2023-05-18 19:52:05 +08:00
Jakob Hasse
a6cbf68991
compiler: replaced noreturn by __noreturn__ in header files
...
* noreturn may be replaced by third-party macros,
rendering it ineffective
* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-18 12:49:40 +08:00
Magnus Sörensen
accb45f466
Update esp_cpu.h
...
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-16 04:37:17 +00:00
Marius Vikhammer
d17ab36645
Merge branch 'feature/c6_ulp_timer_v5.1' into 'release/v5.1'
...
ulp: lp timer support for lp core (v5.1)
See merge request espressif/esp-idf!23659
2023-05-16 09:19:56 +08:00
zlq
79a2cc224c
H2:fix temp sensor issue @low temp
2023-05-12 17:00:58 +08:00
morris
1d89e24199
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v5.1' into 'release/v5.1'
...
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v5.1)
See merge request espressif/esp-idf!23689
2023-05-11 21:24:44 +08:00
Marius Vikhammer
b1c85cc1d5
Merge branch 'contrib/github_pr_10895_v5.1' into 'release/v5.1'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23690
2023-05-11 16:45:44 +08:00
Michael (XIAO Xufeng)
a498871111
Merge branch 'bugfix/fix_wrong_hp_ldo_h2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix too low hp ldo dbias (v5.1)
See merge request espressif/esp-idf!23598
2023-05-11 11:59:26 +08:00
Jakob Hasse
48ab527148
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-11 11:16:45 +08:00
Armando
6ae2c3c240
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-11 11:13:32 +08:00
Marius Vikhammer
45fd8feba3
ulp: add support for using lp timer with lp core on C6
2023-05-10 09:39:24 +08:00
Marius Vikhammer
d4a3427eaf
Merge branch 'bugfix/gdma_log_nano_v5.1' into 'release/v5.1'
...
gdma: fixed crash from logging when using newlib nano (v5.1)
See merge request espressif/esp-idf!23585
2023-05-08 10:13:55 +08:00
Marius Vikhammer
94d6614c88
Merge branch 'ci/fix_overwrite_pytest_configs_v5.1' into 'release/v5.1'
...
ci: fixed test apps overriding pytest configs (v5.1)
See merge request espressif/esp-idf!23495
2023-05-06 17:40:58 +08:00
Marius Vikhammer
46f104b3ae
gdma: fixed crash from logging when using newlib nano
...
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.
Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:47:51 +08:00
cje
78b9f5e151
fix too low hp ldo dbias bug for h2
2023-05-05 17:04:18 +08:00
wuzhenghui
123da6baa7
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:47:54 +08:00
morris
cbd210b431
Merge branch 'refactor/rename_to_esp_clk_tree_prefix_v5.1' into 'release/v5.1'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx (v5.1)
See merge request espressif/esp-idf!23449
2023-04-28 17:11:46 +08:00
Mahavir Jain
c49dce48eb
Merge branch 'fix/esp32s3_ununsed_dcache_as_dram_v5.1' into 'release/v5.1'
...
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM (v5.1)
See merge request espressif/esp-idf!23303
2023-04-27 22:09:55 +08:00
Michael (XIAO Xufeng)
1a03cb02c2
Merge branch 'feature/support_fosc_calibration_c6_eco1_to_v5.1' into 'release/v5.1'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above (v5.1)
See merge request espressif/esp-idf!23467
2023-04-27 20:38:31 +08:00
Song Ruo Jing
202b18b5fa
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-27 11:11:18 +00:00
Marius Vikhammer
c35f7cad45
Merge branch 'feature/c6_ulp_sleep_v5.1' into 'release/v5.1'
...
ulp: added sleep support for lp core (v5.1)
See merge request espressif/esp-idf!23484
2023-04-27 17:07:24 +08:00
Jiang Jiang Jian
411c392d97
Merge branch 'feature/support_fosc_calibration_h2_eco2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix fosc calibration fail bug for ECO2 & Above (v5.1)
See merge request espressif/esp-idf!23469
2023-04-27 14:38:01 +08:00
Marius Vikhammer
3724bf6256
ci: fixed test apps overriding pytest configs
2023-04-27 14:29:06 +08:00
Jiang Jiang Jian
46511c8fd1
Merge branch 'bugfix/fix_wrong_frame_ptr_after_wake_restore_backportv5.1' into 'release/v5.1'
...
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore (backport v5.1)
See merge request espressif/esp-idf!23473
2023-04-27 10:45:04 +08:00
Marius Vikhammer
0bac174058
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-27 09:51:41 +08:00
laokaiyao
804a9ea1f6
esp32h4: remove esp32h4 target from peripherals
2023-04-26 18:53:10 +08:00
wuzhenghui
46deef434f
esp_pm: check sleep retention frame integrity in ci UT
2023-04-26 17:36:46 +08:00
wuzhenghui
5ccf93d788
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore
2023-04-26 17:36:42 +08:00
hongshuqing
70fc0bde01
support h2 eco2 fosc calibration for v5.1
2023-04-26 17:08:09 +08:00
hongshuqing
1564884cc1
support c6 eco1 fosc calibration for v5.1
2023-04-26 16:32:28 +08:00
Laukik Hase
3118120659
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-04-26 04:01:38 +00:00
Michael (XIAO Xufeng)
cfcb57333b
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_S2_v5.1' into 'release/v5.1'
...
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode (v5.1)
See merge request espressif/esp-idf!23378
2023-04-26 11:41:09 +08:00
Marius Vikhammer
9ddd08c502
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
...
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:26 +08:00
cje
93eeb4265c
fix chip broken bug when run in monitor mode of S2 and modify voltage param to fit all sleep mode of S2/C2/C3
2023-04-24 10:37:57 +08:00
Li Shuai
94ebda298a
fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode
2023-04-07 05:57:15 +00:00
morris
6057f16cfc
Merge branch 'feature/set_gdma_priority' into 'master'
...
gdma: support override default channel priority
See merge request espressif/esp-idf!22676
2023-04-06 14:52:35 +08:00
Li Shuai
10d02c6c5c
power save: add txq memory to mac retention link to fix tx m f null failure
2023-04-06 11:09:46 +08:00
morris
6c19e7b8a7
gdma: avoid manually start/stop when channel is controled by ETM
2023-04-06 10:49:32 +08:00
morris
1429913042
gdma: support override default channel priority
2023-04-06 10:49:32 +08:00
Song Ruo Jing
5816c47457
spi_flash: Move mspi clock source switch to 64M in 2nd bootloader code from rtc_clk.c to bootloader_flash_config_esp32h2.c
2023-04-04 16:09:47 +08:00
Armando
6d4c0bb3aa
mspi: support 120M DDR flash and psram on S3 (experimental)
2023-04-03 10:30:50 +08:00
wuzhenghui
bd80be3b83
bugfix: fix deepsleep saradc leakage
2023-03-31 15:49:43 +08:00
Wu Zheng Hui
ee05082e35
Merge branch 'feature/support_esp32h2_modem_clock' into 'master'
...
esp32h2: support modem clock driver
Closes IDF-7088
See merge request espressif/esp-idf!22880
2023-03-29 16:49:26 +08:00
Zim Kalinowski
e86864c621
Merge branch 'feature/unify_core_host_target_tests' into 'master'
...
ci: unify core host target tests
Closes IDF-6621, IDF-6622, IDF-6623, and IDF-6624
See merge request espressif/esp-idf!22944
2023-03-29 15:41:01 +08:00
wuzhenghui
042aa93fa2
workaround: bypass clock power_domain maintaining since esp32h2 sleep is not supported
2023-03-29 13:23:32 +08:00
wuzhenghui
ade6d3e5bc
esp_hw_support: support esp32h2 modem_clock driver
2023-03-29 13:23:32 +08:00
wuzhenghui
485f2882d1
modem_clock: rename modem_clock_lp_timer to ble_rtc_timer
2023-03-29 13:23:32 +08:00
Marius Vikhammer
f627506f6b
ci: update driver tests to use run_all_single_board_cases()
2023-03-28 17:05:50 +08:00
Marius Vikhammer
a5c70c24e5
Merge branch 'bugfix/memprot_cleanup_iram_attr' into 'master'
...
memprot: move memprot functions out of IRAM
See merge request espressif/esp-idf!20697
2023-03-28 10:18:22 +08:00
Marius Vikhammer
914bb81b95
ci: move linux host tests to test app folder
2023-03-27 17:41:44 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
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
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
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
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
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
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
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
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
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
liuning
14ca81f03f
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-03-15 20:33:03 +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
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
...
Closes IDF-6452
2023-03-15 13:16:18 +05:30
wanlei
d0c70aa7ac
mspi: turn down freq to fix crash when sleep
2023-03-15 11:26:34 +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
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
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
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
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
wuzhenghui
8820efe2e1
feature: add wake up time cost info to deep_sleep_wake_stub example
2023-03-10 16:37:02 +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
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
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
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
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
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
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
wuzhenghui
43bf9fd3ab
bugfix: fix wrong lock in sleep retention entry destroy
2023-03-07 20:56:13 +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
wuzhenghui
f44e0cdb80
bugfix: add SPI_MEM_MMU_POWER_CTRL_REG to REGDMA_SPIMEM_LINK
2023-03-06 13:41:36 +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
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
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
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
wuzhenghui
7ee64bd8e8
refactor: always jump to wake stub wrapper after wakeup
2023-03-02 18:10:06 +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
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
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
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
Armando
663e881868
gdma: fix potential unaligned cache writeback issue
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
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
4997689de5
cache: support h2 and c6 cache error
2023-02-24 16:16:46 +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
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
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
Alexey Lapshin
1e3c18a94a
esp_hw_support: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Jing Li
75a82988f1
Merge branch 'refactor/wdt_use_unified_type' into 'master'
...
wdt: refactor wdt codes to use unified type
Closes IDF-5653
See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
Armando
b96c370ab8
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
2023-02-15 19:52:06 +08:00
Wu Zheng Hui
113132e4f4
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_top' into 'master'
...
esp32c6: support light_sleep (Stage 2: support Digital Peripheral power down)
See merge request espressif/esp-idf!22197
2023-02-15 16:17:53 +08:00
jingli
9c37441b17
wdt: refactor wdt codes to use unified type
2023-02-15 12:08:55 +08:00