Darian Leung
99b8ae34c9
fatfs/add menuconfig options for different encodings
...
This commit adds character encoding configurations in for the fatfs component.
The FF_LFN_UNICODE definition in ffconf.h can now be changed to accept UTF-8 or
UTF-16 encoded filernames. Test cases using UTF-8 encoded file paths and names in
FatFs have also been added.
Closes #1183
2018-03-23 14:06:56 +08:00
Ivan Grokhotkov
27bf18ad6b
Merge branch 'test/wifi_stop_deinit' into 'master'
...
test(wifi): add test for wifi stop and deinit.
See merge request idf/esp-idf!2022
2018-03-23 13:45:20 +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
Jiang Jiang Jian
0a83733d2d
Merge branch 'bugfix/btdm_spp_handle_error' into 'master'
...
component/bt: Fix bug of SPP handle error
See merge request idf/esp-idf!2026
2018-03-22 10:08:47 +08:00
Jiang Jiang Jian
ca3e4ef5ca
Merge branch 'bugfix/btdm_fix_error_when_close_SMP_for_master' into 'master'
...
Component/bt: fix build error when close SMP
See merge request idf/esp-idf!2110
2018-03-22 10:07:57 +08:00
Ivan Grokhotkov
887b6e2925
Merge branch 'bugfix/rtc_clk_32k_bootstrap' into 'master'
...
bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC
See merge request idf/esp-idf!2085
2018-03-21 18:38:49 +08:00
Konstantin Kondrashov
f7df532ec0
bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC
...
1. External 32kHz crystal is started for too long or it may not start at all. It is often observed at the first start.
2. At the first start, it is possible that the crystal did not start. And the recorded period was recorded as 0. Which led to a division error by zero during the transition to the deep sleep mode (Maybe somewhere else).
3. Added a unit test to test a new method of oscillation an external crystal.
4. Added a new method of oscillating of an external crystal. The legs of the crystal are fed with a 32 kHz frequency.
The new method eliminates these errors.
Added unit test: `\esp-idf\components\soc\esp32\test\test_rtc_clk.c`: `make TEST_COMPONENTS=soc`
- 8 Test starting external RTC crystal. Will pass.
`Bootstrap cycles for external 32kHz crystal` - is specified in the file Kconfig by default 100.
QA tested a new method of oscillation the crystal on 25 boards. The supply of square waves on the crystal showed a 100% result in contrast to the previous method of launching the crystal. After the tests, the old method was deleted.
Closes TW19143
2018-03-21 13:27:56 +05:00
zhiweijian
064c274bd6
Component/bt: fix build error when close SMP
2018-03-21 15:21:30 +08:00
Jiang Jiang Jian
8478823039
Merge branch 'bugfix/dfs_rtc_fixes' into 'master'
...
DFS related fixes
See merge request idf/esp-idf!2102
2018-03-21 12:02:48 +08:00
Jiang Jiang Jian
aa3c77ec60
Merge branch 'bugfix/wifi_lwip_set_ip_post_wrong_event' into 'master'
...
Fix the bug that incorrect event is posted when setting static ip of softap and ethernet
See merge request idf/esp-idf!2095
2018-03-21 11:45:24 +08:00
XiaXiaotian
0470f28055
Fix the bug that incorrect event is posted when setting static ip of softap and ethernet
2018-03-21 11:04:22 +08:00
Ivan Grokhotkov
5bc724d3f9
Merge branch 'feature/configure_pthread_behaviour' into 'master'
...
pthread: Allow configuration of priority and stacksize
See merge request idf/esp-idf!1978
2018-03-21 00:41:20 +08:00
Kedar Sovani
7a0cab0a5b
pthread: Allow configuration of priority and stacksize
...
The expected usage is:
esp_pthread_set_cfg(cfg);
pthread_create()
If the inherit flag is set, then all subsequent threads forked by this
thread will also inherit this configuration. This avoids having to
change/prefix this for each and every pthread_create() call.
2018-03-20 18:06:32 +05:30
Jiang Jiang Jian
c45170cb66
Merge branch 'bugfix/btdm_fix_reconnect_fail_in_smp_v30' into 'release/v3.0'
...
Component/bt: fix reconnect fail in smp for v3.0
See merge request idf/esp-idf!2075
(cherry picked from commit 7f2a9f0359
)
d0e55335
Component/bt: fix reconnect fail in smp
2018-03-20 18:49:22 +08:00
Jiang Jiang Jian
0f6f762be0
Merge branch 'bugfix/btdm_add_char_descr_uuid_error' into 'master'
...
component/bt: Change the char_uuid to descr_uuid in the add descriptor callback params.
See merge request idf/esp-idf!2065
2018-03-20 18:43:42 +08:00
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
Jiang Jiang Jian
8ab17d7ccf
Merge branch 'bugfix/btdm_avrc_remote_bda_error_when_disconnect' into 'master'
...
component/bt: Fix bug: AVRC remote_bda error when disconnect
See merge request idf/esp-idf!2093
2018-03-20 18:24:01 +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
Liu Zhi Fu
21c0b59315
esp32: optimize WiFi TX
...
1. Optimize TX retry counter
2. Optimize TX timeout
2018-03-20 15:24:32 +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
baohongde
2531975ca0
component/bt: Fix bug: AVRC remote_bda error when disconnect
2018-03-20 15:12:36 +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
zhiweijian
7c777f40aa
Component/bt: add some comment
2018-03-19 21:19:21 +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
michael
c2a68ae0d3
test(wifi): add test for wifi stop and deinit.
2018-03-19 08:23:52 +00: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
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
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
Tian Zhong Xing
7555031553
add api get valid mmu table pages number
2018-03-16 10:40:55 +08: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
Yulong
c802ea842d
component/bt: Change the char_uuid to descr_uuid in the add descriptor callback params.
2018-03-15 02:29:11 -04: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
XuanZe
5a31c1e5b1
fix : cpp:type. Merges https://github.com/espressif/esp-idf/pull/1700
2018-03-14 22:04:47 +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
Roland Dobai
f891eac827
ESP32: Optionally disable lookup-tables for esp_err_to_name
2018-03-13 14:26:54 +01:00
Jiang Jiang Jian
12b4e416e6
Merge branch 'bugfix/wpa2_assert_when_suddenly_disconnect' into 'master'
...
Bugfix of wpa2 task assert when suddenly disconnect
See merge request idf/esp-idf!2043
2018-03-13 20:59:39 +08:00
Ivan Grokhotkov
7a1e3265fe
Merge branch 'bugfix/docs_small_corrections' into 'master'
...
Bugfix/docs small corrections
See merge request idf/esp-idf!2025
2018-03-13 17:43:00 +08:00
Deng Xin
768d6e09ab
Bugfix of wpa2 task assert when suddenly disconnect
2018-03-12 21:41:24 +08:00
Dmitry
5cbb1943ac
Structure size alligned by compiler.
2018-03-12 15:34:16 +03:00
Dmitry
743969f333
Size of structure made latform independent.
2018-03-12 08:34:23 +03:00
Dmitry
560753cfb1
Size updated.
2018-03-12 07:49:50 +03:00
Dmitry
09704fe7ca
Size of structure ware updated.
2018-03-12 07:30:35 +03:00
Hrishikesh Dhayagude
9831eca4b2
components/bt: Fix parameter name and print statement
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-03-09 13:53:27 +05:30
Dmitry
816d63211f
Structure size updated to the 16 bytes * N
2018-03-09 09:17:32 +03:00
Dmitry
7f0b00ef9b
Compiler dependency included for tests.
2018-03-09 08:40:24 +03:00
Dmitry
97539334a9
Remove error from tests.
2018-03-09 07:58:01 +03:00
baohongde
d082316507
component/bt: Fix bug of SPP handle error
2018-03-09 11:46:30 +08:00
Jiang Jiang Jian
77eae33a7e
Merge branch 'bugfix/esp_timer_overflow' into 'master'
...
component/esp32: fix esp_timer bug
See merge request idf/esp-idf!1877
2018-03-09 10:05:22 +08:00
Jiang Jiang Jian
1d49c0953e
Merge branch 'bugfix/close_socket_when_tcp_connecting' into 'master'
...
Close socket request will abort tcp write/connect
See merge request idf/esp-idf!1687
2018-03-08 20:34:40 +08:00
Jiang Jiang Jian
a54b413367
Merge branch 'bugfix/btdm_clear_start_stop_adv_callback_when_complete' into 'master'
...
Component/bt: clear start/stop adv callback when complete
See merge request idf/esp-idf!1938
2018-03-08 20:22:10 +08:00
Jiang Jiang Jian
702b46108c
Merge branch 'bugfix/btdm_fix_set_error_channel_map_in_adv_params' into 'master'
...
Component/bt: fix set error params and return callback when start adv
See merge request idf/esp-idf!1943
2018-03-08 20:18:30 +08:00
Jiang Jiang Jian
d3d3a6fc39
Merge branch 'feature/btdm_blufi_add_custom_data_cmd' into 'master'
...
Component/bt: blufi add custom data cmd
See merge request idf/esp-idf!2017
2018-03-08 20:15:27 +08:00
Jiang Jiang Jian
db690e3f85
Merge branch 'bugfix/btdm_add_param_check_in_gap_set_prefer_conn_params' into 'master'
...
Component/bt: add_params_check_in_prefer_conn_params()
See merge request idf/esp-idf!1944
2018-03-08 20:08:33 +08:00
Jiang Jiang Jian
bcfbb6154c
Merge branch 'bugfix/btdm_fix_get_attr_value_error_after_prepare_write' into 'master'
...
Component/bt: fix get attr value error after prepare write
See merge request idf/esp-idf!1976
2018-03-08 20:06:47 +08:00
zhiweijian
b1d8ea84c3
Component/bt: blufi add custom data cmd
2018-03-08 17:38:44 +08:00
XuanZe
573876700b
fix : esp_partition_find missing `
`
...
Signed-off-by: krzychb <krzychb@gazeta.pl>
2018-03-08 09:39:20 +01:00
Darian Leung
8b1277c55f
efuse/add cpu freq rating
...
This commit adds support for CPU max freqeuency rating
bits in CPU. Bootloader will now print an error if attempting
to 160MHz rated ESP32 at 240MHz.
EFUSE_CHIP_VER_RESERVE has been replaced by the
frequency rating bits. Dependancies on EFUSE_CHIP_VER_RESERVE
have been changed to use EFUSE_CHIP_VER_PKG
2018-03-07 12:16:51 +08:00
Jiang Jiang Jian
983e9f854d
Merge branch 'bugfix/btdm_error_log' into 'master'
...
component/bt: remove some error logs which are not error
See merge request idf/esp-idf!1826
2018-03-06 19:37:16 +08:00
Dmitry
7b287c25b1
Bugfix for write size. The write size for encryption have to be rounded to 16 bytes.
...
A wl_config structure size now ounded to 16.
Flash Emulator updated to work with defined minimum size.
Tests are updated.
2018-03-06 10:26:21 +03:00
baohongde
3824f0eb8f
component/bt: Fix spp lock error
2018-03-06 14:57:08 +08:00
baohongde
f1d3f689e8
component/bt: Fix bug: a2dp disc_rsn error when as master
2018-03-06 14:11:28 +08:00
baohongde
569b9d592e
component/bt: remove some error logs which are not error
2018-03-05 19:22:21 +08:00
Jiang Jiang Jian
17e8d49f26
Merge branch 'bugfix/btdm_update_pktLen_have_no_callback' into 'master'
...
component/bt: Fix bug:update pktlen have no callback
See merge request idf/esp-idf!1913
2018-03-05 16:14:48 +08:00
Jiang Jiang Jian
275fa2cc36
Merge branch 'bugfix/btdm_add_lock_for_spp_without_VFS' into 'master'
...
component/bt: Add lock for SPP slot
See merge request idf/esp-idf!2002
2018-03-05 16:06:16 +08:00
baohongde
c4cdb66947
component/bt: Add lock for SPP slot
2018-03-02 18:11:47 +08:00
zhiweijian
1e6f52fb6f
Component/bt: fix build ble server error with BT_BLE_DYNAMIC_ENV_MEMORY option
2018-02-28 16:44:05 +08:00
Tian Hao
127d213b29
component/esp32: fix esp_timer bug
...
1. fix the bug that cause esp_timer_get_time is not accuracy(the max margin may be 106s).
2. fix the bug that causes esp timer come too early.
2018-02-28 10:49:45 +08:00
Angus Gratton
bd306bb519
esptool: Update to v2.3.1
2018-02-28 10:17:14 +11:00
Darian Leung
33aee51727
bugfix/remove MEMMAP_SMP config
...
This commit removes the MEMMAP_SMP config option.
Dependencies on this config will now depend on !FREERTOS_UNICORE
2018-02-27 17:56:44 +08:00
Ivan Grokhotkov
d1559732b0
Merge branch 'feature/ignore_no_psram' into 'master'
...
Add option to continue running (with less ram) if psram is enabled but not detected
See merge request idf/esp-idf!1911
2018-02-26 20:33:28 +08:00
baohongde
54320d5f7b
component/bt: Fix bug: string_to_bdaddr() error when opening nano
2018-02-26 15:09:03 +08:00
Angus Gratton
dbaea72062
Merge branch 'bugfix/revisit_pthread_once' into 'master'
...
pthread: fix pthread_once behavior, if mux (handle) is in external PSRAM
See merge request idf/esp-idf!1972
2018-02-26 08:52:06 +08:00
Angus Gratton
aedb807a02
Merge branch 'bugfix/esp_ping_ms_pr1638' into 'master'
...
esp_ping - Document that timeout units are in milliseconds
See merge request idf/esp-idf!1968
2018-02-26 08:00:44 +08:00
Ivan Grokhotkov
04ad0f79c0
Merge branch 'adc_calibration_update' into 'master'
...
ADC Calibraiton - Support new new calibration methods and eFuse functionality
See merge request idf/esp-idf!1846
2018-02-26 06:15:06 +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
Ivan Grokhotkov
a9ae4e2696
Merge branch 'bugfix/config_minor_missing_deps' into 'master'
...
Kconfig: esp32/freertos: add some missing dependencies
See merge request idf/esp-idf!1966
2018-02-26 05:57:27 +08:00
zhiweijian
6a9c99a414
Component/bt: fix get attr value error after prepare write
2018-02-24 16:39:00 +08:00