Marius Vikhammer
874b470379
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-05-11 15:31: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
Michael (XIAO Xufeng)
6c38cc736a
Merge branch 'bugfix/twai_esp32_errata_workarounds_backport_v4.3' into 'release/v4.3'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds (backport v4.3)
See merge request espressif/esp-idf!12984
2021-04-28 08:12:06 +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
00801c8044
TWAI: Simply caps and remove unused caps
2021-04-26 19:34:30 +08:00
Michael (XIAO Xufeng)
6059ef26fb
gpio, rtcio: removed unsupported features on different targets
2021-04-24 15:55:13 +00:00
Armando
3fb1165e4e
adc: add adc programming guide on c3
2021-04-22 06:28:37 +00:00
Li Shuai
16cf160d57
deep sleep: fix sleep gpio wakeup fail issue
2021-04-14 15:40:13 +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
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
Michael (XIAO Xufeng)
76ff1724b3
Merge branch 'feature/remove_hspi_macor_on_chips_later_than_s2_v4.3' into 'release/v4.3'
...
spi: remove hspi macor on chips later than s2 (v4.3)
See merge request espressif/esp-idf!12956
2021-04-08 09:37:07 +00:00
Armando
670b057b04
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 15:30:28 +08:00
Jiang Jiang Jian
1af5bc2f7d
Merge branch 'bugfix/esp32c3_light_sleep_gpio_reset_issue_v4.3' into 'release/v4.3'
...
backport v4.3: add software workaround for esp32c3 gpio reset issue
See merge request espressif/esp-idf!12751
2021-03-31 03:12:09 +00:00
Michael (XIAO Xufeng)
1790aa6bc6
Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue_4.3' into 'release/v4.3'
...
spi: spi slv dual boad test slv fail issue (4.3)
See merge request espressif/esp-idf!12958
2021-03-30 17:16:33 +00: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
62787fc277
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3
2021-03-30 17:11:23 +08:00
Jiang Jiang Jian
2a715c811b
Merge branch 'bugfix/extern_c_decl_4.3' into 'release/v4.3'
...
[cxx]: fixed extern "C" declarations (backport v4.3)
See merge request espressif/esp-idf!12741
2021-03-30 03:09:46 +00:00
Li Shuai
be56456add
light sleep: add software workaround for esp32c3 gpio reset issue
2021-03-29 15:06:23 +08:00
Armando
f48346f22f
adc: apply adc power API to adc driver
2021-03-26 17:41:20 +08:00
Jiang Jiang Jian
7c5e920c37
Merge branch 'feature/temp_v4.3' into 'release/v4.3'
...
temp_sensor: add calibration for esp32c3(backport v4.3)
See merge request espressif/esp-idf!12703
2021-03-26 05:51:47 +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
a6ed4611a2
adc: update lock scope on esp32c3
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
271b84f5b6
adc: update adc header files on c3
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
Jiang Jiang Jian
5d0ce8b52f
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.3' into 'release/v4.3'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled. (v4.3)
See merge request espressif/esp-idf!12495
2021-03-22 12:52:37 +00:00
William Ferguson
a71d9cc466
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
Closes https://github.com/espressif/esp-idf/issues/6633
2021-03-15 17:48:23 +08:00
Cao Sen Miao
d92ac450a2
temp_sensor: add calibration for esp32c3
2021-03-11 14:25:18 +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
aditi_lonkar
6638b81f8e
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:00:55 +05:30
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
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
Michael (XIAO Xufeng)
bd1b4dbda1
Merge branch 'feature/apply_gdma_new_channel_api_to_spi_4.3' into 'release/v4.3'
...
spi: apply gdma new channel api to spi (v4.3)
See merge request espressif/esp-idf!12501
2021-02-25 10:36:09 +00:00
Armando
8a2f91b48a
spi: add enum for spi dma channels
2021-02-25 11:03:18 +08:00
Armando
ed6fb33726
spi: remove hard-coded DMA chan in soc_caps.h
2021-02-25 11:03:07 +08:00
Armando
66d10f0eec
spi: refactor spi_common dma allocator
2021-02-25 11:01:33 +08:00
Armando
97f248d22c
spi: update unit tests to spi gdma allocator
2021-02-25 11:01:27 +08:00
Armando
ffc4ff5a8c
spi: apply gdma allocator to SPI
2021-02-25 11:01:16 +08:00
Armando
326d76ebdf
spi: add dma channel auto-alloc feature on esp32
2021-02-25 11:01:06 +08:00
morris
19f18aaa11
gdma: fix wrong level of {group,pair} ref count
2021-02-24 17:46:23 +08:00