Commit Graph

896 Commits

Author SHA1 Message Date
hongshuqing
64a99ef412 fix: fix s3 bbpll cali fail bug 2024-03-14 15:45:43 +08:00
Michael (XIAO Xufeng)
0ce1c1b494 Merge branch 'feature/add_new_pkg_and_flash_psram_efuses_v5.0' into 'release/v5.0'
feat(efuse): Add flash&psram efuses for S3 (v5.0)

See merge request espressif/esp-idf!29144
2024-03-05 10:47:08 +08:00
KonstantinKondrashov
a66baa1984 feat(efuse): Add flash&psram efuses for S3 2024-02-22 11:40:33 +02:00
morris
8ac48a138e fix(rgb_lcd): relax the check for the data line GPIO
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:37:20 +08:00
morris
b823435d78 Merge branch 'fix/usb_host_soc_caps_backport_v5.0' into 'release/v5.0'
USB host soc caps (backport v5.0)

See merge request espressif/esp-idf!27400
2023-12-22 17:15:50 +08:00
Cao Sen Miao
c7b7f1568d fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug 2023-12-18 14:59:41 +08:00
Darian Leung
ce351790a8 refactor(hal/usb_dwc): Add DWC OTG configuration values
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.

Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-11-24 16:25:02 +01:00
Jiang Jiang Jian
a8caeb9af4 Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.0' into 'release/v5.0'
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.0)

See merge request espressif/esp-idf!27208
2023-11-23 14:46:38 +08:00
morris
3bb601cee7 Merge branch 'feature/mcpwm_trigger_driver_v5.0' into 'release/v5.0'
feature(MCPWM): Add MCPWM trigger driver (v5.0)

See merge request espressif/esp-idf!26788
2023-11-23 14:33:20 +08:00
Jiang Jiang Jian
5f497153f7 Merge branch 'bugfix/rmt_stop_issue_v5.0' into 'release/v5.0'
fix(rmt): a disabled channel may pick up a pending transaction (v5.0)

See merge request espressif/esp-idf!26780
2023-11-23 14:27:25 +08:00
morris
28224b3af5 Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.0' into 'release/v5.0'
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.0)

See merge request espressif/esp-idf!26968
2023-11-23 12:04:24 +08:00
Jiang Jiang Jian
201608e590 Merge branch 'bugfix/fix_adc_oneshot_do_not_spilt_clk_v5.0' into 'release/v5.0'
fix(adc): fix ADC oneshot mod don't divide clk (v5.0)

See merge request espressif/esp-idf!26676
2023-11-23 11:02:10 +08:00
wuzhenghui
ead822e6ee
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-23 10:21:02 +08:00
wuzhenghui
6de1e945c8 fix(esp_pm): fix psram access faild after pd_cpu wakeup 2023-11-22 03:02:06 +00:00
muhaidong
3937e35a08 change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk 2023-11-10 11:43:01 +08:00
Chen Jichang
01c5d8d72e feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.

fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-09 21:52:37 +08:00
morris
6a7e250442 feat(rmt): support calling rmt_receive in ISR callback 2023-11-08 15:03:44 +08:00
Armando
f8500f77b1 fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:12:50 +08:00
Xiao Xufeng
93e973fa21 fix(spi): fixed undesired touching to DMA
Closes https://github.com/espressif/esp-idf/issues/12241
2023-11-02 12:32:40 +08:00
gaoxu
60d9fd9e3a fix(adc): fix adc oneshot mod do not split clk 2023-10-26 11:43:41 +08:00
morris
0187f3b4e3 feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
morris
69b0a57777 Merge branch 'contrib/github_pr_12179_v5.0' into 'release/v5.0'
fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow (backport v5.0)

See merge request espressif/esp-idf!26017
2023-09-19 13:15:17 +08:00
morris
d6df3b7758 Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.0' into 'release/v5.0'
feat(MCPWM): Add mcpwm carrier clk source(v5.0)

See merge request espressif/esp-idf!25523
2023-09-19 10:24:25 +08:00
Song Ruo Jing
6fd9a50c17 fix(uart): Add 8/16-bit register field access workaround to ESP32C2 2023-09-18 16:34:18 +08:00
Eduardo Lacerda Campos
5a1d9da84f fix(uart): Fix uart_ll_set_baudrate div-by-zero crash due to uint32_t overflow
Merges https://github.com/espressif/esp-idf/pull/12179
2023-09-18 16:34:05 +08:00
Planck (Lu Zeyu)
9ab9e05639 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
Chen Jichang
2a88fb9e81 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-24 11:45:28 +08:00
Armando
d2fb10008e fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-08-24 10:50:33 +08:00
morris
a55ab7cb5d Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.0' into 'release/v5.0'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.0)

See merge request espressif/esp-idf!25053
2023-08-08 10:12:42 +08:00
wanlei
1283619767 cache: refactor cache_utils into cache_hal instade 2023-07-31 15:34:56 +08:00
Darian Leung
9935a17b1d usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-07-28 11:34:54 +02:00
morris
8e5718fd0c Merge branch 'bugfix/bod_intr_v5.0' into 'release/v5.0'
brownout: Disable the hardware BOD when BOD interrupt is enabled(backport v5.0)

See merge request espressif/esp-idf!24693
2023-07-28 10:32:19 +08:00
Armando
abd0fca51a fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue 2023-07-12 17:19:00 +08:00
morris
f7b97b53c6 Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.0' into 'release/v5.0'
i2s: fixed i2s_ll compiling failure under C++ environment (v5.0)

See merge request espressif/esp-idf!24402
2023-07-12 10:08:23 +08:00
Cao Sen Miao
e2925cde68 brownout: Disable the hardware BOD when BOD interrupt is enabled 2023-07-11 14:46:30 +08:00
Armando
2bc999db7b spi: added transaction length check to refuse longer than hardware supported length 2023-07-10 07:17:00 +00:00
laokaiyao
a2cf3ae4df i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-27 10:39:43 +08:00
Jiang Jiang Jian
fa17fc83cb Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue_v5.0' into 'release/v5.0'
adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue / pr 11500, use circular dma descriptors in adc continuous mode (v5.0)

See merge request espressif/esp-idf!24189
2023-06-13 20:20:25 +08:00
Jiang Jiang Jian
a591730d29 Merge branch 'bugfix/tempsensor_wifi_conflict_v5.0' into 'release/v5.0'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.0)

See merge request espressif/esp-idf!24066
2023-06-13 10:47:32 +08:00
Armando
9bec4233a4 adc: port gh pr to current adc continuous mode driver
DMA EOF may happens per multiple dma descriptors, instead of only one.

Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-13 10:28:46 +08:00
Niklas Gürtler
82c055bac9 Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-13 10:28:46 +08:00
Armando
ac3f74ecb6 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-06-13 10:28:46 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
morris
839d1a831d drivers: fix issue reported by coverity 2023-06-07 11:43:17 +08:00
Cao Sen Miao
8a66cab04c temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-06-06 01:30:51 +08:00
Jiang Jiang Jian
0872feb2a0 Merge branch 'bugfix/eth_lan8720_ci_v5.0' into 'release/v5.0'
esp_eth: start/stop and L2 test stability improvements (v5.0)

See merge request espressif/esp-idf!22317
2023-06-01 19:54:17 +08:00
Ondrej Kosta
4dc8ce77e4 esp_eth: possible start/stop issue fixed
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-05-29 10:49:31 +00:00
Ondrej Kosta
47a3faa0ff Ethernet driver and documentation clean-up 2023-05-18 14:28:21 +00:00
Zim Kalinowski
d1280d92f5 Merge branch 'feature/efuse_settings_v5.0' into 'release/v5.0'
hal: Explicit setting of efuse time settings (v5.0)

See merge request espressif/esp-idf!23726
2023-05-15 18:48:45 +08:00
Marius Vikhammer
633b4cb38b Merge branch 'bugfix/i2c_timing_wrong_v5.0' into 'release/v5.0'
i2c: fix a bug in sda sample timing (backport v5.0)

See merge request espressif/esp-idf!23226
2023-05-15 10:40:01 +08:00