]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoesp32: fix the bug that soft-AP fails to retry eapol
Liu Zhi Fu [Thu, 19 Apr 2018 06:59:25 +0000 (14:59 +0800)]
esp32: fix the bug that soft-AP fails to retry eapol

Fix the issue that soft-AP fails to retry eapol frame when multiple
stations connects it at the same time.

More

6 years agoMerge branch 'feature/mesh' into 'master'
Jiang Jiang Jian [Thu, 19 Apr 2018 12:24:16 +0000 (20:24 +0800)]
Merge branch 'feature/mesh' into 'master'

mesh: update mesh libs

See merge request idf/esp-idf!2244

6 years agoMerge branch 'feature/vfs_select' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 07:06:02 +0000 (15:06 +0800)]
Merge branch 'feature/vfs_select' into 'master'

Allow VFS file descriptors in select()

See merge request idf/esp-idf!2074

6 years agoMerge branch 'bugfix/fix_gpio_install_isr_service_check_value' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 07:01:50 +0000 (15:01 +0800)]
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

6 years agoMerge branch 'feature/bootloader_refactoring_common' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 06:58:00 +0000 (14:58 +0800)]
Merge branch 'feature/bootloader_refactoring_common' into 'master'

bootloader: Refactoring

See merge request idf/esp-idf!2251

6 years agoMerge branch 'feature/remove_make_dependency_on_git' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 05:01:12 +0000 (13:01 +0800)]
Merge branch 'feature/remove_make_dependency_on_git' into 'master'

make: remove build system dependency on `git` using some hooks

See merge request idf/esp-idf!2211

6 years agoMerge branch 'bugfix/fix_github_reported_1841_and_1845' into 'master'
Ivan Grokhotkov [Thu, 19 Apr 2018 04:59:37 +0000 (12:59 +0800)]
Merge branch 'bugfix/fix_github_reported_1841_and_1845' into 'master'

Fix few minor github reported issues

See merge request idf/esp-idf!2252

6 years agodocs: add note regarding ESP-IDF version
Mahavir Jain [Wed, 18 Apr 2018 13:00:58 +0000 (18:30 +0530)]
docs: add note regarding ESP-IDF version

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/heap_tracing_newlib_allocations' into 'master'
Angus Gratton [Wed, 18 Apr 2018 04:07:15 +0000 (12:07 +0800)]
Merge branch 'bugfix/heap_tracing_newlib_allocations' into 'master'

heap tracing: Fix tracing of newlib internal allocations

See merge request idf/esp-idf!1992

6 years agoMerge branch 'feature/esp-tls' into 'master'
Ivan Grokhotkov [Wed, 18 Apr 2018 03:11:49 +0000 (11:11 +0800)]
Merge branch 'feature/esp-tls' into 'master'

esp-tls: Fix connection failure

See merge request idf/esp-idf!2241

6 years agoMerge branch 'bugfix/nvs_failed_crc_assert' into 'master'
Ivan Grokhotkov [Wed, 18 Apr 2018 03:01:21 +0000 (11:01 +0800)]
Merge branch 'bugfix/nvs_failed_crc_assert' into 'master'

nvs: don’t expect items with bad CRC to be in cache

See merge request idf/esp-idf!2239

6 years agoMerge branch 'bugfix/nvs_power_off_recovery' into 'master'
Ivan Grokhotkov [Wed, 18 Apr 2018 03:00:56 +0000 (11:00 +0800)]
Merge branch 'bugfix/nvs_power_off_recovery' into 'master'

nvs: Fix recovery after power-off during erase operation

See merge request idf/esp-idf!2238

6 years agomesh: update mesh libs
qiyueixa [Sat, 14 Apr 2018 16:53:08 +0000 (00:53 +0800)]
mesh: update mesh libs

1. fix issues on sending beacon caused by too much tx retries on other packets.
2. modify not to scan if rc exists when connect.
3. modify scan dwell time to default 120ms fo root.

6 years agobootloader: Refactoring
Konstantin Kondrashov [Mon, 16 Apr 2018 15:35:41 +0000 (20:35 +0500)]
bootloader: Refactoring

Need to make the bootloader modular so that users can redefine its functional part.

- refactoring and moving functions to the bootloader_support component
- Changed function to `void` bootloader_utility_load_image(...);

TW19596

6 years agoAllow VFS file descriptors in select()
Roland Dobai [Mon, 19 Feb 2018 13:14:02 +0000 (14:14 +0100)]
Allow VFS file descriptors in select()

6 years agonvs: Fix recovery after power-off during erase operation
Sagar Bijwe [Fri, 13 Apr 2018 06:59:06 +0000 (12:29 +0530)]
nvs: Fix recovery after power-off during erase operation

Current code for recovery after power-off do not clean-up partially
erased items for FULL pages. If the erasure was part of modification
operation, this gets luckily cleaned-up because of duplicate detection
logic. For erase-only operation, the problem still exists. This patch
adds the recovery for FULL pages also.

Closes TW<20284>

6 years agoMerge branch 'bugfix/build_v0_output' into 'master'
Ivan Grokhotkov [Tue, 17 Apr 2018 06:24:50 +0000 (14:24 +0800)]
Merge branch 'bugfix/build_v0_output' into 'master'

build: remove some debug lines printed when V=0

See merge request idf/esp-idf!2237

6 years agoMerge branch 'feature/btdm_get_and_set_cod' into 'master'
Jiang Jiang Jian [Tue, 17 Apr 2018 06:21:18 +0000 (14:21 +0800)]
Merge branch 'feature/btdm_get_and_set_cod' into 'master'

component/bt: Add API: get cod & set cod

See merge request idf/esp-idf!2127

6 years agoMerge branch 'bugfix/btdm_a2dp_source_cleanup_bug' into 'master'
Jiang Jiang Jian [Tue, 17 Apr 2018 06:20:15 +0000 (14:20 +0800)]
Merge branch 'bugfix/btdm_a2dp_source_cleanup_bug' into 'master'

component/bt: Fix bug of a2dp source cleanup bug when connected

See merge request idf/esp-idf!2042

6 years agoMerge branch 'bugfix/btdm_add_assert_when_no_device_name' into 'master'
Jiang Jiang Jian [Tue, 17 Apr 2018 06:19:39 +0000 (14:19 +0800)]
Merge branch 'bugfix/btdm_add_assert_when_no_device_name' into 'master'

component/bt: Fix exception when there is no device name

See merge request idf/esp-idf!2184

6 years agobt: fix incorrect comments for error codes
Mahavir Jain [Tue, 17 Apr 2018 05:12:25 +0000 (10:42 +0530)]
bt: fix incorrect comments for error codes

Closes https://github.com/espressif/esp-idf/issues/1845

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agortc_module: fix build failure if assertions are disabled
Mahavir Jain [Tue, 17 Apr 2018 05:09:36 +0000 (10:39 +0530)]
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>
6 years agobuild: remove some debug lines printed when V=0
Ivan Grokhotkov [Fri, 13 Apr 2018 08:49:00 +0000 (16:49 +0800)]
build: remove some debug lines printed when V=0

With V=0, build process would print “including .../Makefile.projbuild" lines, causing problems for print_flash_cmd target.
The issue was due to the way macro expansion works in make. To delay evaluation of info function until the execution of expanded block, two dollar signs are required.
Test for print_flash_cmd target added.

6 years agoMerge branch 'bugfix/nvs_unit_test_state' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 14:07:25 +0000 (22:07 +0800)]
Merge branch 'bugfix/nvs_unit_test_state' into 'master'

nvs: fix nvs_get_stats unit test

See merge request idf/esp-idf!2250

6 years agonvs: fix nvs_get_stats unit test
Konstantin Kondrashov [Mon, 16 Apr 2018 09:41:34 +0000 (14:41 +0500)]
nvs: fix nvs_get_stats unit test

Changed check for the returned parameter from ESP_ERR_NVS_PART_NOT_FOUND to ESP_ERR_NVS_NOT_INITIALIZED.

6 years agoMerge branch 'test/fix_ci_test_fail_in_jap_case' into 'master'
He Yin Ling [Mon, 16 Apr 2018 11:02:46 +0000 (19:02 +0800)]
Merge branch 'test/fix_ci_test_fail_in_jap_case' into 'master'

test: fix CI fail when join AP

See merge request idf/esp-idf!2245

6 years agoMerge branch 'chore/issue_template' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 10:50:42 +0000 (18:50 +0800)]
Merge branch 'chore/issue_template' into 'master'

add github issue template for users to report issues easily.

See merge request idf/esp-idf!2148

6 years agonvs: don’t expect items with bad CRC to be in cache
Ivan Grokhotkov [Sun, 11 Mar 2018 22:35:21 +0000 (06:35 +0800)]
nvs: don’t expect items with bad CRC to be in cache

When erasing a variable length item with an incorrect CRC32, the span
value of the item can not be trusted, so the item will be erased with
span = 1. Subsequent entries represent the data of the variable
length item, and these will be treated as separate items. For each
entry CRC32 is checked, the check most likely fails (because the
entry contains arbitrary data, and not a proper NVS item), and the
entry is erased. Erase function assumed that every item should be
present in cache, but it is not the case for the entries which are
just parts of item’s payload. This change allows for the item to be
not found in the hashlist, if the CRC32 check fails.

6 years agoadd github issue template for users to report issues easily
michael [Thu, 29 Mar 2018 06:11:04 +0000 (14:11 +0800)]
add github issue template for users to report issues easily

6 years agoMerge branch 'bugfix/nvs_stat_test' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 06:45:43 +0000 (14:45 +0800)]
Merge branch 'bugfix/nvs_stat_test' into 'master'

NVS: fix nvs_get_stats unit test

See merge request idf/esp-idf!2248

6 years agoMerge branch 'bugfix/spi_miso_on_input_only_pins' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 06:39:02 +0000 (14:39 +0800)]
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

6 years agonvs: make nvs_flash_deinit useable from unit tests
Ivan Grokhotkov [Mon, 16 Apr 2018 04:52:07 +0000 (12:52 +0800)]
nvs: make nvs_flash_deinit useable from unit tests

6 years agonvs: deinit NVS in nvs_stats unit test
Ivan Grokhotkov [Mon, 16 Apr 2018 04:50:57 +0000 (12:50 +0800)]
nvs: deinit NVS in nvs_stats unit test

This fixes the failure when this test runs after another test which
leaves NVS initialized.

6 years agoMerge branch 'bugfix/nvs_page_selection' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 02:32:01 +0000 (10:32 +0800)]
Merge branch 'bugfix/nvs_page_selection' into 'master'

nvs: Fix page selection algo to consider free entry counts as well

See merge request idf/esp-idf!2240

6 years agoMerge branch 'feature/nvs_get_count_used_entries' into 'master'
Ivan Grokhotkov [Mon, 16 Apr 2018 02:25:01 +0000 (10:25 +0800)]
Merge branch 'feature/nvs_get_count_used_entries' into 'master'

NVS: add API to get used entries count

See merge request idf/esp-idf!1982

6 years agotest: fix join AP fail during AP power on
He Yin Ling [Sun, 15 Apr 2018 02:17:52 +0000 (10:17 +0800)]
test: fix join AP fail during AP power on

6 years agoMerge branch 'feature/uart_add_api_get_cmd_position' into 'master'
Angus Gratton [Mon, 16 Apr 2018 00:03:25 +0000 (08:03 +0800)]
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

6 years agotools/ci: add test case for build without dependency on `git`
Mahavir Jain [Thu, 12 Apr 2018 12:56:43 +0000 (18:26 +0530)]
tools/ci: add test case for build without dependency on `git`

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agomake: remove build system dependency on `git` using some hooks
Mahavir Jain [Tue, 10 Apr 2018 03:20:59 +0000 (08:50 +0530)]
make: remove build system dependency on `git` using some hooks

Currently for checking IDF version and submodules existence,
build system uses `git` commands. But, it could be possible use-case
where `git` is not installed (assuming IDF is flattened in source format)
on system and build happens without any warnings.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/soc_clk_out_fields' into 'master'
Ivan Grokhotkov [Fri, 13 Apr 2018 11:42:20 +0000 (19:42 +0800)]
Merge branch 'bugfix/soc_clk_out_fields' into 'master'

soc/io_mux: make CLK_OUT fields compatible with REG_SET/GET_FIELD

See merge request idf/esp-idf!2133

6 years agoMerge branch 'bugfix/docs_wrap_text_in_tables' into 'master'
Ivan Grokhotkov [Fri, 13 Apr 2018 11:37:49 +0000 (19:37 +0800)]
Merge branch 'bugfix/docs_wrap_text_in_tables' into 'master'

Bugfix/docs wrap text in tables

See merge request idf/esp-idf!2209

6 years agoesp-tls: Fix connection failure when esp-tls config is empty
Jitin George [Fri, 13 Apr 2018 10:29:35 +0000 (15:59 +0530)]
esp-tls: Fix connection failure when esp-tls config is empty

6 years agoMerge branch 'feature/mesh' into 'master'
Jiang Jiang Jian [Fri, 13 Apr 2018 10:55:39 +0000 (18:55 +0800)]
Merge branch 'feature/mesh' into 'master'

mesh: update mesh libs

See merge request idf/esp-idf!2218

6 years agoMerge branch 'bugfix/build_exclude_external_objects' into 'master'
Ivan Grokhotkov [Fri, 13 Apr 2018 10:35:10 +0000 (18:35 +0800)]
Merge branch 'bugfix/build_exclude_external_objects' into 'master'

build: fix excluding source files outside of component root

See merge request idf/esp-idf!2230

6 years agonvs: Fix page selection algo to consider free entry counts as well
Sagar Bijwe [Fri, 13 Apr 2018 09:19:05 +0000 (14:49 +0530)]
nvs: Fix page selection algo to consider free entry counts as well

Current page selection algorithm selects a page for compaction based on just erased counts
and gives up when it does not find any page with erased count greater than 0. This is
problematic since the current allocation procedure skips the active page if there is not
enough room for the item in that page leaving free chunks on the pages. This change modifies
the algorithm to consider both erased as well as free counts on the candidate pages.

Closes TW<20297>

6 years agonvs:Add functions for calculating used/free entries
konstantin [Tue, 20 Feb 2018 07:11:56 +0000 (12:11 +0500)]
nvs:Add functions for calculating used/free entries

Users needs functions to count the number of free and used entries.

1. `nvs_get_stats()` This function return structure of statistic about the uspace NVS.
(Struct: used_entries, free_entries, total_entries and namespace_count)
2. `nvs_get_used_entry_count()` The second function return amount of entries in the namespace (by handler)
3. Added unit tests.

Closes TW<12282>

6 years agoMerge branch 'feature/gpio_add_hold_support' into 'master'
Wang Jia Lin [Fri, 13 Apr 2018 04:18:44 +0000 (12:18 +0800)]
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

6 years agomesh: update mesh libs
qiyueixa [Tue, 10 Apr 2018 12:38:26 +0000 (20:38 +0800)]
mesh: update mesh libs

1. fix a bug in initliazing map beacon interval.
2. fix not send MESH_EVENT_ROUTING_TABLE_REMOVE when MESH_NWK_CHILD_DISCONNECTED.
3. fix a bug in returning roots ie len.

6 years agofix(spi): allow using MISO on GPIO34-39
Michael (Xiao Xufeng) [Wed, 21 Mar 2018 12:42:45 +0000 (20:42 +0800)]
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.

6 years agochore(spi): update the return value of spi init functions
Michael (Xiao Xufeng) [Wed, 21 Mar 2018 12:42:45 +0000 (20:42 +0800)]
chore(spi): update the return value of spi init functions

6 years agodoc(spi_master): format the documentation of several fields and macros in `spi_master.h`
Michael (Xiao Xufeng) [Tue, 27 Mar 2018 07:20:15 +0000 (15:20 +0800)]
doc(spi_master): format the documentation of several fields and macros in `spi_master.h`

6 years agoMerge branch 'bugfix/cn_windows_setup_doc_fixes' into 'master'
Ivan Grokhotkov [Thu, 12 Apr 2018 08:37:41 +0000 (16:37 +0800)]
Merge branch 'bugfix/cn_windows_setup_doc_fixes' into 'master'

Update windows-setup.rst

See merge request idf/esp-idf!2232

6 years agobuild: fix excluding source files outside of component root
Ivan Grokhotkov [Thu, 12 Apr 2018 06:15:41 +0000 (14:15 +0800)]
build: fix excluding source files outside of component root

Since !2190, source files located outside of the component root
produce object files inside build directory. This change fixes
handling of COMPONENT_OBJEXCLUDE variable for such files. Tests are
added.

6 years agoMerge branch 'feature/pcnt_add_isr_manage_apis' into 'master'
Angus Gratton [Thu, 12 Apr 2018 01:06:56 +0000 (09:06 +0800)]
Merge branch 'feature/pcnt_add_isr_manage_apis' into 'master'

Driver(pcnt) :  Add new feature that each unit can  has it's own interrupt handler.

See merge request idf/esp-idf!2086

6 years agoMerge branch 'feature/build_out_of_tree_srcs' into 'master'
Angus Gratton [Thu, 12 Apr 2018 00:49:56 +0000 (08:49 +0800)]
Merge branch 'feature/build_out_of_tree_srcs' into 'master'

make: Build out of tree component srcs under component build dir

See merge request idf/esp-idf!2190

6 years agoMerge branch 'doc/esp_idf_requires_gcc' into 'master'
Angus Gratton [Thu, 12 Apr 2018 00:48:39 +0000 (08:48 +0800)]
Merge branch 'doc/esp_idf_requires_gcc' into 'master'

doc: Add gcc to list of ESP-IDF prerequisite packages

See merge request idf/esp-idf!2221

6 years agoMerge branch 'feature/btdm_add_set_local_icon_api' into 'master'
Jiang Jiang Jian [Wed, 11 Apr 2018 12:48:13 +0000 (20:48 +0800)]
Merge branch 'feature/btdm_add_set_local_icon_api' into 'master'

Component/bt: add set gap icon API

See merge request idf/esp-idf!2129

6 years agoMerge branch 'bugfix/btdm_do_not_update_conn_params_when_have_key_in_slave' into...
Jiang Jiang Jian [Wed, 11 Apr 2018 12:47:27 +0000 (20:47 +0800)]
Merge branch 'bugfix/btdm_do_not_update_conn_params_when_have_key_in_slave' into 'master'

Component/bt: do not update connection params when already have keys in slave

See merge request idf/esp-idf!2176

6 years agodriver(pcnt): Add some APIs to support each unit can have it's own interrupt handler.
kooho [Mon, 19 Mar 2018 09:22:48 +0000 (17:22 +0800)]
driver(pcnt): Add some APIs to support each unit can have it's own interrupt handler.

6 years agoMerge branch 'feature/wwrite_string_for_idf' into 'master'
Ivan Grokhotkov [Wed, 11 Apr 2018 06:59:08 +0000 (14:59 +0800)]
Merge branch 'feature/wwrite_string_for_idf' into 'master'

Enable -Wwrite-strings when compiling IDF's own C files

See merge request idf/esp-idf!2193

6 years agoMerge branch 'feature/sdio_master' into 'master'
Ivan Grokhotkov [Wed, 11 Apr 2018 04:38:42 +0000 (12:38 +0800)]
Merge branch 'feature/sdio_master' into 'master'

SDIO master driver

See merge request idf/esp-idf!2008

6 years agoMerge branch 'test/update_ci_test_cases' into 'master'
He Yin Ling [Wed, 11 Apr 2018 03:51:32 +0000 (11:51 +0800)]
Merge branch 'test/update_ci_test_cases' into 'master'

test: update ci test cases

See merge request idf/esp-idf!1959

6 years agosdmmc: improve error handling during SPI mode init
Ivan Grokhotkov [Mon, 2 Apr 2018 10:33:01 +0000 (18:33 +0800)]
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

6 years agodocs: update SDMMC and SDSPI documentation
Ivan Grokhotkov [Tue, 6 Mar 2018 10:03:53 +0000 (18:03 +0800)]
docs: update SDMMC and SDSPI documentation

- Split SDMMC page into pages about SDMMC/SDSPI hosts and a page about
   the protocol layer.
- Use autogenerated API reference instead of manually generated one.
- Add information about SDIO APIs.

6 years agosdmmc: add SDIO support
Ivan Grokhotkov [Tue, 6 Mar 2018 09:57:52 +0000 (17:57 +0800)]
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)

6 years agosdmmc: fill as many DMA descriptors as possible
Ivan Grokhotkov [Tue, 6 Mar 2018 09:18:05 +0000 (17:18 +0800)]
sdmmc: fill as many DMA descriptors as possible

6 years agosdmmc: do expect CMD_DONE interrupt after response timeout
Ivan Grokhotkov [Thu, 17 Aug 2017 16:28:56 +0000 (00:28 +0800)]
sdmmc: do expect CMD_DONE interrupt after response timeout

Existing code assumed that response timeout is not followed by CMD_DONE,
which was not true, in fact. Host datasheet states that CMD_DONE is sent
after an RTO.

6 years agosdmmc: print error status only once
Ivan Grokhotkov [Tue, 6 Mar 2018 08:21:28 +0000 (16:21 +0800)]
sdmmc: print error status only once

6 years agosdmmc: don't whitelist the opcodes when handling response timeout
Ivan Grokhotkov [Thu, 17 Aug 2017 16:25:17 +0000 (00:25 +0800)]
sdmmc: don't whitelist the opcodes when handling response timeout

All the commands which do not have a response must have their flags set
accordingly. Therefore the host will not send RTO interrupt if response
is not expected. It is a bug in the code logic if it happens otherwise.

6 years agosdmmc: set highest possible host clock divider
Ivan Grokhotkov [Thu, 17 Aug 2017 16:18:55 +0000 (00:18 +0800)]
sdmmc: set highest possible host clock divider

SDMMC host suffers from an issue that it outputs data near the rising
edge of the card clock, which is the edge used by the card to sample
data. If sampling time constraint is not satisfied, card may read data
after the transition.

The phases of output/input data can, in fact, be adjusted. However this
adjustment happens in the clock generation block outside of the host.
So the maximum phase change which can be created this way is equal to
half of the host clock period. So if the host clock is set to the lowest
possible frequency (for the given card frequency), then the phase offset
(and hence the hold time) will be the highest. This change modifies the
logic used to determine clock dividers accordingly.

sdmmc host: set correct dout phase and print correct frequency

6 years agosdmmc: don't set data_expected on SET_BUS_WIDTH command
Ivan Grokhotkov [Thu, 17 Aug 2017 16:12:05 +0000 (00:12 +0800)]
sdmmc: don't set data_expected on SET_BUS_WIDTH command

SET_BUS_WIDTH is not a data transfer command. Extensive search in the
host datasheet and SD card spec did not reveal the origin of this hack
or 'feature'. Further testing showed that removing this does not lead to
regressions.

6 years agosdmmc: send init sequence before CMD0
Ivan Grokhotkov [Tue, 16 May 2017 06:19:00 +0000 (14:19 +0800)]
sdmmc: send init sequence before CMD0

6 years agogpio: add special GPIO signal values
Ivan Grokhotkov [Fri, 5 Jan 2018 03:35:39 +0000 (11:35 +0800)]
gpio: add special GPIO signal values

6 years agodoc: Add gcc to list of ESP-IDF prerequisite packages
Angus Gratton [Wed, 11 Apr 2018 00:19:24 +0000 (10:19 +1000)]
doc: Add gcc to list of ESP-IDF prerequisite packages

Closes https://github.com/espressif/esp-idf/issues/1842#issuecomment-380274150

6 years agotest: update ci test case
huchaoru [Mon, 18 Dec 2017 11:24:09 +0000 (19:24 +0800)]
test: update ci test case

6 years agoMerge branch 'feature/esp-tls' into 'master'
He Yin Ling [Tue, 10 Apr 2018 14:07:07 +0000 (22:07 +0800)]
Merge branch 'feature/esp-tls' into 'master'

https_request: Fix CI failure

See merge request idf/esp-idf!2216

6 years agohttps_request: Fix CI failure
Jitin George [Tue, 10 Apr 2018 10:30:34 +0000 (16:00 +0530)]
https_request: Fix CI failure

6 years agoMerge branch 'bugfix/Kconfig_fix_incorrect_description' into 'master'
Ivan Grokhotkov [Tue, 10 Apr 2018 10:19:34 +0000 (18:19 +0800)]
Merge branch 'bugfix/Kconfig_fix_incorrect_description' into 'master'

Fix Kconfig.projbuild in some examples, where myssid is the password

See merge request idf/esp-idf!2192

6 years agoMerge branch 'bugfix/rtc_clk_fixes' into 'master'
Ivan Grokhotkov [Tue, 10 Apr 2018 10:17:02 +0000 (18:17 +0800)]
Merge branch 'bugfix/rtc_clk_fixes' into 'master'

Power management and RTC fixes

See merge request idf/esp-idf!2131

6 years agocomponent/bt: Fix exception when there is no device name
baohongde [Tue, 10 Apr 2018 09:55:33 +0000 (17:55 +0800)]
component/bt: Fix exception when there is no device name

6 years agoResolve problems found by enabling -Wwrite-strings compilation flag
Roland Dobai [Mon, 9 Apr 2018 10:58:35 +0000 (12:58 +0200)]
Resolve problems found by enabling -Wwrite-strings compilation flag

6 years agoEnable -Wwrite-strings when compiling IDF's own C files
Roland Dobai [Fri, 6 Apr 2018 14:04:13 +0000 (16:04 +0200)]
Enable -Wwrite-strings when compiling IDF's own C files

6 years agoMerge branch 'bugfix/mdns_fixes' into 'master'
Angus Gratton [Tue, 10 Apr 2018 05:43:02 +0000 (13:43 +0800)]
Merge branch 'bugfix/mdns_fixes' into 'master'

MDNS: Fix some issues when hostname is not set or services are removed

See merge request idf/esp-idf!2179

6 years agoMerge branch 'bugfix/heap_fragmentation_on_split_pr1761' into 'master'
Angus Gratton [Tue, 10 Apr 2018 04:14:57 +0000 (12:14 +0800)]
Merge branch 'bugfix/heap_fragmentation_on_split_pr1761' into 'master'

heap: Try to merge tail with next block when splitting

See merge request idf/esp-idf!2147

6 years agoMerge branch 'bugfix/spi_master_example_gfx' into 'master'
Jeroen Domburg [Tue, 10 Apr 2018 04:08:01 +0000 (12:08 +0800)]
Merge branch 'bugfix/spi_master_example_gfx' into 'master'

Spi_master: spiffier graphics

See merge request idf/esp-idf!2030

6 years agodriver(gpio): Add api support digital pad hold function.
kooho [Tue, 3 Apr 2018 14:09:30 +0000 (22:09 +0800)]
driver(gpio): Add api support digital pad hold function.

6 years agoMerge branch 'bugfix/small_fixes_from_github' into 'master'
Angus Gratton [Tue, 10 Apr 2018 01:19:19 +0000 (09:19 +0800)]
Merge branch 'bugfix/small_fixes_from_github' into 'master'

Bugfix/small fixes from github

See merge request idf/esp-idf!2200

6 years agoMerge branch 'bugfix/wifi_ps_modem' into 'master'
Angus Gratton [Tue, 10 Apr 2018 01:18:53 +0000 (09:18 +0800)]
Merge branch 'bugfix/wifi_ps_modem' into 'master'

wifi: Add WIFI_PS_MODEM for backwards compatibility with V3.0 API

See merge request idf/esp-idf!2203

6 years agocomponent/bt: Add API: get cod & set cod
baohongde [Mon, 9 Apr 2018 11:25:26 +0000 (19:25 +0800)]
component/bt: Add API: get cod & set cod

In response to: https://github.com/espressif/esp-idf/issues/1565

6 years agoMerge branch 'bugfix/remove_pm_gpio_dbg' into 'master'
Ivan Grokhotkov [Mon, 9 Apr 2018 11:14:18 +0000 (19:14 +0800)]
Merge branch 'bugfix/remove_pm_gpio_dbg' into 'master'

component/esp32 : remove pm gpio dbg

See merge request idf/esp-idf!2206

6 years agoMerge branch 'feature/build_exclude_components' into 'master'
Ivan Grokhotkov [Mon, 9 Apr 2018 11:13:39 +0000 (19:13 +0800)]
Merge branch 'feature/build_exclude_components' into 'master'

make: EXCLUDE_COMPONENTS

See merge request idf/esp-idf!2204

6 years agowifi: Add WIFI_PS_MODEM for backwards compatibility with V3.0 API
Angus Gratton [Mon, 9 Apr 2018 03:38:00 +0000 (13:38 +1000)]
wifi: Add WIFI_PS_MODEM for backwards compatibility with V3.0 API

6 years agoFix exception when service is removed while there are pending packets that depend...
me-no-dev [Mon, 2 Apr 2018 19:24:28 +0000 (22:24 +0300)]
Fix exception when service is removed while there are pending packets that depend on it

6 years agocomponent/esp32 : remove pm gpio dbg
Tian Hao [Mon, 9 Apr 2018 06:33:48 +0000 (14:33 +0800)]
component/esp32 : remove pm gpio dbg

6 years agoMerge branch 'feature/esp-tls' into 'master'
Ivan Grokhotkov [Mon, 9 Apr 2018 06:25:21 +0000 (14:25 +0800)]
Merge branch 'feature/esp-tls' into 'master'

feature/add simplified TLS socket APIs

See merge request idf/esp-idf!1951

6 years agoMerge branch 'bugfix/wifi_fix_some_typos' into 'master'
Angus Gratton [Mon, 9 Apr 2018 03:59:00 +0000 (11:59 +0800)]
Merge branch 'bugfix/wifi_fix_some_typos' into 'master'

Fix two WiFi and LWIP typos

See merge request idf/esp-idf!2189

6 years agoMake error codes looks like literals in the code of them (easy for searching). Minor...
Anton Maklakov [Mon, 6 Nov 2017 10:22:45 +0000 (18:22 +0800)]
Make error codes looks like literals in the code of them (easy for searching). Minor fixes, typos

6 years agoReadTheDocs theme has an annoying bug of text not being wrapped inside table cells...
krzychb [Mon, 9 Apr 2018 03:47:36 +0000 (05:47 +0200)]
ReadTheDocs theme has an annoying bug of text not being wrapped inside table cells. Each row is extended to fit the text as a single line. For a table with multiple columns and long sentences the table may get wide, with long scrollbar underneath and is not convenient to read. This MR makes the text wrap inside table cells. There is an open PR to fix this issue - https://github.com/rtfd/sphinx_rtd_theme/pull/432.

6 years agoFixed issues with tables
krzychb [Mon, 9 Apr 2018 03:46:57 +0000 (05:46 +0200)]
Fixed issues with tables

6 years agormt: Fix LoadProhibited on RX END
Ing. Jaroslav Šafka [Fri, 2 Mar 2018 21:56:41 +0000 (22:56 +0100)]
rmt: Fix LoadProhibited on RX END

Fixes exceptions LoadProhibited, when rmt tries read variable p_rmt on RX END which can be 0.
It happens after esp_reset()  (OTA) and the rmt is not probably stopped by it.
In other words the routine rmt_driver_isr_default was called before second rx channel was registered.

scenario:
register tx channel
register rx channel
reboot
register tx channel
-> exception (because rx channel is accessed)

Merges https://github.com/espressif/esp-idf/pull/1671