Zim Kalinowski
02e9ca69bc
Merge branch 'docs/spi_max_transfer_sz_limit_v4.0' into 'release/v4.0'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v4.0)
See merge request espressif/esp-idf!14255
2021-07-16 06:09:34 +00:00
Angus Gratton
2f1feb8ea1
driver test: Increase stack for the "spi poll tasks" test
...
Current stack usage gets very close to overflowing
2021-07-12 08:46:04 +08:00
Michael (XIAO Xufeng)
84b149fcc5
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963
)
2021-07-05 14:20:34 +08:00
Armando
9e9ebed861
spi: fix duplex mode switch issue for multi devices
...
Closes https://github.com/espressif/esp-idf/issues/1080
2021-05-06 15:56:33 +08:00
Michael (XIAO Xufeng)
c891be655c
Merge branch 'bugfix/put_uart_isr_in_iram_v4.0' into 'release/v4.0'
...
uart: add option to put ISR in IRAM (v4.0)
See merge request espressif/esp-idf!13143
2021-04-28 07:03:22 +00:00
morris
10a0d7b8cf
uart: add option to put ISR in IRAM
2021-04-14 17:57:32 +08:00
Cao Sen Miao
4e5805dec3
i2s: fix i2s left/right channels swapped issue, Closes https://github.com/espressif/esp-idf/issues/6625
2021-04-07 12:23:08 +08:00
Jiang Jiang Jian
d3fa4c3749
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.0' into 'release/v4.0'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.0)
See merge request espressif/esp-idf!12493
2021-03-23 03:05:28 +00:00
Jiang Jiang Jian
0ab7751926
Merge branch 'bugfix/fix_wifi_interface_use_v4.0' into 'release/v4.0'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v4.0)
See merge request espressif/esp-idf!12168
2021-03-22 09:06:10 +00:00
Angus Gratton
964bed5c1b
test_gpio: Fix GPIO_MODE_INPUT_OUTPUT test case
...
The case sets one pin as output and the other as INPUT_OUTPUT (so output buffer
is enabled in both), then only changes level of one pin - causing a conflict.
Probably this test should be deleted, as it's not good practice for two output
pins to drive each other, but this fix also seems to work.
2021-03-04 12:20:55 +11:00
aditi_lonkar
c716d71089
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:09:28 +05:30
Michael (XIAO Xufeng)
b870f6f43c
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:06:33 +08:00
xiehang
4c68212c8f
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-27 14:59:25 +08:00
Sachin Parekh
e78721db05
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:25:21 +05:30
Cao Sen Miao
c4f11f7138
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-09 22:41:49 +08:00
Darian Leung
7c8208d903
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.
2020-12-04 19:03:19 +08:00
Darian Leung
bcc7d105ba
can: Fix critical section ESP_LOG functions
...
This commit removes any function calls within
the CAN driver that result in a call to ESP_LOG
whilst inside a critical section.
These function calls are either moved outside
critical sections (e.g., intr_alloc and gpio
functions), or substituted (e.g., assert()).
2020-12-02 21:47:35 +08:00
Darian Leung
05adedcc72
can: Fix semaphore take in critical section
...
This commit fixes can_reconfigure_alerts() which
could lead to a call to xSemaphoreTake() whilst
inside a critical section.
2020-12-02 21:45:55 +08:00
Michael (XIAO Xufeng)
d75888a5df
Merge branch 'bugfix/mcpwm_period_error_v4.0' into 'release/v4.0'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.0)
See merge request espressif/esp-idf!8312
2020-11-11 15:07:33 +08:00
houwenxiang
54c2bd7c0c
driver(I2S): Fix I2S reset issue for release/v4.0
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-09-02 16:30:03 +08:00
espressif
98d1736fc6
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v4.0)
2020-08-19 11:05:37 +08:00
dongyou
94f4a88c2d
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 17:41:05 +08:00
Michael (XIAO Xufeng)
fcb0206c59
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.0' into 'release/v4.0'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.0)
See merge request espressif/esp-idf!9552
2020-07-30 15:55:11 +08:00
Michael (XIAO Xufeng)
69059ea2cc
driver test: disable the spi master performance test when psram is used
2020-07-21 05:43:45 +00:00
Wielebny666
067d840c76
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:18:10 +08:00
aleks
db7f558e34
ci: temporarily disable RS485 related tests
2020-07-08 06:31:29 +02:00
fuzhibo
fac0b1128f
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-06-29 03:41:26 +00:00
fuzhibo
8357318945
driver(dac): fix dac header file self contained issue
...
Closes https://github.com/espressif/esp-idf/issues/2560
2020-06-12 05:36:56 +00:00
Michael (XIAO Xufeng)
f16a37d439
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.0' into 'release/v4.0'
...
bugfix(uart): fix esp32 uart fifo_cnt bug(backport v4.0)
See merge request espressif/esp-idf!9041
2020-06-08 13:25:58 +08:00
Alexander Borsuk
7eaea6c726
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 12:01:59 +08:00
xiongyu
f75088d40d
bugfix(uart): fix esp32 uart 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-03 12:29:06 +08:00
Michael (XIAO Xufeng)
6fe46c1798
Merge branch 'bugfix/timer_group_intr_enable_v4.0' into 'release/v4.0'
...
Fix timer group intr enable (backport v4.0)
See merge request espressif/esp-idf!8530
2020-05-21 17:42:02 +08:00
Michael (XIAO Xufeng)
1ce4c20115
Merge branch 'bugfix/fix_gpio_wake_up_disable_invalid_for_rtc_io_v4.0' into 'release/v4.0'
...
bugfix (GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
See merge request espressif/esp-idf!7996
2020-05-21 11:39:39 +08:00
morris
f09c9b957c
timer_group: 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-05-06 17:28:18 +08:00
dowster
24c9f56d45
Fix typo with sigmadelta.h #ifdef
2020-05-06 17:28:18 +08:00
Michael (XIAO Xufeng)
2628f3ebbd
Merge branch 'bugfix/cpp_extern_v4.0' into 'release/v4.0'
...
Add extern C header guards to some files (backport v4.0)
See merge request espressif/esp-idf!8225
2020-04-07 15:39:48 +08:00
Ivan Grokhotkov
8ffb38265c
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
...
Closes https://github.com/espressif/esp-idf/issues/4348
2020-04-02 23:38:17 +02:00
boarchuz
17bd6e8fab
Add missing extern "C" to rtc_cntl.h
...
Related: https://github.com/espressif/arduino-esp32/issues/3149
2020-04-02 23:36:14 +02:00
houwenxiang
9eb7eceeec
driver(GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
2020-03-18 10:29:18 +08:00
Mahavir Jain
fdbdf9a0ec
Merge branch 'bugfix/unicore_config_prevent_ipc_code_v4.0' into 'release/v4.0'
...
ipc: prevent code getting pulled in for unicore configuration (v4.0)
See merge request espressif/esp-idf!7943
2020-03-12 13:31:44 +08:00
Michael (XIAO Xufeng)
68b4177f70
Merge branch 'bugfix/ledc_driver_enums_v4.0' into 'release/v4.0'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum (v4.0)
See merge request espressif/esp-idf!7910
2020-03-11 16:39:11 +08:00
Mahavir Jain
0cc802e6ab
ipc: prevent code getting pulled in for unicore configuration
2020-03-11 14:04:45 +05:30
Angus Gratton
c5a5b34ba4
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
...
ledc.h includes two similar enums, ledc_clk_src_t & ledc_clk_cfg_t.
The two enums do different things but there are two similar names: LEDC_REF_TICK / LEDC_USE_REF_TICK
and LEDC_APB_CLK / LEDC_USE_APB_CLK.
Because C will accept any enum or integer value for an enum argument, there's no easy way to check
the correct enum is passed without using static analysis.
To avoid accidental errors, make the numeric values for the two similarly named enums the same.,
Noticed when looking into https://github.com/espressif/esp-idf/issues/4476
2020-03-09 11:32:18 +11:00
morris
bcedff5a12
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-03-06 17:39:14 +08:00
Michael (XIAO Xufeng)
e2cba84555
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v4.0' into 'release/v4.0'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v4.0)
See merge request espressif/esp-idf!7371
2020-02-26 15:20:29 +08:00
Michael (XIAO Xufeng)
9037b8fb52
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-15 23:10:33 +08:00
michael
0f10d12b81
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-15 18:39:28 +08:00
michael
8c148ede22
mcpwm: enable some unit tests again
2020-02-15 18:39:27 +08:00
Roland Dobai
642dc19c25
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:11:08 +01:00
Paul Abbott
a58fa7665a
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:22:36 +08:00