Commit Graph

6862 Commits

Author SHA1 Message Date
Konstantin Kondrashov
b6c07f0fe9 mbedtls: Add UTs for modexp 2019-06-26 19:33:47 +08:00
Konstantin Kondrashov
5421f5e9ae mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.

Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-26 19:33:47 +08:00
Jiang Jiang Jian
85d00d8daa Merge branch 'bugfix/improve_flash_dio_read_timing_v3.1' into 'release/v3.1'
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.1)

See merge request idf/esp-idf!5290
2019-06-26 16:59:26 +08:00
Jiang Jiang Jian
8dd3bb07f8 Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.1' into 'release/v3.1'
component/bt: fix unpack hci enhance connection complete event error(backport v3.1)

See merge request idf/esp-idf!5283
2019-06-26 16:47:03 +08:00
Ivan Grokhotkov
ceafbca0a2 spi_flash: raise priority of the task performing spi_flash operation
Fixes https://github.com/espressif/arduino-esp32/issues/740
2019-06-26 16:43:51 +08:00
Jiang Jiang Jian
f53f40396b Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.1' into 'release/v3.1'
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.1)

See merge request idf/esp-idf!5073
2019-06-26 14:05:29 +08:00
He Yin Ling
e263c1add8 Merge branch 'feature/add_nimble_ssc_backport_for_3.1' into 'release/v3.1'
test: modify test cases for bluedroid (backport v3.1)

See merge request idf/esp-idf!5214
2019-06-25 23:19:09 +08:00
Chen Sheng
4ec321d1b9 test: modify test cases for bluedroid (backport v3.1) 2019-06-25 23:19:08 +08:00
He Yin Ling
c5dcb7e662 Merge branch 'test/fix_some_error_wifi_cases_v3.1' into 'release/v3.1'
test: fix some wifi case issues (backport v3.1)

See merge request idf/esp-idf!5253
2019-06-20 22:10:56 +08:00
Ivan Grokhotkov
6600250f30 examples: don't enable buffering on stdout in console examples
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-06-20 16:27:42 +08:00
Ivan Grokhotkov
cb5c0d3a12 console/linenoise: support buffered stdout 2019-06-20 16:27:06 +08:00
Angus Gratton
14abc49237 Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.1' into 'release/v3.1'
driver: Fix ticks_to_wait for uart and i2c (v3.1)

See merge request idf/esp-idf!5249
2019-06-20 14:24:53 +08:00
chenjianqiang
dfe06c6dfb bugfix(flash): improve flash dio read timing
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-06-19 17:30:21 +08:00
zhiweijian
a74775d5f0 component/bt: fix unpack hci enhance connection complete event error 2019-06-19 14:41:52 +08:00
Jeroen Domburg
378a13ba18 Merge branch 'bugfix/spi_concurrency_3.1' into 'release/v3.1'
spi_master: fix a possible concurrency issue

See merge request idf/esp-idf!5188
2019-06-19 10:48:44 +08:00
He Yin Ling
f30c415cdd test: fix some wifi case issues:
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:51:52 +08:00
Konstantin Kondrashov
95c0b90cc1 driver: Add uart and i2c UTs to check ticks_to_wait in some functions 2019-06-14 12:31:43 +08:00
Konstantin Kondrashov
e7322c8472 uart: Fix ticks_to_wait when 0 or expired
Closes: https://github.com/espressif/esp-idf/issues/3301

Closes: IDFGH-964
2019-06-14 12:31:43 +08:00
Konstantin Kondrashov
357364ab25 i2c: Fix ticks_to_wait when 0 or time expired
Closes: https://github.com/espressif/esp-idf/issues/3301

Closes: IDFGH-964
2019-06-14 12:31:43 +08:00
Jiang Jiang Jian
d09ccd4b31 Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.1' into 'release/v3.1'
bugfix(psram): improve spi cs timing settings for psram (backport v3.1)

See merge request idf/esp-idf!4908
2019-06-14 11:59:45 +08:00
Michael (XIAO Xufeng)
1d58ccdf42 spi: fix a possible concurrency issue 2019-06-11 13:02:21 +08:00
baohongde
3a8fbb7be4 components/bt: Fix assert due to alloc LMP TX buffer failed 2019-06-10 19:17:48 +08:00
baohongde
c9694d4004 component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller 2019-06-10 19:17:48 +08:00
baohongde
a19c901e99 add missing source files to CMakeLists for HFP 2019-06-10 19:17:34 +08:00
wangmengyang
4a6d2da209 component/bt: fix some performance issues in A2DP source data flow control
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-06-10 16:38:52 +08:00
Jiang Jiang Jian
613558774b Merge branch 'feature/add_ping_packet_len_and_QoS_v3.1' into 'release/v3.1'
add ping length and QoS (backport v3.1)

See merge request idf/esp-idf!5148
2019-06-10 15:48:20 +08:00
Angus Gratton
34f18da855 Merge branch 'bugfix/reset_log_uart_port_v3.1' into 'release/v3.1'
esp32: Add reset CONSOLE_UART port (v3.1)

See merge request idf/esp-idf!5122
2019-06-06 16:19:30 +08:00
zhangyanjiao
d95911ec38 add ping length and QoS 2019-06-06 14:29:42 +08:00
Konstantin Kondrashov
ea48d2802c esp32: Add reset uart
Fixed the case when the first part of log was missed
this was happened when:
 * CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
 * The selected CONSOLE_UART port is used also for the console component
 * in code esp_restart() or abort() functions were called.
2019-06-04 20:17:21 +08:00
Angus Gratton
3e666077f0 Merge branch 'bugfix/custom_log_uart_rx_pin_v3.1' into 'release/v3.1'
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.1)

See merge request idf/esp-idf!5033
2019-06-03 14:18:26 +08:00
Angus Gratton
23cd758ddb Merge branch 'bugfix/custom_bootloader_subproject_build_v3.1' into 'release/v3.1'
CMake: Fix custom bootloader does not override original (v3.1)

See merge request idf/esp-idf!5083
2019-06-03 09:49:07 +08:00
Konstantin Kondrashov
5e0d95c4ec soc: Add some headers into gpio_periph.h 2019-05-29 13:53:41 +08:00
Renz Christian Bagaporo
2cd1cdcb7d ci: check that custom bootloader overrides original 2019-05-27 18:45:28 +08:00
Renz Christian Bagaporo
5760e37dcc cmake: fix custom bootloader issue
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-27 18:45:28 +08:00
Angus Gratton
f45612fb2f Merge branch 'bugfix/docs_build_failure_on_rtd_v3_1' into 'release/v3.1'
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...

See merge request idf/esp-idf!5062
2019-05-27 13:59:40 +08:00
zhangyanjiao
3706b3863a wifi bugfix:
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-05-24 18:06:24 +08:00
Krzysztof
1ffa3be4a7 Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific esp-idf release. (backport v3.1) 2019-05-23 20:04:39 +08:00
Jiang Jiang Jian
2ec62e3a98 Merge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.1' into 'release/v3.1'
wifi: fix softap crash when sta reset (backport v3.1)

See merge request idf/esp-idf!5002
2019-05-23 16:17:50 +08:00
xiehang
86c913dbe9 wifi: fix softap crash when sta reset (backport v3.1) 2019-05-20 20:38:43 +08:00
Konstantin Kondrashov
4a82ad3937 bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
The RXD pin is assigned as input (fix for custom uart option).

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

Closes: IDFGH-505
2019-05-20 18:37:26 +08:00
Roland Dobai
7307bf1b87 VFS: Allocate socket select semaphore outside ISR 2019-05-13 11:20:15 +02:00
Ivan Grokhotkov
eae386d0db Merge branch 'bugfix/core_dump_flash_write_addr_check_v3.1' into 'release/v3.1'
Backport v3.1: Fixes freezing core dump with enabled flash write address checks

See merge request idf/esp-idf!4960
2019-05-09 19:45:36 +08:00
Alexey Gerenkov
36620e1c5b esp32: Fixes freezing core dump process when flash write address checks are enabled 2019-05-08 13:30:57 +03:00
Jiang Jiang Jian
e86d1ac95d Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.1' into 'release/v3.1'
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.1)

See merge request idf/esp-idf!4914
2019-05-06 11:39:33 +08:00
Roland Dobai
9a7b82d61f idf.py: Detect symlinks on Windows during fullclean
Closes https://github.com/espressif/esp-idf/issues/3377
2019-05-03 11:25:35 +02:00
zhangyanjiao
4c3bd860f4 fix the bug when scan fail after STA failed to connect to a nonexistent AP 2019-04-30 16:50:29 +08:00
Jiang Jiang Jian
e83bdf62ca Merge branch 'bugfix/fix_some_sta_certification_issues_v3.1' into 'release/v3.1'
esp32: fix some STA certification issues (backport v3.1)

See merge request idf/esp-idf!4902
2019-04-30 14:53:06 +08:00
chenjianqiang
ce52121050 bugfix(psram): improve spi cs timing settings for psram
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-30 10:50:50 +08:00
liu zhifu
4f17f383ec esp32: fix some STA certification issues
Fix following WiFi STA certification issues:
1. Add support for STA HT2040 coexist management
2. Add support for WPA2 improvements
3. Disallow HT rate when unicast/mcast cipher is TKIP/WEP
2019-04-29 20:16:44 +08:00
Jiang Jiang Jian
84c96bf5bf Merge branch 'bugfix/fix_the_PMK_bug_and_wifi_reason_code_v3.1' into 'release/v3.1'
fix the PMK bug and wifi reason code (backport v3.1)

See merge request idf/esp-idf!4895
2019-04-29 10:52:18 +08:00