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
houwenxiang
4c065c217e
driver(rmt): Fix the rmt err interrupt crash bug when sending 63 items
2020-01-13 08:30:20 +00:00
Darian Leung
a049e02d96
can: Refactor CAN to use HAL and LowLevel layers
...
The following commit refactors the CAN driver such that
it is split into HAL and Lowlevel layers. The following
changes have also been made:
- Added bit field members to can_message_t as alternative
to message flags. Updated examples and docs accordingly
- Register field names and fields of can_dev_t updated
2020-01-09 16:13:51 +08:00
michael
f676a3b190
driver, soc: update multichip support headers
2020-01-06 17:13:54 +08:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Kirill Chalov
ab6311c548
Reveiw the file api-reference/peripherals/i2s.rst
2019-12-29 21:05:57 +00:00
Ivan Grokhotkov
6c0044cc65
Merge branch 'bugfix/rtc_cntl_h_cpp_guards' into 'master'
...
Add missing extern "C" to rtc_cntl.h
Closes IDFGH-2419
See merge request espressif/esp-idf!7093
2019-12-27 19:21:06 +08:00
Mahavir Jain
3be94b6952
Merge branch 'bugfix/can_critical_section_logs' into 'master'
...
can: Fix critical section ESP_LOG functions
Closes IDFGH-2270 and IDF-1067
See merge request espressif/esp-idf!7081
2019-12-26 16:22:17 +08:00
Mahavir Jain
9738bc58ed
Merge branch 'bugfix/can_semaphore_take_in_critical' into 'master'
...
can: Fix semaphore take in critical section
Closes IDFGH-2115
See merge request espressif/esp-idf!7083
2019-12-26 16:15:07 +08:00
michael
2dd12ae5f8
spi: fix speed test issues on esp32s2beta
...
Also support performance value for different targets.
2019-12-23 10:23:01 +08:00
michael
11fa11000f
spi: re-enable the unit tests for esp32s2beta
2019-12-23 10:22:59 +08:00
boarchuz
5dc10a4191
Add missing extern "C" to rtc_cntl.h
...
Related: https://github.com/espressif/arduino-esp32/issues/3149
2019-12-21 12:12:54 +11:00
Darian Leung
4c3d49e3f0
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.
Closes https://github.com/espressif/esp-idf/issues/4277
2019-12-20 22:00:33 +08:00
Darian Leung
b6af587975
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()).
Closes https://github.com/espressif/esp-idf/issues/4412
2019-12-20 20:58:48 +08:00
Angus Gratton
3faa2a48d1
Merge branch 'test/uart_unit_tests' into 'master'
...
driver: test: Fix for 'uart read write' test failure, use some more verbose macros
See merge request espressif/esp-idf!6996
2019-12-20 12:15:45 +08:00
Mahavir Jain
e8db1c4da0
Merge branch 'feature/enable_i2s_tests_on_esp32s2beta' into 'master'
...
Enable i2s and freertos test/s on esp32s2beta
See merge request espressif/esp-idf!6790
2019-12-18 17:51:54 +08:00
Mahavir Jain
c86c1ecc7e
Merge branch 'support/add_uart_fifo_threshold_set_api' into 'master'
...
add simplified API to set UART threshold values for RX FIFO full and TX FIFO empty
See merge request espressif/esp-idf!6749
2019-12-17 11:30:11 +08:00
kewal shah
eec8212237
add simplified API to set UART threshold values for RX FIFO full and TX FIFO empty
2019-12-16 20:26:04 +00:00
Mahavir Jain
8b05cf41ad
i2s: enable tests for esp32s2beta
2019-12-16 11:53:33 +05:30
chenjianqiang
41fca84064
bugfix(ledc): fix crash when use one speed mode and enable ledc fade test case
2019-12-16 02:49:26 +00:00
Michael (XIAO Xufeng)
0ec08ca21b
sdio_slave: support HAL layer
2019-12-13 18:33:15 +08:00
Angus Gratton
ee7cd4e1d8
driver: test: Ensure UART is fully idle before starting loopback RX/TX test
...
Possible fix for sporadic failures of this test in CI, may be due to a byte already
being queued in one of the FIFOs
2019-12-12 17:21:46 +11:00
Angus Gratton
b79a6c2576
driver: test: Use more detailed macros than TEST_ASSERT() to get better errors
2019-12-12 17:21:40 +11:00
Angus Gratton
50aad77f3a
driver: Rename "local" tests to "single board" tests, add some description to the names
2019-12-12 11:05:04 +11:00
morris
01ca687caa
esp32s2beta: only support unicore
2019-12-09 09:48:37 +08:00
Wang Jia Lin
f5e60524ac
Merge branch 'bugfix/fix_i2c_driver_breakingchange_issue' into 'master'
...
bugfix(i2c): fix I2C driver breaking change issue
See merge request espressif/esp-idf!6809
2019-12-06 16:50:16 +08:00
Wang Jia Lin
d0034f5a12
Merge branch 'bugfix/fix_uart_driver_spinlock_misused_bug' into 'master'
...
bugfix(UART): fix uart driver spinlock misused bug
See merge request espressif/esp-idf!6870
2019-12-06 11:12:54 +08:00
houwenxiang
aac935ec81
bugfix(i2c): fix I2C driver breaking change issue.
...
1. Fixed I2C driver breaking change issue.
2. Add I2C UT test case.
2019-12-04 15:51:36 +08:00
Michael (XIAO Xufeng)
d158fa3f5c
sdio: add unit test between host and slave
2019-12-03 22:58:42 +08:00
Michael (XIAO Xufeng)
e91c7bcc3a
sdspi: revert pin configs when deinit
2019-12-03 22:58:42 +08:00
Michael (XIAO Xufeng)
e2b20f2e4b
sdio_slave: fix deinit pin and memory leak issues
2019-12-03 22:58:41 +08:00
houwenxiang
e4230d11ca
bugfix(UART): fix uart driver spinlock misused bug
...
1. fix uart driver spinlock misused bug
2. add uart driver ut test case
3. undo the change in light_sleep_example_main.c
2019-12-03 16:06:31 +08:00
Wang Jia Lin
1ffcb54444
Merge branch 'bugfix/fix_esp32-s2_rtc_io_issue' into 'master'
...
bugfix(gpio): fix esp32 s2 rtc io issue and gpio testcase issues
See merge request espressif/esp-idf!6832
2019-12-03 11:17:41 +08:00
Renz Christian Bagaporo
e6ad330018
ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation
...
Otherwise IRAM usage is too high in this example.
2019-11-28 09:20:00 +08:00
Fu Zhi Bo
3a468a1ffd
Refactor the touch sensor driver
2019-11-27 20:08:44 +08:00
xiongyu
af4c455417
bugfix(gpio):fix esp32 s2 rtc io issue
...
* Modify the function implementation of ESP32-S2 RTC GPIO
On ESP32 those PADs which have RTC functions must set pullup/down/capability via RTC register.
On ESP32-S2, Digital IOs have their own registers to control pullup/down/capability, independent with RTC registers.
* Add ESP32-S2 support of unit test
* Modify the pull-up test of unit test
* Modify the interrupt test of unit test
* Modify input and output mode test of unit test
2019-11-27 17:18:20 +08:00
Angus Gratton
91b7a7beaf
Merge branch 'bugfix/timer_intr_status_get' into 'master'
...
bugfix(timer): fix get intr status function
See merge request espressif/esp-idf!6807
2019-11-27 09:13:16 +08:00
chenjianqiang
bcfe684951
bugfix(timer): add a macro to control making the XTAL related functions
2019-11-26 12:39:46 +00:00
chenjianqiang
856d9f7d89
bugfix(timer): recover get raw interrupt status function
2019-11-26 12:39:46 +00:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
Andrew
1669dc40d1
spi_slave.c:fix DMA channel set to zero which might gets conflict with assert
...
close #2740
2019-11-26 13:11:48 +08:00
kooho
5286c8308c
bugfic(i2c): fix i2c driver ut issue.
2019-11-25 07:03:02 +00:00
Angus Gratton
f2a1a6105a
Merge branch 'feat/mcpwm_hal'
...
Manual merge of !6626
2019-11-25 17:18:48 +11:00
Angus Gratton
dbae85dde8
Merge branch 'bugfix/timer_driver_ut' into 'master'
...
driver/timer: fix software reset UT (again)
See merge request espressif/esp-idf!6801
2019-11-25 12:54:52 +08:00
Angus Gratton
6dd36fd571
Merge branch 'refactor/hal_gpio_driver'
...
Manual merge of !5597
2019-11-25 10:49:40 +11:00
Angus Gratton
f34edba8f3
Merge branch 'feature/adc_driver_hal_support'
...
Manual merge of !6044
2019-11-25 10:22:06 +11:00
Ivan Grokhotkov
82d89afe1f
driver/timer: fix software reset UT (again)
2019-11-24 21:10:50 +01:00
michael
538540ce21
mcpwm: add HAL layer support
...
Also improved the unit tests a bit.
2019-11-25 00:36:30 +08:00
michael
1fb2fd89de
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.
2019-11-25 00:36:30 +08:00
michael
0f6dd34971
mcpwm: enable some unit tests again
2019-11-25 00:36:30 +08:00