Darian Leung
2f58060921
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-03-30 14:17:31 +08:00
Michael (XIAO Xufeng)
99aaebb5e4
Merge branch 'bugfix/adc_power_issue' into 'master'
...
adc: fix adc power issue
Closes IDF-2954, WIFI-3453, WIFI-3462, IDFGH-4439, and IDFGH-4887
See merge request espressif/esp-idf!12757
2021-03-29 07:31:43 +00:00
Michael (XIAO Xufeng)
bdaac823e3
Merge branch 'feature/spi_slave_hd_dual_test_for_segment_mode' into 'master'
...
spi slave hd: add a dual test for segment mode when master's transactions are too long
See merge request espressif/esp-idf!11176
2021-03-29 06:16:10 +00:00
Jiang Jiang Jian
72ddc6ee40
Merge branch 'bugfix/esp32c3_light_sleep_gpio_reset_issue' into 'master'
...
light sleep: add software workaround for esp32c3 gpio reset issue
See merge request espressif/esp-idf!12715
2021-03-29 04:55:55 +00:00
Armando
cc6bfcd9ac
adc: apply adc power API to adc driver
...
Closes https://github.com/espressif/esp-idf/issues/6269
Closes https://github.com/espressif/esp-idf/issues/6682
2021-03-26 17:58:00 +08:00
Armando
0e0baee25a
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 12:04:46 +08:00
Armando
6f4d992ac7
adc: update lock scope on esp32c3
2021-03-26 12:04:46 +08:00
Armando
e9995fe165
adc: add pm_lock to adc driver on esp32c3
2021-03-26 12:04:46 +08:00
Armando
a5295af829
adc: update adc header files on c3
2021-03-26 12:04:46 +08:00
Armando
00a3f48bd8
adc: refactor adc single read api on esp32c3
2021-03-26 12:04:46 +08:00
Armando
69a0f8b9bb
adc: seperate hal layer and driver layer
2021-03-26 12:04:46 +08:00
Armando
bee90f57f1
adc: remove unused functions on esp32c3
2021-03-26 12:04:45 +08:00
Li Shuai
b3bc27972e
light sleep: add software workaround for esp32c3 gpio reset issue
2021-03-25 15:03:09 +08:00
Armando
026545b71e
spi_slave_hd: add a dual-board test when master sends too long on
...
ESP32C3
This test can also be used between ESP32/S2/S3/C3.
2021-03-25 10:31:29 +08:00
Angus Gratton
04652619aa
Merge branch 'bugfix/timer_divider_overflow' into 'master'
...
timer: removed downcasting when setting divider
Closes IDFCI-515
See merge request espressif/esp-idf!12840
2021-03-24 02:04:20 +00:00
Angus Gratton
fa2946d651
Merge branch 'feature/support_esp32s3_beta_3' into 'master'
...
Support ESP32S3 beta 3 target
Closes IDF-2908
See merge request espressif/esp-idf!12661
2021-03-23 10:17:58 +00:00
Marius Vikhammer
2711c55dc6
timer: removed downcasting when setting divider
...
Dividers bigger than 65536 are already handled in ll,
so we shouldnt downcast it.
2021-03-23 11:05:16 +08:00
Jiang Jiang Jian
f38871b4b3
Merge branch 'bugfix/crash_on_enabling_verbose_logs' into 'master'
...
Fixes issue of crashing when verbose logs are enabled.
Closes WIFI-3423
See merge request espressif/esp-idf!12414
2021-03-22 12:52:29 +00:00
Michael (XIAO Xufeng)
67ba80f2ec
Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep' into 'master'
...
fix: reduce the consumption of touch sensor during deep sleep
See merge request espressif/esp-idf!12248
2021-03-22 07:10:44 +00:00
aditi_lonkar
e478d19b45
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-03-22 06:58:16 +00:00
Michael (XIAO Xufeng)
4028d4e083
Merge branch 'feature/mcpwm_add_peripheral_signal_list' into 'master'
...
mcpwm: added peripheral signal description list
See merge request espressif/esp-idf!12480
2021-03-18 10:07:59 +00:00
Marius Vikhammer
2aead8ba57
Support ESP32S3 Beta 3 target
...
Update ROM API. Port changes from bringup branch.
2021-03-18 10:24:22 +08:00
morris
ff65363ada
mcpwm: configure gpio using by lookup table
2021-03-16 21:54:00 +08:00
morris
f5ca47c0fc
mcpwm: rename macros related to soc capbility
2021-03-16 21:53:59 +08:00
Armando
dd8076acf4
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3
2021-03-16 15:28:17 +08:00
fuzhibo
6b361ed70f
fix: reduce the consumption of touch sensor during deep sleep
2021-03-15 03:59:54 +00:00
Armando
0fb93c3726
spi_master: fix cmd test ci failure
2021-03-15 11:31:38 +08:00
Michael (XIAO Xufeng)
23eff08638
Merge branch 'feature/gpio_esp32c3_add_deprecated_header' into 'master'
...
Added missing ESP32-S3 target for /rom/gpio.h include
Closes IDFGH-4870
See merge request espressif/esp-idf!12648
2021-03-12 07:49:30 +00:00
Seon Rozenblum
dd2a8e330b
Added missing ESP32-S3 target for /rom/gpio.h include
...
I know this is being depreciated in 5, but we need it working for S3 in 4.x :)
Closes https://github.com/espressif/esp-idf/pull/6666
2021-03-08 17:54:16 +08:00
William Ferguson
13bc5feb0a
[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
2021-03-08 14:11:33 +08:00
Angus Gratton
c68f869411
driver: Remove some stray __FILE__ macros
...
Related to https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
d6f4d99d93
core system: Fix warnings in compilation when assertions are disabled
...
Adds a CI config for hello world that sets this, to catch future regressions
2021-03-03 10:26:57 +11:00
Cao Sen Miao
a8343bc470
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 12:26:49 +08:00
Marius Vikhammer
06abe3413f
temp_sensor: fix broken include path
2021-02-26 10:25:05 +08:00
Angus Gratton
501af6dfa2
Merge branch 'feature/secure_boot_revoke_check' into 'master'
...
secure_boot: Checks secure boot efuses
Closes IDF-2609
See merge request espressif/esp-idf!12148
2021-02-25 22:38:42 +00:00
morris
efa92cb204
rmt: support invert RMT signal by GPIO matrix
2021-02-25 12:42:23 +08:00
morris
7b37158ede
rmt: distinguish group and channel in HAL layer
2021-02-25 12:42:23 +08:00
Angus Gratton
a0eb455ec3
Merge branch 'refactor/misc_move_from_esp_common' into 'master'
...
Movements from esp_common
Closes IDF-1947
See merge request espressif/esp-idf!9692
2021-02-24 23:16:52 +00:00
Michael (XIAO Xufeng)
2f78b2e46f
Merge branch 'bugfix/fix_spi_slv_hd_dma_reset_issue' into 'master'
...
spi_slave_hd: fix dma reset issue
See merge request espressif/esp-idf!12275
2021-02-24 12:41:33 +00:00
Renz Bagaporo
5e8799bbfe
esp_common: move some headers
2021-02-24 12:16:37 +08:00
Armando
8d90d3072c
spi_slave_hd: refactor the hal append api to remove the spinlock
2021-02-24 12:01:31 +08:00
morris
9f1c82d547
gdma: fix wrong level of {group,pair} ref count
2021-02-24 11:38:57 +08:00
Cao Sen Miao
85855ad8a6
temp_sensor: add calibration for esp32c3
2021-02-23 10:48:17 +08:00
KonstantinKondrashov
90f2d3199a
secure_boot: Checks secure boot efuses
...
ESP32 V1 and V2 - protection bits.
ESP32xx V2: revoke bits, protection bits
- refactor efuse component
- adds some APIs for esp32 chips as well as for esp32xx chips
2021-02-23 03:56:21 +08:00
Omar Chebib
727481d71c
gpio: enable GPIO19 on ESP32C3 boards
2021-02-22 08:44:55 +00:00
Armando
889de9ebd9
spi: add enum for spi dma channels
2021-02-22 07:06:05 +00:00
Armando
d0415bd8f6
spi: remove hard-coded DMA chan in soc_caps.h
2021-02-22 07:06:05 +00:00
Armando
db3bf8b544
spi: refactor spi_common dma allocator
2021-02-22 07:06:05 +00:00
Armando
c8d9ed1f3d
spi: update unit tests to spi gdma allocator
2021-02-22 07:06:05 +00:00
Armando
c438ad5d72
spi: apply gdma allocator to SPI
2021-02-22 07:06:05 +00:00