Commit Graph

396 Commits

Author SHA1 Message Date
wanlei
1283619767 cache: refactor cache_utils into cache_hal instade 2023-07-31 15:34:56 +08: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
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
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
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
morris
829cf5aaf6 Merge branch 'bugfix/check_filter_range_v5.0' into 'release/v5.0'
rmt: check filter and idle threashold (v5.0)

See merge request espressif/esp-idf!23605
2023-05-14 14:12:47 +08:00
KonstantinKondrashov
bd4802104b hal: Explicit setting of efuse time settings
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:48:05 +08:00
KonstantinKondrashov
861a5fb863 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-05-11 05:55:32 +00:00
morris
9716101e7d rmt: check filter and idle threashold
Closes https://github.com/espressif/esp-idf/issues/11262
2023-05-11 02:29:26 +00:00
Omar Chebib
ed70f1c66b 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-06 08:05:32 +00:00
jiangguangming
f6aafd3539 hal: add rtc_cntl LL function for wake stub 2023-05-04 16:46:15 +08:00
Armando
85980884d7 adc: improve adc power logic 2023-04-20 10:34:37 +08:00
Michael (XIAO Xufeng)
8f202f0ea5 Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'
uart: Fix TX side concurrency issues (v5.0)

See merge request espressif/esp-idf!22595
2023-03-23 15:29:33 +08:00
laokaiyao
ec55f7fe6e i2s_pdm: fix tx frequency limitation
Closes: https://github.com/espressif/esp-idf/issues/10420
2023-03-20 19:22:40 +08:00
Song Ruo Jing
27f9ee66d5 gpio: Fix IO hold function related problems
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API

docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2023-03-17 14:44:29 +08:00
Laukik Hase
a2dd95434f memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
Song Ruo Jing
f177b2c6c6 uart: Fix two TX concurrency issues
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-03-03 19:18:08 +08:00
Simon Arlott
9d34501ad1 hal/uart_ll.h: Fix compile issue with C++
Merges https://github.com/espressif/esp-idf/pull/10640
2023-03-03 16:50:26 +08:00
morris
f603aa7d76 Merge branch 'bugfix/i2s_update_regs_before_start_v5.0' into 'release/v5.0'
i2s: fixed rx update stuck bug (v5.0)

See merge request espressif/esp-idf!21776
2023-02-18 15:07:05 +08:00
morris
6b8d4dfe14 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:06:48 +08:00
Jiang Jiang Jian
96db537020 Merge branch 'feature/apply_new_version_logic_v5.0' into 'release/v5.0'
all: Apply new version logic (major * 100 + minor) (v5.0)

See merge request espressif/esp-idf!20941
2023-01-12 16:18:23 +08:00
KonstantinKondrashov
823024c10c all: Apply new version logic (major * 100 + minor) 2023-01-06 02:00:52 +08:00
laokaiyao
d93b7246b0 i2s: fixed rx update stuck bug 2022-12-23 10:45:51 +08:00
Omar Chebib
0714847552 C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
Closes https://github.com/espressif/esp-idf/issues/9938
2022-12-19 15:06:15 +01:00
Simon Arlott
5ba75187b0 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:13:03 +08:00
Jiang Jiang Jian
77333d2d64 Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v5.0' into 'release/v5.0'
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v5.0)

See merge request espressif/esp-idf!20806
2022-12-05 14:00:59 +08:00
jingli
99c8c0c645 hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3) 2022-12-02 12:24:52 +00:00
jingli
4223427127 hal/gpio_ll: fix digital gpio can not disable hold during deep sleep 2022-12-02 12:24:52 +00:00
jingli
21c9ec5eee esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep 2022-12-02 12:24:52 +00:00
Cao Sen Miao
1bd4c6a8cf I2C: put some interrupt used functions into IRAM,
closes https://github.com/espressif/esp-idf/issues/10079
2022-12-02 15:13:51 +08:00
Ivan Grokhotkov
7f5ecbe533 Merge branch 'bugfix/wafer_version_minor_s3_v5.0' into 'release/v5.0'
esp32s3: fixed bug chip v0.0 detected as vX.8 (v5.0)

See merge request espressif/esp-idf!21351
2022-12-01 20:37:52 +08:00
Sachin Parekh
af773c047a
esp32s3/memprot: Fix DRAM fault address calculation 2022-12-01 09:19:08 +05:30
Sachin Parekh
c83eb9dfc4
esp32s3/memprot: Fix SRAM region high addresses 2022-12-01 09:19:08 +05:30
Sachin Parekh
634c2c8bf1
esp32s3/memprot: Set permission for Icache region 2022-12-01 09:19:07 +05:30
Michael (XIAO Xufeng)
277e4d5471 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-01 01:56:53 +08:00
Michael (XIAO Xufeng)
5b0448eaed esp32s3: fixed bug chip v0.0 detected as vX.0
A typical value is 2.0.
2022-11-09 18:21:43 +08:00
liuning
eb61f5835a esp_wifi: add protection for mac reset (backport 5.0) 2022-10-31 17:55:03 +08:00
morris
20949d444f Merge branch 'bugfix/rtc_function_needs_disable_usj_pads_esp32s3_v5.0' into 'release/v5.0'
rtcio: Disable USB Serial JTAG pad when setting pins 19 and 20 as RTC function on ESP32S3 (backport v5.0)

See merge request espressif/esp-idf!20550
2022-10-31 11:57:07 +08:00
Song Ruo Jing
47c0db2830 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 11:50:51 +08:00
morris
5d58c10c3e rgb_lcd: support yuv converter 2022-09-27 14:32:04 +08:00
Jiang Jiang Jian
fdb2550da0 Merge branch 'bugfix/spi_hd_quad_issue_5.0' into 'release/v5.0'
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v5.0)

See merge request espressif/esp-idf!19799
2022-09-14 13:49:42 +08:00
gaoxu
1148e4e77f SPI: Fixed Quad SPI wrong dummy cycle issue on ESP32C2/ESP32C3/ESP32S3 and put get-command/dummy-bits functions in spi_ll.h 2022-09-07 18:48:05 +08:00