Jiang Jiang Jian
3cd0cd967e
Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v4.3' into 'release/v4.3'
...
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v4.3)
See merge request espressif/esp-idf!27518
2023-12-04 17:35:46 +08:00
wuzhenghui
4c58af8eae
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-30 15:57:16 +08:00
Cao Sen Miao
3f6515232e
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-11-28 17:08:57 +08:00
Ondrej
f104be7b93
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2023-11-23 12:32:40 +01:00
Jiang Jiang Jian
ca6473991f
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v4.3' into 'release/v4.3'
...
Bugfix/fix deinit init wifi scan fail issue v4.3(Backport v4.3)
See merge request espressif/esp-idf!27048
2023-11-14 15:25:28 +08:00
Jiang Jiang Jian
5af1c9e37a
Merge branch 'bugfix/spi_master_fifo_use_dma_v4.3' into 'release/v4.3'
...
fix(spi): fixed undesired touching to DMA (v4.3)
See merge request espressif/esp-idf!26773
2023-11-14 15:22:30 +08:00
muhaidong
481a064d6b
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 14:44:23 +08:00
Armando
40d021e39d
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:14:25 +08:00
Xiao Xufeng
5a5839bedb
fix(spi): fixed undesired touching to DMA
...
Closes https://github.com/espressif/esp-idf/issues/12241
2023-10-31 15:54:42 +08:00
Song Ruo Jing
8cb8c640f4
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-08-08 02:40:46 +00:00
Song Ruo Jing
6a80e30839
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-07-24 11:18:38 +00:00
Omar Chebib
b2c50986ee
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-04 04:16:12 +00:00
Michael (XIAO Xufeng)
6b323359ce
Merge branch 'feature/apply_new_version_logic_v4.3' into 'release/v4.3'
...
all: Apply new version logic (major * 100 + minor) (v4.3)
See merge request espressif/esp-idf!22482
2023-03-07 11:25:42 +08:00
Jiang Jiang Jian
d8a21db37a
Merge branch 'bugfix/twai_listen_only_errata_v4.3' into 'release/v4.3'
...
twai: Add errata workaround for listen only mode (v4.3)
See merge request espressif/esp-idf!22516
2023-03-03 14:03:26 +08:00
KonstantinKondrashov
e88f235326
all: Apply new version logic (major * 100 + minor)
2023-03-02 03:21:34 +00:00
Jiang Jiang Jian
043958e39f
Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v4.3' into 'release/v4.3'
...
sleep: fix gpio wakeup related issues(backport v4.3)
See merge request espressif/esp-idf!22334
2023-02-26 15:51:29 +08:00
Darian Leung
1f6d7fa334
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 20:40:33 +08:00
jingli
f556ac1b92
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-13 19:54:11 +08:00
Michael (XIAO Xufeng)
3e269ffc0d
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.
2023-02-11 08:06:49 +00:00
Michael (XIAO Xufeng)
611339564d
esp32s3: fixed bug chip v0.0 detected as vX.0
...
A typical value is 2.0.
2023-02-11 08:06:49 +00:00
KonstantinKondrashov
3dcdcc08eb
efuse: Adds major and minor versions and others
2023-02-11 08:06:49 +00:00
morris
0319c702cf
Merge branch 'feature/_spi_slave_reset_trans_queue_api_v4.3' into 'release/v4.3'
...
spi: limit esp32 dma workaround only on esp32(v4.3)
See merge request espressif/esp-idf!21384
2022-12-14 17:43:27 +08:00
Cao Sen Miao
aac5297f8a
I2C: put some interrupt used functions into IRAM
2022-12-05 18:05:28 +08:00
Armando
9061efd3d1
spi: limit esp32 dma workaround only on esp32
2022-12-01 21:00:35 +08:00
jingli
b6896055a2
hal/gpio_ll: fix digital gpio can not enable hold during deep sleep when force_unhold set(32/s2/s3)
2022-11-18 03:00:01 +00:00
jingli
58e9ce6fe3
hal/gpio_ll: fix digital gpio can not disable hold during deep sleep
2022-11-18 03:00:01 +00:00
jingli
24eea75f9c
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-18 03:00:01 +00:00
liuning
dbe59eff86
esp_wifi: add protection for mac reset (backport 4.3)
2022-11-08 14:04:52 +08:00
Cao Sen Miao
32dca66fb6
I2C: Make I2C clock frequency accurate
2022-11-01 15:48:26 +08:00
wuzhenghui
4934d700c9
bugfix: esprv_intc_int_set_type should not use bitmap parameter
2022-10-14 15:27:19 +08:00
Michael (XIAO Xufeng)
02c45b6e52
Merge branch 'bugfix/spi_hd_quad_issue_4.3' into 'release/v4.3'
...
SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h(backport v4.3)
See merge request espressif/esp-idf!19836
2022-09-21 12:10:23 +08:00
gaoxu
8095142796
SPI: change the different soc's spi defintion location and fix the bug that wrong dummy cycle under quad spi mode
2022-09-15 16:03:54 +08:00
Ivan Grokhotkov
c38eeeeda1
hal: fix CONFIG_TWAI_ISR_IN_IRAM not taking effect for C3/H2
2022-09-11 01:17:20 +08:00
Zim Kalinowski
662b6c9ad3
Merge branch 'bugfix/i2c_incorrect_speed_v4.3' into 'release/v4.3'
...
I2C: Fix SCL period timings on ESP targets (backport v4.3)
See merge request espressif/esp-idf!18272
2022-08-20 03:51:44 +08:00
Omar Chebib
9faeca3d1c
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-08-18 02:45:36 +00:00
Chen Yi Qun
b6bbb5e0a2
I2C: add conf_update for esp32c3 i2c
2022-08-18 02:37:43 +00:00
Cao Sen Miao
19205b0696
I2C: Fix i2c write fake timeout and WDT triggered
2022-08-18 02:37:43 +00:00
Darian Leung
22d052fe7a
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-07-24 16:34:24 +08:00
wangmengyang
580b57c8b1
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3
...
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-13 17:35:22 +08:00
morris
a1c4397ce2
Merge branch 'bugfix/cpu_cycle_count_not_iram_v4.3' into 'release/v4.3'
...
HAL: place cpu_ll_get_cycle_count in IRAM (v4.3)
See merge request espressif/esp-idf!18294
2022-06-22 11:42:27 +08:00
wangmengyang
9e96538a86
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2022-06-13 15:56:44 +08:00
Marius Vikhammer
537f802260
HAL: place cpu_ll_get_cycle_count in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/9008
2022-05-28 14:31:33 +08:00
jingli
da08dab9e5
remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3
2022-05-19 23:58:29 +08:00
jingli
8309e3e5ce
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:54:29 +08:00
Alexey Gerenkov
440c4a28d7
hal/esp32c3: Avoid entering WFI mode under debugger
2022-05-13 08:45:31 +00:00
Alexey Gerenkov
dfd3a9c3bc
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-04-22 13:17:54 +03:00
morris
a818e9ca91
Merge branch 'bugfix/fix_adc_digital_not_reset_issue_v4.3' into 'release/v4.3'
...
adc: fix adc digital not reset issue (v4.3)
See merge request espressif/esp-idf!17427
2022-04-22 12:43:44 +08:00
Jiang Jiang Jian
1ad55d707b
Merge branch 'origin/bugfix/i2c_iram_placement_fix_v4.3' into 'release/v4.3'
...
i2c: Correct hal functions iram placement and remove IRAM_ATTR for i2c_hw_fsm_reset (backport v4.3)
See merge request espressif/esp-idf!17805
2022-04-22 11:08:17 +08:00
Armando
f8c098658c
adc: fix adc digital not reset issue
2022-04-21 19:29:15 +08:00
Michael (XIAO Xufeng)
1ffc02dfaf
Merge branch 'feature/esp32c3_usbjtag_console_blocking_v4.3' into 'release/v4.3'
...
usb_serial_jtag: Add blocking driver to support vfs (backport v4.3).
See merge request espressif/esp-idf!17330
2022-04-20 16:30:12 +08:00