Angus Gratton
e98ff1beb7
Merge branch 'bugfix/remove_mbedtls_would_block_v32' into 'release/v3.2'
...
Remove check for would_block in mbedtls (Backport v3.2)
See merge request espressif/esp-idf!6397
2019-10-23 17:00:36 +08:00
Angus Gratton
e41ef9396f
esptool: Bump to v2.8 release
2019-10-23 09:09:07 +11:00
David Cermak
b4aa4de694
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v3.2)
2019-10-22 21:17:00 +02:00
Roland Dobai
ab7e411f4e
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-22 08:26:43 +02:00
Angus Gratton
696a9fa0ba
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.2' into 'release/v3.2'
...
driver: Fix ticks_to_wait for uart and i2c (v3.2)
See merge request espressif/esp-idf!5248
2019-10-22 13:18:00 +08:00
wangmengyang
360b966938
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-10-21 13:19:41 +00:00
Jiang Jiang Jian
7ed6748534
Merge branch 'test/fix_mesh_test_case_3.2' into 'release/v3.2'
...
test: fix test case MESH_EST_2403 (backport 3.2)
See merge request espressif/esp-idf!5910
2019-10-21 20:13:36 +08:00
David Cermak
eecd2f56ee
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
backport of 640eac84fa
2019-10-21 05:49:54 +00:00
David Cermak
7d8ff31c59
mqtt: referenced esp-mqtt master to fix disconnect crash issue and
...
update docs generation for mqtt library
Backport of 6fb085dbc9e6d8bc232e7b8f506217f680d50ed0
2019-10-21 05:49:54 +00:00
Jiang Jiang Jian
2dc1d1b568
Merge branch 'docs/update_bootloader_chip_revision_print_v3.2' into 'release/v3.2'
...
bootloader_support: fix logging prints around chip revision (v3.2)
See merge request espressif/esp-idf!6338
2019-10-21 10:48:46 +08:00
Jiang Jiang Jian
a1c1175fa7
Merge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode_v3.2' into 'release/v3.2'
...
ethernet: add kconfig help for GPIO0 output mode (v3.2)
See merge request espressif/esp-idf!6343
2019-10-21 10:48:44 +08:00
Jiang Jiang Jian
5adc487133
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.2' into 'release/v3.2'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.2)
See merge request espressif/esp-idf!5922
2019-10-21 10:46:15 +08:00
Jiang Jiang Jian
eea3e63c39
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.2' into 'release/v3.2'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done(backport v3.2)
See merge request espressif/esp-idf!6074
2019-10-21 10:45:34 +08:00
Jiang Jiang Jian
ce07474148
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.2' into 'release/v3.2'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.2)
See merge request espressif/esp-idf!6395
2019-10-21 10:44:22 +08:00
Ivan Grokhotkov
cbe8274651
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-18 11:28:35 +02:00
Kedar Sovani
700976f709
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-10-18 14:18:34 +05:30
Roland Dobai
5519afe675
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:28:24 +02:00
Angus Gratton
f819b7da90
Merge branch 'bugfix/reset_periph_modules_v3.2' into 'release/v3.2'
...
driver: Add a reset before enabling if a module is off (v3.2)
See merge request espressif/esp-idf!6017
2019-10-18 13:34:15 +08:00
Angus Gratton
47f3be89be
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.2' into 'release/v3.2'
...
bugfix(flash): add flash config in app startup (backport v3.2)
See merge request espressif/esp-idf!5927
2019-10-17 10:56:34 +08:00
Darian Leung
f4201de05d
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-10-16 13:21:30 +00:00
Konstantin Kondrashov
db8ddf050f
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-10-16 15:18:31 +08:00
Konstantin Kondrashov
e64f3d43ad
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-10-16 15:18:31 +08:00
Konstantin Kondrashov
2bd77056bb
rmt/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
4be011785e
pcnt/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
5ce96ab227
sdmmc_host/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
b8d4a53260
i2s/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
fc31437236
can/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
dc63c2e9cb
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-10-16 05:49:26 +00:00
Mahavir Jain
d3d4787335
bootloader_support: fix logging prints around chip revision
2019-10-15 10:35:23 +05:30
chenjianqiang
ae39c659d0
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
2019-10-15 12:08:04 +08:00
chenjianqiang
3349c99882
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-10-15 12:08:04 +08:00
Jiang Jiang Jian
90af68bd3c
Merge branch 'bugfix/alt_exit_idf_monitor_v3.2' into 'release/v3.2'
...
idf_monitor: Exit with CTRL+X in menu (v3.2)
See merge request espressif/esp-idf!6292
2019-10-14 21:46:22 +08:00
Jiang Jiang Jian
093214c86f
Merge branch 'feature/add_psram_workaround_option_3.2' into 'release/v3.2'
...
make psram workaround depend on chip revison (v3.2)
See merge request espressif/esp-idf!6304
2019-10-14 21:45:34 +08:00
Angus Gratton
f55cb56380
Merge branch 'feature/handle_icy_uris_v32' into 'release/v3.2'
...
Modified http_parser to handle ICY uris (Backport v3.2)
See merge request espressif/esp-idf!6326
2019-10-14 18:56:01 +08:00
Angus Gratton
f612a39127
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.2' into 'release/v3.2'
...
freertos: remove semicolon in xTaskNotifyGive (v3.2)
See merge request espressif/esp-idf!6271
2019-10-14 11:20:41 +08:00
suda-morris
ae2cec834e
ethernet: add kconfig help for GPIO0 output mode
...
1. add kconfig help for GPIO0 output mode
2. fix a bug when select gpio0 output mode and initialize psram
3. make default config to official development board
4. fix wrong LAN8720 register index
2019-10-14 10:50:49 +08:00
Vikram Dattu
31c720602d
Modified http_parser to handle ICY uris.
...
ICY URIs e.g `http://uk1.internet-radio.com/proxy/vombat?mp=/ ;` need to
be handled differently.
For basic use case, these URIs are similar to HTTP with exception that they reply with `ICY 200` etc in place of `HTTP/1.1 200`.
In http_parser, we now also parse ICY URIs to be able to handle these similar to HTTP.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-10-11 16:24:31 +05:30
Jiang Jiang Jian
0b4faeb781
Merge branch 'bugfix/btdm_backports_v3.2_0903' into 'release/v3.2'
...
Bugfix/btdm backports v3.2 0903
See merge request espressif/esp-idf!5987
2019-10-11 18:34:31 +08:00
suda-morris
ef796860d7
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-10 12:08:34 +08:00
suda-morris
9742acc33d
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-10-10 11:55:16 +08:00
Ivan Grokhotkov
83c87764f4
Merge branch 'bugfix_kconfig_deps_missing_v3.2' into 'release/v3.2'
...
kconfig: Add -MP option so .d files include empty targets (v3.2)
See merge request espressif/esp-idf!5848
2019-10-09 23:53:08 +08:00
Per-Olov Jernberg
0afad4c7a7
idf_monitor: Exit with CTRL+X in menu
...
Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.
This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.
Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129
2019-10-09 10:56:56 +02:00
Jiang Jiang Jian
dc20fa029d
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.2' into 'release/v3.2'
...
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.2)
See merge request espressif/esp-idf!6257
2019-10-09 16:19:48 +08:00
Prasad Alatkar
cf26a8b0f0
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.2)
...
- Backport(v3.2) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-10-09 16:19:48 +08:00
Angus Gratton
fe83420144
Merge branch 'bugfix/check_for_new_cmakecache_vars_v3.2' into 'release/v3.2'
...
idf.py: Add check for new cmake cache values (backport v3.2)
See merge request espressif/esp-idf!5930
2019-10-09 13:54:09 +08:00
Angus Gratton
14098b4832
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_3.2' into 'release/v3.2'
...
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses (backport v3.2)
See merge request espressif/esp-idf!6110
2019-10-09 12:51:55 +08:00
suda-morris
5088758640
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 12:39:28 +08:00
baohongde
ca824d0ddf
components/bt: backports release/v3.2 0903
...
Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
2019-09-23 17:53:29 +08:00
Angus Gratton
d3e562907f
Merge branch 'feature/add_chip_min_revision_3.2' into 'release/v3.2'
...
support esp32 eco revision 2 and 3 (v3.2)
See merge request espressif/esp-idf!6133
2019-09-20 18:13:58 +08:00
suda-morris
eb4c8d9991
support esp32 eco revision 2 and 3
2019-09-19 17:05:08 +08:00