Jiang Jiang Jian
cf9499479c
Merge branch 'bugfix/i2s_mix_result_with_error_code_master' into 'master'
...
fix i2s mix result and error code
See merge request idf/esp-idf!2227
2018-05-17 21:53:06 +08:00
Jiang Jiang Jian
8c657dfee4
Merge branch 'bugfix/fix_an_error_in_comment_of_uart_driver' into 'master'
...
deiver(uart):revise the explanation of uart break length
See merge request idf/esp-idf!2398
2018-05-17 17:17:14 +08:00
Jiang Jiang Jian
993b8b7bf6
Merge branch 'bugfix/o3_fails' into 'master'
...
Fix compilation errors when -O3 is used
See merge request idf/esp-idf!2396
2018-05-17 16:48:13 +08:00
Zhang Zhao Xiang
9deb58859c
fix i2s mix result and error code
2018-05-17 10:59:04 +08:00
Angus Gratton
b2e264ef52
Merge branch 'feature/ledc_add_api_set_hpoint_val' into 'master'
...
driver(ledc): fix duty and fade issues and add thread-safe version APIs.
See merge request idf/esp-idf!2233
2018-05-16 19:52:26 +08:00
Jiang Jiang Jian
4b4a587540
Merge branch 'bugfix/touch_change_default_enable_value' into 'master'
...
bugfix(touch): change the default value for sar_touch_enable register.
See merge request idf/esp-idf!1870
2018-05-16 17:40:18 +08:00
Angus Gratton
fcd5d0869d
Merge branch 'bugfix/spi_native_pins' into 'master'
...
fix several spi issues about pin configurations
See merge request idf/esp-idf!2309
2018-05-15 14:19:20 +08:00
Angus Gratton
31d53bc059
Merge branch 'bugfix/sdspi_delayed_write_response' into 'master'
...
sdspi: handle delayed response to data write command
See merge request idf/esp-idf!2290
2018-05-15 10:32:21 +08:00
Jiang Jiang Jian
73d20981de
Merge branch 'bugfix/rmt_tx_stop_bug' into 'master'
...
driver(rmt): RMT tx stop workaround
See merge request idf/esp-idf!1915
2018-05-15 10:04:33 +08:00
Jiang Jiang Jian
33b11c6f6a
Merge branch 'feature/adjust_log_level_about_uart' into 'master'
...
feat: Adjust log level about UART
See merge request idf/esp-idf!2047
2018-05-15 09:59:21 +08:00
chenjianqiang
b5de860bcb
revise the explain of a parameter(brk_len) in uart driver file
2018-05-14 19:47:16 +08:00
kooho
a8d26d7e4d
driver(rmt):Fix rmt_tx_stop bug.
2018-05-14 19:46:30 +08:00
Roland Dobai
ca08397b6b
Fix compilation errors when -O3 is used
...
Closes https://github.com/espressif/esp-idf/issues/718
2018-05-14 12:29:57 +02:00
jack
c384fa2492
rename clock enable and reset bits for SPI modules
...
1.The names of clock enable and reset bits do not match with TRM, just rename them.
2018-05-14 16:45:03 +08:00
kooho
1bebec05c6
driver(ledc): fix duty and fade issues and add thread-safe version APIs.
...
1. Fix the duty fade check issue reported from https://github.com/espressif/esp-idf/issues/1914
2. Fix the duty overflow issue when duty_scale is set to 1.
3. Fix the duty fade error when a fade operation is under way. We must configure a new duty setting after the previous fade operation has finished due to hardware limit.
4. Add thread-safe version APIs to set duty and fade.
5. Correct the duty range in driver.
2018-05-14 12:27:21 +08:00
Angus Gratton
e23ee9fa73
Merge branch 'bugfix/ledc_error' into 'master'
...
ledc driver: Clarify logging of function argument errors
See merge request idf/esp-idf!2380
2018-05-14 09:16:02 +08:00
Angus Gratton
64c52022b9
Merge branch 'bugfix/add_comments_for_adc' into 'master'
...
driver(adc): Add descriptions that starting ADC can trigger interrupt of GPIO36…
See merge request idf/esp-idf!1910
2018-05-11 18:54:40 +08:00
kooho
d53661a663
driver(adc): add descriptions for the issue that starting ADC can trigger interrupt of GPIO36 and GPIO39.
2018-05-11 17:08:58 +08:00
Mahavir Jain
b2a1a79eb4
i2s: fix issue in dma descriptor allocation if SPIRAM is enabled
...
It has been observed that, if external SPIRAM is enabled, then under
certain scenarios (e.g. internal memory being too much fragmented),
I2S tx/rx descriptors can land in external SPIRAM and hence resulting
in failure in DMA. Adding explicit capability to allocate in only DMA
capable memory.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-05-10 18:26:01 +05:30
Angus Gratton
feb64c3be6
ledc driver: Clarify logging of function argument errors
...
Some parameter errors did not specify which parameter was invalid.
Adds a new macro to name the invalid param.
2018-05-10 17:21:35 +08:00
Ivan Grokhotkov
a2556229aa
Merge branch 'bugfix/uart_fix_get_baudrate_error_bug' into 'master'
...
driver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick
See merge request idf/esp-idf!2295
2018-05-08 20:25:13 +08:00
michael
197f594b06
fix(spi): fix the issue when bus flag not set, dual mode cannot be used.
2018-05-08 15:47:26 +08:00
michael
28beafc624
fix(spi): fix the issue that native pins don't work after SPI initialized before
2018-05-08 15:47:25 +08:00
Michael (XIAO Xufeng)
1f085b1a3b
feat(gpio): add function allowing switching input source from GPIO back to IOMUX
2018-05-08 15:47:25 +08:00
Angus Gratton
b90ad81f22
driver: Add notes to SPI driver docs about thread safety
2018-05-07 09:03:48 +08:00
kooho
0dca2d4c68
driver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick
2018-05-04 09:41:41 +08:00
Liu Zhi Fu
ed46976f41
esp32/bt/driver: support static allocation of FreeRTOS queues used by ISR routine
...
Support static allocation of FreeRTOS queues used by ISR routine in WiFi/BT/esp_timer/driver etc
2018-04-27 15:02:30 +08:00
Ivan Grokhotkov
2699bb49ae
sdspi: handle delayed responses for data write commands
...
Command response tokens can be delayed from the original command by 1
to 8 bytes. In 4a2489b9
, handling for delayed tokens was added for
normal (no data) commands, and data read commands. This adds handling
for delayed commands for data write commands.
2018-04-26 10:04:44 +08:00
Ivan Grokhotkov
52f9a5ca16
Merge branch 'bugfix/sdspi_wp_cd_pins' into 'master'
...
sdmmc, sdspi: fix handling of CD and WP
See merge request idf/esp-idf!2285
2018-04-24 20:53:47 +08:00
Ivan Grokhotkov
85ab4fc83e
sdmmc host: add handling of CD and WP pins
...
Previous version of the code only connected CD and WP to the
peripheral, in fact the hardware does not use the values of these
signals automatically. This adds code to read CD and WP values when
command is executed and return errors if card is not present, or
write command is executed when WP signal is active.
2018-04-24 19:08:44 +08:00
Ivan Grokhotkov
829c6cef39
sdmmc host: when parameter validation fails, exit cleanly
...
This fixes lock-up which happened when sending a command, if the
previous command has failed.
2018-04-24 19:08:44 +08:00
Ivan Grokhotkov
92a16ac6e6
sdspi: fix CD and WP incorrectly configured as outputs
2018-04-23 14:35:40 +08:00
Ivan Grokhotkov
2a7d85cfa4
sdmmc, sdspi: fix initializers to be C++-compatible, add test
...
Closes https://github.com/espressif/esp-idf/issues/1861
Closes https://github.com/espressif/arduino-esp32/issues/1312
2018-04-23 14:35:13 +08:00
Flavio Bayer
d477d3c5bd
bugfix/sdspi_host.c: wrong CD/WP pin configuration
...
Looks like the configuration of CP and WP pins are wrong, since the check for `gpio_cd` and `gpio_wp` in `slot_config` seems to be swapped.
2018-04-23 11:32:42 +10:00
Ivan Grokhotkov
22fbcd276c
Merge branch 'feature/amazon_freertos_compat_v2' into 'master'
...
Changes for Amazon Freertos compatibility
See merge request idf/esp-idf!2123
2018-04-20 14:55:47 +08:00
Ivan Grokhotkov
6185e722c3
Revert "Merge branch 'feature/vfs_select' into 'master'"
...
This reverts merge request !2074
2018-04-20 11:51:41 +08:00
Mahavir Jain
43a12894ea
driver/spi: add _ISR counterparts if invoked from interrupt for critical section
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-19 18:28:55 +05:30
Ivan Grokhotkov
88d0d6ffb0
Merge branch 'feature/vfs_select' into 'master'
...
Allow VFS file descriptors in select()
See merge request idf/esp-idf!2074
2018-04-19 15:06:02 +08:00
Ivan Grokhotkov
b297b72abb
Merge branch 'bugfix/fix_gpio_install_isr_service_check_value' into 'master'
...
driver(gpio): modify return value when gpio ISR service already exists.
See merge request idf/esp-idf!2125
2018-04-19 15:01:50 +08:00
Roland Dobai
6852d653bd
Allow VFS file descriptors in select()
2018-04-17 11:25:30 +02:00
Mahavir Jain
959c677025
rtc_module: fix build failure if assertions are disabled
...
Closes https://github.com/espressif/esp-idf/issues/1841
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-17 10:44:48 +05:30
Ivan Grokhotkov
d3fd00c049
Merge branch 'bugfix/spi_miso_on_input_only_pins' into 'master'
...
fix(spi): allow to use MISO on GPIO34-39.
See merge request idf/esp-idf!2136
2018-04-16 14:39:02 +08:00
Angus Gratton
8b3fda99f5
Merge branch 'feature/uart_add_api_get_cmd_position' into 'master'
...
driver(uart): Add API to get the position of cmd_char
See merge request idf/esp-idf!2177
2018-04-16 08:03:25 +08:00
Wang Jia Lin
6c44fc70bc
Merge branch 'feature/gpio_add_hold_support' into 'master'
...
driver(gpio): Add api support digital pad hold function
See merge request idf/esp-idf!2186
2018-04-13 12:18:44 +08:00
Michael (Xiao Xufeng)
45f8bcf3f8
fix(spi): allow using MISO on GPIO34-39
...
Breaking Changes: arguments of ``spicommon_bus_initialize_io`` are changed.
Closes https://github.com/espressif/esp-idf/issues/1736 .
2018-04-12 17:01:38 +08:00
Michael (Xiao Xufeng)
77629129c0
chore(spi): update the return value of spi init functions
2018-04-12 17:01:38 +08:00
Michael (Xiao Xufeng)
dceb3452c7
doc(spi_master): format the documentation of several fields and macros in `spi_master.h`
2018-04-12 17:01:37 +08:00
kooho
2236249555
driver(pcnt): Add some APIs to support each unit can have it's own interrupt handler.
2018-04-11 16:15:09 +08:00
Ivan Grokhotkov
c6829fa5b8
sdmmc: improve error handling during SPI mode init
...
- In SPI mode, the card will respond to the initial SDIO reset (done
using CMD52) with “invalid command” error. Handle this correctly.
- sdmmc_card_init had a hack where GO_IDLE_STATE (CMD0) command was
sent twice. Add explanation why this is done, and don’t expect
correct response from the card on first CMD0.
- improve logs printed at debug level by adding CMD index
2018-04-11 11:11:17 +08:00
Ivan Grokhotkov
ee600784c5
sdmmc: add SDIO support
...
- Add SDIO support at protocol layer (probing, data transfer, interrupts)
- Add SDIO interrupts support in SDMMC host
- Add test (communicate with ESP32 in SDIO download mode)
2018-04-11 11:07:13 +08:00