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
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 874a720286
Closes https://github.com/espressif/esp-idf/issues/7594
(cherry picked from commit 7ec38fcc42
)
2021-11-11 12:43:09 +08:00
Zim Kalinowski
a7c9949dd9
Fixed build problem when icluding gpio_ll.h from cpp file
2021-10-17 14:29:31 +08:00
SalimTerryLi
d9f4ae02f1
mcpwm: rename keyword 'operator' which is not valid in cpp
...
Closes https://github.com/espressif/esp-idf/issues/7542
2021-09-10 12:41:42 +08:00
laokaiyao
c5afd7ce34
i2s: fix write failure on ESP32 in 32bit slave mode
2021-09-03 17:36:44 +08:00
laokaiyao
8d18a9c614
emac: optimise iperf performane
2021-09-01 19:11:28 +08:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
...
update all struct headers to be more "standardized":
- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199
added helper macros to force peripheral registers being accessed in 32 bitwidth
added a check script into ci
2021-08-30 13:50:58 +08:00
Marius Vikhammer
2206c5315e
Merge branch 'bugfix/aes_unaligned_access' into 'master'
...
aes: fix unaligned access
Closes IDFGH-5506
See merge request espressif/esp-idf!14659
2021-08-27 01:33:44 +00:00
morris
2deeba9d1a
Merge branch 'feature/mcpwm-IRAM_ISR-kconfig' into 'master'
...
mcpwm: ISR can be placed to IRAM by menuconfig
Closes IDFGH-5732
See merge request espressif/esp-idf!14947
2021-08-26 10:08:16 +00:00
SalimTerryLi
e67bcda6d1
mcpwm: ISR can be placed to IRAM by menuconfig
...
resolves https://github.com/espressif/esp-idf/issues/7449
2021-08-26 15:58:46 +08:00
Marius Vikhammer
3907634d20
aes: fix potential unaligned access of buffers
...
https://github.com/espressif/esp-idf/issues/7236
2021-08-25 10:48:26 +08:00
morris
3bfd8f5d5f
mcpwm: update register file according to TRM
2021-08-24 15:38:46 +08:00
morris
bb87fd8f08
Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
...
pcnt: soc update and hal refactor
See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
morris
71d475149d
lcd: update doc unit test and example to support 8-line spi
2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041
spi_master:support octal mode for esp32s2 and esp32s3
...
Add support for 8-line spi for lcd on esp32s2 and esp32s3
Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
morris
1656cee69d
i2s: correct soc info
...
1. remove non-exist I2S instance
2. update soc_caps.h, i2s_ll.h
2021-08-10 21:06:59 +08:00