laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
Jiang Jiang Jian
159e80246b
Merge branch 'feature/add_modem_module_rst_api_v5.1' into 'release/v5.1'
...
modem_clock: add modem module mac reset api (backport v5.1)
See merge request espressif/esp-idf!24441
2023-07-04 12:15:33 +08:00
Jiang Jiang Jian
207e589917
Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link_v5.1' into 'release/v5.1'
...
backport v5.1: support extra linked list retention for BLE and 15.4
See merge request espressif/esp-idf!24220
2023-07-04 12:11:04 +08:00
morris
e70c174643
Merge branch 'contrib/github_pr_11405_v5.1' into 'release/v5.1'
...
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23983
2023-07-04 11:04:22 +08:00
morris
0e4c071519
Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.1' into 'release/v5.1'
...
i2s: fixed i2s_ll compiling failure under C++ environment (v5.1)
See merge request espressif/esp-idf!24401
2023-07-04 11:03:35 +08:00
morris
cacb45d450
Merge branch 'bugfix/coverity_scan_fix_driver_v5.1' into 'release/v5.1'
...
ADC: Fixed potential multiply overflow in the calibration code (v5.1)
See merge request espressif/esp-idf!24091
2023-07-03 13:40:22 +08:00
wuzhenghui
2e5a194f62
esp_hw_support: add modem module mac reset api
2023-06-28 14:01:29 +08:00
laokaiyao
13e74d5573
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-26 15:42:36 +08:00
harshal.patil
96767058df
esp32c6: xts-aes register preefix discrepency
2023-06-15 13:53:35 +05:30
harshal.patil
2fb7d32cd3
esp32h2: xts-aes register prefix discrepency
2023-06-15 13:53:35 +05:30
cjin
ec51060d45
pau: fix logic error in extra link retention
2023-06-13 21:06:29 +08:00
morris
f9cf8db97e
drivers: fix issue reported by coverity
2023-06-07 11:42:11 +08:00
Justin Ong
e74a2565e4
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp
2023-06-07 01:45:26 +00:00
Jiang Jiang Jian
125d00c0f7
Merge branch 'feature/c6_bootloader_rng_v5.1' into 'release/v5.1'
...
Feature/c6 bootloader rng (v5.1)
See merge request espressif/esp-idf!23896
2023-05-26 15:36:45 +08:00
Jakob Hasse
b0e2f33082
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available
2023-05-24 09:43:21 +05:30
Sudeep Mohanty
267c5e37a2
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:33:01 +02:00
wuzhenghui
ed076c2bc8
bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
...
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 20:08:47 +08:00
Jiang Jiang Jian
5b4c95c50f
Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles_backport_v5.1' into 'release/v5.1'
...
bugfix: update esp32c6 eco1 fosc calibration cycles during sleep(backport v5.1)
See merge request espressif/esp-idf!23490
2023-05-18 19:52:05 +08:00
morris
f79088f115
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v5.1' into 'release/v5.1'
...
spi master: added transaction length check to refuse longer than hardware supported length (v5.1)
See merge request espressif/esp-idf!23747
2023-05-18 16:47:18 +08:00
morris
0814386710
Merge branch 'refactor/driver_ut_to_test_app_v5.1' into 'release/v5.1'
...
CI: Move all UT in driver to test_app(backport v5.1)
See merge request espressif/esp-idf!23708
2023-05-18 16:18:26 +08:00
Armando
4943844764
spi: added transaction length check to refuse longer than hardware supported length
2023-05-17 09:03:26 +00:00
Cao Sen Miao
df7a27e36d
CI: Move all UT in driver to test_app
2023-05-16 16:42:28 +08:00
Marius Vikhammer
d17ab36645
Merge branch 'feature/c6_ulp_timer_v5.1' into 'release/v5.1'
...
ulp: lp timer support for lp core (v5.1)
See merge request espressif/esp-idf!23659
2023-05-16 09:19:56 +08:00
morris
aed737b351
Merge branch 'feature/efuse_settings_v5.1' into 'release/v5.1'
...
hal: Explicit setting of efuse time settings (v5.1)
See merge request espressif/esp-idf!23725
2023-05-15 19:16:30 +08:00
morris
78d88afbef
Merge branch 'bugfix/i2c_timing_wrong_v5.1' into 'release/v5.1'
...
i2c: fix a bug in sda sample timing (backport v5.1)
See merge request espressif/esp-idf!23379
2023-05-15 10:47:35 +08:00
KonstantinKondrashov
2165ff386e
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:42:38 +08:00
laokaiyao
653ba59b23
i2s_tdm: fixed half sample bit calculation and added check for slot mask
2023-05-10 12:34:14 +08:00
Marius Vikhammer
45fd8feba3
ulp: add support for using lp timer with lp core on C6
2023-05-10 09:39:24 +08:00
morris
d12ad17373
rmt: check filter and idle threashold
...
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-05 19:07:59 +08:00
Omar Chebib
6b5b7f09f9
i2c: fix a bug in sda sample timing
...
* Closes https://github.com/espressif/esp-idf/issues/9777
This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-05-04 12:14:43 +08:00
wuzhenghui
123da6baa7
bugfix: fix esp32c6eco1 fosc calibration cycles during sleep
2023-05-04 11:47:54 +08:00
Ondrej Kosta
71d19fa9c9
Ethernet driver and documentation clean-up
2023-05-03 07:39:24 +00:00
Sachin Parekh
abc099ce9f
ecdsa: Support multiple ECDSA keys
...
Add provision to choose which efuse block should be used as ECDSA
private key
2023-04-30 11:47:35 +05:30
Sachin Parekh
174ef6c4a3
ecdsa_hal.c: Add missing configuration for signature generation
2023-04-30 11:47:35 +05:30
Jiang Jiang Jian
d89db7e4a7
Merge branch 'feature/spi_hal_move_out_iram_v5.1' into 'release/v5.1'
...
spi: change linker file to move spi hal out from iram (v5.1)
See merge request espressif/esp-idf!23448
2023-04-27 23:31:16 +08:00
Michael (XIAO Xufeng)
1a03cb02c2
Merge branch 'feature/support_fosc_calibration_c6_eco1_to_v5.1' into 'release/v5.1'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above (v5.1)
See merge request espressif/esp-idf!23467
2023-04-27 20:38:31 +08:00
Marius Vikhammer
c35f7cad45
Merge branch 'feature/c6_ulp_sleep_v5.1' into 'release/v5.1'
...
ulp: added sleep support for lp core (v5.1)
See merge request espressif/esp-idf!23484
2023-04-27 17:07:24 +08:00
Shu Chen
0be6802198
Merge branch 'backport/ieee802154_open_src' into 'release/v5.1'
...
ieee802154: drive code open source (backport v5.1)
See merge request espressif/esp-idf!23461
2023-04-27 16:02:09 +08:00
Jiang Jiang Jian
411c392d97
Merge branch 'feature/support_fosc_calibration_h2_eco2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix fosc calibration fail bug for ECO2 & Above (v5.1)
See merge request espressif/esp-idf!23469
2023-04-27 14:38:01 +08:00
zhangwenxu
3178718a3d
ieee802154: support driver opensrc
2023-04-27 11:27:57 +08:00
Marius Vikhammer
0bac174058
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-27 09:51:41 +08:00
laokaiyao
804a9ea1f6
esp32h4: remove esp32h4 target from peripherals
2023-04-26 18:53:10 +08:00
hongshuqing
70fc0bde01
support h2 eco2 fosc calibration for v5.1
2023-04-26 17:08:09 +08:00
hongshuqing
1564884cc1
support c6 eco1 fosc calibration for v5.1
2023-04-26 16:32:28 +08:00
wanlei
f61e219667
spi: change linker file let spi hal able to out from iram
2023-04-26 11:15:30 +08:00
Song Ruo Jing
44915e4251
Merge branch 'bugfix/ledc_channel_update_regression' into 'master'
...
ledc: Fix two bugs inside LEDC driver
See merge request espressif/esp-idf!23064
2023-04-06 20:52:23 +08:00
Song Ruo Jing
5070e51dde
ledc: Fix two bugs inside LEDC driver
...
1. Regression introduced when refactoring on clock sources selection (0d07f859
).
If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
morris
1429913042
gdma: support override default channel priority
2023-04-06 10:49:32 +08:00
KonstantinKondrashov
5b00d1f396
efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3
2023-04-04 22:32:32 +08:00
Armando
6d4c0bb3aa
mspi: support 120M DDR flash and psram on S3 (experimental)
2023-04-03 10:30:50 +08:00
morris
76ac9b0ecf
Merge branch 'bugfix/rmt_calarify_mem_block_symbols' into 'master'
...
Bugfix/rmt calarify mem block symbols
See merge request espressif/esp-idf!22966
2023-03-30 15:50:10 +08:00
morris
90c32e8021
Merge branch 'bugfix/glitch_filter_hw_issue' into 'master'
...
filter: workaround a hw issue in the glitch filter
See merge request espressif/esp-idf!22951
2023-03-30 11:31:06 +08:00
morris
d82981c437
rmt: use gpio_num_t to define gpio number
2023-03-30 10:30:27 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +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
morris
1375627461
filter: workaround a hw issue in the glitch filter
...
that the internal glitch counter will overflow at 64 constant level
input, causing a wrong filter result
2023-03-29 13:28:07 +08:00
wuzhenghui
485f2882d1
modem_clock: rename modem_clock_lp_timer to ble_rtc_timer
2023-03-29 13:23:32 +08:00
wuzhenghui
43a9456243
modem_clock: implemented the modem clock hal/ll-layer (include modem syscon and lpcon) for esp32h2
2023-03-29 13:23:27 +08:00
KonstantinKondrashov
975c138fad
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00
Zim Kalinowski
ee842a1386
Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on' into 'master'
...
efuse(virtual mode): Fix load_efuses_from_flash when FE is on
Closes IDFGH-9580
See merge request espressif/esp-idf!22793
2023-03-28 17:32:11 +08:00
Sachin Parekh
e26018d8ee
h2/clk_gate: Clear reset signal of ECDSA peripheral before enabling SHA, RSA or ECC
2023-03-24 10:43:48 +05:30
Sachin Parekh
d345c684ba
esp32h2: Add support for ECDSA peripheral
2023-03-24 10:43:40 +05:30
KonstantinKondrashov
88ef0d8aeb
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-23 16:20:43 +08:00
Wan Lei
896f046ac2
Merge branch 'feature/support_spi_slave_hd_append_later_s2' into 'master'
...
spi_slave: support spi slave hd append mode on chips other than s2
Closes IDF-2943
See merge request espressif/esp-idf!19557
2023-03-23 14:19:32 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
wanlei
66ca403bc6
spi_slave: support spi slave hd append mode on chips other than s2
2023-03-21 11:30:17 +08:00
Armando
eee34bcf70
mspi: fix build failure under assertion disable
2023-03-21 10:14:59 +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
wuzhenghui
bace80016d
bugfix: fix misspell
2023-03-17 19:45:56 +08:00
laokaiyao
53584bb5a7
ana_cmpr: add programming guide
2023-03-17 14:35:55 +08:00
laokaiyao
24361f232d
ana_cmpr: add an example and test cases
2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8
ana_cmpr: designed driver layer
2023-03-17 11:38:32 +08:00
morris
eb7ccbd174
hal: added analog comparator's LL driver
2023-03-17 11:38:32 +08:00
Gustavo Henrique Nihei
866c5cefa4
hal: Fix missing definition for "bool" type
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Jiang Jiang Jian
745c06626d
Merge branch 'h2/support-ecc' into 'master'
...
esp32h2: Add support for ECC hardware accelerator
See merge request espressif/esp-idf!22274
2023-03-15 14:06:23 +08:00
Armando
bae6680207
mmu: hal function to init, and hal function to unmap all
2023-03-15 10:59:20 +08:00
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Sachin Parekh
0342bb8eab
esp32c6/ecc: Remove inverse multiplication mode
...
On C6, inverse multiplication mode is reserved and not available
2023-03-13 16:39:46 +05:30
Sachin Parekh
bbc99e5532
esp32c2/ecc: Remove support for inverse multiplication
...
On C2, inverse multiplication (division) mode uses the modular base P
instead of N making it impractical for ECC crypto calculation
2023-03-13 16:39:46 +05:30
Sachin Parekh
413fa38a45
hal/test_apps: Add no-os ecc test app
2023-03-13 16:39:46 +05:30
Sachin Parekh
a485b1cb67
esp32h2: Add support for ECC hardware accelerator
2023-03-13 16:39:46 +05:30
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
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
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Cao Sen Miao
bc655a6890
spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2
2023-03-10 11:39:53 +08:00
Armando
36532aaea8
mspi: make mspi_timing_tuning.h available for all supported targets
2023-03-09 10:38:32 +00:00
Armando
99882ac2d1
mspi: mspi timing tuning ll
2023-03-09 10:38:32 +00:00
Wu Zheng Hui
31acd5d509
Merge branch 'bugfix/fix_ssc_crash_when_light_sleep_with_main_xtal_power_on' into 'master'
...
ssc/uart: disable UART_INTR_BRK_DET interrupt to avoid ssc crash when light sleep
See merge request espressif/esp-idf!21252
2023-03-09 14:53:06 +08:00
jingli
238f31d93b
uart: add low level func for uart to set err wr mask
2023-03-09 10:28:33 +08:00
Jiang Jiang Jian
7dd7498212
Merge branch 'bugfix/add_mmu_pwr_ctrl_reg_to_retention_link' into 'master'
...
bugfix: esp32c6 light sleep minor fixes
Closes WIFI-5353
See merge request espressif/esp-idf!22619
2023-03-08 14:44:51 +08:00
Li Shuai
ffcec33057
modem clock: enable all clock enable of wifi module when PMU switch to ACTIVE from sleep state
2023-03-07 16:19:39 +08:00
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
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
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
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
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
wuzhenghui
d3ec7880fe
bugfix: support GPIO current leakage workaround for esp32c6/esp32h2
2023-03-02 15:06:05 +08:00
wuzhenghui
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
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00