Ivan Grokhotkov
1618dbc9a5
soc/rtc: wait for frequency switch to complete
...
The fast path of CPU frequency switch function, used in DFS, was not
waiting for the frequency switch to complete when switching from XTAL
to PLL. This resulted in incorrect reads from peripherals on APB,
where two consecutive reads could return the same value. For example,
in esp_timer, read of FRC_COUNT_REG would return same value as the
preceding read of FRC_ALARM_REG, causing time to jump by the value of
FRC_ALARM_REG / apb_freq_mhz.
2018-03-20 18:27:32 +08:00
Ivan Grokhotkov
7167ad45ab
pm: improve debug output from esp_pm_dump_locks
...
- separate mode stats from lock stats by an extra comment line
- add CPU frequency column to the mode stats
- don’t print a row for light sleep if light sleep is not enabled
2018-03-20 18:08:19 +08:00
Ivan Grokhotkov
9377d4acd4
pm: fix incorrect configuration at startup
...
s_cpu_freq_by_mode array was statically initialised with 80MHz CPU
frequency in CPU_MAX and APB_MAX modes, but sdkconfig setting for the
CPU frequency could have been different. For the case of 240MHz CPU
frequency, this would cause a frequency switch between 240MHz and
80MHz to happen, even though such switch is not supported in the fast
path switching functions used by the DFS implementation.
This fixes the issue by moving initialisation into esp_pm_impl_init,
which is called at startup before the first mode switch can happen.
Fixes https://github.com/espressif/esp-idf/issues/1729 .
2018-03-20 18:06:58 +08:00
Jiang Jiang Jian
45eb556ddf
Merge branch 'bugfix/wpa2_assert_when_use_sha256_signature' into 'master'
...
bugfix of wpa2 assert when use sha256 do signature
See merge request idf/esp-idf!2089
2018-03-20 15:19:55 +08:00
Jiang Jiang Jian
f2132238b2
Merge branch 'bugfix/tw19041_esp_wifi_stop_not_return' into 'master'
...
esp32: Fix esp_wifi_stop never returns issue
See merge request idf/esp-idf!2059
2018-03-20 15:18:09 +08:00
Deng Xin
bc97b0f380
bugfix of wpa2 assert when use sha256 do signature
...
The order of wpa2_crypto_funcs_t structure mismatch between IDF and wifi libray
close github issue https://github.com/espressif/esp-idf/issues/1297
2018-03-20 11:08:20 +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
Ivan Grokhotkov
e56897b7a4
Merge branch 'bugfix/docs_updates_from_github' into 'master'
...
Bugfix/docs updates from github
See merge request idf/esp-idf!2057
2018-03-20 09:50:43 +08:00
Angus Gratton
b626c1b365
Merge branch 'feature/doc_common_conf' into 'master'
...
doc: Move non-language-specific RTD/Sphinx config to conf_common.py
See merge request idf/esp-idf!2058
2018-03-20 09:02:12 +08:00
Liu Zhi Fu
078cd81f10
esp32: Fix wifi stop never return issue
...
Fix esp_wifi_stop() never return issue
2018-03-19 21:16:29 +08:00
Jiang Jiang Jian
5d4c4b19d4
Merge branch 'bugfix/tw19020_force_1.9V_when_flash_is_80M' into 'master'
...
bootloader: force SDIO 1.9V if flash is 80M
See merge request idf/esp-idf!2083
2018-03-19 18:50:36 +08:00
Jiang Jiang Jian
259220f33d
Merge branch 'bugfix/btdm_spp_invalid_handle_path' into 'master'
...
component/bt: Fix bug of SPP invalid handle path
See merge request idf/esp-idf!2056
2018-03-19 18:40:47 +08:00
Ivan Grokhotkov
e784df60cc
Merge branch 'bugfix/fix_param_name_comments_bt' into 'master'
...
components/bt: Fix parameter name and print statements
See merge request idf/esp-idf!2032
2018-03-19 16:59:09 +08:00
Ivan Grokhotkov
85c9164f50
Merge branch 'bugfix/fix_bt_typos' into 'master'
...
components/bt examples/bluetooth: Fix typographical errors
See merge request idf/esp-idf!1950
2018-03-19 16:58:55 +08:00
Liu Zhi Fu
072b353b45
bootloader: force SDIO 1.9V if flash is 80M
...
If the SPI flash frequency is 80M, the voltage of SDIO is 1.9V,
otherwise, it can configured to 1.8V or 1.9V via menuconfig.
2018-03-19 16:39:54 +08:00
Ivan Grokhotkov
b9a8912659
Merge branch 'bugfix/spi_master_const_dev_config_t' into 'master'
...
spi master: use constant dev_config parameter in spi_bus_add_device
See merge request idf/esp-idf!2082
2018-03-19 16:31:19 +08:00
Jiang Jiang Jian
7594127ca3
Merge branch 'feature/add_simple_wifi_example' into 'master'
...
add feature of simple wifi example
See merge request idf/esp-idf!2045
2018-03-19 14:56:22 +08:00
Jiang Jiang Jian
9e8d098264
Merge branch 'bugfix/btdm_fix_eddystone_demo_error' into 'master'
...
Component/bt: fix eddystone demo error
See merge request idf/esp-idf!2036
2018-03-19 14:26:55 +08:00
Jiang Jiang Jian
d6946598f6
Merge branch 'bugfix/btdm_fix_gattc_open_API' into 'master'
...
component/bt: fix gattc open api
See merge request idf/esp-idf!2004
2018-03-19 14:26:41 +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
757c1d6739
docs: explicitly note that timer alarms are not recurring
...
Merges https://github.com/espressif/esp-idf/pull/1740
2018-03-19 11:56:57 +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
baohongde
1c48b4f01e
component/bt: Fix bug of SPP invalid handle path
2018-03-19 02:22:45 +00:00
Angus Gratton
9a6fcab527
Merge branch 'test/spi_speed_fix' into 'master'
...
test(spi_master): test spi master speed performance by median value.
See merge request idf/esp-idf!2048
2018-03-19 06:16:38 +08:00
John
f32abada86
Update building-openocd-linux.rst. Merges https://github.com/espressif/esp-idf/pull/1714
...
replace - for -- in line 16 to make it run
2018-03-18 20:02:54 +01:00
Ivan Grokhotkov
09a30ddfdc
Merge branch 'bugfix/adc_calibration_override_format' into 'master'
...
esp_adc_cal/Fix register definition and add override intsructions for eFuse
See merge request idf/esp-idf!2001
2018-03-16 20:19:01 +08:00
zwj
d1405183a5
component/bt: fix gattc open api
2018-03-16 19:17:55 +08:00
Michael (Xiao Xufeng)
15be0829fa
test(spi_master): test spi master speed performance by median value.
...
also increase the boundary of SPI limit by a little.
2018-03-16 16:37:19 +08:00
Darian Leung
f4b03d553c
bugfix/Fix BLK3_RESERVED_FLAG register and other minor bugs
...
This commit fixes an incorrect register definition for BLK3_RESERVED_FLAG.
Other bugs include a missing conditional check, and updated comments
on modifying eFuse checking behavior.
2018-03-16 15:51:36 +08:00
Angus Gratton
748fef4363
doc: Move non-language-specific RTD/Sphinx config to conf_common.py
2018-03-16 12:00:01 +11:00
Jiang Jiang Jian
7e268adaf5
Merge branch 'bugfix/btdm_mem_leak_of_bt_dynamic_memory' into 'master'
...
component/bt: Fix bug of bt dynamic memory
See merge request idf/esp-idf!2053
2018-03-15 17:01:20 +08:00
Jiang Jiang Jian
dc66940f82
Merge branch 'bugfix/btdm_a2dp_disc_rsn_error_when_as_master' into 'master'
...
component/bt: Fix bug: a2dp disc_rsn error when as master
See merge request idf/esp-idf!1995
2018-03-15 15:28:11 +08:00
Jiang Jiang Jian
488268d58b
Merge branch 'bugfix/btdm_a2dp_sink_cleanup_bug' into 'master'
...
component/bt: Fix bug of a2dp sink cleanup bug when connected
See merge request idf/esp-idf!2041
2018-03-15 15:04:39 +08:00
baohongde
3ee5b49575
component/bt: Fix bug of bt dynamic memory
2018-03-15 14:36:49 +08:00
Jiang Jiang Jian
047870fd80
Merge branch 'bugfix/btdm_string_to_bdaddr_error_when_opening_nano' into 'master'
...
component/bt: Fix bug: string_to_bdaddr() error when opening nano
See merge request idf/esp-idf!1981
2018-03-15 14:14:47 +08:00
Liu Zhi Fu
8f61716647
esp32: Fix esp_wifi_stop never returns issue
...
esp_wifi_stop may never return when run esp_wifi_start/stop repeatly.
2018-03-15 11:25:13 +08:00
zhangyanjiao
d91456a348
add feature of simple wifi example
...
Closes: https://github.com/espressif/esp-idf/issues/1433
2018-03-15 10:35:58 +08:00
Angus Gratton
55e5f8e349
Merge branch 'bugfix/docs_small_updates' into 'master'
...
Bugfix/docs small updates
See merge request idf/esp-idf!1847
2018-03-15 06:36:15 +08:00
krzychb
4a9b44e0c8
Included update made in MR !2012 , that has been then lost when resolving merge conflicts of MR !1901
2018-03-14 22:05:36 +01:00
XuanZe
5a31c1e5b1
fix : cpp:type. Merges https://github.com/espressif/esp-idf/pull/1700
2018-03-14 22:04:47 +01:00
krzychb
36bbfbb4bf
Updated instructions to install Eclipse. Closes https://github.com/espressif/esp-idf/issues/1509 .
2018-03-14 19:26:59 +01:00
krzychb
852f7f8a36
Updated get started instructions for windows following https://esp32.com/viewtopic.php?f=13&t=4232
2018-03-14 19:26:59 +01:00
baohongde
c0eadc514f
component/bt: Fix bug of a2dp sink cleanup bug when connected
2018-03-14 06:27:26 +00:00
Ivan Grokhotkov
a58a2b6f6d
Merge branch 'bugfix/wl_encryption_size' into 'master'
...
Bugfix/wl encryption size
See merge request idf/esp-idf!2037
2018-03-14 14:12:29 +08:00
Ivan Grokhotkov
36098f3cac
Merge branch 'bugfix/make_MEMMAP_SMP_config_dependent' into 'master'
...
bugfix/remove MEMMAP_SMP config
See merge request idf/esp-idf!1988
2018-03-14 13:02:55 +08:00
Angus Gratton
bd09a83062
Merge branch 'feature/esptool_v23' into 'master'
...
Update esptool to v2.3.1
See merge request idf/esp-idf!1989
2018-03-14 08:11:59 +08:00
Angus Gratton
7fd74c5eaa
Merge branch 'feature/docs_dedicated_language_folders' into 'master'
...
Move docs into dedicated folders for 'en' and 'zn_CN' language versions
See merge request idf/esp-idf!1901
2018-03-14 07:22:13 +08:00
krzychb
b7f7ac3b28
Implemented review comments to zh_CN version of eclipse setup and PICO-KIT get started guides. Resolved issues after rebasing on master of several commits.
2018-03-13 22:31:54 +01:00
He Yin Ling
286874eca4
CI: print document preview link in deploy_docs
2018-03-13 22:07:31 +01:00