muhaidong
df801011bd
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 14:05:09 +08:00
Jiang Jiang Jian
2183fbc046
Merge branch 'feature/unicore_bootloader_can_run_multicore_app_v4.4' into 'release/v4.4'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore (v4.4)
See merge request espressif/esp-idf!23029
2023-09-01 10:18:49 +08:00
Armando
8bf4cb3eee
fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue
2023-07-12 17:24:19 +08:00
morris
564e20dd6b
Merge branch 'refactor/improve_adc_power_maintanance_v4.4' into 'release/v4.4'
...
adc: improve power logic (v4.4)
See merge request espressif/esp-idf!23275
2023-06-20 10:52:46 +08:00
David Čermák
b96c98accf
Merge branch 'bugfix/eth_lan8720_ci_v4.4' into 'release/v4.4'
...
esp_eth: start/stop and L2 test stability improvements (v4.4)
See merge request espressif/esp-idf!22322
2023-06-13 16:42:07 +08:00
morris
d9d5327dfa
Merge branch 'bugfix/add_len_check_per_spi_master_transaction_v4.4' into 'release/v4.4'
...
spi master: added transaction length check to refuse longer than hardware supported length (v4.4)
See merge request espressif/esp-idf!23749
2023-06-12 10:47:59 +08:00
Armando
4e67ea0fe3
spi: added transaction length check to refuse longer than hardware supported length
2023-05-19 09:30:06 +00:00
KonstantinKondrashov
1b608a1c07
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 06:07:19 +00:00
KonstantinKondrashov
42a6b47aa8
hal: Adds cache hal
2023-05-11 06:07:19 +00:00
jiangguangming
cafcb219de
hal: add rtc_cntl LL function for wake stub
2023-04-23 14:29:25 +08:00
morris
9516e80f61
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v4.4' into 'release/v4.4'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v4.4)
See merge request espressif/esp-idf!22670
2023-04-21 10:51:05 +08:00
Armando
1b2a254d71
adc: improve power logic
2023-04-20 10:42:12 +08:00
laokaiyao
73ca054b80
i2s: fixed incorrect channel format on ESP32
...
Closes: https://github.com/espressif/esp-idf/issues/9635
2023-04-04 10:00:05 +08:00
Song Ruo Jing
81b59071fd
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
2023-03-29 17:21:50 +08:00
Michael (XIAO Xufeng)
2a052f09f2
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v4.4' into 'release/v4.4'
...
uart: Fix TX side concurrency issues (v4.4)
See merge request espressif/esp-idf!22596
2023-03-23 16:46:49 +08:00
KonstantinKondrashov
a86c80e3ec
all: Apply new version logic (major * 100 + minor)
2023-03-03 22:26:39 +00:00
Song Ruo Jing
093eaae4e5
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 18:01:46 +08:00
morris
a43e796f60
rmt: force inline LL functions
...
Closes https://github.com/espressif/esp-idf/issues/9487
2023-02-14 15:11:35 +08:00
Ondrej Kosta
a0c87d63e3
esp_eth: possible start/stop issue fixed
...
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-02-10 16:23:20 +01: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
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
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
jingli
fbf7261531
wifi/bt: fix part of modem module not reset when power up
2022-11-10 16:00:02 +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
4b71ebbe49
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-05 17:51:08 +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
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
Jan Procházka
bff89fd71b
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-29 10:18:09 +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
Anton Maklakov
279ec3eb35
i2c: fix 'comparision is always true' warning
2022-06-02 13:28:21 +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
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
laokaiyao
cdaa440d98
i2s: fix only right case v4.4
2022-05-07 13:43:01 +00:00
rrforte
862ccae396
spi_lcd: support large color transfer
2022-04-19 13:01:13 +00:00
Ondrej Kosta
d53094bdc0
esp_eth: EMAC start/stop optimization
2022-03-10 10:15:34 +01: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
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
Armando
1ec46ad3b8
adc: support adc dma driver on all chips
2021-12-23 17:13:46 +08:00
Ondrej Kosta
74ba1175b6
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-21 14:04:55 +01:00
morris
23e4c12a86
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-15 10:24:42 +08:00
songruojing
762ca128b4
gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1
...
Introduced in 874a720286b78e866684129ce18a6c948c8fa7fe
Closes https://github.com/espressif/esp-idf/issues/7594
(cherry picked from commit 7ec38fcc42f401903b7232bab05c4cc187056d92)
2021-11-11 12:43:09 +08:00