Michael (XIAO Xufeng)
cdec9f3659
Merge branch 'bugfix/fix_touch_sensor_power_source_v4.3' into 'release/v4.3'
...
touch_sensor: fix esp32s2&esp32s3 touch sensor default power source (Backport v4.3)
See merge request espressif/esp-idf!13484
2021-05-13 03:06:01 +00:00
Marius Vikhammer
38aa99d63d
soc: merge C3 caps into a single soc_caps.h
2021-05-11 15:20:54 +08:00
Kang Zuoling
d651e4e073
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-08 13:54:59 +08:00
Michael (XIAO Xufeng)
9da031e0c3
Merge branch 'bugfix/twai_caps_naming_and_tidy_up_v4.3' into 'release/v4.3'
...
Fix TWAI caps (backport v4.3)
See merge request espressif/esp-idf!13304
2021-04-28 17:47:35 +00:00
Michael (XIAO Xufeng)
64de7ee38c
Merge branch 'feature/spi_slave_hd_segment_example_v4.3' into 'release/v4.3'
...
spi_slave_hd: add an spi slave hd segment example (4.3)
See merge request espressif/esp-idf!13312
2021-04-28 17:39:25 +00:00
Michael (XIAO Xufeng)
52d9d466fb
Merge branch 'ci/enable_i2c_test_v4.3' into 'release/v4.3'
...
I2C: enable all unit test for i2c on esp32c3 (backport 4.3)
See merge request espressif/esp-idf!13061
2021-04-28 15:00:20 +00:00
Armando
20993109e8
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-28 08:20:55 +00:00
Cao Sen Miao
ba1ce2ebd0
I2C: enable all unit test for i2c on esp32c3
2021-04-27 17:13:47 +08:00
Darian Leung
07291fdd27
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW errats on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2021-04-26 19:35:13 +08:00
Darian Leung
b8e31efcac
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-26 19:34:30 +08:00
Michael (XIAO Xufeng)
693aaef039
Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3_v4.3' into 'release/v4.3'
...
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3 (backport v4.3)
See merge request espressif/esp-idf!13112
2021-04-13 07:40:00 +00:00
Michael (XIAO Xufeng)
9a7deae742
Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep_backport_v4.3' into 'release/v4.3'
...
bugfix: reduce the consumption of touch sensor during deep sleep (backport v4.3)
See merge request espressif/esp-idf!12869
2021-04-13 04:16:01 +00:00
Omar Chebib
84dc42c4b0
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
...
When `DIS_USB_JTAG` eFuse is NOT burned (`False`), it is not possible
to set pins 18 and 19 as GPIOs. This commit solves this by manually
disabling USB JTAG when using pins 18 or 19.
The functions shall use `gpio_hal_iomux_func_sel` instead of
`PIN_FUNC_SELELECT`.
2021-04-12 17:45:06 +08:00
fuzhibo
e310fb1393
fix: reduce the consumption of touch sensor during deep sleep
2021-04-12 12:24:53 +08:00
Martin Vychodil
6dfff2fdbd
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 10:21:58 +10:00
Michael (XIAO Xufeng)
e36e433519
Merge branch 'bugfix/fix_uart_handler_call_inline_func_v43' into 'release/v4.3'
...
Bugfix/fix uart handler call inline func (backport v4.3)
See merge request espressif/esp-idf!13003
2021-04-08 09:38:51 +00:00
Armando
670b057b04
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 15:30:28 +08:00
aleks
d761226f36
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle
2021-04-01 09:56:56 +02:00
Michael (XIAO Xufeng)
b75a5fd03a
Merge branch 'bugfix/adc_power_issue_4.3' into 'release/v4.3'
...
adc: fix adc power issue (v4.3)
See merge request espressif/esp-idf!12921
2021-03-30 17:15:09 +00:00
Armando
f48346f22f
adc: apply adc power API to adc driver
2021-03-26 17:41:20 +08:00
Jiang Jiang Jian
2d26c24e3a
Merge branch 'bugfix/clear_interrupt_in_touch_sensor_initialization_backport_v4.3' into 'release/v4.3'
...
fix: clear interrupt in touch sensor initialization (backport v4.3)
See merge request espressif/esp-idf!12758
2021-03-26 05:55:18 +00:00
Armando
8fe99aff96
adc: add implementation of missed public API
...
Added ``adc1_pad_get_io_num``, ``adc2_pad_get_io_num`` and
``adc_vref_to_gpio``.
2021-03-26 13:26:19 +08:00
Armando
1509264f2e
adc: add pm_lock to adc driver on esp32c3
2021-03-26 13:26:19 +08:00
Armando
f1be501271
adc: refactor adc single read api on esp32c3
2021-03-26 13:26:19 +08:00
Armando
ea20966c29
adc: seperate hal layer and driver layer
2021-03-26 13:26:18 +08:00
Armando
f25c996b06
adc: remove unused functions on esp32c3
2021-03-26 13:26:18 +08:00
jiangguangming
a643ea9432
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM
2021-03-19 16:37:34 +08:00
fuzhibo
918875424e
fix: clear interrupt in touch sensor initialization
2021-03-16 11:37:41 +08:00
Michael (XIAO Xufeng)
1329747dc1
Merge branch 'bugfix/flash_s3_v4.3' into 'release/v4.3'
...
spi_flash: remove useless dummy and make rom compatible on esp32s3(backport v4.3)
See merge request espressif/esp-idf!12704
2021-03-11 13:38:52 +00:00
Cao Sen Miao
268787c5fb
spi_flash: remove useless dummy and make rom compatible on esp32s3
2021-03-11 14:31:27 +08:00
Michael (XIAO Xufeng)
7dca6b7428
uart: fixed incorrect baudrate on C3 and S3 when target is too slow
...
The integer part of the divider is only 12-bit now. We used prescaler to get low frequency instead.
2021-03-10 13:41:10 +08:00
Michael (XIAO Xufeng)
8ceb462993
Merge branch 'feature/enable_gpio19_esp32c3_v4.3' into 'release/v4.3'
...
gpio: enable GPIO19 on ESP32C3 boards (backport v4.3)
See merge request espressif/esp-idf!12542
2021-02-27 05:25:42 +00:00
Michael (XIAO Xufeng)
6accffecea
Merge branch 'bugfix/fix_spi_slv_hd_dma_reset_issue_4.3' into 'release/v4.3'
...
spi_slave_hd: fix spi slv hd dma reset issue (4.3)
See merge request espressif/esp-idf!12513
2021-02-27 04:12:42 +00:00
Omar Chebib
5795075460
gpio: enable GPIO19 on ESP32C3 boards
2021-02-26 17:54:36 +08:00
Cao Sen Miao
198d350fe5
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 17:08:22 +08:00
Armando
3e9cd49d32
spi_slv_hd: add hal_trans_finish comments for clarifying risk
2021-02-26 10:39:12 +08:00
Armando
2c1845995b
spi_slave_hd: refactor the hal append api to remove the spinlock
2021-02-26 10:39:10 +08:00
Armando
41bee7831f
adc: apply gdma api to adc on esp32c3
2021-02-25 18:53:32 +08:00
Armando
66d10f0eec
spi: refactor spi_common dma allocator
2021-02-25 11:01:33 +08:00
Armando
ffc4ff5a8c
spi: apply gdma allocator to SPI
2021-02-25 11:01:16 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Michael (XIAO Xufeng)
423a5458dc
Merge branch 'bugfix/support_new_BYflash_chip_boot' into 'master'
...
spi_flash: add external flash support on esp32c3
Closes IDF-2650, IDF-2651, and IDF-2399
See merge request espressif/esp-idf!12121
2021-02-05 20:03:24 +08:00
Michael (XIAO Xufeng)
822a40a6cf
Merge branch 'fix/adc_xpd_calibration' into 'master'
...
adc: fixed the issue that ADC power is left on after the calibration is done
See merge request espressif/esp-idf!12207
2021-02-05 16:28:53 +08:00
Michael (XIAO Xufeng)
351ba5ff9e
adc: fixed the issue that ADC power is left on after the calibration is done
...
Also refactor the locks in the adc_common.c file.
2021-02-05 14:17:52 +08:00
Michael (XIAO Xufeng)
52a76867d1
Merge branch 'bugfix/spi_lose_last_3_bytes' into 'master'
...
spi_master: fix an issue where master cannot correctly receive data when using DMA in halfduplex mode.
Closes IDFGH-612
See merge request espressif/esp-idf!11354
2021-02-04 18:35:48 +08:00
Cao Sen Miao
e38326d715
spi_flash: fix the issue that ext flash hold is not controlled properly
2021-02-04 14:44:51 +08:00
Angus Gratton
6252446b7d
Merge branch 'bugfix/s3_dma_enable_crypto' into 'master'
...
sha: dont enable/disable GDMA when enable/disable SHA module
See merge request espressif/esp-idf!12247
2021-02-04 11:30:10 +08:00
morris
e361498a2a
intr_alloc: re-enable unit test
2021-02-02 20:25:50 +08:00
Marius Vikhammer
245a2469f6
sha: dont enable/disable GDMA when enable/disable SHA module
...
Enabling and disabling of the GDMA module is done by the GDMA driver.
2021-02-02 19:24:57 +08:00
Marius Vikhammer
548fd02d10
docs: initial update of programming guide for C3
...
Updates "front page" content, get-started, and api-guides with C3 content
Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00