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
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
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
Ivan Grokhotkov
6185e722c3
Revert "Merge branch 'feature/vfs_select' into 'master'"
...
This reverts merge request !2074
2018-04-20 11:51:41 +08:00
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
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)
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
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
kooho
ccf09c3b39
driver(gpio): Add api support digital pad hold function.
2018-04-10 11:31:59 +08:00
kooho
305c788c60
driver(uart): Add API to get the position of cmd_char
2018-04-03 12:34:16 +08:00
Ivan Grokhotkov
bbbdec24d9
sdspi: handle error flags for R3/R7 responses
...
Previously error flags were only handled for R1 responses. This change
moves error handling into a separate function and calls it for R1/R3/R7.
2018-03-30 18:49:42 +08:00
Jiang Jiang Jian
8b9f237cb9
Merge branch 'feature/i2s_add_expand_function' into 'master'
...
add a new i2s feature to expand the original i2s width
See merge request idf/esp-idf!1617
2018-03-30 14:51:23 +08:00
kooho
8e1f930582
driver(gpio): Modified the GPIO_CHECK's return value when ISR service already installed
2018-03-29 09:58:31 +08:00
Ivan Grokhotkov
1a157279e0
Merge branch 'doc/adc1_channel_config' into 'master'
...
adc: Add doc details about configure not needed before each read
See merge request idf/esp-idf!2132
2018-03-28 19:11:44 +08:00
Angus Gratton
4507b3fde6
adc: Add doc details about configure not needed before each read
2018-03-28 11:52:41 +11:00
Michael (Xiao Xufeng)
7563510758
feat(spi_master): allow output high speed data when dummy bits are not used.
2018-03-26 21:24:32 +08:00
Zhang Zhao Xiang
f48ecb8613
Add a new i2s feature to expand the original i2s width
2018-03-22 18:52:55 +08:00
Ivan Grokhotkov
7e2028d598
Merge branch 'bugfix/gpio_timer_doc_fixes' into 'master'
...
Minor fixes of GPIO and timer group driver docs
See merge request idf/esp-idf!2081
2018-03-20 10:49:36 +08:00
Jonathan Kaufmann
a99d4d5a7f
Modified spi_bus_add_device so that it takes a constant *dev_config parameter.
...
Merges https://github.com/espressif/esp-idf/pull/1690
2018-03-19 12:17:45 +08:00
Stefan Tauner
38daa1e716
docs: fix description of timer_get_alarm_value()
...
Replace c&p text with an actual description.
Merges https://github.com/espressif/esp-idf/pull/1740
2018-03-19 11:56:57 +08:00
Stefan Tauner
86a1d579ff
docs: add warning to gpio_get_level()
...
On most microcontrollers I have worked with one can retrieve the
current state of output GPIO pins. On ESP32 this is not the case
if the pad is not explictly configured to route this information into
the port by configuring it as input or i/o.
Thus add a warning to the API documentation of gpio_get_level().
Merges https://github.com/espressif/esp-idf/pull/1740
2018-03-19 11:56:57 +08:00
Ivan Grokhotkov
c8ba6cf156
Merge branch 'feature/rtc_gpio_isolate' into 'master'
...
Add rtc_gpio_isolate function, use it in deep sleep examples
See merge request idf/esp-idf!1936
2018-02-26 06:09:08 +08:00
Tuan PM
7cda34c626
i2s: add support fixed_mclk configuration
2018-02-22 09:00:23 +07:00
Ivan Grokhotkov
f45622ff17
driver/rtc: add rtc_gpio_isolate helper function to disconnect RTC IO
2018-02-11 13:18:51 +08:00
Ivan Grokhotkov
e381c6adde
Merge branch 'bugfix/fix_i2s_adc_mode' into 'master'
...
driver(i2s): fix broken i2s adc mode
See merge request idf/esp-idf!1653
2018-02-11 12:58:58 +08:00
Jeroen Domburg
35de8d703e
Merge branch 'bugfix/spi_gpio0' into 'master'
...
fix(spi): several fixes about maros (flags) and GPIO0.
See merge request idf/esp-idf!1666
2018-02-07 18:50:13 +08:00
Wangjialin
451f69cc2e
driver(i2s): fix broken i2s adc mode
...
1. Move i2s reset code from i2s_stop to i2s_start.
2. add RTC API to set sw mode for ADC
3. add description for adc_power_always_on()
4. add lock for i2s dma and RTC ADC functions.
5. add ADC read task in example
reported from bbs: https://esp32.com/viewtopic.php?f=13&t=3490&p=17522#p17522
reported from github: https://github.com/espressif/esp-idf/issues/1333
2018-02-07 17:17:20 +08:00
Michael (XIAO Xufeng)
e14e1508cb
fix(sdmmc_host): fix the issue when slot and host flag are not compatible.
2018-02-07 12:05:05 +08:00
Angus Gratton
4297c337f9
esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM
...
The TRM describes IOMUX registers are IO_MUX_x_REG for x in GPIO0-39.
Until now ESP-IDF describes them as PERIPHS_IO_MUX_(pinname)_U
This commit adds additional IOMUX register names which match the ones used in the TRM.
2018-01-30 17:09:37 +08:00
michael
be96e1db95
fix(spi): fix typo of LSBFIRST macro.
...
Closes https://github.com/espressif/esp-idf/issues/1480 , Closes https://github.com/espressif/esp-idf/issues/1464
2018-01-29 17:44:37 +08:00
michael
8900200147
fix(spi_master): fix the variable command and address flag issue.
...
Closes https://github.com/espressif/esp-idf/issues/1549
2018-01-29 17:44:36 +08:00
Wangjialin
870efdb9d4
bugfix(uart): patten detect function
...
requirement from github(https://github.com/espressif/esp-idf/issues/805 ): to provide the position in the buffer of the pattern detected.
requirement from AT application: in AT app, when no hardware flow control is enabled, in some situation the rx buffer might be full, and the terminator “+++” might be lost, we can use pattern detect interrupt to avoid missing the terminator. When pattern detect interrupt happens, it will not send a data event at the same time.
1. Add API to get position of detected pattern in rx buffer
2. Modify UART event example
3. Add comments for uart_flush, add alias API uart_flush_input to clear the rx buffer
4. Modify the way rx_buffered_len is calculated
2018-01-22 13:33:51 +08:00
Angus Gratton
2227c44254
rmt: Add void * argument for end-of-transmission callback
...
Ref https://github.com/espressif/esp-idf/pull/1174
2018-01-05 17:31:59 +11:00
Krzysztof Bociurko
1066c74b74
rmt: Adds a simple handler that can be called when transmission ends.
...
Merges https://github.com/espressif/esp-idf/pull/1174
2018-01-05 17:14:02 +11:00
michael
7a7b8fc182
refactor(spi_master): move the clock calculation from ISR to initialization.
2017-12-28 12:03:28 +08:00
Angus Gratton
ec7cac5fe8
Merge branch 'feature/docs_update_rmt_api' into 'master'
...
RMT API docs update, new example
See merge request !1564
2017-12-27 09:23:47 +08:00
kooho
d78be97154
add NACK for the last byte to read
2017-12-26 21:50:18 +08:00
krzychb
421592a8eb
LEDC Driver: Added back original definitions of 'duty_resolution' and 'clock_divider'. This update is to provide backward compatibility with ESP-IDF 2.1.
2017-12-04 21:12:56 +01:00
Jiang Jiang Jian
c672fc54fd
Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'
...
Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resoluti…
See merge request !1440
2017-12-01 19:33:53 +08:00
krzychb
866b84b9f8
Typo fix. Closes https://github.com/espressif/esp-idf/issue/1323
2017-12-01 09:06:08 +01:00
kooho
ada33fe3dd
Add GPIO input and output disable option
2017-11-22 15:00:27 +08:00
krzychb
2ec35f60ca
RMT API docs update, new example
2017-11-21 22:34:23 +01:00
Angus Gratton
f54e99008d
spi: Add ESP_ERR_NO_MEM to spi_device_queue_trans() documentation
...
Ref https://github.com/espressif/esp-idf/pull/1243#issuecomment-343103414
2017-11-20 16:06:59 +11:00