morris
deda773bbf
Merge branch 'chor/update_gdma_register_name_prefix_esp32c3' into 'master'
...
gdma: update soc reg.h for esp32c3 to be consistent with TRM
Closes DOC-5141
See merge request espressif/esp-idf!24082
2023-06-27 14:57:17 +08:00
Armando
c448597f24
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage
2023-06-26 03:30:23 +00:00
laokaiyao
1b22591ea7
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-23 11:41:43 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
wanlei
3ed82deedf
sysreg: deprecate apb_ctrl related reg, suggest syscon
2023-06-09 17:34:10 +08:00
morris
9c39996c51
gdma: update soc reg.h for esp32c3 to be consistent with TRM
...
in the TRM the DMA module is callbed GDMA, but the reg.h in the esp-idf is still calling it DMA
2023-06-08 13:23:38 +08:00
harshal.patil
0058fb3a05
esp32c3: xts-aes register prefix discrepency
2023-05-25 11:27:10 +05:30
Shen Weilong
2900ed4858
ble docs: Update the ble docs for esp32c6 and esp32h2
2023-05-19 11:01:11 +08:00
Linda
65ee4992ce
docs: update the algorithm and key name from AES-XTS to XTS-AES
2023-05-15 17:54:50 +08:00
Cao Sen Miao
ed96dadd06
spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents
2023-05-11 20:10:30 +08:00
harshal.patil
4ae1ea7b9f
bignum: refactored the hardware abstraction of the mpi peripheral
...
- `<target>/bignum.c` is replaced by mpi_ll.h ll layer.
- added the mpi hal layer.
2023-04-24 16:15:11 +05:30
Hanno
8f1cf01ec8
i2c: introduce chip specific cmd register number
...
Merges https://github.com/espressif/esp-idf/pull/10811
2023-04-21 19:22:53 +08:00
Jiang Jiang Jian
4e3a32bc1b
Merge branch 'bugfix/bod_glitch_reset_c6' into 'master'
...
bootloader: fix BOD and glitch reset on C6 and H2
Closes IDF-5990
See merge request espressif/esp-idf!22616
2023-04-11 19:31:02 +08:00
Xiao Xufeng
d586a8aa13
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-11 10:23:21 +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
Jiang Jiang Jian
badf267022
Merge branch 'bugfix/block9_can_not_be_used_for_fe' into 'master'
...
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
Closes IDF-7175
See merge request espressif/esp-idf!23052
2023-04-06 10:17:07 +08:00
KonstantinKondrashov
5b00d1f396
efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3
2023-04-04 22:32:32 +08:00
KonstantinKondrashov
3d695b9768
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
...
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
- BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-04-04 18:45:48 +08:00
Mahavir Jain
f22daec784
Merge branch 'feature/secure_set_efuses_to_prevent_brick_chip' into 'master'
...
security: write-protect DIS_ICAHE and DIS_DCACHE
Closes IDF-5177
See merge request espressif/esp-idf!22640
2023-03-29 11:51:09 +08:00
KonstantinKondrashov
723b2e86e5
security: write-protect DIS_ICAHE and DIS_DCACHE
...
Closes IDF-5177
2023-03-29 00:02:24 +08:00
Jiang Jiang Jian
b6fda9723e
Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
...
Fixed bluedroid host ATT Ignore wrong response error
Closes BLEQABR23-30 and BT-3224
See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
zhiweijian
7ad9e885e4
If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED
2023-03-20 15:54:32 +08:00
liuning
14ca81f03f
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-03-15 20:33:03 +08:00
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +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
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
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
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
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
4c3d1e24d7
codeclean: remove unused sleep related functions
2023-02-23 11:36:13 +08:00
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
KonstantinKondrashov
f3394c488a
efuse: Add support for esp32h2
2023-02-21 08:18:14 +00: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
Laukik Hase
4cf889b692
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-02-16 15:27:11 +05:30
Armando (Dou Yiwen)
d3fec8394f
Merge branch 'feature/adc_filter' into 'master'
...
adc: supported adc digital filter
Closes IDF-2529, IDFGH-9113, and IDFGH-9279
See merge request espressif/esp-idf!22035
2023-02-13 16:43:58 +08:00
C.S.M
2a2fb8fa43
Merge branch 'feature/flash_wrap_supported' into 'master'
...
spi_flash: Support flash wrap (burst read), flash driver side
See merge request espressif/esp-idf!21922
2023-02-13 13:54:28 +08:00
Cao Sen Miao
0d37436f36
spi_flash: Support flash wrap (burst read), flash driver side
2023-02-13 11:10:15 +08:00
jingli
557a1ed1a5
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-11 01:06:18 +00:00
Armando
3afa671069
esp_adc: added adc digital filter feature
2023-02-10 16:46:20 +00:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Kevin (Lao Kaiyao)
421e5e6416
Merge branch 'refactor/pack_driver_source_files' into 'master'
...
components/driver: pack peripherals
See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Song Ruo Jing
b72d759290
uart: Add support for esp32h2
2023-02-06 00:48:04 +08:00
laokaiyao
f27cd67c00
driver: pack peripherals
2023-02-02 18:19:58 +08:00
Wu Zheng Hui
33ae2e1073
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
...
esp32c6: support light_sleep (Stage 1: support CPU power down)
See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
wuzhenghui
a5467f42a0
codeclean: only S series chip VDDSDIO is configurable
2023-01-31 22:12:58 +08:00
Li Shuai
4e2a32d9b3
soc_cap: add SOC_PM_SUPPORT_VDDSDIO_PD soc_caps
...
soc_cap: add SOC_PM_CPU_RETENTION_BY_SW/REGDMA
soc caps: add SOC_PMU_SUPPORTED
2023-01-31 22:12:18 +08:00
Song Ruo Jing
ad55230b0a
ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
...
LEDC examples and test cases are supported on ESP32H2.
Switch to use general clock IDs for ledc_clk_cfg_t enum values.
Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
morris
774a05399b
soc: fix wrong APB_CLK_FREQ value on esp32c6
2023-01-28 06:33:23 +00:00
laokaiyao
3b450fb865
refactor soc CMakeLists
2023-01-20 22:07:50 +08:00
Marius Vikhammer
e2d3f7c54c
Merge branch 'feature/c6_wdt' into 'master'
...
wdt: add support for WDTs on C6
Closes IDF-5935 and IDF-5340
See merge request espressif/esp-idf!21038
2023-01-20 10:36:42 +08:00
Marius Vikhammer
5e9e8c396f
wdt: add support for WDTs on C6
2023-01-19 12:58:26 +08:00
Kevin (Lao Kaiyao)
668e125dd4
Merge branch 'feature/support_i2s_on_h2' into 'master'
...
i2s: support i2s on esp32h2
Closes IDF-6219 and IDF-6700
See merge request espressif/esp-idf!21948
2023-01-19 10:47:33 +08:00
Wan Lei
e7c520e849
Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
...
spi_master: add feature spi periph clk source selectable
Closes IDF-6289
See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
laokaiyao
c79187fdeb
i2s: support i2s on esp32h2
2023-01-18 18:42:56 +08:00
wanlei
184145817c
spi_master: add feature spi periph clk source selectable
2023-01-18 15:40:12 +08:00
Song Ruo Jing
4c8fdc31f9
gpio: Add support for esp32h2
2023-01-18 11:41:12 +08:00
Song Ruo Jing
2c9aa4559c
clk_tree: Add a general API to get the frequency of different clocks
...
Add basic clk_tree driver and hal implementation.
2023-01-17 11:30:24 +08:00
Mahavir Jain
fd34bdb70a
Merge branch 'feature/secure_features_are_enabled_correctly' into 'master'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly
Closes IDF-1814
See merge request espressif/esp-idf!19532
2023-01-13 15:09:55 +08:00
morris
ce84476870
gptimer: support esp32h2
2023-01-12 14:10:11 +00:00
Armando (Dou Yiwen)
297c7852a5
Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue' into 'master'
...
adc: make adc_channel.h macros work with ng driver
Closes IDFGH-9105
See merge request espressif/esp-idf!21946
2023-01-12 11:07:20 +08:00
KonstantinKondrashov
696f7495a0
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-10 23:35:13 +08:00
morris
d0b7f3214a
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-01-10 16:37:01 +08:00
C.S.M
faac178784
Merge branch 'feature/brownout_bringup_c6' into 'master'
...
BOD: Bringup for ESP32C6
Closes IDF-5345
See merge request espressif/esp-idf!21888
2023-01-10 14:42:43 +08:00
Cao Sen Miao
56a2d0b8a2
BOD: Bringup for ESP32C6
2023-01-10 10:37:30 +08:00
Ivan Grokhotkov
0dcdd39db1
soc: fix some memory region boundaries for esp32c3, esp32c2, esp32h4
2023-01-09 07:33:37 +00:00
Armando
349922dcee
adc: make adc_channel.h macros work with ng driver
...
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-09 14:25:24 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
morris
ca1b182b25
glitch_filter: support derive clock source form IO MUX
2022-12-29 14:46:16 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
wuzhenghui
aa20825659
soc_caps: rename ESP_PD_DOMAIN_RTC8M to ESP_PD_DOMAIN_FOSC
2022-12-27 21:31:21 +08:00
laokaiyao
ec812c1370
adc: add ADC target test for esp32c6
2022-12-23 14:05:56 +08:00
laokaiyao
5333ac81bf
adc: support ADC on esp32c6 (driver/test/example)
2022-12-23 11:24:06 +08:00
laokaiyao
e27f3e3128
adc: support ADC on esp32c6 (hal)
2022-12-23 11:24:06 +08:00
Armando
6aa7091199
adc: added a soc macro indicating digital controller supported unit
2022-12-16 02:06:03 +00:00
Song Ruo Jing
244d3caa97
i2s: Fix esp32c6 get I2S_CLK_SRC_PLL_160M clock frequency value wrong issue
2022-12-13 19:18:34 +08:00
morris
62f1cbca2c
gpio: support glitch filter
2022-12-09 11:33:42 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
Jiang Jiang Jian
236a5301a0
Merge branch 'bugfix/fix_bt_sleep_hangs_when_enable_light_sleep' into 'master'
...
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync
Closes BT-2990
See merge request espressif/esp-idf!21311
2022-11-30 21:55:40 +08:00
Konstantin Kondrashov
0786539047
Merge branch 'feature/remove_efuse_dependency' into 'master'
...
esp_hw_support: Removes efuse dependency
Closes IDF-4713
See merge request espressif/esp-idf!21212
2022-11-29 18:12:26 +08:00
jingli
cf244a14f0
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync
...
Bluetooth low power related logic and regs have separate power domain from MAC and BB,
and do not power down during light sleep. If reset when power up MAC and BB in sleep
flow, it may destroy the state of bt low power part.
2022-11-29 14:28:32 +08:00
KonstantinKondrashov
741e89cbaa
esp_hw_support: Removes efuse dependency
2022-11-25 19:27:33 +08:00
Armando (Dou Yiwen)
2ad7b85a9e
Merge branch 'bugfix/improve_ext_virtual_memory_allocation_in_2nd_btld' into 'master'
...
bootloader: improve irom & drom mapping way in 2nd bootloader on esp32c6
Closes IDF-6331
See merge request espressif/esp-idf!21173
2022-11-25 15:24:06 +08:00
Armando
9d9d1e4bf3
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2022-11-24 10:29:35 +08:00
Konstantin Kondrashov
b4580a1980
Merge branch 'feature/esp_timer_add_ll_for_rc_fast_clk' into 'master'
...
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
Closes IDF-5323
See merge request espressif/esp-idf!21136
2022-11-23 15:05:48 +08:00
KonstantinKondrashov
63f852adc8
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
2022-11-22 20:29:19 +08:00
Armando
c3682bf0a4
soc: update iram/dram addr range in ext_mem_defs.h
...
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:
IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH
now are for the real IRAM0 and DRAM0
2022-11-22 18:53:50 +08:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
morris
f69a53f56d
Merge branch 'feature/twai_bringup_esp32c6' into 'master'
...
TWAI: initial driver bring up on esp32c6 (TWAI0 only)
Closes IDF-5313 and IDF-5940
See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
morris
a25123f703
twai: bringup on esp32c6
2022-11-04 17:40:29 +08:00
morris
6828c011d9
twai: define clock source name
...
twai clock source is target-specific,
this commit is to define them in the soc layer
2022-11-04 17:40:29 +08:00
morris
f02facbe28
twai: describe peripheral info
...
Describe peripheral informations in the twai_peirph.c, including:
Interrupt number, GPIO matrix signal ID, etc
2022-11-04 17:40:29 +08:00
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +08:00
laokaiyao
9b8a78153f
i2s: refactor soc caps
2022-11-04 12:31:12 +08:00
Song Ruo Jing
be0fdfa176
soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock
2022-11-01 11:23:26 +08:00
Jiang Jiang Jian
f191b2f034
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32' into 'master'
...
esp32/rtc: fix xtal unstable in some cases when sleep
Closes ESPCS-869
See merge request espressif/esp-idf!20425
2022-10-26 15:57:48 +08:00