Michael (XIAO Xufeng)
e7435a75f5
Merge branch 'bugfix/phy_xpd_v4.2' into 'release/v4.2'
...
wifi: add set_xpd_sar override(backport v4.2)
See merge request espressif/esp-idf!11540
2021-03-04 08:41:17 +00:00
Michael (XIAO Xufeng)
c4fe55d42a
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:00:37 +08:00
morris
48dc6e9347
mcpwm: fix second fault line broken
...
Closes: https://github.com/espressif/esp-idf/issues/6053
2021-01-27 14:56:33 +08:00
Sachin Parekh
14587e7e73
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:24:38 +05:30
Cao Sen Miao
12a0f93f87
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-14 19:33:35 +08:00
Darian Leung
a0bb9b2f57
TWAI: ISR runs when cache is disabled
...
This commit adds the feature where the TWAI ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_TWAI_ISR_IN_IRAM option.
2020-12-03 19:41:59 +08:00
Darian Leung
e1b7a02786
TWAI: Simplify caps header
...
This commit simplifies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2020-12-02 21:26:33 +08:00
Michael (XIAO Xufeng)
87247d5672
Merge branch 'bugfix/adc_dma_test_value_4.2' into 'release/v4.2'
...
adc_test: fix the failure caused by low expected middle value (v4.2)
See merge request espressif/esp-idf!10887
2020-10-20 11:03:15 +08:00
Michael (XIAO Xufeng)
9f0f753a48
Merge branch 'bugfix/fix_i2s_reset_issue_v4.2' into 'release/v4.2'
...
driver(I2S): Fix I2S reset issue for release/v4.2
See merge request espressif/esp-idf!9582
2020-10-19 15:40:03 +08:00
Michael (XIAO Xufeng)
68141a8844
adc_test: fix the failure caused by low expected middle value
2020-10-19 11:11:34 +08:00
Michael (XIAO Xufeng)
ae0bec8de0
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32_backport_v4.2' into 'release/v4.2'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32 (backport v4.2)
See merge request espressif/esp-idf!10670
2020-10-17 09:21:38 +08:00
Michael (XIAO Xufeng)
eb540e3efa
Merge branch 'bugfix/pcnt_interrupt_clear_v4.2' into 'release/v4.2'
...
pcnt: fix bug in clear interrupt status (v4.2)
See merge request espressif/esp-idf!10694
2020-10-16 14:51:17 +08:00
Michael (XIAO Xufeng)
189a2991b7
Merge branch 'doc/adc_grammar_stuff_backport_v4.2' into 'release/v4.2'
...
Bugfix(doc): minor modifications in the adc section (backport v4.2)
See merge request espressif/esp-idf!10657
2020-10-16 14:42:36 +08:00
fuzhibo
95f353949a
bugfix(adc): missing ranges of ADC codes in ESP32
2020-10-16 06:34:46 +00:00
houwenxiang
3fa779b463
driver(I2S): Fix I2S reset issue for release/v4.2
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-10-16 06:32:13 +00:00
fuzhibo
bbef823a20
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-15 03:34:59 +00:00
morris
dcb23c0bc8
pcnt: fix bug in clear interrupt status
2020-09-30 11:13:17 +08:00
Wu Bo Wen
cb6299200c
doc/adc: modifications in the adc documentation and adc headers
2020-09-28 21:55:42 +08:00
Michael (XIAO Xufeng)
a63bdf782f
Merge branch 'bugfix/fix_dac_dma_driver_and_ut_backport_v4.2' into 'release/v4.2'
...
Driver(dac): fix DAC-DMA driver and unit test (backport v4.2)
See merge request espressif/esp-idf!10216
2020-09-28 21:43:11 +08:00
Michael (XIAO Xufeng)
cf16ae573c
Merge branch 'cherry-pick-7876d7f5' into 'release/v4.2'
...
driver(adc): add adc-dma code for esp32 (backport v4.2)
See merge request espressif/esp-idf!10212
2020-09-28 21:11:11 +08:00
Michael (XIAO Xufeng)
847a697c93
Driver(dac): fix DAC-DMA driver and unit test
2020-09-28 19:35:07 +08:00
Chen Yi Qun
a8a2ea7b38
UART: Add return in uart_wait_tx_done
...
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 15:00:53 +08:00
Michael (XIAO Xufeng)
f3705832fd
Merge branch 'bugfix/add_adc-dma_for_esp32' into 'master'
...
driver(adc): add adc-dma code for esp32
Closes IDF-1407
See merge request espressif/esp-idf!9139
(cherry picked from commit 7876d7f5a6
)
bd92e951
driver(adc): add adc-dma code for esp32
2020-08-31 16:29:51 +08:00
fuzhibo
0f5bb06920
ut: fix touch sensor denoise ci fail
2020-08-31 16:01:50 +08:00
Wu Bo Wen
4cbed9b364
driver/adc: support for esp32s2 adc calibration scheme
...
ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf.
Closes https://github.com/espressif/esp-idf/issues/5455
2020-08-17 14:43:41 +08:00
dongyou
0b1ef494a7
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 14:08:46 +08:00
Michael (XIAO Xufeng)
9dbff45229
Merge branch 'feature/twai_backport_v4.2' into 'release/v4.2'
...
TWAI: esp32s2 support and multiple bugfixes (backport v4.2)
See merge request espressif/esp-idf!9884
2020-08-03 11:13:20 +08:00
fuzhibo
885f8ce484
driver(adc): esp32s2 support API adc2_vref_to_gpio
2020-07-31 17:52:41 +08:00
Darian Leung
21e2f02962
TWAI: Remove asserts used for program logic
...
This commit fixes the bug where TWAI driver program logic was being
called in assert(), thus leading to the logic being omitted in
release builds.
2020-07-30 22:17:41 +08:00
Darian Leung
e6db25af9d
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-07-30 22:09:39 +08:00
fuzhibo
f444d4d2dc
driver(adc): fix unit test for ADC-DMA (test_esp32s2.c); fix unit test for ADC-DMA (test_esp32s2.c); fix commit in adc dirver.
2020-07-30 19:38:23 +08:00
fuzhibo
9bc72d5732
driver(touch): fix touch sensor driver redundancy
2020-07-30 11:41:11 +08:00
Angus Gratton
e6e4fe45c6
Merge branch 'ci/fix_uart_read_write_priorities_v4.2' into 'release/v4.2'
...
driver test: Ensure uart write task can't overflow buffer of read task (v4.2)
See merge request espressif/esp-idf!9569
2020-07-23 13:15:45 +08:00
Michael (XIAO Xufeng)
51b5c7a079
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.2' into 'release/v4.2'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.2)
See merge request espressif/esp-idf!9554
2020-07-22 21:12:16 +08:00
Michael (XIAO Xufeng)
ccdfbb865e
Merge branch 'bugfix/add_return_task_awoken_for_timer_callback_v4.2' into 'release/v4.2'
...
timer: add return task awoken for timer callback (backport v4.2)
See merge request espressif/esp-idf!9149
2020-07-22 16:19:37 +08:00
Angus Gratton
e1b03f08af
Merge branch 'bugfix/doc_macro_definitions_v4.2' into 'release/v4.2'
...
doc: Fix macro definitions for different targets (v4.2)
See merge request espressif/esp-idf!9566
2020-07-20 08:25:33 +08:00
Ivan Grokhotkov
31121e5af1
Merge branch 'bugfix/rs485_test_temp_disable_v42' into 'release/v4.2'
...
Bugfix/rs485 test temp disable (backport v4.2)
See merge request espressif/esp-idf!9525
2020-07-13 20:41:42 +08:00
chenjianqiang
9274339fb5
timer: add return task awoken for timer callback
2020-07-12 11:01:47 +00:00
Angus Gratton
870fa2237e
driver test: Ensure uart write task can't overflow buffer of read task
...
Previously both tasks had equal priority, possible for write task and another
internal task to be scheduled at the same time - starving read task and
causing data loss.
Related to IDFCI-59
2020-07-10 15:59:48 +10:00
Angus Gratton
c44a433b8b
driver: Fix some doxygen warnings
2020-07-10 14:53:16 +10:00
Michael (XIAO Xufeng)
b39a0be9d2
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.2' into 'release/v4.2'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.2)
See merge request espressif/esp-idf!9360
2020-07-10 11:05:00 +08:00
Wielebny666
e64d1378b4
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-09 19:19:23 +08:00
Ivan Grokhotkov
aec1353ffe
ci: temporarily disable RS485 related tests
2020-07-08 06:54:24 +02:00
fuzhibo
34fc02f5db
driver(touch): fix touch sensor denoise unit test case
2020-07-02 13:04:46 +08:00
fuzhibo
68ed940668
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-07-01 09:29:34 +00:00
xiongyu
27e6e8c485
bugfix(uart): fix esp32 fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-16 14:34:23 +08:00
Michael (XIAO Xufeng)
f81da10951
Merge branch 'bugfix/sdmmc_check_slot_before_pullup' into 'master'
...
sdmmc: Correctly check function parameters before using them
Closes IDFGH-2967
See merge request espressif/esp-idf!8827
2020-05-27 23:08:01 +08:00
Michael (XIAO Xufeng)
0d90861984
Merge branch 'bugfix/fix_rmt_driver_breaking_change_issue' into 'master'
...
Bugfix(RMT): Fix the breaking change issue of RMT driver.
Closes IDFGH-2837, IDFGH-2579, and IDFGH-2915
See merge request espressif/esp-idf!8006
2020-05-25 15:27:24 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Alexander Borsuk
fb0fa34ac8
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-05-20 13:09:05 +08:00