William Ferguson
13b0633e8d
[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-04-23 07:35:47 +00:00
Jiang Jiang Jian
450f99f0f9
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.1' into 'release/v4.1'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.1)
See merge request espressif/esp-idf!12494
2021-03-23 03:07:04 +00:00
xiehang
4403af7267
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-03-22 17:18:58 +08:00
Darian Leung
fb2d6a44eb
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN 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_CAN_ISR_IN_IRAM option.
2021-03-09 08:47:58 +08:00
Darian Leung
5311a60af2
CAN: 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.
2021-03-09 08:47:57 +08:00
aditi_lonkar
b68f07dbc7
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:11:17 +05:30
Michael (XIAO Xufeng)
46d8dad2e1
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:02:10 +08:00
morris
e2886115dc
mcpwm: fix second fault line broken
...
Closes: https://github.com/espressif/esp-idf/issues/6053
2021-02-06 21:45:51 +08:00
Mahavir Jain
5f7f2cc70b
Merge branch 'fix/i2c_pm_lock_v4.1' into 'release/v4.1'
...
i2c: Acquire PM lock after acquiring mutex (v4.1)
See merge request espressif/esp-idf!11831
2021-01-29 20:30:46 +08:00
Ivan Grokhotkov
2d7b596c9e
Merge branch 'bugfix/phy_xpd_v4.1' into 'release/v4.1'
...
wifi: add set_xpd_sar override(backport v4.1)
See merge request espressif/esp-idf!11545
2021-01-29 17:10:03 +08:00
Angus Gratton
e48e6aa9df
driver test: Increase stack for the "spi poll tasks" test
...
Current stack usage gets very close to overflowing
2021-01-22 18:03:45 +11:00
Sachin Parekh
c8a4ad9c3b
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:25:02 +05:30
Cao Sen Miao
cabe0a44b7
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-15 20:57:02 +08:00
Michael (XIAO Xufeng)
7cbf4c4330
Merge branch 'bugfix/fix_i2s_reset_issue_v4.1' into 'release/v4.1'
...
driver(I2S): Fix I2S reset issue for release/v4.1
See merge request espressif/esp-idf!9584
2020-11-05 09:05:50 +08:00
Michael (XIAO Xufeng)
32c3db089b
Merge branch 'bugfix/fix_i2c_slave_rxfifo_full_interrupt_bug_v.4.1' into 'release/v4.1'
...
Bugfix (I2C): fix I2C slave rxfifo_full interrupt enabled incorrectly bug (release/v4.1)
See merge request espressif/esp-idf!7679
2020-11-05 02:27:03 +08:00
Michael (XIAO Xufeng)
73381b5582
Merge branch 'bugfix/pcnt_interrupt_clear_v4.1' into 'release/v4.1'
...
pcnt: fix bug in clear interrupt status (v4.1)
See merge request espressif/esp-idf!10693
2020-11-04 19:43:01 +08:00
houwenxiang
e76038ed76
driver(I2C): fix I2C slave rxfifo_full interrupt enabled incorrectly bug (release/v4.1)
2020-11-04 08:25:59 +00:00
houwenxiang
9f6f510ce2
driver(I2S): Fix I2S reset issue for release/v4.1
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-11-04 08:18:20 +00:00
fuzhibo
365cc0c1c8
bugfix(adc): add io init in adc dma driver for esp32
2020-10-20 12:58:26 +00:00
morris
73a4063163
pcnt: fix bug in clear interrupt status
2020-09-30 11:12:33 +08:00
Michael (XIAO Xufeng)
1ced3f9750
Merge branch 'bugfix/add_return_in_uart_wait_tx_done_bp4.1' into 'release/v4.1'
...
bugfix(UART): Add return in uart_wait_tx_done(backport v4.1)
See merge request espressif/esp-idf!10336
2020-09-14 14:25:05 +08:00
Michael (XIAO Xufeng)
edb19cd748
Merge branch 'bugfix/fix_rtcio_adc_driver_for_esp32' into 'release/v4.1'
...
rtc(adc/rtcio): fix adc rtcio driver for esp32
See merge request espressif/esp-idf!8347
2020-09-14 10:57:26 +08:00
Chen Yi Qun
824c358097
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:10:30 +08:00
Michael (XIAO Xufeng)
444b5582a7
driver test: disable the spi master performance test when psram is used
2020-09-02 00:58:20 +08:00
fuzhibo
72f43489a5
rtc(adc/rtcio): fix adc rtcio driver for esp32
2020-08-31 03:19:58 +00:00
Jiang Jiang Jian
975b8d228f
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.1' into 'release/v4.1'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.1)
See merge request espressif/esp-idf!9936
2020-08-24 12:28:25 +08:00
Michael (XIAO Xufeng)
c9ca1fbe78
Merge branch 'bugfix/fix_touch_sensor_api_backport_v4.1' into 'release/v4.1'
...
(High priority) driver(touch): fix touch sensor driver redundancy (backport v4.1)
See merge request espressif/esp-idf!9872
2020-08-23 16:08:49 +08:00
Michael (XIAO Xufeng)
2a4e91553d
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.1' into 'release/v4.1'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.1)
See merge request espressif/esp-idf!9553
2020-08-21 18:58:25 +08:00
Michael (XIAO Xufeng)
866dde5025
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_4.1' into 'release/v4.1'
...
sdmmc: Correctly check function parameters before using them (4.1)
See merge request espressif/esp-idf!9055
2020-08-20 21:59:31 +08:00
Michael (XIAO Xufeng)
c83a8c4cc7
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.1' into 'release/v4.1'
...
bugfix(uart): fix esp32 fifo_cnt bug(backport v4.1)
See merge request espressif/esp-idf!9040
2020-08-20 19:13:57 +08:00
fuzhibo
4fc12259dd
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-08-14 06:49:35 +00:00
dongyou
46691df851
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 16:30:16 +08:00
Darian Leung
f1b651af7e
CAN: Remove asserts used for program logic
...
This commit fixes the bug where CAN driver program logic was being
called in assert(), thus leading to the logic being omitted in
release builds.
2020-07-31 00:19:53 +08:00
fuzhibo
67a48580fa
driver(touch): fix touch sensor driver redundancy
2020-07-30 16:42:48 +08:00
Angus Gratton
ceeee9036c
Merge branch 'ci/fix_uart_read_write_priorities_v4.1' into 'release/v4.1'
...
driver test: Ensure uart write task can't overflow buffer of read task (v4.1)
See merge request espressif/esp-idf!9570
2020-07-23 13:15:27 +08:00
Angus Gratton
5cf858bee3
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 16:00:39 +10:00
Wielebny666
b6e69b5014
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:13:56 +08:00
Ivan Grokhotkov
1ecd5ab91d
ci: temporarily disable RS485 related tests
2020-07-08 06:44:07 +02:00
Wang Jia Lin
6cbc7dc2cd
Merge branch 'bugfix/fix_adc_io_init_bug_for_idfv4.1' into 'release/v4.1'
...
driver(adc): fix adc io init bug for idfv4.1 (backport v4.1)
See merge request espressif/esp-idf!8714
2020-06-29 15:00:22 +08:00
xiongyu
cf3b2df4a4
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:48:02 +08:00
chenjianqiang
74623ac9d5
timer: add return task awoken for timer callback
2020-06-12 14:33:21 +08:00
Alexander Borsuk
29d3c40a25
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 11:49:40 +08:00
fuzhibo
260d6f83b7
driver(adc): fix adc io init bug
2020-05-13 11:48:55 +08:00
dowster
58044063dd
Fix typo with sigmadelta.h #ifdef
2020-04-29 12:20:46 +08:00
morris
5b516b107a
timer_group: update hal api && fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-29 12:19:25 +08:00
morris
1af819d19b
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-03-06 17:36:44 +08:00
morris
077d68c752
driver: clean pcnt.h i2s.h
2020-03-03 18:12:11 +08:00
Michael (XIAO Xufeng)
c4654298ce
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v4.1' into 'release/v4.1'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v4.1)
See merge request espressif/esp-idf!7372
2020-02-26 15:20:40 +08:00
Roland Dobai
c2a4dd0c68
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-21 10:04:38 +01:00
Paul Abbott
c014d32193
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:19:15 +08:00