wuzhenghui
14ea226351
fix(rtc_clk): fix i2c master clock missing in bbpll configure
2023-07-13 14:07:35 +08:00
Chen Jichang
b9c22b126a
bugfix(driver/gpio):update the incorrect comment
...
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.
Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
Li Shuai
f4c3b07436
fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC
2023-07-04 11:23:07 +08:00
Lou Tian Hao
7c2ac1feb6
Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
...
esp32h2: support light_sleep
Closes IDF-6266 and IDF-7359
See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
morris
1c0be26531
fix(soc): soc header files can pass CI check
2023-06-26 23:00:45 +08:00
Lou Tianhao
6ee0f89676
Power Management: fix hp xtal wait bug for esp32h2 and esp32c6
2023-06-26 21:05:17 +08:00
Lou Tianhao
a329b15e7e
Power Management: support pu xtal in light sleep for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
ca55b91242
Power Management: update pmu init and sleep parameter
2023-06-26 21:05:16 +08:00
Lou Tianhao
b06cadddb3
Power Management: fix REGDMA clock issue when wake up form light sleep
2023-06-26 21:05:10 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
Michael (XIAO Xufeng)
702e97e9be
Merge branch 'feat/kconfig_c3_v1.0_dev' into 'master'
...
esp32c3: add development option for v1.0 chips
See merge request espressif/esp-idf!24205
2023-06-14 15:03:50 +08:00
Michael (XIAO Xufeng)
1490424ab6
esp32c3: add development support option for v1.0 chips
2023-06-13 17:39:13 +08:00
Armando
101e6a18eb
esp32p4: introduce the target
...
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
morris
575ad2bd6f
Merge branch 'bugfix/adc_outof_bound_read' into 'master'
...
adc: fix out of bound read
See merge request espressif/esp-idf!24134
2023-06-12 14:13:57 +08:00
Wu Zheng Hui
2b6551f84d
Merge branch 'bugfix/support_esp326_xtal_xpd' into 'master'
...
esp32c6: support xtal xpd
Closes IDF-7318
See merge request espressif/esp-idf!22932
2023-06-12 11:28:59 +08:00
morris
88600bd91b
driver: minor code clean up to pass coverity scan test
2023-06-10 16:21:12 +08:00
wuzhenghui
8a1e63c8ad
feature: support xtal_xpd pmu parameters
2023-06-08 17:23:52 +08:00
Xiao Xufeng
91fc40cfd9
esp32: stop using deprecated name PICOD2 to avoid confusion
2023-06-08 02:09:12 +08:00
Jiang Jiang Jian
d89919999e
Merge branch 'bugfix/fix_hang_during_sleep_process' into 'master'
...
bugfix: fix hang on pd_top sleep process
Closes AEG-582
See merge request espressif/esp-idf!23634
2023-05-31 17:23:08 +08:00
Li Shuai
e505e19798
Merge branch 'bugfix/fix_rc_fast_calibration' into 'master'
...
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value
Closes WIFI-5938
See merge request espressif/esp-idf!23927
2023-05-29 19:57:46 +08:00
wuzhenghui
5c74093300
bugfix: treat too short sleep duration as sleep reject by software
2023-05-29 16:35:03 +08:00
Michael (XIAO Xufeng)
8c2b709817
Merge branch 'bugfix/fix_ocode_check_on_c6' into 'master'
...
adc_cali: fix the condition of ocode calibration
See merge request espressif/esp-idf!23916
2023-05-26 11:35:51 +08:00
laokaiyao
de8ae73de3
adc_cali: fix the condition of ocode calibration
2023-05-25 21:49:40 +08:00
Michael (XIAO Xufeng)
041ce02a14
Merge branch 'bugfix/add_warning_for_rc_fast_calibration_h2' into 'master'
...
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
See merge request espressif/esp-idf!23743
2023-05-25 21:39:02 +08:00
wuzhenghui
3ae1f0ea5d
bugfix: fix rc_fast bad calibration value
2023-05-25 21:21:14 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Sudeep Mohanty
ec742abb25
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:27:51 +02:00
wuzhenghui
d197c59eaa
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 10:29:50 +08:00
Song Ruo Jing
a9c78245a0
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2
2023-05-16 03:52:11 +00:00
Michael (XIAO Xufeng)
e20a57d42e
Merge branch 'Bugfix/fix_tsen_issue' into 'master'
...
Temperature sensor: fix return value issue @low temp on H2
See merge request espressif/esp-idf!23648
2023-05-12 11:55:47 +08:00
Armando (Dou Yiwen)
476e50b026
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id' into 'master'
...
mspi: modified 80mhz octal psram timing tuning point fallback id on s3
See merge request espressif/esp-idf!23627
2023-05-11 11:11:51 +08:00
Li Shuai
87dd7bb51a
Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link' into 'master'
...
support extra linked list retention for BLE and 15.4
Closes IDF-6528
See merge request espressif/esp-idf!22985
2023-05-10 15:07:03 +08:00
Zim Kalinowski
099ffe6243
Merge branch 'feature/c6_ulp_timer' into 'master'
...
ulp: lp timer support for lp core
Closes IDF-6956, IDF-6830, and IDF-6835
See merge request espressif/esp-idf!23453
2023-05-10 03:06:35 +08:00
zlq
ff88f42819
H2:fix tsensor issue @low temp
2023-05-09 19:40:53 +08:00
Wu Zheng Hui
35bb946653
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles' into 'master'
...
bugfix: update esp32c6eco1 / esp32h2eco2 fosc calibration cycles during sleep and support calibrate OSC clock every N times lightsleep
Closes IDF-7287
See merge request espressif/esp-idf!23489
2023-05-09 18:44:20 +08:00
Armando
8e4974d66f
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-08 14:57:12 +08:00
Armando (Dou Yiwen)
38e84bdd4f
Merge branch 'refactor/mspi_timing_tuning_compatible_on_all_chips' into 'master'
...
mspi: timing tuning driver framework
Closes IDF-7004
See merge request espressif/esp-idf!22786
2023-05-08 10:27:29 +08:00
Marius Vikhammer
3ced7b12e8
ulp: add support for using lp timer with lp core on C6
2023-05-06 14:13:14 +08:00
David Čermák
292d16b440
Merge branch 'bugfix/linux_target_with_out_lwip' into 'master'
...
linux: Add lwip support to networking components under linux
See merge request espressif/esp-idf!23053
2023-05-05 17:26:45 +08:00
David Cermak
b2af4d9689
lwip/linux: Add lwip support for networking component under linux
...
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
Armando
8eec6558d1
mspi: refactor timing tuning driver to make it compatible with p4
2023-05-04 17:05:35 +08:00
wuzhenghui
dd4d1bbe90
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:46:21 +08:00
hongshuqing
430776fc46
fix wrong hp ldo for h2
2023-04-27 17:29:10 +08:00
hongshuqing
cbc5a38e26
support h2 eco2 fosc calibration
2023-04-26 15:31:18 +08:00
Zim Kalinowski
4a647d08de
Merge branch 'feature/c6_ulp_sleep' into 'master'
...
ulp: added sleep support for lp core
Closes IDF-7012
See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Mahavir Jain
a8b6a70620
Merge branch 'feature/add_bignum_ll_layer' into 'master'
...
bignum: added bignum hal and ll layer
Closes IDF-7071
See merge request espressif/esp-idf!22823
2023-04-25 19:50:25 +08:00
Song Ruo Jing
e2a5c092f7
Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx
See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
Marius Vikhammer
359b237cc5
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-25 11:51:35 +08:00
harshal.patil
56327452ce
esp_hw_support: add crypto lock layer for esp32
2023-04-24 16:15:11 +05:30
Marius Vikhammer
895c21cc6b
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 11:23:15 +08:00
Michael (XIAO Xufeng)
59a899230c
Merge branch 'feature/support_fosc_calibration_c6_eco1' into 'master'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above
Closes IDF-7093
See merge request espressif/esp-idf!23215
2023-04-23 18:04:28 +08:00
hongshuqing
e3148369f3
support c6 eco1 fosc calibration
...
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
Apply suggestion
Apply
support c6 eco1 fosc calibration
support c6 eco1 fosc calibration
2023-04-23 13:36:20 +08:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Jiang Jiang Jian
a624d8d061
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_S2' into 'master'
...
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode
Closes IDF-4999, IDFGH-4893, and IDFGH-7938
See merge request espressif/esp-idf!19598
2023-04-11 09:52:02 +08:00
cje
6c35ee3fc5
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-10 18:04:24 +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
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
Li Shuai
ec61a0e3cc
sleep retention: fix crash issue caused by destroying the module after the module node creation fails
2023-04-03 19:24:33 +08:00
Armando
6d4c0bb3aa
mspi: support 120M DDR flash and psram on S3 (experimental)
2023-04-03 10:30: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
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
8e397f9bd9
bugfix: no need to do retention in deepsleep
2023-03-17 19:45:56 +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
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
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
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
...
Closes IDF-6452
2023-03-15 13:16:18 +05:30
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
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
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
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
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
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
wuzhenghui
6f7eadf1ea
bugfix: fix wrong _ms suffix
2023-03-04 00:17:40 +08:00
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
wuzhenghui
d1d6b7349f
pmu: pmu parameter adjustment
2023-03-02 15:06:05 +08:00
zhangwenxu
c07ec73201
efuse: fix esp_read_mac on esp32h2
2023-03-01 14:14:30 +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)
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
Armando
c2d5c19b28
adc: ll enum renaming
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
4c3d1e24d7
codeclean: remove unused sleep related functions
2023-02-23 11:36:13 +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
wuzhenghui
a0492202b7
bugfix: unhold SPI CS pin in pd_top lightsleep
2023-02-15 11:46:41 +08:00
wuzhenghui
0b0da680d2
codeclean: turn on the regdma clock only once
2023-02-15 11:46:40 +08:00
Li Shuai
8c18393d23
regdma: add regdma link operation api support
2023-02-15 11:46:36 +08:00
Li Shuai
d3e0e3e3b6
pau: implement the pau regdma driver for esp32c6
2023-02-15 10:45:44 +08:00
morris
a3f887a1fe
gpio: support glitch filter on esp32h2
2023-02-11 23:01:01 +08:00
Jing Li
409804f673
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2' into 'master'
...
esp32c2: support feature(rtc time) depend on rtc fast mem
Closes IDF-3901, IDF-4239, IDF-5053, IDF-5060, and IDF-5131
See merge request espressif/esp-idf!19067
2023-02-07 15:16:01 +08:00