morris
a43e796f60
rmt: force inline LL functions
...
Closes https://github.com/espressif/esp-idf/issues/9487
2023-02-14 15:11:35 +08:00
morris
969569dec0
Merge branch 'bugfix/i2s_update_regs_before_start_v4.4' into 'release/v4.4'
...
i2s: fixed rx update stuck bug (v4.4)
See merge request espressif/esp-idf!21777
2023-02-02 21:40:37 +08:00
morris
46b66530ce
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:10:26 +08:00
Jiang Jiang Jian
d4080633f9
Merge branch 'feature/efuse_rev_major_minor_v4.4' into 'release/v4.4'
...
efuse: Adds major and minor versions (v4.4)
See merge request espressif/esp-idf!19541
2023-01-12 16:24:59 +08:00
laokaiyao
85392e3ec9
i2s: fixed rx update stuck bug
2022-12-23 10:53:03 +08:00
Michael (XIAO Xufeng)
800d11c48f
Merge branch 'contrib/github_pr_10106_v4.4' into 'release/v4.4'
...
hal/uart_ll.h: Fix compile with C++ (GitHub PR) (v4.4)
See merge request espressif/esp-idf!21455
2022-12-22 17:01:14 +08:00
Michael (XIAO Xufeng)
a5964c442f
esp32s3: fixed bug chip v0.0 detected as vX.Y
...
A typical value is 2.8.
Previous commit 32ef2b321a
doesn't fix the issue cleanly. The MSB of wafer_minor also has this problem.
2022-12-20 21:14:36 +08:00
Michael (XIAO Xufeng)
9e87d53fed
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2022-12-20 16:30:13 +08:00
KonstantinKondrashov
26960f1734
efuse: Adds major and minor versions and others
2022-12-20 16:30:13 +08:00
Omar Chebib
622fb9e906
CI: check_public_headers script will detect the use of static asserts in headers
...
When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue.
Indeed, public headers shall now use ESP_STATIC_ASSERT.
2022-12-06 19:28:51 +08:00
Simon Arlott
731486ad33
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-12-06 10:18:32 +08:00
Omar Chebib
049d21bb12
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-05 18:16:08 +08:00
Cao Sen Miao
9a6a28734b
I2C: put some interrupt used functions into IRAM,
...
closes https://github.com/espressif/esp-idf/issues/10079
2022-12-01 16:20:56 +08:00
Jiang Jiang Jian
86d29d566b
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v4.4' into 'release/v4.4'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v4.4)
See merge request espressif/esp-idf!20945
2022-11-11 16:33:43 +08:00
morris
7a82764c49
Merge branch 'bugfix/rtc_function_needs_disable_usj_pads_esp32s3_v4.4' into 'release/v4.4'
...
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3 (backport v4.4)
See merge request espressif/esp-idf!20551
2022-11-10 10:03:46 +08:00
Jiang Jiang Jian
770b787072
Merge branch 'bugfix/add_protection_for_mac_rst_v4.4' into 'release/v4.4'
...
esp_wifi: add protection for mac reset (backport 4.4)
See merge request espressif/esp-idf!20970
2022-11-09 17:58:48 +08:00
liuning
25abb74284
esp_wifi: add protection for mac reset (backport 4.4)
2022-11-08 11:01:51 +08:00
jingli
6e7c8f18b9
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-11-05 17:51:13 +08:00
jingli
87ad0e8c97
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-11-05 17:51:13 +08:00
jingli
4b71ebbe49
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-05 17:51:08 +08:00
Song Ruo Jing
5f5ce49ff6
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3
...
Similar to the fix in gpio lower layers, USB Serial JTAG pad should be disabled when the DM and DP pins want to be used as rtcio pins.
(cherry picked from commit de0401047c
)
2022-10-12 12:00:05 +08:00
morris
741d35d528
rgb_lcd: added yuv converter LL driver
2022-09-27 13:42:56 +08:00
morris
3a6831b1b4
rgb_lcd: support fractional clock divisor
2022-09-27 10:27:36 +08:00
Michael (XIAO Xufeng)
0f630acf43
Merge branch 'bugfix/spi_hd_quad_issue_4.4' into 'release/v4.4'
...
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.4)
See merge request espressif/esp-idf!19816
2022-09-21 12:06:40 +08:00
songruojing
4bee8a84e2
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-09-20 15:23:01 +08:00
gaoxu
ce1e8350b4
SPI: Fixed Quad SPI wrong dummy cycle issue on ESP32C3/ESP32S3 and put get-command/dummy-bits functions in spi_ll.h
2022-09-07 18:55:38 +08:00
Cao Sen Miao
22b222b762
I2C: Make I2C clock frequency accurate
2022-08-29 09:07:30 +00:00
laokaiyao
53a5d51aea
i2s: fix PDM TX stereo mode for c3 and s3
2022-08-09 18:28:09 +08:00
laokaiyao
76cdab5f42
i2s: fixed pdm rx sample rate doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/8660
2022-08-09 18:28:09 +08:00
Cao Sen Miao
8538153616
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-13 17:20:38 +08:00
wangmengyang
4d5aa82cea
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and MAC bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-11 11:06:11 +08:00
Jiang Jiang Jian
b9e018aa53
Merge branch 'bugfix/ledc_auto_clk_refactor_v4.4' into 'release/v4.4'
...
LEDC: improved support for ESP32-C3 and refactored divisor calculation (v4.4)
See merge request espressif/esp-idf!17101
2022-07-01 10:52:00 +08:00
Marius Vikhammer
e595ae88d4
HAL: place cpu_ll_get_cycle_count in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/9008
2022-06-07 06:30:46 +00:00
morris
5addf329d8
Merge branch 'bugfix/i2c_incorrect_speed_v4.4' into 'release/v4.4'
...
I2C: Fix SCL period timings on ESP targets (backport v4.4)
See merge request espressif/esp-idf!18271
2022-06-06 12:32:32 +08:00
morris
c0dcebc41c
Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup_v4.4' into 'release/v4.4'
...
example/deep_sleep: add example of EXT0 and using internal pullups (v4.4)
See merge request espressif/esp-idf!18119
2022-06-01 19:56:17 +08:00
Omar Chebib
8ac3d392a2
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3 and ESP32H2
2022-05-27 11:17:40 +08:00
Jiang Jiang Jian
7e20435a54
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup_backport_v4.4' into 'release/v4.4'
...
sleep: fix cannot lightsleep again after a wakeup from ULP(backport v4.4)
See merge request espressif/esp-idf!18180
2022-05-25 16:52:36 +08:00
Gustavo Henrique Nihei
7a9daa3cd3
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-24 08:51:16 -03:00
jingli
bef5b2ac6e
remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3
2022-05-19 23:27:32 +08:00
jingli
25c49588f9
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-19 23:13:42 +08:00
Michael (XIAO Xufeng)
4efab0d0ff
soc/esp32s3: merge gpio caps into soc_caps.h
2022-05-16 22:01:11 +08:00
rrforte
862ccae396
spi_lcd: support large color transfer
2022-04-19 13:01:13 +00:00
morris
ab3d75ab75
rgb_lcd: workaround auto-next frame bug
...
Closes https://github.com/espressif/esp-idf/issues/8620
2022-04-19 13:01:13 +00:00
Marius Vikhammer
c9ce438466
Merge branch 'bugfix/inline_intrmask_from_isr_v4.4' into 'release/v4.4'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR (v4.4)
See merge request espressif/esp-idf!17325
2022-03-09 09:38:36 +08:00
Armando
e1515beb26
adc: fix adc digital not reset issue
2022-03-07 11:40:18 +08:00
Marius Vikhammer
1690785432
spi flash: fix cache accessed while disabled issues at -O0
...
mask_get_id and gpio_hal_iomux_func_sel were called while cache
is disabled, but were not inlined as expected at -0O.
Force these functions to always be inlined.
2022-03-03 09:45:22 +08:00
songruojing
2ef6b8845b
uart: fixed reset logic on ESP32-S3
2022-03-02 02:42:46 +08:00
songruojing
41e452e7d8
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Closes https://github.com/espressif/esp-idf/issues/7885
(cherry picked from commit 91f1159f9c
)
2022-02-16 14:50:51 +08:00
Omar Chebib
9e000d4177
LEDC: divisor calculation will now be rounded up when necessary
...
Closes https://github.com/espressif/esp-idf/issues/7722
2022-02-10 16:56:07 +08:00
Omar Chebib
63afc84de5
LEDC: improved support for ESP32-C3 and refactored divisor calculation
...
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2022-02-10 16:54:00 +08:00