TD-er
90eada6993
fix(spi): Correct REG_SPI_BASE(i) macro for all targets
...
The existing formula can never match these registers.
Closes https://github.com/espressif/esp-idf/pull/12559
Closes https://github.com/espressif/esp-idf/pull/12562
2023-11-17 02:39:28 +00:00
harshal.patil
91af44d6e8
fix(soc/esp32h2): Fix llperi_rng_data field discrepancy
2023-11-16 17:49:26 +05:30
harshal.patil
798059ace1
fix(soc/esp32c6): Fix llperi_rng_data field discrepancy
2023-11-16 17:49:26 +05:30
laokaiyao
f35ec64a0b
feat(touch): support touch driver on p4 (soc)
2023-11-16 11:13:02 +00:00
wuzhenghui
783059a592
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 18:11:57 +08:00
wuzhenghui
161bd8bfed
change(soc): rename SOC_CPU_WATCHPOINT_SIZE to SOC_CPU_WATCHPOINT_MAX_REGION_SIZE
2023-11-16 18:11:57 +08:00
Jakob Hasse
bf6a904a44
Merge branch 'refactor/remove_unnecessary_mock_headers' into 'master'
...
refactor(ci): removed unnecessary hal and soc mock header files
Closes IDF-8511
See merge request espressif/esp-idf!27047
2023-11-16 09:37:21 +08:00
Jakob Hasse
7b4cd55d97
refactor(ci): removed unnecessary hal and soc mock header files
2023-11-15 12:15:08 +08:00
Mahavir Jain
94bf4710fa
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
...
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.
In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-15 09:42:26 +05:30
Darian Leung
a51813d9d9
refactor(soc): SOC_USB_PERIPH_NUM option
...
This commit refactors SOC_USB_PERIPH_NUM as follows:
- Renamed to SOC_USB_OTG_PERIPH_NUM to avoid confusion with USB Serial JTAG
- Updated to unsigned integer "1U"
- Updated some build rules to depend on SOC_USB_OTG_SUPPORTED instead
2023-11-14 18:48:01 +08:00
Guillaume Souchere
fd2b8b5eb3
fix(heap): Update the heap memory layout on esp32p4 target
...
- fix the value of SOC_ROM_STACK_START in soc.h
- Update the memory usage of ROM bootloader appendix in bootloader.ld
- Update the soc_memory_regions table to minimize the number of regions
created after the startup stack is added back as a heap.
2023-11-10 07:29:22 +01:00
Song Ruo Jing
365123dfaa
Merge branch 'bugfix/uart_custom_console' into 'master'
...
fix(console): enable to select UART1 port for console output
Closes IDF-6190
See merge request espressif/esp-idf!26642
2023-11-10 12:31:22 +08:00
Jiang Jiang Jian
221122ebeb
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue' into 'master'
...
fix(wifi): fix deinit init wifi scan fail issue
Closes WIFIBUG-200 and WIFI-5775
See merge request espressif/esp-idf!26957
2023-11-10 11:05:03 +08:00
Song Ruo Jing
46d33e46ef
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-09 22:32:49 +08:00
Wan Lei
c8c7f999ef
Merge branch 'feature/esp32p4_hp_spi_slave_hd_support' into 'master'
...
Feature/esp32p4 hp spi slave hd support
Closes IDF-7505
See merge request espressif/esp-idf!25974
2023-11-09 14:42:05 +08:00
Aditya Patwardhan
7c1d9a5813
fix(soc): esp32s3/Fix the DROM_DROM_HIGH limit
...
Previously the DROM_HIGH_ADDR for esp32s3 was 0x3D000000, which
convers only 16 MB of address range. But esp32s3 supports 32 MB
external memory. So this address should be 0x3E000000
2023-11-09 09:58:17 +05:30
muhaidong
1ddcca6dcd
fix(wifi): fix deinit init wifi scan fail issue
2023-11-09 12:05:20 +08:00
wanlei
daeb71d7e4
feat(spi_slave_hd): add esp32p4 support for seg and append mode
2023-11-07 15:59:56 +08:00
Jakob Hasse
af0a502f97
Merge branch 'bugfix/linux_gpio_definitions' into 'master'
...
fix(driver): gpio number definitions on Linux
Closes IDFGH-11376
See merge request espressif/esp-idf!26934
2023-11-07 12:24:29 +08:00
Jakob Hasse
96d7e0762d
fix(driver): gpio number definitions on Linux
...
* Removed gpio_types.h as it is already available
for Linux in the hal component.
* Moved gpio_num.h from tools/mocks to soc component
and added missing GPIO pin definitions
Closes https://github.com/espressif/esp-idf/issues/12520
2023-11-06 11:16:50 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Gao Xu
dce1e8d96a
Merge branch 'feature/support_adc_calibration_on_h2' into 'master'
...
adc_cali: supported adc calibration v1 on ESP32H2
Closes IDF-6216
See merge request espressif/esp-idf!26463
2023-11-03 01:49:00 +08:00
Jiang Jiang Jian
6e0a8434a7
Merge branch 'bt/add_host_only_mode' into 'master'
...
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller
See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
gaoxu
0ea0b39725
feat(adc_cali): Add ADC calibration support for ESP32H2
2023-10-31 11:29:30 +08:00
Armando
7efcf06c5d
change(ll): update color space types, ll changes
2023-10-30 17:32:46 +08:00
Armando
97526e9288
feat(isp): isp af submodule low level driver
2023-10-30 17:32:46 +08:00
Wan Lei
7c21207bd3
Merge branch 'feature/esp32p4_twai_support' into 'master'
...
feat(twai): support legacy twai(can) driver for esp32p4
Closes IDF-7470
See merge request espressif/esp-idf!26073
2023-10-30 10:57:03 +08:00
Jin Cheng
fc174f5811
feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller
2023-10-30 00:52:26 +00:00
C.S.M
4111b07076
Merge branch 'bugfix/flash_enc_plaintext' into 'master'
...
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong
See merge request espressif/esp-idf!26640
2023-10-27 18:23:00 +08:00
Cao Sen Miao
420ac840ff
fix(flash_encryption): Fix the issue that XTS_AES Plain text memory size wrong
2023-10-26 19:38:42 +08:00
wanlei
d9d6f5a17a
feat(twai): support legacy twai(can) driver for esp32p4
2023-10-26 16:20:45 +08:00
morris
418494800c
fix(i2c): read write FIFO memory by volatile
2023-10-26 14:40:07 +08:00
Konstantin Kondrashov
a304cc230e
Merge branch 'feature/esp32h2_adds_adc_calib_efuses' into 'master'
...
feat(efuse): Adds efuse ADC calibration data for ESP32H2
See merge request espressif/esp-idf!26305
2023-10-25 15:58:24 +08:00
C.S.M
fec9a11f4a
Merge branch 'feature/i2c_slave_new_driver' into 'master'
...
feat(i2c_slave): Add new APIs for I2C-slave, and add multi-board tests with I2C-master
Closes IDF-8111
See merge request espressif/esp-idf!25403
2023-10-25 01:22:05 +08:00
Cao Sen Miao
8d639492f2
feat(i2c_slave): Add new implementation and API for I2C slave
2023-10-24 18:44:49 +08:00
Xiao Xufeng
88954841b1
doc(spi_flash): hide unsupported optional features
2023-10-24 10:38:11 +08:00
Omar Chebib
a8b1475fe7
feat(riscv): implement coprocessors save area and FPU support
...
This commit mainly targets the ESP32-P4. It adds supports for coprocessors on
RISC-V based targets. The coprocessor save area, describing the used coprocessors
is stored at the end of the stack of each task (highest address) whereas each
coprocessor save area is allocated at the beginning of the task (lowest address).
The context of each coprocessor is saved lazily, by the task that want to use it.
2023-10-23 11:10:28 +08:00
wuzhenghui
6a436286dc
feat(esp_hw_support): add api to gpio driver to support output internal clock on GPIO
2023-10-20 14:35:26 +08:00
Armando
2d3736fa11
change(sdmmc): update the volatile location of the sdmmc_struct.h
2023-10-18 11:57:55 +00:00
Armando
70314b56d5
feat(sdmmc): supported sd2.0 on esp32p4
2023-10-18 11:57:55 +00:00
Wan Lei
9f413d5d8d
Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
...
feat(ledc): support ledc on esp32p4
Closes IDF-6510
See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
Mahavir Jain
2407813a67
Merge branch 'feature/update_esp32c6-h2_apm_api' into 'master'
...
apm: updated APM HAL/LL APIs.
See merge request espressif/esp-idf!26368
2023-10-18 12:26:38 +08:00
Sachin Billore
c106f5caf6
apm: updated APM HAL/LL APIs.
2023-10-17 18:20:36 +05:30
Armando (Dou Yiwen)
056558e870
Merge branch 'feat/added_flash_operation_range_macros' into 'master'
...
soc: added flash operation range macros in ext_mem_defs.h
Closes IDF-7918
See merge request espressif/esp-idf!26488
2023-10-17 18:19:35 +08:00
wanlei
57614bbad2
feat(ledc): support ledc on esp32p4
2023-10-17 16:40:04 +08:00
Mahavir Jain
c4e4629049
Merge branch 'feature/add_key_manager_hal_layer' into 'master'
...
Add LL & HAL for Key Manager and HUK
Closes IDF-7985 and IDF-7901
See merge request espressif/esp-idf!25167
2023-10-17 12:39:02 +08:00
Armando
17063b51e0
feat(soc): added flash operation range macros in ext_mem_defs.h
2023-10-16 17:19:04 +08:00
Michael (XIAO Xufeng)
2308292ca3
Merge branch 'bugfix/revert_pvt' into 'master'
...
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
See merge request espressif/esp-idf!26425
2023-10-16 12:53:07 +08:00
Aditya Patwardhan
ade65add54
feat(hal): Added HAL and LL layer for Key Manager
2023-10-16 09:26:37 +05:30
Mahavir Jain
1501aef1b3
Merge branch 'feature/enable_secure_boot_esp32p4' into 'master'
...
feat(secure_boot): add secure boot support for esp32p4
Closes IDF-7544 and IDF-7745
See merge request espressif/esp-idf!26335
2023-10-16 11:07:14 +08:00
Erhan Kurubas
681647f1eb
Merge branch 'fix_esp32s3_irq_names' into 'master'
...
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers
See merge request espressif/esp-idf!26442
2023-10-14 04:20:27 +08:00
Song Ruo Jing
d73bf72885
Merge branch 'feature/gpio_dump_io_info' into 'master'
...
feat(gpio): add a dump API to dump IO configurations
Closes IDFGH-10987
See merge request espressif/esp-idf!26158
2023-10-13 22:35:59 +08:00
C.S.M
e19324b4fa
Merge branch 'bugfix/h2_i2c1_no_signal' into 'master'
...
fix(i2c): I2C port 1 doesn't work on esp32h2
See merge request espressif/esp-idf!26416
2023-10-13 15:01:34 +08:00
Erhan Kurubas
c418a39f41
fix(interrupts): reorder esp32s3 irq names to align with the respective irq numbers
2023-10-12 13:24:24 +02:00
Song Ruo Jing
321f628ff5
feat(gpio): add a dump API to dump IO configurations
...
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
zlq
9c2d470465
feat(bootloader): adjust dbias of bootloader, change clock of H2 to 64
...
MHz
2023-10-12 14:51:54 +08:00
Xiao Xufeng
28ba080c5e
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
...
This reverts commit b221f87e00
.
2023-10-12 14:51:54 +08:00
harshal.patil
f46a93e565
feat(secure_boot): add secure boot support for esp32p4
2023-10-12 10:12:54 +05:30
Cao Sen Miao
d7e543583b
fix(i2c): I2C port 1 doesn't work on esp32h2
2023-10-11 17:06:39 +08:00
morris
66497af276
feat(hal): enable hal host test
2023-10-11 11:23:24 +08:00
Wan Lei
f92b18053a
Merge branch 'feature/esp32p4_hp_spi_support' into 'master'
...
Feature/esp32p4 hp spi master driver support
Closes IDF-7502
See merge request espressif/esp-idf!24963
2023-10-09 18:37:35 +08:00
wanlei
00fcdce725
feat(spi_master): p4 add master driver supported
2023-10-08 14:45:12 +08:00
gaoxu
bc2a6bd730
feat(uart): spilt LP and HP uart set_baudrate function
2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc
feat(uart): add LP-UART GPIO support
2023-10-08 10:10:02 +08:00
gaoxu
3e3e928209
feat(uart): move periph_ll_uart_enabled to uart_ll.h
2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d
feat(uart): add RCC atomic block to uart/lp-uart peripheral
2023-10-08 10:10:02 +08:00
gaoxu
c7afa0dcef
feat(uart): uart(hp,lp) support on esp32p4
2023-10-08 10:10:00 +08:00
Gao Xu
56f991d7d9
Merge branch 'bugfix/fix_adc_sar_set_power_mode_no_effect' into 'master'
...
ADC: Fixed wrong ADC reading issue caused by ADC and WiFi power conflict on ESP32C6
Closes IDF-8118
See merge request espressif/esp-idf!25927
2023-10-07 18:23:27 +08:00
Armando (Dou Yiwen)
7d8f015a4c
Merge branch 'feat/cache_msync_doc' into 'master'
...
doc: added cache msync doc
Closes IDF-8294
See merge request espressif/esp-idf!26239
2023-10-06 06:01:35 +08:00
KonstantinKondrashov
071d1cf865
feat(efuse): Adds efuse ADC calibration data for ESP32H2
2023-10-04 16:00:01 +08:00
wuzhenghui
c8083b07bf
feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe
2023-09-28 17:41:42 +00:00
Kevin (Lao Kaiyao)
4c6f4b39f1
Merge branch 'feature/support_i2s_on_p4' into 'master'
...
feat(i2s): support i2s on esp32p4
Closes IDF-6508
See merge request espressif/esp-idf!24280
2023-09-29 00:50:04 +08:00
morris
4a40c7bb5e
Merge branch 'feature/dwgdma_low_level' into 'master'
...
dw-gdma: add low level functions
See merge request espressif/esp-idf!25912
2023-09-29 00:21:41 +08:00
Armando
4215adcdb4
feat(cache): added cache msync doc
2023-09-28 15:53:19 +08:00
laokaiyao
e1039f9ce2
fix(i2s_platform): merge the i2s platform acquire API
2023-09-28 15:03:27 +08:00
laokaiyao
72a0746e62
refactor(apll): move the apll soc caps to clk_tree_ll
2023-09-28 15:03:27 +08:00
laokaiyao
0b0f25c30d
feat(i2s): supported getting the tx sync count and specify interrupt flags
2023-09-28 15:03:27 +08:00
laokaiyao
cf889f3c6d
feat(i2s): support i2s on esp32p4
2023-09-28 15:03:27 +08:00
zlq
b221f87e00
feat(volt): chip auto adjust volt for esp32c6 & esp32h2
2023-09-28 05:55:42 +00:00
morris
cdc905ffe0
feat(dw_gdma): initial low level driver
...
feat(dw_gdma): initial low level driver
2023-09-28 02:17:08 +00:00
Jiang Jiang Jian
500d415da0
Merge branch 'support/esp_phy_init_refactor' into 'master'
...
feat(phy): Add modem type to phy init
Closes TZ-183, TZ-184, WIFI-6117, and WIFI-6204
See merge request espressif/esp-idf!25027
2023-09-27 18:48:30 +08:00
Kevin (Lao Kaiyao)
cf54ebc9c1
Merge branch 'feature/support_parlio_tx_on_p4' into 'master'
...
feat(parlio_tx): supported parlio tx on p4
Closes IDF-7472
See merge request espressif/esp-idf!25365
2023-09-27 12:33:34 +08:00
Kevin (Lao Kaiyao)
9a239b8367
Merge branch 'feature/support_analog_comparator_on_p4' into 'master'
...
feat(ana_cmpr): supported analog comparator on esp32p4
Closes IDF-7479
See merge request espressif/esp-idf!24873
2023-09-27 04:24:09 +08:00
alanmaxwell
503299fb32
fix(phy): Fix PHY enabled enter WiFi RX state default
2023-09-26 16:23:58 +08:00
Jiang Jiang Jian
17ae394fd1
Merge branch 'feature/update_esp32h2_sleep_logic' into 'master'
...
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2
See merge request espressif/esp-idf!26081
2023-09-26 16:11:25 +08:00
laokaiyao
ff7a11e539
feat(ana_cmpr): supported etm in analog comparator example
2023-09-25 19:57:34 +08:00
laokaiyao
bf2a5653a9
feat(ana_cmpr): supported analog comparator etm function on p4
2023-09-25 19:57:34 +08:00
laokaiyao
a989ce4ab1
feat(ana_cmpr): supported analog comparator on esp32p4
2023-09-25 19:57:34 +08:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
laokaiyao
28a45e20b8
feat(parlio_tx): supported parlio tx on p4
2023-09-25 10:42:30 +08:00
Ivan Grokhotkov
2ac972e2c7
fix(soc): update SOC_IROM_MASK_HIGH for esp32, c6, h2 for consistency
2023-09-22 16:13:41 +02:00
Ivan Grokhotkov
735fab40cd
fix(soc): correct SOC_IROM_MASK_HIGH for esp32s3
...
Fixes corrupted backtraces on S3 when a function is in ROM.
Closes https://github.com/espressif/esp-idf/issues/11512
2023-09-22 16:13:41 +02:00
Armando
ea38a2e9a4
feat(cache): support cache driver on esp32p4
2023-09-22 14:19:41 +08:00
Song Ruo Jing
98abcbabea
Merge branch 'feature/esp32p4_lp_io_support' into 'master'
...
feat(lp_io): Add support for ESP32P4
Closes IDF-7815
See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00
cjin
40996f804a
change: remove has clock bug macro for esp32h2
2023-09-21 11:31:53 +08:00
morris
8d17265bb7
Merge branch 'feature/support_rmt_esp32p4' into 'master'
...
RMT driver support on ESP32-P4
Closes IDF-7476 and IDF-7730
See merge request espressif/esp-idf!25680
2023-09-20 23:11:11 +08:00
Song Ruo Jing
2d458a3f93
feat(lp_io): Add support for ESP32P4
2023-09-20 19:39:41 +08:00
Konstantin Kondrashov
ecf4968e1c
Merge branch 'feature/esp32p4_support_ipc' into 'master'
...
feat(esp_system): Support IPC_ISR for ESP32P4
Closes IDF-7769
See merge request espressif/esp-idf!25812
2023-09-19 13:26:52 +08:00
morris
6bb05cccdd
feat(rmt): add driver support for esp32p4
...
including DMA feature
2023-09-19 12:54:14 +08:00
Michael (XIAO Xufeng)
efb9d9e7d4
Merge branch 'esp32_s2_s3_cpu_freq_to_pll' into 'master'
...
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency
See merge request espressif/esp-idf!25396
2023-09-18 20:01:31 +08:00
morris
fd26abebce
Merge branch 'refactor/mcpwm_rcc_atomic' into 'master'
...
MCPWM: add RCC low level functions
Closes IDF-7731, IDF-7722, IDF-7716, IDF-7738, and IDF-7713
See merge request espressif/esp-idf!25959
2023-09-16 01:04:54 +08:00
KonstantinKondrashov
7a878bdc50
feat(esp_system): Support IPC_ISR for ESP32P4
2023-09-15 23:38:12 +08:00
Marius Vikhammer
addfc0d870
Merge branch 'feature/p4_reset_reason' into 'master'
...
system: support reset reason on esp32p4
Closes IDF-8072 and IDF-7791
See merge request espressif/esp-idf!25693
2023-09-15 15:25:03 +08:00
morris
3234ee3f9e
refactor(mcpwm): add RCC related LL functions
2023-09-15 13:33:01 +08:00
Marius Vikhammer
e58becec0a
feat(esp-system): support reset reasons on P4
2023-09-15 08:11:34 +08:00
Planck (Lu Zeyu)
255d499884
fix(ll): fix cpp compile error
...
Merges https://github.com/espressif/esp-idf/pull/12093
fix(ll): remove FLAG_ATTR macro
Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
Konstantin Kondrashov
054d4943c5
Merge branch 'feature/esp32p4_update_systimer' into 'master'
...
feat(esp_timer): Support systimer for ESP32P4
Closes IDF-7486 and IDF-7487
See merge request espressif/esp-idf!25688
2023-09-13 19:13:39 +08:00
Konstantin Kondrashov
cbdb799b6f
feat(esp_timer): Support systimer for ESP32P4
2023-09-13 19:13:38 +08:00
Marius Vikhammer
573404b328
Merge branch 'bugfix/use_xtal_for_c3_wdt' into 'master'
...
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
Closes IDF-6729
See merge request espressif/esp-idf!25867
2023-09-13 10:44:38 +08:00
Marius Vikhammer
7a71454930
fix(wdt): changed WDT clock source to XTAL for C6/H2
...
Previously it used PLL, but PLL could potentially be powered down by power-management
when CPU frequency changed.
2023-09-12 09:41:24 +08:00
Chen Jichang
7638235311
feat(mcpwm): MCPWM event comparator driver
...
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
hongshuqing
77a303276a
esp32/esp32s2/esp32s3 cpu freq to pll
...
add assert for cpu_freq_to_8m
update esp32 DBIAS_XTAL_80M_160M define
delete modify of esp32
remove esp32 comment
restore esp32 modify
2023-09-11 10:40:27 +08:00
Konstantin Kondrashov
2557513fb5
Merge branch 'bugfix/esp32p4_usage_clic_int_thresh_reg' into 'master'
...
fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4
See merge request espressif/esp-idf!25840
2023-09-08 22:43:22 +08:00
Marius Vikhammer
ca99f55316
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
...
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-08 15:12:21 +08:00
Mahavir Jain
31e37c8313
Merge branch 'esp32p4/add_ecdsa_support' into 'master'
...
esp32p4: add ecdsa support
Closes IDF-7546
See merge request espressif/esp-idf!25191
2023-09-08 11:20:36 +08:00
Marius Vikhammer
11cf6f60b8
Merge branch 'feature/c6_h2_p4_lp_wdt' into 'master'
...
LP-WDT: add support for H2/P4
Closes IDF-5730, IDF-6402, IDF-5729, and IDF-7539
See merge request espressif/esp-idf!25782
2023-09-08 10:11:13 +08:00
KonstantinKondrashov
25c7a59e31
fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4
2023-09-07 15:25:35 +08:00
harshal.patil
d86b320892
feat(ecdsa): add ECDSA peripheral support for esp32p4
2023-09-06 11:07:37 +05:30
Armando (Dou Yiwen)
bdfa91ab66
Merge branch 'change/delete_not_used_mmu_macros' into 'master'
...
mm: delete not used mmu macros and added soc_ prefix
Closes IDF-7686
See merge request espressif/esp-idf!25663
2023-09-06 11:59:03 +08:00
Marius Vikhammer
b06dc30ba2
feat(lp_wdt): add lp wdt HAL support on C6, H2 and P4
2023-09-06 11:39:27 +08:00
Marius Vikhammer
0a630831a7
Merge branch 'feature/move_wdt_defines_to_ll' into 'master'
...
fix(wdt): move non-auto generated wdt values to ll
See merge request espressif/esp-idf!25757
2023-09-06 10:12:43 +08:00
Armando
cbe4470a1b
change(soc): remove no longer used mmu.h on p4
2023-09-05 15:47:26 +08:00
Armando
de77ab3061
change(soc): added SOC_ prefix to mmu defs
2023-09-05 15:47:26 +08:00
Armando
a9e3f963c2
change(soc): remove / move rom only mmu defs
2023-09-05 15:47:26 +08:00
Marius Vikhammer
e3861261eb
fix(wdt): move non-auto generated wdt values to ll
2023-09-05 11:52:34 +08:00
Jiang Guang Ming
7d0c434e2c
Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode' into 'master'
...
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE
See merge request espressif/esp-idf!25736
2023-09-05 09:20:22 +08:00
Jiang Guang Ming
89f6c6d999
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE
2023-09-05 09:20:21 +08:00
Mahavir Jain
d382eeed54
Merge branch 'esp32p4/add_hmac_ds_support' into 'master'
...
esp32p4/add hmac ds support
Closes IDF-7543 and IDF-6518
See merge request espressif/esp-idf!25148
2023-09-04 16:45:56 +08:00
harshal.patil
b8c208cdb3
feat(ds): add Digital Signature peripheral support for esp32p4
2023-09-01 15:44:21 +05:30
harshal.patil
095c2a3324
feat(hmac): add HMAC peripheral support for esp32p4
2023-09-01 15:41:39 +05:30
Omar Chebib
d3afca3020
Merge branch 'fix/esp32p4_supports_interrupts' into 'master'
...
feat(riscv): Add support to ESP32-P4's CLIC interrupt controller
Closes IDF-7795 and IDF-7793
See merge request espressif/esp-idf!25383
2023-09-01 11:48:39 +08:00
morris
cf61f63bc2
Merge branch 'feature/hw_crc_esp32p4' into 'master'
...
feat(gdma): support hardware crc calculation on esp32p4
Closes IDF-7497
See merge request espressif/esp-idf!25307
2023-08-31 14:46:32 +08:00
Omar Chebib
8ca191e4c1
fix(esp32p4): Fixed interrupt handling to use the CLIC controller
2023-08-31 12:16:08 +08:00
Marius Vikhammer
eb8883cc20
Merge branch 'feature/p4_wdt' into 'master'
...
feat(core-system/wdt): added support for watchdogs on P4
Closes IDF-8135 and IDF-7750
See merge request espressif/esp-idf!25584
2023-08-31 10:14:19 +08:00
morris
200eb866dc
feat(gdma): support hardware crc calculation
...
On ESP32-P4, the GDMA peripherals support CRC calculating.
2023-08-31 02:11:47 +00:00
Marius Vikhammer
8ecbd1f59b
feat(core-system/wdt): added support for watchdogs on P4
2023-08-30 11:04:02 +08:00
morris
47bb157cab
refactor(twai): add reset and clock control to twai LL layer
2023-08-29 22:19:57 +08:00
Armando (Dou Yiwen)
c9adbe13d8
Merge branch 'feature/support_psram_on_p4' into 'master'
...
esp_psram: esp32p4 psram device driver support
Closes IDF-7495
See merge request espressif/esp-idf!25368
2023-08-29 15:50:30 +08:00
morris
cd9f48823d
Merge branch 'refactor/rcc_critical_section_follow_up' into 'master'
...
refactor(lp_periph): move enable and reset control to LL driver
See merge request espressif/esp-idf!25498
2023-08-29 08:40:02 +08:00
Armando
712c0c0075
feat(psram): esp32p4 psram device driver support
2023-08-28 14:14:58 +08:00
Jiang Jiang Jian
24914d15d8
Merge branch 'feature/manage_modem_etm_clock_indepently' into 'master'
...
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently
Closes IDF-8013
See merge request espressif/esp-idf!25284
2023-08-28 13:35:58 +08:00
morris
4a45479336
refactor(lp_periph): move enable and reset control to LL driver
2023-08-28 05:17:56 +00:00
Jiang Jiang Jian
948e3193d2
Merge branch 'bugfix/fix_esp32c6_hp_regi2c_api' into 'master'
...
fix(esp_rom): fix esp32c6 hp_regi2c ops api in rom patch
Closes BCI-339 and IDFCI-1786
See merge request espressif/esp-idf!25409
2023-08-28 10:48:28 +08:00
Armando (Dou Yiwen)
d4d6241db0
Merge branch 'feature/esp32p4_build_test' into 'master'
...
ci: enable ci build stage on esp32p4
Closes IDF-7524 and IDF-7525
See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
morris
49c49f9480
Merge branch 'feature/esp_etm_core_esp32p4' into 'master'
...
feat(etm): add core driver support for esp32-p4
Closes IDF-7814 and IDF-7478
See merge request espressif/esp-idf!25361
2023-08-24 12:59:30 +08:00
Armando
dc9ddfc0d4
change(soc): added SOC_EFUSE_SUPPORTED
2023-08-24 12:51:20 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Chen Ji Chang
9db2ffd4fb
Merge branch 'fix/pcnt_zero_input_init' into 'master'
...
feat(PCNT): Add new api of clear signal
See merge request espressif/esp-idf!25372
2023-08-23 20:15:59 +08:00
morris
911c388cf8
feat(etm): add core driver support for esp32-p4
...
esp_etm core driver support:
- channel allocator
- gpio etm sub driver
- gptimer etm sub driver
2023-08-23 15:11:56 +08:00
morris
3b50c716d8
Merge branch 'feature/gptimer_ll_enable_reset' into 'master'
...
HW-Support: Add Atomic Code Block for Reset and Clock Control
See merge request espressif/esp-idf!25401
2023-08-23 15:11:42 +08:00
Chen Jichang
d7d87813ad
fix(PCNT): Add zero input gpio enable flag
...
The default zero input gpio num is 0. Users need to set it additionally
when not use zero input signal. It may become a breaking change.
Add an enable flag to avoid it.
2023-08-23 12:08:15 +08:00
morris
71cf16ec01
feat(gptimer): use RCC atomic block to enable/reset peripheral
2023-08-22 17:05:35 +08:00
Roshan Bangar
67b956f503
feat(nimble): Added periodic Adv Feature Updates in BLE 5.3
2023-08-22 10:18:10 +05:30
wuzhenghui
eeab989d09
fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops
2023-08-22 11:00:00 +08:00
Zhi Wei Jian
bec164ae93
Merge branch 'doc/update_p4_ble_docs' into 'master'
...
Update ESP32-P4 BLE docs
See merge request espressif/esp-idf!25355
2023-08-21 14:48:08 +08:00
zhiweijian
8f56d9a7d8
update p4 BLE docs
2023-08-17 19:58:01 +08:00
Kevin (Lao Kaiyao)
f629c4b7e9
Merge branch 'feature/i2s_support_mclk_input' into 'master'
...
feat(i2s): supported external clock source input
Closes IDF-7889
See merge request espressif/esp-idf!24942
2023-08-16 19:07:22 +08:00
Marius Vikhammer
f83c29f242
Merge branch 'feature/esp32p4_docs_build' into 'master'
...
ESP32-P4 build docs
Closes IDF-7520 and IDF-7773
See merge request espressif/esp-idf!25026
2023-08-16 11:49:43 +08:00
Marius Vikhammer
27baef2424
docs(esp32p4): added building docs for ESP32-P4
2023-08-16 10:13:47 +08:00
Chen Ji Chang
b39fd79cb8
Merge branch 'feature/add_mcpwm_carrier_clk_source' into 'master'
...
feat(MCPWM): Add mcpwm carrier clk source
Closes IDF-8029
See merge request espressif/esp-idf!25342
2023-08-15 18:04:08 +08:00
Armando (Dou Yiwen)
5a81e00633
Merge branch 'feature/support_mmu_on_p4' into 'master'
...
mm: mmu support on p4
Closes IDF-7509
See merge request espressif/esp-idf!25121
2023-08-15 14:25:31 +08:00
Chen Jichang
97d5db32ae
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-15 13:04:11 +08:00
Armando
8c8affc812
feat(mmu): support mmu and flash mmap driver on p4
2023-08-15 10:17:03 +08:00
laokaiyao
4b6d71447c
feat(i2s): supported external clock source input
2023-08-14 03:25:12 +00:00
Cao Sen Miao
de85f47bc9
feat(i2c): Add I2C driver support for esp32p4
2023-08-11 12:37:11 +08:00
morris
26f438cf89
Merge branch 'feature/esp32p4_gpio_support' into 'master'
...
feat(gpio): add support for ESP32P4
Closes IDF-6509
See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
morris
84f9e5e8e5
Merge branch 'feature/esp32p4_pcnt_support' into 'master'
...
feat(pcnt): add support for ESP32P4
Closes IDF-7475
See merge request espressif/esp-idf!25149
2023-08-10 18:52:23 +08:00
Song Ruo Jing
be9afeac86
feat(gpio): add support for ESP32P4
2023-08-10 17:58:49 +08:00
morris
94a662995b
Merge branch 'feature/support_hp_regi2c_for_esp32c6' into 'master'
...
feature: support_hp_regi2c_for_esp32c6
Closes IDF-7025
See merge request espressif/esp-idf!24303
2023-08-10 16:54:56 +08:00
C.S.M
96bf37ab78
Merge branch 'feature/i2c_master_new_driver' into 'master'
...
I2C: Add new i2c master impl APIs and i2c eeprom example
See merge request espressif/esp-idf!23592
2023-08-10 16:51:31 +08:00
Armando (Dou Yiwen)
337aeb4b78
Merge branch 'feature/add_esp32p4_hello_world' into 'master'
...
esp32p4: introduced new chip ESP32P4: Hello World! 🌏
Closes IDF-7523
See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Cao Sen Miao
4ef94fc0dc
feat(i2c): Add new API and implementation for I2C driver
2023-08-10 11:55:54 +08:00
Armando
32ed3538af
fix(pwm): fix struct def
2023-08-10 10:16:20 +08:00
wuzhenghui
a425d8816a
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently
2023-08-09 20:19:50 +08:00
Lou Tianhao
808a01e656
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-08-09 19:46:25 +08:00
Armando
00df6b378d
refactor(sar): build sar_periph_ctrl related files by chip
2023-08-09 19:33:36 +08:00
KonstantinKondrashov
c09d823b6a
change(efuse): Update eFuses for esp32p4 chip
2023-08-09 19:33:35 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Chen Jichang
3fed3cf50e
feat(pcnt): add support for ESP32P4
2023-08-09 14:41:22 +08:00
Lou Tianhao
d59e91c030
feature: support_hp_regi2c_for_esp32c6
2023-08-09 14:24:31 +08:00
morris
bd8eaf7a38
Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
...
feat(MCPWM): Add support for ESP32P4
Closes IDF-7493
See merge request espressif/esp-idf!25029
2023-08-09 11:00:00 +08:00
Chen Jichang
72f66b6d1d
feat(mcpwm): add support for ESP32P4
2023-08-08 18:12:58 +08:00
Mahavir Jain
f089cd5fab
Merge branch 'esp32p4/add_mpi_support' into 'master'
...
feat(mpi): add MPI peripheral support for esp32p4
See merge request espressif/esp-idf!25110
2023-08-07 13:37:14 +08:00
Armando
b9708d933f
fix(soc): fix ecc_mult_struct.h struct size check
2023-08-04 14:13:59 +02:00
Armando
de68029de9
change(header): modify p4 headers issues from check_header_py
2023-08-04 14:13:59 +02:00
morris
55ea6b78a7
Merge branch 'feature/async_memcpy_rewrite' into 'master'
...
feat(async_memcpy): refactor driver code to support different DMA backends
See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
wuzhenghui
c34cdd05e9
fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver
2023-08-04 10:39:43 +08:00
harshal.patil
031175d22a
feat(mpi): add MPI peripheral support for esp32p4
2023-08-03 09:44:02 +05:30
morris
fd3d1aa101
feat(async_memcpy): refactor driver code to support different DMA backen
...
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
harshal.patil
f2801ae4c9
feat(ecc): add ECC peripheral support for esp32p4
2023-08-01 10:20:30 +05:30
harshal.patil
b4cf035608
feat(soc): Add hwcrypto_reg.h for esp32p4
2023-08-01 10:19:18 +05:30
morris
d1055758e4
Merge branch 'feature/gptimer_support_p4' into 'master'
...
Feature/gptimer support p4
Closes IDF-6515
See merge request espressif/esp-idf!24746
2023-07-28 15:17:45 +08:00
morris
5aaba6c877
Merge branch 'feature/update_etm_source_on_p4' into 'master'
...
feat(etm): update etm source on p4
See merge request espressif/esp-idf!25021
2023-07-27 19:23:55 +08:00
laokaiyao
8d993931b5
feat(etm): update etm source on p4
2023-07-27 11:30:31 +08:00
morris
9cd16a8f95
feat(gptimer): driver support on esp32p4
2023-07-26 19:27:49 +08:00
Armando
dd71c7fe17
fix(pwdet): fix pwdet wrong base address on c6 h2
2023-07-26 14:39:34 +08:00
Armando
a336b94527
feat(esp_system): base support on p4
2023-07-25 05:59:10 +00:00
Lou Tian Hao
57c6c0a1a3
Merge branch 'bringup/esp32h2_deep_sleep_for_rebase' into 'master'
...
esp32h2: support deep_sleep
Closes IDF-6268, IDF-6572, and IDF-7406
See merge request espressif/esp-idf!24438
2023-07-24 10:47:51 +08:00
Song Ruo Jing
4b9f601ac3
Merge branch 'feature/esp32p4_clock_prework_support' into 'master'
...
feat(clk): Add support to get xtaL freq for ESP32P4
See merge request espressif/esp-idf!24927
2023-07-21 00:12:18 +08:00
Song Ruo Jing
b8a8713f96
feat(clk): Add support to get xtaL freq for ESP32P4
2023-07-20 18:13:13 +08:00
Lou Tianhao
e70763f9a4
feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep
2023-07-20 11:43:57 +08:00
Song Ruo Jing
99c2691467
change(driver/rtcio): Describe RTCIO CAPS with more accurate note
2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-07-20 11:43:57 +08:00
morris
57879e772d
feat(gdma): support channel allocator on esp32p4
...
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
morris
fb7cc00378
Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
...
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h
Closes IDF-5776
See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00
Shen Weilong
e9e6372690
feat(ble): Added ble examples for multiple connections
2023-07-18 12:05:11 +08:00
Chen Jichang
304c7572a6
refactor(interrupt):put the interrupts definitions in soc/interrupts.h
...
Now the soc interrupts definitions are scattered around in the esp-idf
which are out of sync. Put interrupts definitions in soc/periph_defs.h
(!ESP32) or soc/soc.h(ESP32) together in soc/interrupts.h.
2023-07-17 19:31:56 +08:00
Darian
4fc2e5cb95
Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0' into 'master'
...
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips
Closes IDF-3328
See merge request espressif/esp-idf!23873
2023-07-15 19:01:03 +08:00
wuzhenghui
842ff10777
fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc
2023-07-15 01:54:48 +08:00
wuzhenghui
2b600df4ee
fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working
2023-07-14 20:10:16 +08:00
Mahavir Jain
48ead0158e
Merge branch 'fix/mbedtls_internal_shaX_process_api_port' into 'master'
...
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api
See merge request espressif/esp-idf!24545
2023-07-14 18:23:34 +08:00
harshal.patil
eb3dab8af4
ci(mbedtls): added a test for the mbedtls_internal_shaX_process API
2023-07-14 04:08:30 +00:00
harshal.patil
79d07f9909
fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
...
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 04:08:30 +00:00
cjin
cf744f9466
ble: support eco1 BLE light sleep
2023-07-14 10:49:14 +08:00
Chen Ji Chang
7ec38eb309
Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
...
gpio: Update the incorrect comments in rom/gpio.h
Closes IDFGH-10490
See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Armando (Dou Yiwen)
c7d8b06fd2
Merge branch 'feature/add_esp32p4_esp_rom_support' into 'master'
...
esp_rom: add esp32p4 esp_rom support
See merge request espressif/esp-idf!24703
2023-07-13 19:08:42 +08:00
Darian Leung
8450f3119e
soc: Move revision MAX/MIN static assert to esp_hw_support
...
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:
- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.
This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-13 12:37:35 +02:00
Armando
59ed00a784
fix(soc): fix wrong register names in axi_dma_reg.h
2023-07-13 12:38:29 +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
Jiang Jiang Jian
d04928a9c0
Merge branch 'feature/external_coexist_improve_esp32s3_master_performance' into 'master'
...
Feature/external coexist improve esp32s3 master performance
Closes WIFI-5583, IDF-6640, IDF-6652, and FCC-52
See merge request espressif/esp-idf!23150
2023-07-13 07:51:06 +08:00
Konstantin Kondrashov
dd08ec095b
Merge branch 'feature/add_new_pkg_and_flash_efuses_esp32c3' into 'master'
...
feat(efuse): Add flash efuses for esp32c3
Closes IDF-7609
See merge request espressif/esp-idf!24685
2023-07-13 00:57:58 +08:00
Konstantin Kondrashov
9708952fa8
Merge branch 'feature/add_new_pkg_and_flash_psram_efuses' into 'master'
...
feat(efuse): Add flash&psram efuses for S3
Closes IDF-7439
See merge request espressif/esp-idf!24624
2023-07-13 00:57:14 +08:00
muhaidong
de03939923
external coex: rename coex gpio struct field names
2023-07-12 19:23:39 +08:00
KonstantinKondrashov
b95dfc67fa
feat(efuse): Add flash efuses for esp32c3
2023-07-11 19:49:17 +08:00
KonstantinKondrashov
cf46ef954f
feat(efuse): Add flash&psram efuses for S3
2023-07-11 19:41:40 +08:00
Armando
ec88a3f018
fix(ahb_dma): temporarily disable ahb_dma on p4
2023-07-11 16:59:02 +08:00
Jiang Jiang Jian
ccb6e2887a
Merge branch 'bugfix/fix_ftm_dist_est' into 'master'
...
Enable FTM for ESP32C2, fix other FTM issues
Closes WIFI-3464, WIFI-4127, WIFI-4600, WIFI-4655, WIFI-5001, WIFI-5444, WIFI-5472, WIFI-5742, and WIFI-5893
See merge request espressif/esp-idf!22798
2023-07-11 12:20:42 +08:00
morris
682e5ae450
Merge branch 'feature/esp_gdma_ops' into 'master'
...
feat(esp_gdma): add hal interface for common operations
Closes IDF-7809
See merge request espressif/esp-idf!24433
2023-07-11 10:40:42 +08:00
Armando (Dou Yiwen)
282e3b03bb
Merge branch 'feature/add_esp32p4_hal_support' into 'master'
...
hal: add esp32p4 hal support
See merge request espressif/esp-idf!24427
2023-07-11 10:09:16 +08:00
Armando
c5e99100e7
feat(hw stack): added todo for hw stack guard in soc_caps.h
2023-07-10 16:11:47 +08:00
Armando
ea05ae6af2
feat(esp32p4): added hal support
2023-07-10 16:11:47 +08:00
Jiang Jiang Jian
cdaf1fd518
Merge branch 'fix/esp32s3_sysview_trace_corrupt' into 'master'
...
fix(app_trace): Fix apptrace data corruption on ESP32-S3
Closes OCD-647 and IDFGH-9216
See merge request espressif/esp-idf!24500
2023-07-10 16:01:43 +08:00
morris
9eb145aa21
feat(esp_gdma): adapt the gdma driver to ahb-dma and axi-dma
2023-07-10 13:45:57 +08:00
morris
56a376c696
feat(esp_gdma): add hal interface for common operations
...
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Nachiket Kukade
6e6139061d
fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
...
Enable FTM for ESP32C2 and update wifi libs with below fixes -
1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
than (number_of_brusts * FTMs per brust).
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-10 10:41:37 +05:30
Song Ruo Jing
ea48030514
Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
...
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
Closes IDF-7406
See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Armando
93d4095fb0
feat(soc): added pmu_icg_mapping.h on p4
2023-07-06 18:57:41 +08:00
Armando
1c3aedf45e
remove p4 rtc_io related files as requested
2023-07-06 18:23:18 +08:00
Armando
a9365b8049
feat(soc): rename rtc_timer_reg to lp_timer_reg
2023-07-06 18:23:18 +08:00
Armando
369f8ba459
feat(soc): update interrupts.c
2023-07-06 18:23:18 +08:00
Armando
9d755f855e
feat(soc): update efuse registers
2023-07-06 18:23:18 +08:00
Armando
e921d03a0d
feat(soc): update gpio_ext_reg.h and its base addr
2023-07-06 18:23:18 +08:00
Armando
65bfa590da
feat(soc): soc updates
2023-07-06 18:23:18 +08:00
Armando
2f6ce0cc17
fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2
2023-07-06 17:54:31 +08:00
Armando
8cf0e5d5b8
feat(soc): rename rtc_wdt_reg to lp_wdt_reg
2023-07-06 17:54:31 +08:00
Armando
0959c0cb96
feat(soc): rename mspi registers
2023-07-06 17:54:31 +08:00
Armando
611c1037a2
feat(soc): added soc_caps.h on esp32p4
2023-07-06 17:54:31 +08:00
Song Ruo Jing
4985caa38f
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
2023-07-05 11:47:51 +08:00
Armando
070040c444
feat(soc): added soc support for esp32p4, part3
2023-07-05 11:45:48 +08:00
morris
0298e6f257
Merge branch 'feature/gpio_num_per_target' into 'master'
...
refactor(gpio): per-target gpio number definition
See merge request espressif/esp-idf!24546
2023-07-04 14:12:39 +08:00
morris
d623ce0d53
refactor(gpio): per-target gpio number definition
2023-07-03 13:33:11 +08:00
Alexey Lapshin
4df3ff619e
feat(esp_system): implement hw stack guard for riscv chips
...
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Alexey Gerenkov
d786d2d459
fix(app_trace): Fix apptrace data corruption on ESP32-S3
...
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
#endif
#define TRACEMEM_MUX_BLK0_NUM 22
-#define TRACEMEM_MUX_BLK1_NUM 23
+#define TRACEMEM_MUX_BLK1_NUM 26
#if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
#error Invalid TRAX block 0 num!
2023-06-29 15:55:40 +03:00
Armando
d417ec9f06
feat(soc): modify mipi_csi_bridge_reg.h prefix
...
Prefix CSI_BRIG -> CSI_BRG
2023-06-28 19:39:34 +08:00
Armando
fa435cc699
feat(soc): updated mspi registers
2023-06-28 19:39:34 +08:00
Armando
9ee0da1705
register changes
2023-06-28 13:57:28 +08:00
Armando
424a3d3fa3
feat(soc): Rename pwm_reg.h to mcpwm_reg.h
2023-06-28 12:22:14 +08:00
Armando
bd9e566d6d
feat(soc): Merge spi2_reg.h and spi3_reg.h
2023-06-28 12:22:14 +08:00
Armando
989c6f6e46
feat(soc): Added soc headers for esp32p4, part 2
2023-06-28 11:19:20 +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
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
morris
1c0be26531
fix(soc): soc header files can pass CI check
2023-06-26 23:00:45 +08:00
morris
d18a03b0db
Merge branch 'refactor/rename_gpio_ext_reg_name_c6_h2' into 'master'
...
gpio_ext: rename register prefix to be GPIO_EXT_xxx
See merge request espressif/esp-idf!23969
2023-06-26 22:29:39 +08:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
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
d3ca0656c8
Power Management: support MODEM domain powered down in light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
b4210682c8
Power Management: support TOP domain powered down in light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
6ea441c815
Power Management: support CPU powered down in light sleep for esp32h2
2023-06-26 20:57:55 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
Armando (Dou Yiwen)
8db5812449
Merge branch 'feature/introduce_idf_env_bringup_for_esp32p4' into 'master'
...
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage
See merge request espressif/esp-idf!24234
2023-06-26 18:17:05 +08:00
Armando (Dou Yiwen)
ddb9c1172f
Merge branch 'feature/add_esp32p4_soc_support' into 'master'
...
soc: added soc headers for esp32p4 (part 1)
See merge request espressif/esp-idf!24284
2023-06-26 14:44:13 +08:00
Armando
c448597f24
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage
2023-06-26 03:30:23 +00:00
Shu Chen
54e45c7be4
Merge branch 'bugfix/fix_multipan_enable_and_update_reg' into 'master'
...
ieee802154: fix multipan api error and update coex_arb_delay reg
See merge request espressif/esp-idf!24145
2023-06-26 11:00:08 +08:00
Armando
4d5506a31b
soc: rename ana_i2c_mst_reg.h to i2c_ana_mst_reg.h
2023-06-25 17:31:18 +08:00
Armando
7250e397ac
soc: migrate system_reg.h, hp_sys_reg.h to hp_system_reg.h
2023-06-25 16:51:09 +08:00
Armando
b8df6d1973
soc: add io_mux_reg/struct.h
2023-06-25 16:51:09 +08:00
Armando
5a88a7da0e
soc: added soc headers for esp32p4, part 1
2023-06-25 10:35:15 +08: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
Wan Lei
a0dc515143
Merge branch 'refactor/cache_utils_refactor_to_cache_hal' into 'master'
...
cache: refactor cache_utils to use cache_hal instade
Closes IDF-7172 and IDF-7385
See merge request espressif/esp-idf!23317
2023-06-19 11:54:12 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
Wan Lei
dccc31e9e4
Merge branch 'refactor/remove_apb_ctrl_reg' into 'master'
...
sysreg: deprecate apb_ctrl related reg
Closes DOC-5139
See merge request espressif/esp-idf!24135
2023-06-15 14:57:32 +08:00
wanlei
c5c793109f
cache: fix cache suspended/resumed twice on S3
2023-06-14 10:55:07 +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
chenjianxing
97cfa54e77
esp_phy: update esp32c2 phy lib to fix some issues
...
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-06-12 11:45:48 +08:00
wanlei
3ed82deedf
sysreg: deprecate apb_ctrl related reg, suggest syscon
2023-06-09 17:34:10 +08:00
xiaqilin
4d4f68623e
ieee802154: fix multipan api error and update coex_arb_delay reg
2023-06-09 17:14:56 +08:00
Mahavir Jain
1696be719c
crypto: add support for DPA protection configuration in C6/H2
...
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 11:09:23 +05:30
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
morris
630b1b079e
drivers: fix issue reported by coverity
2023-06-06 14:16:09 +08:00
Mahavir Jain
c606127315
Merge branch 'fix/xts_aes_register_prefix_discrepancy_c6_h2' into 'master'
...
fix: xts aes register prefix discrepancy for ESP32H2 and ESP32C6
Closes DOC-5171 and DOC-5179
See merge request espressif/esp-idf!23944
2023-06-06 12:40:57 +08:00
Song Ruo Jing
c8cf7c5824
gpio_ext: rename register prefix to be GPIO_EXT_xxx
2023-05-31 12:55:22 +08:00
harshal.patil
60ccb8f439
esp32c6: xts-aes register preefix discrepency
2023-05-26 15:33:21 +05:30
harshal.patil
bc825431e8
esp32h2: xts-aes register prefix discrepency
2023-05-26 15:33:15 +05:30
wuzhenghui
3ae1f0ea5d
bugfix: fix rc_fast bad calibration value
2023-05-25 21:21:14 +08:00
Mahavir Jain
e2fe2bf152
Merge branch 'fix/xts_aes_register_prefix_discrepency' into 'master'
...
fix: xts aes register prefix discrepancy
Closes DOC-5136 and DOC-5140
See merge request espressif/esp-idf!23900
2023-05-25 16:40:13 +08:00
Zim Kalinowski
451a0f1d33
Merge branch 'feature/adds_new_efuses_for_h2' into 'master'
...
efuse(H2): Adds RF Calibration Information
Closes IDF-7382
See merge request espressif/esp-idf!23827
2023-05-25 14:36:50 +08:00
harshal.patil
ed4ceea43d
esp32c2: xts-aes register prefix discrepency
2023-05-25 11:27:18 +05:30
harshal.patil
0058fb3a05
esp32c3: xts-aes register prefix discrepency
2023-05-25 11:27:10 +05:30
wanlei
e42501d20f
adc: add programing guide for digi monitor
2023-05-24 18:09:06 +08:00
wanlei
87848110c1
adc: new feature adc digital monitor supported
2023-05-24 17:46:52 +08:00
Kevin (Lao Kaiyao)
7a462d8a86
Merge branch 'feature/support_adc_calibration_on_c6' into 'master'
...
adc_cali: supported adc calibration on esp32c6
Closes IDF-5312 and IDF-6566
See merge request espressif/esp-idf!23499
2023-05-24 11:31:12 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Mahavir Jain
86b2ca3d04
Merge branch 'feature/c6_bootloader_rng' into 'master'
...
Feature/c6 bootloader rng
See merge request espressif/esp-idf!22773
2023-05-23 22:41:51 +08:00
KonstantinKondrashov
3550a2d185
efuse(c6): Adds adc calib efuses
2023-05-23 20:34:29 +08:00
Jakob Hasse
d3f77ec352
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-23 18:14:51 +08:00
Mahavir Jain
8c1369f3aa
Merge branch 'test/combined_ecc_mpi_hmac_ds_hal_verification_app' into 'master'
...
Create a combined security peripherals hal verification appliaction
See merge request espressif/esp-idf!23718
2023-05-23 11:27:53 +08:00
Island
72bf74f904
Merge branch 'feature/update_ble_doc_for_esp32c6_esp32h2' into 'master'
...
ble docs: Update ble doc for esp32c6 and esp32h2
Closes IDF-5926 and IDF-6686
See merge request espressif/esp-idf!23796
2023-05-22 18:50:55 +08:00
harshal.patil
56ac7eee3b
ecc: added SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK
soc caps for esp32c2
...
as the ESP32C2 ECC peripheral has a bug in ECC point verification,
if value of K is zero the verification fails
2023-05-22 15:19:34 +05:30
KonstantinKondrashov
aef81cceee
efuse(H2): Adds RF Calibration Information
2023-05-22 08:40:26 +00: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
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
Armando (Dou Yiwen)
ca2624e0eb
Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
...
sdmmc: supported host timing tuning on esp32s3
Closes IDF-7240 and IDF-7250
See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Ondrej Kosta
a76eab4d39
Merge branch 'bugfix/emac_structs_cpp_build' into 'master'
...
fixed emac soc structs names to be able to build under C++
Closes IDFGH-10003
See merge request espressif/esp-idf!23658
2023-05-12 16:38:12 +08:00
C.S.M
12190809f9
Merge branch 'feature/flash_suspend_support' into 'master'
...
spi_flash: One more step for supporting flash suspend. 1. Support more esp chips 2. Improve real-time performance 3. Make timing more stable
See merge request espressif/esp-idf!22755
2023-05-12 14:16:11 +08: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
01a3d79b6f
sdmmc: support tuning input delay on esp32s3
2023-05-11 12:25:22 +00:00
Armando
e7fcfa43e9
sdmmc: use clk_tree api inside
2023-05-11 12:25:22 +00: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
Ondrej Kosta
621d5ef724
fixed emac soc structs names to be able to build under C++
...
Closes https://github.com/espressif/esp-idf/pull/11283
2023-05-11 08:50:49 +02: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
zlq
ff88f42819
H2:fix tsensor issue @low temp
2023-05-09 19:40:53 +08:00
Li Shuai
2e22491b02
sleep retention: implement the extra linked list retention for modules with retention clock bugs
2023-05-06 14:58:00 +08:00
Armando
8eec6558d1
mspi: refactor timing tuning driver to make it compatible with p4
2023-05-04 17:05:35 +08:00
morris
fb3d24739a
soc: sync lcd_cam register description with TRM
...
Closes https://github.com/espressif/esp-idf/issues/11257
2023-04-27 16:28:05 +08:00
Shu Chen
5d222db12f
Merge branch 'support/ieee802154_driver_opensrc' into 'master'
...
ieee802154: Support driver code open src
See merge request espressif/esp-idf!22857
2023-04-26 10:35:42 +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
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
zhangwenxu
c8c1cd1c55
ieee802154: support driver opensrc
2023-04-25 11:48:13 +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
Ondrej Kosta
22caec278f
Merge branch 'feature/emac_hal_cleanup' into 'master'
...
wrapped emac_ll functions to emac_hal
Closes IDFGH-8474
See merge request espressif/esp-idf!23078
2023-04-24 15:47:29 +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
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
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
Ondrej Kosta
c231c79fc8
HAL: wrapped emac_ll functions to emac_hal
...
Closes #9934
2023-04-19 12:46:45 +00:00
Laukik Hase
11d5550da3
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-04-17 10:49:06 +05:30
Ivan Grokhotkov
e9badf51c7
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +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
63089b1f7e
bootloader: enable super WDT and BOD reset on C2
2023-04-11 10:23:21 +08:00
Xiao Xufeng
d586a8aa13
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-11 10:23:21 +08:00
Michael (XIAO Xufeng)
c7b852b7c7
bootloader: fix analog reset on C6 and H2
2023-04-11 10:23:20 +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
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00: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
Zim Kalinowski
6e67c54a92
Merge branch 'feature/replace_some_efuses_for_c6' into 'master'
...
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
Closes IDF-7174
See merge request espressif/esp-idf!22775
2023-04-04 16:34:29 +08:00
Jiang Jiang Jian
1e7f9c8f72
Merge branch 'support/fix_coex_esp32h2_unused_macro' into 'master'
...
coex: fix unused macro on esp32h2
Closes TZ-86
See merge request espressif/esp-idf!22849
2023-03-31 19:03:49 +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
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
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
Rahul Tank
f1084c26cd
Merge branch 'feature/add_power_control_soc_cap' into 'master'
...
Add Power control specific soc capability
See merge request espressif/esp-idf!22871
2023-03-24 17:43:37 +08:00
Rahul Tank
9179456c48
Add Power control specific soc capability
2023-03-24 10:56:03 +05:30
Sachin Parekh
d345c684ba
esp32h2: Add support for ECDSA peripheral
2023-03-24 10:43:40 +05:30
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
wuzhenghui
a76dee171e
esp32h2: update esp32h2 modem_clock soc_caps
2023-03-22 21:54:32 +08:00
wuzhenghui
14475f0925
soc: regenerate modem header with regtool
2023-03-22 21:53:26 +08:00
Song Ruo Jing
9f972efac0
soc: Fix struct volatile rule in h2 pmu_struct.h
2023-03-22 19:41:40 +08:00
Tomas Rezucha
f3de7e574d
Merge branch 'bugfix/usb_reg_header_definition_upd' into 'master'
...
USB: usb_reg.h update missing register bitfield description
See merge request espressif/esp-idf!22766
2023-03-22 17:43:43 +08:00
zhangwenxu
2f952f308f
coex: fix unused macro on esp32h2
2023-03-21 11:51:06 +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
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)
2d14ba2b91
Merge branch 'feature/analog_comparator_h2' into 'master'
...
Introduce the Analog Comparator driver
Closes IDF-6817
See merge request espressif/esp-idf!22355
2023-03-18 00:42:20 +08:00
wuzhenghui
902064df7d
soc_caps: enable SOC_PM_SUPPORT_RTC_PERIPH_PD
2023-03-17 19:42:01 +08: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
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
laokaiyao
c634144ac8
ana_cmpr: designed driver layer
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
zhangwenxu
b596c28a22
coex: support esp32h2 coex lib
2023-03-16 17:23:43 +08:00
KonstantinKondrashov
776a0e8a20
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
2023-03-15 23:15:32 +08:00
liuning
14ca81f03f
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-03-15 20:33:03 +08:00
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
Roman Leonov
0b08570ae2
usb: usb_reg.h update missing register description
2023-03-14 13:29:20 +01:00
Sachin Parekh
a485b1cb67
esp32h2: Add support for ECC hardware accelerator
2023-03-13 16:39:46 +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
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
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
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
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
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
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
Sachin Parekh
ed0a1f7b52
esp32c6: Fix incorrect PMP configuration
...
- Enable pytest memprot tests for C6
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
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
Mahavir Jain
56dc272514
Merge branch 'feature/esp32h2_secure_boot' into 'master'
...
esp32h2: add secure boot feature support
Closes IDF-6281 and IDF-6681
See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
Island
3ab20c1d26
Merge branch 'feature/support_ble_on_esp32h2' into 'master'
...
Feature/support ble on esp32h2
Closes IDF-6416 and IDF-6337
See merge request espressif/esp-idf!22221
2023-03-07 11:43:57 +08:00
Mahavir Jain
d61f974a3d
esp32h2: enable secure boot feature related capabilities
2023-03-06 16:36:17 +05:30
morris
cc2068684f
Merge branch 'feature/support_efuse_for_esp32c6' into 'master'
...
efuse: Updates efuse table for esp32c6
See merge request espressif/esp-idf!22400
2023-03-06 15:33:11 +08:00
Shen Weilong
f39648040e
BLE: Add ble support for esp32h2
2023-03-06 10:43:17 +08:00
laokaiyao
fd5bfb2cd4
sdm: fixed wrong sdm struct sequence on esp32h2
2023-03-05 14:10:12 +00:00
Wu Zheng Hui
af805df3cb
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_modem' into 'master'
...
esp32c6: support light_sleep (Stage 3: support Modem power down)
Closes WIFI-5150, WIFI-5151, and IDF-5679
See merge request espressif/esp-idf!22236
2023-03-05 09:23:59 +08:00
Armando
89fa53f1c0
mmu: support configurable mmu page size
2023-03-04 02:48:40 +00:00
wuzhenghui
15eb1931c0
soc: clean WIFI unsupport soc_caps
2023-03-04 00:17:40 +08:00
Li Shuai
7ee1b09433
power save: wifi beacon monitor support for esp32c6
...
power save: fix multicast more data always true cause wifi goto sleep fail
2023-03-04 00:17:40 +08:00
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
f95854dc8f
soc_caps: add SOC_PM_MODEM_RETENTION_BY_REGDMA caps
...
soc_caps: add SOC_PM_SUPPORT_BEACON_WAKEUP caps
soc_caps: add SOC_PM_SUPPORT_PMU_MODEM_STATE caps
soc_caps: add SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW caps
soc_caps: add SOC_PM_SUPPORT_MAC_BB_PD caps
2023-03-04 00:17:40 +08:00
wuzhenghui
7fcebce2e5
codeclean: fix struct volatile rule in pmu_struct.h/lp_timer.h
2023-03-04 00:17:40 +08:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
C.S.M
679dae70cd
Merge branch 'feature/temperature_intr' into 'master'
...
temperature sensor: Add high/low value threshold interrupt support
Closes IDF-5786
See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
Mahavir Jain
e364e1c102
Merge branch 'feature/esp32h2_enable_rsa_support' into 'master'
...
mbedtls: enable RSA support for esp32h2
Closes IDF-6284 and IDF-6415
See merge request espressif/esp-idf!22498
2023-03-02 15:06:24 +08:00
wuzhenghui
4e80c7544a
esp32c6: soc caps adjustment
2023-03-02 15:06:05 +08:00
wuzhenghui
709adaaa37
soc_caps: since esp32c6 only support one ext wakeup src, split SOC_PM_SUPPORT_EXT_WAKEUP
...
Close IDF-5924
2023-03-02 15:06:05 +08:00
Xia Qi Lin
63d04942e5
Merge branch 'feature/esp32h2_support_ieee802154' into 'master'
...
ieee802154: add support esp32h2
Closes TZ-59
See merge request espressif/esp-idf!22379
2023-03-01 18:30:55 +08:00
harshal.patil
04cc562180
mbedtls: enable RSA support for esp32h2
2023-03-01 14:18:57 +05:30
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
KonstantinKondrashov
a0408f7324
efuse: Updates efuse table for esp32c6
2023-02-28 17:13:21 +08:00
Armando
663e881868
gdma: fix potential unaligned cache writeback issue
2023-02-28 10:42:22 +08:00
Armando
fda9746bb8
esp_mm: cache_msync API
2023-02-28 10:42:22 +08:00
Song Ruo Jing
8486a2c3ad
Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
...
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
Closes IDFGH-6887
See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Mahavir Jain
ad19981af8
Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
...
Feature/esp32h2 enable flash encryption
Closes IDF-6282 and IDF-6680
See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
zhangwenxu
2816ff14e4
ieee802154: add support for esp32h2
2023-02-27 15:32:32 +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
Aditya Patwardhan
aaf5d0670e
[bootloader_support/esp32h2] Enable flash encryption for esp32h2 target
2023-02-24 15:21:51 +05:30
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
Marius Vikhammer
c2f9392be5
Merge branch 'feature/h2_wdt' into 'master'
...
wdt: add support for H2
Closes IDF-6643 and IDF-6678
See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
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
Marius Vikhammer
5d26a0de9a
wdt: add support for H2
2023-02-23 11:22:51 +08:00
morris
1c9b96ab37
Merge branch 'feature/support_efuse_for_esp32h2' into 'master'
...
efuse: Add support for esp32h2
Closes IDF-6252, IDF-4337, and IDF-6897
See merge request espressif/esp-idf!22393
2023-02-22 13:41:40 +08:00
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
KonstantinKondrashov
f3394c488a
efuse: Add support for esp32h2
2023-02-21 08:18:14 +00: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
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
cje
703a7b4156
update h2 i2c header file
2023-02-20 17:15:02 +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
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
wanlei
fdeeced62c
twai: h2 support twai driver
2023-02-16 16:34:23 +08:00
Wan Lei
814df0ea28
Merge branch 'bugfix/fix_h4_spi_file_missing' into 'master'
...
spi: fix spi support on h4 after diver/cmakelist refactored
See merge request espressif/esp-idf!22358
2023-02-15 18:41:49 +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
Sachin Parekh
774f0ef636
Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
...
ESP32C6: Enable ECDSA secure boot
Closes IDF-5357 and IDF-5931
See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00