Island
e877d96ee2
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh proxy cfg replay (v4.1)
See merge request espressif/esp-idf!10820
2020-10-13 17:24:04 +08:00
zhangyanjiao
4c1903a83e
esp_wifi:
...
1. Modify LR for esp32 and esp32s2
2. Fix esp32s2 RTS rate
3. Optimize some debug logs for probe response
4. Optimize phy and soc files
5. Fix the bug that no event for connect
6. drop receiving packets from myself
2020-10-13 16:22:22 +08:00
kapil.gupta
d9fa1f6436
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-10-13 08:09:00 +00:00
kapil.gupta
1d59af5c84
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-10-13 08:09:00 +00:00
kapil.gupta
70fb594873
wpa_supplicant: Support for mbedtls tls handshake
...
Add support for mbedtls based tls handshake, this removes
dependency from internal implementation of EAP client.
2020-10-13 08:09:00 +00:00
lly
6dadc60c8e
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-10-13 14:28:44 +08:00
lly
79d7cb2751
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-10-13 14:28:44 +08:00
Island
d363fafb0b
Merge branch 'bugfix/ble_mesh_node_deinit_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Persistent storage misc fixes (v4.1)
See merge request espressif/esp-idf!10814
2020-10-13 14:07:04 +08:00
lly
0c136620d9
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-10-13 10:54:18 +08:00
Island
c01f0a08fc
Merge branch 'bugfix/ble_mesh_settings_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh settings fix (v4.1)
See merge request espressif/esp-idf!10785
2020-10-13 10:50:03 +08:00
David Čermák
d94867aaac
Merge branch 'bugfix/fix_transport_ssl_blocking_v4.1' into 'release/v4.1'
...
transport: fix transport ssl blocking (v4.1)
See merge request espressif/esp-idf!10692
2020-10-12 21:42:16 +08:00
David Cermak
fcfc04c42a
mdns test: Add test to resolve esp32 hostname with DiG
2020-10-12 13:26:27 +02:00
David Cermak
2afcd77874
examples: Common connect component: Unregister shutdown handler on disconnection
...
To be able to connect smoothly after disconnecting, we have to unregister all handlers including shutdown handler on disconnection
2020-10-12 13:26:27 +02:00
David Cermak
12e86a7c1b
mdns: Support queries in responses in mDNS non-strict mode
...
By default adds original queries to responses in order to be resolved by some resolvers, such as lwIP mdns library. This functionality however is discouraged by the RFC6762, so it could be disabled in menuconfig if MDNS_STRICT_MODE configured
Closes https://github.com/espressif/esp-idf/issues/5521
2020-10-12 13:24:30 +02:00
David Cermak
e2b314522e
mdns: Fix include query ID in reponses
...
Closes https://github.com/espressif/esp-idf/issues/5574
2020-10-12 13:24:30 +02:00
xutao
87bcb95180
transport: fix transport ssl blocking
...
In SSL mode, if `esp_transport_poll_read` function is used, the cache data in mebdtls will be blocked
2020-10-12 10:11:22 +00:00
liqigan
ca42c8ec5c
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-12 17:55:53 +08:00
lly
d48b719e66
ble_mesh: stack: Use settings_core_erase when deinit
2020-10-12 08:47:49 +08:00
lly
cf500b3f47
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-10-12 08:47:49 +08:00
lly
ff88343a10
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-10-12 08:47:49 +08:00
lly
66a798dbf2
ble_mesh: stack: Split model settings store and clear
2020-10-12 08:47:49 +08:00
lly
2598844423
ble_mesh: stack: Erase netkey and appkey with key index
2020-10-12 08:47:49 +08:00
lly
402fe837c1
ble_mesh: stack: Add clear hb_pub in settings
2020-10-12 08:47:49 +08:00
lly
e05d42d910
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-10-12 08:47:48 +08:00
lly
895dd44f8e
ble_mesh: stack: Use erase settings functions
2020-10-12 08:47:47 +08:00
lly
ecf065e2a6
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-10-12 08:47:46 +08:00
lly
5444c8a462
ble_mesh: stack: Add role check before enabling device
2020-10-12 08:47:45 +08:00
lly
4b27c84095
ble_mesh: stack: Define a type for mesh nvs handle
2020-10-12 08:47:45 +08:00
lly
53d7b12c29
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-10-12 08:47:44 +08:00
Krzysztof Budzynski
5d258af93c
Merge branch 'feature/guide_change_for_catalina_v4.1' into 'release/v4.1'
...
docs: Add profile file name used by zsh shell (v4.1)
See merge request espressif/esp-idf!10773
2020-10-10 18:02:51 +08:00
Krzysztof
3bca931923
docs: Add profile file name used by zsh shell
2020-10-09 19:16:59 +02:00
Jiang Jiang Jian
751e0d205d
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v4.1' into 'release/v4.1'
...
NimBLE: host_rcv_pkt event buf size check. (v4.1)
See merge request espressif/esp-idf!10759
2020-10-09 15:19:41 +08:00
Chinmay Chhajed
0d25a9cff8
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:29:57 +05:30
Ivan Grokhotkov
580246d6ff
Merge branch 'gdb/bt_on_invalid_pc_v4.1' into 'release/v4.1'
...
gdb: Modify PC in case of invalid PC (v4.1)
See merge request espressif/esp-idf!10748
2020-10-08 17:42:53 +08:00
Angus Gratton
7caa230cf9
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v4.1' into 'release/v4.1'
...
CI: get git describe from annotated tags (v4.1)
See merge request espressif/esp-idf!10674
2020-10-08 16:44:18 +08:00
Mahavir Jain
e957cfe0eb
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v4.1' into 'release/v4.1'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v4.1)
See merge request espressif/esp-idf!10735
2020-10-08 16:31:54 +08:00
Sachin Parekh
63c006ac91
gdb: Modify PC in case of invalid PC
...
Incase the PC is invalid, GDB will fail to translate addresses to
function names. To fix this, replace the invalid PC with a placeholder
address
2020-10-08 11:13:17 +05:30
Angus Gratton
c48760e2d1
Merge branch 'bugfix/embed_file_symbol_names_v4.1' into 'release/v4.1'
...
cmake: fix C identifier generation from embedded file (v4.1)
See merge request espressif/esp-idf!10665
2020-10-08 11:59:50 +08:00
Angus Gratton
9f49a27c12
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:57:19 +11:00
Angus Gratton
df61488e54
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:57:19 +11:00
Mahavir Jain
f7f81c33f7
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here ensures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-10-06 14:42:45 +05:30
Angus Gratton
dc66bcb5ac
Merge branch 'bugfix/efuse_test_stackoverflow_v4.1' into 'release/v4.1'
...
CI: Increase stack size for efuse unit test (Backport v4.1)
See merge request espressif/esp-idf!10547
2020-10-06 16:20:17 +08:00
Angus Gratton
15edb0d4b5
Merge branch 'bugfix/returns_correct_flash_encryption_mode_v4.1' into 'release/v4.1'
...
bootloader: Fix esp_get_flash_encryption_mode() (v4.1)
See merge request espressif/esp-idf!10713
2020-10-05 13:50:48 +08:00
Victor Lamoine
ccfe70872e
Fix ccache documentation: environment variable is IDF_CCACHE_ENABLE
...
Merges https://github.com/espressif/esp-idf/pull/5753
2020-10-05 05:35:02 +00:00
Angus Gratton
aecb2bd8ee
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-10-05 05:35:02 +00:00
Ivan Grokhotkov
37fb85b998
Merge branch 'bugfix/spi_flash_yield_coredump_v4.1' into 'release/v4.1'
...
spi_flash: don't call vTaskDelay in non-os context (v4.1)
See merge request espressif/esp-idf!10298
2020-10-03 14:52:55 +08:00
KonstantinKondrashov
66acb32665
bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
...
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.
Closes: https://github.com/espressif/esp-idf/issues/5747
2020-10-01 14:29:43 +08:00
He Yin Ling
52baa25aa1
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:33:04 +08:00
morris
73a4063163
pcnt: fix bug in clear interrupt status
2020-09-30 11:12:33 +08:00
Renz Bagaporo
ef1d0b3d2e
cmake: fix C identifier generation from embedded file
2020-09-28 21:16:20 +08:00