David Čermák
2bf3276900
Merge branch 'feature/config_mqtt_task_prio' into 'master'
...
esp_mqtt: add option to configure mqtt task priority.
Closes IDFGH-2902 and IDFGH-2903
See merge request espressif/esp-idf!8036
2020-03-24 19:43:20 +08:00
David Čermák
e50a7a97da
Merge branch 'bugfix/ipv6_examples' into 'master'
...
IPv6 related updates: esp-netif, common-connect, socket-examples
See merge request espressif/esp-idf!7500
2020-03-24 19:32:33 +08:00
morris
3cf8479017
doc: always adopt latest chip revision
2020-03-24 19:11:28 +08:00
Jiang Jiang Jian
2c06733e10
Merge branch 'optimization/TCPv6_connect_for_master' into 'master'
...
lw-ip:optimization TCPv6 connect
Closes WIFI-1963
See merge request espressif/esp-idf!8018
2020-03-24 15:25:03 +08:00
ChenJianxing
79be253020
esp_wifi: fix esp32s2 sometimes receive ack/cts pkts err.
2020-03-24 15:16:21 +08:00
Marius Vikhammer
694c332cb2
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f
updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-03-24 12:34:49 +08:00
aleks
b3eff24458
espcoredump: update expected test output
2020-03-23 14:40:56 +00:00
Andreas Motl
dde4d2e9eb
Make espcoredump more resilient when decoding specific thread stack
...
Merges https://github.com/espressif/esp-idf/pull/4865
2020-03-23 14:40:56 +00:00
Mahavir Jain
4e0e15631d
Merge branch 'feature/esp_http_client_add_example' into 'master'
...
Add example to demonstrate use of low level APIs in http client
Closes IDFGH-2773
See merge request espressif/esp-idf!7832
2020-03-23 21:14:13 +08:00
Simon Brélivet
456d4d4a20
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-03-23 12:28:29 +00:00
David Cermak
56725fa678
esp-netif: support for ipv6 addr types and indices
2020-03-23 12:19:38 +00:00
Andrei Gramakov
337fff703a
tinyusb: updated the license header in the driver
2020-03-23 13:11:49 +01:00
Angus Gratton
62b40284a1
Merge branch 'bufgix/esp_ota_get_app_elf_sha256' into 'master'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
Closes IDF-1342
See merge request espressif/esp-idf!7529
2020-03-23 14:24:12 +08:00
Jiang Jiang Jian
464e16cef4
Merge branch 'bugfix/Add_lwip_assert_control' into 'master'
...
lw-ip: Add lw-ip assert control
See merge request espressif/esp-idf!8027
2020-03-23 14:06:22 +08:00
Shubham Kulkarni
4858184e19
esp_http_client: Add helper API to read larger data chunks from HTTP Stream
2020-03-23 10:45:39 +05:30
Mahavir Jain
6af3456ca3
Merge branch 'bugfix/wifi_prov_not_stopping' into 'master'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
See merge request espressif/esp-idf!8019
2020-03-23 12:20:04 +08:00
Anton Maklakov
5b57ddf046
Merge branch 'bugfix/ci_build_logs_per_config' into 'master'
...
ci: generate separate log files for each {example, test app} config
See merge request espressif/esp-idf!8039
2020-03-23 11:45:32 +08:00
Marius Vikhammer
32fd9d6c63
s2 crypto: update perf test to use cache comp timer
...
Updated S2 hardware accelerated crypto to use the cache compensated timer.
Re-enabled RSA performance test and set lower targets now that results are more stable
Closes: IDF-1174
2020-03-23 11:30:55 +08:00
Renz Bagaporo
3d0967a58a
test: declare requirements and include dirs private
2020-03-23 10:58:50 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Jakob Hasse
255ae1d32f
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-03-23 09:55:40 +08:00
Piyush Shah
4b030420a1
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-03-21 06:02:55 +00:00
Mahavir Jain
409b3db22f
bootloader_support: initialize mbedtls_ctr_drbg_context per mbedtls v2.16.5 requirement
...
In commit 02d2903e39
, mbedtls was
updated to release v2.16.5, where it was made mandatory to initialize
mbedtls_ctr_drbg_context before using same. It was fixed in wpa supplicant
but missed out in secure boot v2 verification code. This commit
fixes that.
2020-03-20 20:48:22 +05:30
Felipe Neves
481379f14d
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-20 14:33:49 +00:00
Ivan Grokhotkov
dc77ccb24e
spiffs: handle CONFIG_VFS_SUPPORT_DIR
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
8a47f43cef
fatfs: handle CONFIG_VFS_FAT_SUPPORT_DIR
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
18bc25b3a6
cpu_start: handle CONFIG_VFS_SUPPORT_IO
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
33d3bff196
newlib: don't require VFS
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
4cb10ea7c2
newlib: provide default implementations for more syscalls
2020-03-20 14:03:45 +01:00
Ivan Grokhotkov
1f1ce38e5f
newlib: don't depend on VFS names when populating the syscall table
2020-03-20 14:03:44 +01:00
Ivan Grokhotkov
b203ac7b02
lwip: handle CONFIG_VFS_SUPPORT_IO=n and CONFIG_VFS_SUPPORT_SELECT=n
...
* If CONFIG_VFS_SUPPORT_IO=y, keep everything as it is now
* If CONFIG_VFS_SUPPORT_IO=n, defined syscalls which LwIP can
implement, such as read/write/close
* Make LWIP-only select implementation dependent on
CONFIG_VFS_SUPPORT_SELECT, deprecate CONFIG_LWIP_USE_ONLY_LWIP_SELECT
2020-03-20 14:03:44 +01:00
Ivan Grokhotkov
cadab2cbcf
vfs: define all implementations as esp_vfs_, create aliases
...
This change allows (in the future) to test VFS on host, without having
it conflict with the host C library. On host, all aliases would be
disabled.
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
a3c0bcb0a0
vfs: introduce options to turn off some features
...
CONFIG_VFS_SUPPORT_IO: for basic I/O functions support
CONFIG_VFS_SUPPORT_DIR: for file/directory functions support
CONFIG_VFS_SUPPORT_SELECT: for select support
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
45e50f1f2a
newlib: move dirent.h, ioctl.h headers from VFS
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
b427b23ae0
newlib: remove direct dependencies on VFS functions
...
poll: use "select" not "esp_vfs_select" move to newlib
pread, pwrite, select, utime: remove from newlib. VFS and/or LWIP will
provide aliases for these functions.
2020-03-20 13:43:42 +01:00
Ivan Grokhotkov
a5bf40b495
efuse: don't include esp_efuse_utility_debug_dump_blocks in bootloader
2020-03-20 12:31:10 +01:00
sU8U7SfkcwTJVH7PjaVmej7D
c3065c00ff
xtensa: fix sign-conversion warning
2020-03-20 11:10:43 +01:00
baohongde
1bcce4e7db
components/coex: Fix wakeup delay with DFS
2020-03-20 17:58:05 +08:00
xueyunfei
b539e54eed
optimization TCPv6 connect
2020-03-20 07:19:23 +00:00
Ivan Grokhotkov
6330b3345e
Merge branch 'bugfix/disable_rsa_perf_test' into 'master'
...
rsa: ignore performance test in CI
See merge request espressif/esp-idf!8026
2020-03-20 15:09:15 +08:00
David Čermák
e7cd3b592e
Merge branch 'bugfix/esp_netif_ppp_setdefault_fix' into 'master'
...
ESP-NETIF: Set default interface for ppp netif must be called from lw_ip context
Closes IDFGH-2672
See merge request espressif/esp-idf!7555
2020-03-20 14:50:41 +08:00
Jiang Jiang Jian
e432217a16
Merge branch 'bugfix/send_ok_when_sta_disconnect' into 'master'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect
Closes WIFI-198
See merge request espressif/esp-idf!8017
2020-03-20 13:50:55 +08:00
Jiang Jiang Jian
8ee9fbb01a
Merge branch 'bugfix/update_esp32s2_phy_lib_v300' into 'master'
...
esp_wifi: update esp32s2 phy lib v300
Closes WIFI-1087
See merge request espressif/esp-idf!8034
2020-03-20 13:48:08 +08:00
xueyunfei
b1ca95ff22
bugfix for TCPv6 send ok when sta disconnect
2020-03-20 03:10:56 +00:00
Wang Jia Lin
47253a827a
Merge branch 'bugfix/esp32s2_support_16Mbit_psram' into 'master'
...
bugfix(psram): add 16Mbit psram support for esp32s2
See merge request espressif/esp-idf!8011
2020-03-20 00:22:49 +08:00
David Cermak
fffdc1d789
esp-netif-ppp: support for setting ppp netif up and down
...
calling esp_netif_up() and esp_netif_down() was not supported if the
underlying netif wos of ppp type. Updated the code to enable setting
these interfaces up/down and registered actions in moden_netif glue for
connection/disconnection events to set the netif up/down.
2020-03-19 13:16:24 +00:00
David Cermak
e8ff22b5fb
esp-netif: set default interface for ppp netif must be called from lwip context
...
On update of any interface (set up/down) a routing preference is updated calling esp_netif_update_default_netif() that is called from
lwip context. But if the related netif was ppp type, the set_default api used user-mode, thus causing a dead lock.
Closes https://github.com/espressif/esp-idf/issues/4746
2020-03-19 13:16:24 +00:00
ChenJianxing
9dd7b17deb
esp_wifi: update esp32s2 phy lib v300
2020-03-19 20:56:46 +08:00
xiehang
a133dbd848
LWIP: Add lwip assert control
2020-03-19 19:00:19 +08:00
Ivan Grokhotkov
9b20b76ae6
Merge branch 'bugfix/s2_gcm_hw' into 'master'
...
aes: Fixed tag sometime being wrong for HW GCM
See merge request espressif/esp-idf!8009
2020-03-19 18:06:25 +08:00
David Čermák
1d3dbb239a
Merge branch 'feature/ws_server' into 'master'
...
http_server: adds WebSocket support
Closes IDFGH-2151 and IDFGH-2752
See merge request espressif/esp-idf!7893
2020-03-19 17:20:56 +08:00
Marius Vikhammer
2f5e4601ef
rsa: ignore performance test in CI
...
Even with a static key the performance vary a lot between different builds.
2020-03-19 14:16:39 +08:00
Hrishikesh Dhayagude
67a6fd6f3b
NimBLE: Add support to IRAM allocation strategy
...
Added IRAM allocation provision under nimble_platform_mem_malloc()
2020-03-19 04:47:39 +00:00
Angus Gratton
207914a13a
Merge branch 'refactor/common_code_panic_handler' into 'master'
...
Panic handling common code refactor
See merge request espressif/esp-idf!7489
2020-03-19 11:23:57 +08:00
Angus Gratton
aec558eea4
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut' into 'master'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG*
Closes IDFGH-2799
See merge request espressif/esp-idf!7946
2020-03-19 11:18:09 +08:00
chenjianqiang
140e0390cc
psram: add psram size auto detect for esp32s2
2020-03-19 10:53:47 +08:00
David Cermak
1b842ce1a8
http_server: websocket server to support async send
2020-03-18 20:24:46 +00:00
Jackson Ming Hu
e983042af2
http_server: adds WebSocket support
...
This commit adds the WebSocket support for esp_http_server
library. It mainly does:
- Handling WebSocket handshake
- Parsing HTTP upgrade request
- Reply the upgrade request
- Receive WebSocket packets
- Parse header, decode to a struct
- Unmask payload (if required)
- Send WebSocket frames
- Receive WebSocket frame
- Automatic control frame handling
Merges https://github.com/espressif/esp-idf/pull/4306
Closes https://github.com/espressif/esp-idf/issues/4819
2020-03-18 20:24:46 +00:00
Jiang Jiang Jian
cd08917622
Merge branch 'feature/add_certification_version_number' into 'master'
...
esp_wifi: add certification version number.
See merge request espressif/esp-idf!7965
2020-03-18 16:17:43 +08:00
Angus Gratton
99a7581974
Merge branch 'bugfix/uecc_antifault' into 'master'
...
secure boot: Fix anti-fault value if hash is shorter than curve
See merge request espressif/esp-idf!7940
2020-03-18 15:51:09 +08:00
ChenJianxing
efd3505e51
esp_wifi: add certification version number.
2020-03-18 14:38:48 +08:00
Island
961f461f72
Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit' into 'master'
...
ble_mesh: Fix ble mesh nimble host deinit
Closes BLEMESH-177 and IDFGH-2898
See merge request espressif/esp-idf!7985
2020-03-18 12:32:48 +08:00
Jiang Jiang Jian
d579c8a13e
Merge branch 'bugfix/fix_the_bugs_for_country_code' into 'master'
...
fix the bugs for country code
Closes WIFI-1569 and WIFI-1586
See merge request espressif/esp-idf!7238
2020-03-18 11:49:32 +08:00
chenjianqiang
42154848cc
psram: add 16Mbit psram support for esp32s2
2020-03-18 11:15:00 +08:00
Marius Vikhammer
ffb9010cbe
aes: Fixed tag sometime being wrong for HW GCM
...
The GCM hardware accelerated algorithm for S2 would sometimes output
the wrong tag.
Added additional tests for AES and GCM
Re-enable HW GCM as default option
2020-03-18 08:44:38 +08:00
ChenJianxing
af8d90dbc1
esp_wifi: fix esp32s2 ap mac address can not find.
2020-03-17 21:33:59 +08:00
Jiang Jiang Jian
2e7ae75011
Merge branch 'bugfix/wep40_key_parsing_bug' into 'master'
...
wpa_supplicant: Add parsing support for WEP40 key
See merge request espressif/esp-idf!7968
2020-03-17 15:42:02 +08:00
Angus Gratton
9c430a17aa
Merge branch 'feature/mpi_accel_s2' into 'master'
...
MPI/RSA accelerator bringup for S2 and bignum refactor
Closes IDF-803 and IDF-1174
See merge request espressif/esp-idf!7915
2020-03-17 13:16:05 +08:00
Mahavir Jain
6795fc194f
Merge branch 'fix/wifi_provisioning_uuid' into 'master'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script
See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Angus Gratton
998eba699e
Merge branch 'bug/hw_sha_fail_alloc' into 'master'
...
s2 sha hw: Fix bug where alloc would fail if input were of len 0
See merge request espressif/esp-idf!7991
2020-03-17 09:33:14 +08:00
Ivan Grokhotkov
2a630cb8d8
Merge branch 'feature/nvs_test_erase_cycles' into 'master'
...
nvs: add a test for sector erase cycles
See merge request espressif/esp-idf!7948
2020-03-17 00:32:59 +08:00
Marius Vikhammer
7e824508a9
mpi: refactor bignum into common and hw specific components
...
Closes IDF-1174
2020-03-16 19:44:30 +08:00
Marius Vikhammer
16b6a7a903
s2 sha hw: Fix bug where alloc would fail if input were of len 0
2020-03-16 19:29:59 +08:00
zhangyanjiao
a11673ebe4
wifi: return fail when setting softAP's channnel is out of range
2020-03-16 17:34:48 +08:00
Jiang Jiang Jian
493cdf53b9
Merge branch 'bugfix/fix_scan_get_rssi_err' into 'master'
...
esp_wifi: Fix scan get rssi err
Closes WIFI-1805
See merge request espressif/esp-idf!7961
2020-03-16 17:10:13 +08:00
Prasad Alatkar
8419aa85a9
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-16 08:20:37 +00:00
kapil.gupta
0ae58fc59f
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-03-16 06:14:19 +00:00
lly
ac2ef797fe
ble_mesh: Fix ble mesh nimble host deinit
2020-03-16 12:45:58 +08:00
Ivan Grokhotkov
a3e236291f
xtensa: add a script for parsing CPU traces (TRAX)
2020-03-13 17:30:29 +01:00
David Cermak
ecb419da2f
soc: minor header fix typo and include of sdkconfig
2020-03-13 12:53:52 +01:00
Jiang Jiang Jian
0ae960f2fe
Merge branch 'feature/support_esp32s2_mac_addr_offset' into 'master'
...
Add mac address offset for some esp32s2.
See merge request espressif/esp-idf!7855
2020-03-13 19:47:33 +08:00
Jiang Jiang Jian
57ad4afe7d
Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
...
esp32s2: fix when enable multi phy init data bin compile err.
Closes IDF-1459
See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
Jiang Jiang Jian
df56535b7a
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled' into 'master'
...
Bugfix/compiler err when performance optimization enabled
Closes BT-688
See merge request espressif/esp-idf!7958
2020-03-13 19:41:59 +08:00
Marius Vikhammer
e21bef3f28
mpi: active hw accel for S2
...
Actives MPI/RSA hardware acceleratio for ESP32 S2.
Closes IDF-803
2020-03-13 18:33:18 +08:00
Ivan Grokhotkov
6afc116036
nvs: enable address sanitizer in host tests when building with clang
2020-03-13 11:29:39 +01:00
Ivan Grokhotkov
d2526e6dda
nvs: fix out of bounds array access in host test
2020-03-13 11:29:39 +01:00
Ivan Grokhotkov
db34a4d031
nvs: add test for erase cycles distribution
2020-03-13 11:29:39 +01:00
Ivan Grokhotkov
0cbbd948c0
nvs: clean coverage files on rebuild
...
Fixes errors reported by libgcov related to merging debug information.
2020-03-13 11:28:04 +01:00
Ivan Grokhotkov
64ceab0069
Merge branch 'feature/aes_sha_accel_s2' into 'master'
...
crypto: SHA and AES accelerator bring up for S2
Closes IDF-1443, IDF-714, and IDF-716
See merge request espressif/esp-idf!7825
2020-03-13 18:21:09 +08:00
Jiang Jiang Jian
0367fe461e
Merge branch 'bugfix/ble_mesh_miscellaneous_fix' into 'master'
...
Bugfix/ble mesh miscellaneous fix
Closes BLEMESH-174
See merge request espressif/esp-idf!7881
2020-03-13 17:50:26 +08:00
xiehang
afa4dbae16
esp_wifi: Fix ESP32S2 wifi log not printing
2020-03-13 14:48:18 +08:00
xiehang
e4698f8473
esp_wifi: Fix scan get rssi err
...
Remove software modify rssi
2020-03-13 12:35:49 +08:00
Jiang Jiang Jian
ad7dfb77c4
Merge branch 'bugfix/reduce_wifi_bin_size' into 'master'
...
esp_wifi: Reduce Bin size
Closes WIFI-9
See merge request espressif/esp-idf!7781
2020-03-13 12:20:50 +08:00
Michael (XIAO Xufeng)
a3c9a864ab
Merge branch 'feat/spi_caps_control_dummy' into 'master'
...
spi_flash: add caps for dummy output control
See merge request espressif/esp-idf!7534
2020-03-12 22:23:49 +08:00
Mahavir Jain
453b65a608
Merge branch 'feature/upgrade_mbedtls_to_v2.16.4' into 'master'
...
mbedtls: upgrade to release v2.16.5
Closes IDFGH-2638
See merge request espressif/esp-idf!7607
2020-03-12 18:08:33 +08:00
lly
2ed1724fc2
ble_mesh: Move dev_role to the end of model_pub
2020-03-12 17:48:09 +08:00
lly
5a90ea3048
ble_mesh: Use the right netkey during iv update
2020-03-12 17:43:19 +08:00
lly
37466d957d
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-12 17:43:19 +08:00
lly
1795107533
ble_mesh: Check buf->ref before unref the buffer
2020-03-12 17:43:19 +08:00
lly
2b80649a79
ble_mesh: Fix mesh memory use-after-free issue
2020-03-12 17:43:19 +08:00
lly
08080edb1b
ble_mesh: Add ble mesh deinit in btc task
2020-03-12 17:43:19 +08:00
lly
9d3ad04667
ble_mesh: Free beacon timer when deinit mesh
2020-03-12 17:43:19 +08:00
lly
13ab2f4015
ble_mesh: Use lock for mesh timer operations
2020-03-12 17:43:19 +08:00
weitianhua
0d2790a429
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-12 16:20:58 +08:00
weitianhua
b86f4d4f00
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-12 15:07:03 +08:00
Marius Vikhammer
3351376a11
AES: optimize AES-GCM
...
HW acceleration for GCM is now enabled by default
Closes IDF-1443
2020-03-12 10:20:24 +08:00
michael
3b1fa7b8f0
spi_flash: add caps for dummy output control
2020-03-11 16:13:39 +00:00
Jiang Jiang Jian
640c7c5107
Merge branch 'bugfix/select_waiting_assert' into 'master'
...
lw-ip:fix bug for after udp close select_waiting assert
Closes WIFI-1622
See merge request espressif/esp-idf!7400
2020-03-11 21:15:57 +08:00
Mahavir Jain
1cde594460
Merge branch 'bugfix/change_function_pointer_esp_crt_bundle_attach' into 'master'
...
esp_tls: change argument pointer type to (void *) for esp_crt_bundle_attach
See merge request espressif/esp-idf!7947
2020-03-11 19:39:47 +08:00
Ivan Grokhotkov
dbdcd26902
Merge branch 'bugfix/fix_default_console_gpio_on_esp32s2' into 'master'
...
esp32s2: fix default console GPIO
See merge request espressif/esp-idf!7938
2020-03-11 18:39:17 +08:00
Aditya Patwardhan
874e987a3b
esp_tls: change argument pointer type to (void *) for esp_crt_bundle_attach
2020-03-11 15:54:05 +05:30
KonstantinKondrashov
912028273d
efuse: Using IDF_ENV_FPGA in UTs
2020-03-11 18:22:07 +08:00
KonstantinKondrashov
4c5d26085f
efuse/esp32s2: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
2020-03-11 18:22:07 +08:00
KonstantinKondrashov
ae90d5f39f
efuse/esp32: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-03-11 18:22:07 +08:00
xueyunfei
e3ff1efe65
fix bug for after udp close select_waiting assert
2020-03-11 10:03:40 +00:00
ChenJianxing
5019419496
esp32s2: fix when enable multi phy init data bin compile err.
2020-03-11 18:03:21 +08:00
Marius Vikhammer
37369a8a57
crypto: SHA and AES accelerator bring up for S2
...
Brings up, fixes and enables AES and SHA hardware acceleration.
Closes IDF-714
Closes IDF-716
2020-03-11 15:09:45 +08:00
Angus Gratton
59381b60c0
Merge branch 'refactor/hal_function_set_exception_vector_table' into 'master'
...
soc: add hal api to set exception vector table base address
See merge request espressif/esp-idf!7905
2020-03-11 14:44:42 +08:00
Angus Gratton
694e22b41a
Merge branch 'feature/multi_target_performance_test' into 'master'
...
Add multi-target support for performance tests
Closes IDF-1137 and IDF-1113
See merge request espressif/esp-idf!7831
2020-03-11 14:38:51 +08:00
Angus Gratton
f2d310fea7
secure boot: Fix anti-fault value if hash is shorter than curve
...
(Not actually a problem with SBV1 anti-fault as hash size == curve size in this case.)
2020-03-11 17:17:20 +11:00
Andrew
3bb41fd67e
spi: add unit test for slave receiving length
2020-03-11 13:24:30 +08:00
Mahavir Jain
02d2903e39
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-11 05:17:33 +00:00
ChenJianxing
a6c27619f2
add mac address offset for some esp32s2.
2020-03-11 13:17:23 +08:00
morris
6cb7d82120
esp32s2: fix default console GPIO
...
on ESP32-S2, the default GPIO used for UART0 is: TX-43, RX-44
2020-03-11 12:30:29 +08:00
KonstantinKondrashov
fc03161f70
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-03-10 20:26:03 +08:00
Renz Bagaporo
ee519634a5
esp_system: retain backtrace no space
2020-03-10 19:56:24 +08:00
Renz Bagaporo
7cc8cb68bd
esp_system: suppress reason display on software abort panic
2020-03-10 19:56:24 +08:00
Renz Bagaporo
890510aecd
esp32, esp32s2: move reset reason source to esp_system
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
84e80a3e50
soc: remove sdio slave hal source file duplicate
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
29ebfc3f46
esp_system: let panic handler break on debug mode on software abort
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
af9b1131a3
esp_system: share abort panic with port layer
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
2855bb6f0a
newlib: move abort to newlib
2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo
2b100789b7
esp32, esp32s2: move panic handling code to new component
2020-03-10 19:56:24 +08:00
Jiang Jiang Jian
06fa9476a5
Merge branch 'bugfix/fix_controller_disable_re_enable_crash' into 'master'
...
bugfix: fix the crash bug after controller disable and re-enable in ble bt
Closes BCI-91 and BCI-28
See merge request espressif/esp-idf!7775
2020-03-10 18:13:17 +08:00
xiehang
7569e34e89
esp_wifi: Reduce Bin size
...
1. Disable WiFi API parameter checking log
2. Optimize wifi log
2020-03-10 17:45:06 +08:00
Jiang Jiang Jian
a30557ca31
Merge branch 'mesh/feature_chain_topology' into 'master'
...
Mesh/feature chain topology
Closes WIFI-1726
See merge request espressif/esp-idf!7215
2020-03-10 17:41:11 +08:00
Andrei Gramakov
08543533d8
tinyusb: switch to esp-develop branch
2020-03-09 14:49:29 +01:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Ivan Grokhotkov
95c275109b
Merge branch 'refactor/add_target_name_for_parttool' into 'master'
...
parttool: don't print target name
See merge request espressif/esp-idf!7904
2020-03-09 18:57:44 +08:00
gengyuchao
df3f2f4cb0
bugfix/fix_controller_disable_re_enable_crash
2020-03-09 17:40:06 +08:00
Michael (XIAO Xufeng)
81daaff050
Merge branch 'feature/usb_component' into 'master'
...
Feature/usb component
See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
morris
46ea7d815d
parttool: don't print target name
2020-03-09 15:05:04 +08:00
Andrei Gramakov
9d059be165
usb: added a tinyusb component; ci; soc.
...
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
xueyunfei
f7d2aa96bd
fix bug for netconn marked close crash
2020-03-09 06:32:41 +00:00
Angus Gratton
c1871437c8
Merge branch 'bugfix/console_repl_build_failure' into 'master'
...
bugfix reported on GitHub (ethernet, console, i2ctool)
Closes IDFGH-2780, IDFGH-2361, and IDFGH-2829
See merge request espressif/esp-idf!7886
2020-03-09 14:26:39 +08:00
Angus Gratton
df9d3c6e43
Merge branch 'refactor/print_app_description_on_startup' into 'master'
...
esp32s2: print app description on startup
See merge request espressif/esp-idf!7899
2020-03-09 14:05:04 +08:00
qiyuexia
7bd03faa4b
mesh: add chain topology
2020-03-09 06:00:42 +00:00
Jiang Jiang Jian
c2f2b0e490
Merge branch 'bugfix/Add_tx_packets_size_check' into 'master'
...
esp_wifi: Add TX packets size check
See merge request espressif/esp-idf!7859
2020-03-09 13:51:57 +08:00
Angus Gratton
f21079a06d
Merge branch 'bugfix/duplicate_sdio_slave_hal' into 'master'
...
soc: remove duplicate sdio_slave_hal.c
See merge request espressif/esp-idf!7874
2020-03-09 13:35:58 +08:00
Ivan Grokhotkov
80f50471bf
Merge branch 'bugfix/coredump_no_ext_stacks' into 'master'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
See merge request espressif/esp-idf!7835
2020-03-07 18:07:10 +08:00
Ivan Grokhotkov
8caeb6adfa
Merge branch 'bugfix/bootloader_O0_align_error' into 'master'
...
bootloader_support: force alignment of flash_read argument
See merge request espressif/esp-idf!7860
2020-03-07 18:06:30 +08:00
morris
46a3f3e516
console: make uart param configurable
...
Closes https://github.com/espressif/esp-idf/issues/4845
2020-03-07 13:23:23 +08:00
morris
0a7ccb8095
ethernet: fix potential null pointer dereference
...
Closes https://github.com/espressif/esp-idf/issues/4890
2020-03-07 12:12:29 +08:00
morris
8b6c0947c7
soc: add hal api to set exception vector table base address
2020-03-06 20:23:30 +08:00
morris
ddcba3d574
bootloader_support: read random from register
2020-03-06 15:32:01 +08:00
xiehang
91bcd5eb63
esp_wifi: Add TX packets size check
2020-03-06 15:27:24 +08:00
morris
f735b8891e
esp32s2: print app description on startup
2020-03-06 15:24:28 +08:00
Angus Gratton
a9854f7085
Merge branch 'feature/rmt_clock_support_ref_tick' into 'master'
...
rmt: support ref tick && refactor unit test && re-enable unit test on ESP32-S2
Closes IDFGH-1715
See merge request espressif/esp-idf!7614
2020-03-06 15:03:52 +08:00
Angus Gratton
46e6307e07
Merge branch 'bugfix/fix_passing_argument_to_ulp_cmake_script' into 'master'
...
Fix passing argument to ULP CMake script
See merge request espressif/esp-idf!7845
2020-03-06 14:37:03 +08:00
Angus Gratton
2f1815f74e
Merge branch 'bugfix/cmake_issues' into 'master'
...
CMake bugfixes
See merge request espressif/esp-idf!7605
2020-03-06 14:36:59 +08:00
Angus Gratton
0e0efa28be
Merge branch 'test/stdatomic_ut' into 'master'
...
atomic: support fetch_and, fetch_and and fetch_xor
See merge request espressif/esp-idf!7852
2020-03-06 14:32:02 +08:00
Angus Gratton
f393938c22
Merge branch 'bugfix/remove_esp32s2_esp_intr_header' into 'master'
...
esp32s2: remove esp_intr.h header
See merge request espressif/esp-idf!7883
2020-03-06 14:30:28 +08:00
Angus Gratton
b393203b27
Merge branch 'feature/x509_cert_management' into 'master'
...
X509 certificate management
Closes IDF-296
See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Angus Gratton
86eee73ff0
Merge branch 'bugfix/aligned_alloc_without_poisoning' into 'master'
...
bugfix/heap: Make aligned alloc and aligned free available to all heap poisoning configurations
See merge request espressif/esp-idf!7822
2020-03-06 14:11:20 +08:00
Angus Gratton
02e9e0621e
Merge branch 'bugfix/display_partition_table_info' into 'master'
...
partition_table: output partition table info for partition_table target
See merge request espressif/esp-idf!7638
2020-03-06 14:09:09 +08:00
Jiang Jiang Jian
b184504a84
Merge branch 'feature/support_multiple_phy_init_data_bin' into 'master'
...
feature: support multiple phy init data
Closes WIFI-648
See merge request espressif/esp-idf!6399
2020-03-06 12:20:43 +08:00
Michael (XIAO Xufeng)
8e348dcdcd
Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
...
bugfix(i2s): fix driver ut i2s
See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Jiang Jiang Jian
b7a14c47e6
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace' into 'master'
...
added psram stack check in backtrace
See merge request espressif/esp-idf!7834
2020-03-06 11:35:54 +08:00
Prasad Alatkar
48bd2d74b4
NimBLE: Add Host based privacy (RPA) feature support
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
David Cermak
ab8cab1c55
mdns: limit the GOT_IP6_EVENT to only known network interfaces
2020-03-05 18:46:48 +00:00
David Cermak
eae8eaa55f
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-03-05 18:46:48 +00:00
Francesco Giancane
872272e23a
lwip: make IPV6 link-local support over PPP configurable
...
Make the link local negotiation for IPV6 in PPP optional and
configurable.
This is because some modems do not support the IPV6 negotiation and
sending IPV6CP frames would in some cases break the network
configuration phase, resulting in a timeout during the Phase Network.
Please note that this does not disable the IPV6 support for the outgoing
communication (IPV6 is still enabled even if this option is not
selected) but just for the local link between lwIP and modem.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4782
Closes https://github.com/espressif/esp-idf/issues/1065
2020-03-05 18:46:48 +00:00
Felipe Neves
d495f175d5
heap: pushed down all the aligned_alloc / free implementation
2020-03-05 11:02:19 -03:00
Renz Bagaporo
71c02394e5
esp32s2: remove esp_intr.h header
2020-03-05 16:15:59 +08:00
ronghulin
ffd8c26780
feature: support multiple PHY init data
2020-03-05 16:14:00 +08:00
Jiang Jiang Jian
1e95cf3111
Merge branch 'bugfix/btdm_assert_when_create_connection_cancel' into 'master'
...
components/bt: Fix assert when create conntion cancel
See merge request espressif/esp-idf!7816
2020-03-05 14:52:36 +08:00
Prasad Alatkar
ee1ab95b98
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig
...
Closes BT-522 & BT-523
2020-03-05 13:53:04 +08:00
Renz Bagaporo
5f3a689a89
soc: remove duplicate sdio_slave_hal.c
2020-03-05 12:47:54 +08:00
Renz Christian Bagaporo
709d139a25
partition_table: output partition table info for partition_table target
2020-03-05 11:04:09 +08:00
Mahavir Jain
582f5dd697
Merge branch 'feature/https_server_mutual_auth_PR' into 'master'
...
Feature/https_server_mutual_auth
Closes IDFGH-2004
See merge request espressif/esp-idf!7626
2020-03-04 17:41:28 +08:00
Ivan Grokhotkov
22516b256f
bootloader_support: force alignment of flash_read argument
2020-03-04 09:56:01 +01:00
Jiang Jiang Jian
5724083510
Merge branch 'bugfix/coex_adjust_scheme_when_bt_is_in_connected_status' into 'master'
...
coexist: adjust coexist scheme when BT is in connected status
Closes BT-635 and WIFI-1743
See merge request espressif/esp-idf!7752
2020-03-04 15:33:09 +08:00
Michael (XIAO Xufeng)
bd7b2261a7
Merge branch 'bugfix/fix_esp32s2_soc_bug' into 'master'
...
bugfix(soc/rtc): fix soc/rtc code for esp32s2
See merge request espressif/esp-idf!7819
2020-03-04 14:07:41 +08:00
Xia Xiaotian
5aba95a326
coexist: adjust coexist scheme when BT is in connected status
2020-03-04 13:40:11 +08:00
Jiang Jiang Jian
4d0834359f
Merge branch 'feature/wpa3_testcases_support' into 'master'
...
esp_wifi: Support for additional WPA3 testcases
See merge request espressif/esp-idf!7459
2020-03-04 13:33:00 +08:00
Michael (XIAO Xufeng)
9e12586ab7
esp_common: new unit test benchmarking stdatomic operations
2020-03-04 12:20:23 +08:00
Michael (XIAO Xufeng)
8434845050
atomic: support fetch_and, fetch_and and fetch_xor
2020-03-04 11:35:23 +08:00
Mahavir Jain
5f771fb7be
Merge branch 'bugfix/esp_wifi_memory_leak_test_failure' into 'master'
...
esp_wifi: fix occasional test failure due to memory leak indications
See merge request espressif/esp-idf!7823
2020-03-04 11:16:04 +08:00
Marius Vikhammer
947e3e94ed
Add ESP certificate bundle feature
...
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.
Default bundle includes all Mozilla root certificates
Closes IDF-296
2020-03-04 10:51:43 +08:00
Alex Lisitsyn
3efa8d7a97
core dump: add ESP32-S2 support
2020-03-03 23:37:45 +08:00
Nachiket Kukade
30d6220394
esp_wifi: Support for additional WPA3 testcases
...
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
2020-03-03 19:01:51 +05:30
chaijie
66beaaef7d
soc(rtc): modify rtc code in soc for esp32s2
2020-03-03 13:22:52 +00:00
morris
acd4d4a40b
unit test using internal signal connection
2020-03-03 20:14:46 +08:00
morris
07088c6446
rmt: disable carrier feature by default
2020-03-03 20:14:46 +08:00
morris
0e4d82bc55
rmt: support REF_TICK as channel clock source
...
Closes https://github.com/espressif/esp-idf/pull/3952
2020-03-03 20:14:46 +08:00
morris
3c43264f83
rmt: add RMT_CHANNELS_NUM in rmt_caps.h
2020-03-03 20:14:45 +08:00
Jiang Jiang Jian
ebd35a1657
Merge branch 'bugfix/wep_crash' into 'master'
...
esp-wifi: Fix crash during WEP shared auth
See merge request espressif/esp-idf!7818
2020-03-03 19:18:46 +08:00
kapil.gupta
c634de1532
esp-wifi: Fix crash during WEP shared auth
...
VNC 1181
WIFI Lib: 526
2020-03-03 17:29:03 +08:00
Renz Bagaporo
07a71529de
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-03 16:56:14 +08:00
David Cermak
7bf1a1db35
MQTT: Reference latest mqtt addressing c++ build and qos1/2 resend
...
Closes https://github.com/espressif/esp-idf/issues/4787
2020-03-03 07:07:57 +00:00
Jiang Jiang Jian
36e292b97d
Merge branch 'bugfix/add_hostname_in_discover_packet' into 'master'
...
lw-ip:add host name in discover packet
Closes WIFI-1702
See merge request espressif/esp-idf!7677
2020-03-03 14:25:19 +08:00
Mahavir Jain
8ae05e6547
esp_wifi: fix occasional test failure due to memory leak indications
...
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.
unit-test-app: add an API test_utils_task_delete
This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
xiongyu
b3ae9fa978
bugfix(i2s): Updated ESP32-S2 ADC DAC support
...
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
Jiang Jiang Jian
e8ca5e6f21
Merge branch 'bugfix/Add_wifi_stop_check_in_deinit_entry' into 'master'
...
esp_wifi: Add wifi stop check at wifi deinit entry
Closes WIFI-1671
See merge request espressif/esp-idf!7800
2020-03-03 12:33:05 +08:00
fuzhibo
3ad5138dd8
fix coexist i2s_adc and rtc_adc
2020-03-03 11:58:53 +08:00
xiongyu
faf898b659
bugfix(i2s): fix driver ut i2s
...
* Add test support for ESP32S2
* Add loop back test
* Support chip internal connection, no external wiring required.
* Delete the relevant codes of PDM of ESP32-S2 ll layer.
* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Li Shuai
c796e14964
added psram stack check in backtrace
2020-03-03 11:52:29 +08:00
Angus Gratton
bfc37ab43f
Merge branch 'bugfix/spiflash_read_psram' into 'master'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
Closes IDFGH-2698
See merge request espressif/esp-idf!7768
2020-03-03 10:20:15 +08:00
Angus Gratton
95f7b1985b
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Angus Gratton
fb340940d3
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-03 00:17:27 +00:00
Ivan Grokhotkov
4f32a06f87
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-03-02 14:43:05 +01:00
morris
580ce8fa4a
driver: clean pcnt.h i2s.h
2020-03-02 19:31:29 +08:00
xueyunfei
1dfd4d7c42
add host name in discover packet
2020-03-02 08:18:28 +00:00
Aditya Patwardhan
cc0eec52ff
esp_https_server: Fixed a PR which adds support for mutual auth in
...
https_server
Closes https://github.com/espressif/esp-idf/pull/4184
Closes IDFGH-2004
2020-03-02 12:36:36 +05:30
Maximilian Schmidt
559cd57ea6
Support MutualAuthentication in HTTPsServer
2020-03-02 12:28:30 +05:30
xiehang
299ab1360c
eps_wifi: Add wifi stop check at wifi deinit entry
2020-03-02 14:20:28 +08:00
zhangyanjiao
36c726de99
esp_wifi: fix bugs related to espnow and channel set
...
1. Fix the bug for setting channel when Wi-Fi in NULL mode
2. Fix the espnow crash issue
2020-03-02 11:32:05 +08:00
Renz Christian Bagaporo
eb865008d5
cmake: show error message on encrypted flash targets without proper config
2020-03-02 07:18:22 +05:00
Jiang Jiang Jian
6fd855ab8d
Merge branch 'bugfix/IPV6_multicast_adress_error' into 'master'
...
lw-ip:fix ipv6 bug when input the wrong broadcast
Closes IDF-1226
See merge request espressif/esp-idf!7771
2020-02-29 16:24:19 +08:00
Felipe Neves
98e561b79a
heap: added aligned alloc implementation on multi_heap layer
2020-02-28 13:17:34 -03:00
liu zhifu
6fa0ef50d1
esp_wifi: fix S2 WiFi RX filter issue
2020-02-28 21:37:30 +08:00
Jiang Jiang Jian
520ae6543d
Merge branch 'bugfix/add_ant_field_for_esp32s2' into 'master'
...
(S2) WiFi: add ant field for esp32s2 and update phy lib v102 to v202
Closes WIFI-1787 and WIFI-1788
See merge request espressif/esp-idf!7676
2020-02-28 21:17:40 +08:00
baohongde
d2aa4a1e50
components/bt: Fix assert when create conntion cancel
2020-02-28 20:13:41 +08:00
ChenJianxing
a182c0682e
(S2) WiFi: add ant field for esp32s2 and update phy lib from v102 to v202
2020-02-28 17:44:21 +08:00
Jiang Jiang Jian
40baff19f8
Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion' into 'master'
...
bugfix/btdm_div_by_zero_in_slp_clk_conversion
See merge request espressif/esp-idf!7785
2020-02-28 17:19:40 +08:00
liu zhifu
940b4786c5
esp_wifi: fix the bug that WiFi stop leads to memory leak
2020-02-28 12:06:26 +08:00
xueyunfei
74e690402c
fix ipv6 bug when input the wrong broadcast
2020-02-28 12:00:45 +08:00
Angus Gratton
04ccb84b83
Merge branch 'feature/cpu_abstraction' into 'master'
...
CPU related operations abstraction
See merge request espressif/esp-idf!7301
2020-02-28 11:54:29 +08:00
wangmengyang
3428a1ad0b
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-28 11:36:48 +08:00
Mahavir Jain
2187948cf0
Merge branch 'bugfix/use_less_ram_for_esp_event_performance_test' into 'master'
...
esp_event: reduce event bases registered in performance test
See merge request espressif/esp-idf!7807
2020-02-28 11:25:24 +08:00
Michael (XIAO Xufeng)
ce3ab0b8df
Merge branch 'bugfix/nec_example' into 'master'
...
bugfix in NEC example and low level function
Closes IDFGH-2676 and IDFGH-2689
See merge request espressif/esp-idf!7562
2020-02-28 11:00:50 +08:00
Mahavir Jain
371b3d26ee
Merge branch 'feature/https_server_using_wolfssl' into 'master'
...
Feature/https server using wolfssl
See merge request espressif/esp-idf!7422
2020-02-27 18:57:12 +08:00
Renz Christian Bagaporo
c643f743ce
esp_event: halve the events registered in performance test
2020-02-27 15:54:54 +05:00
Mahavir Jain
5f897fd33c
Merge branch 'feat/secure_boot_v2_v41' into 'master'
...
feat/secure_boot_v2: Adding secure boot v2 support to ESP32-ECO3
Closes IDF-799
See merge request espressif/esp-idf!6778
2020-02-27 18:54:08 +08:00
Aditya Patwardhan
c6ad650796
esp_tls_wolfssl: Add support for DER formatted certificates
2020-02-27 15:20:22 +05:30
Aditya Patwardhan
0a25922043
esp_tls_wolfssl: 1) Fix SNI for wolfSSL
...
2) Fix error captures
3) Add error flags specific wolfSSL
4) make respective changes to esp_err_to_name.c
2020-02-27 15:20:22 +05:30
Aditya Patwardhan
d35862b662
esp-tls: Add support for https_server using wolfSSL
2020-02-27 15:20:22 +05:30
Angus Gratton
26efc5a6d0
bootloader: Set the bootloader optimization level separately to the app
...
Change the default bootloader config to -Os to save size.
This is a useful feature because it allows switching between debug
and release configs in the app without also needing to account for a
size change in the bootloader.
2020-02-27 14:38:52 +05:30
Angus Gratton
d40c69375c
bootloader: Add fault injection resistance to Secure Boot bootloader verification
...
Goal is that multiple faults would be required to bypass a boot-time signature check.
- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32
Add some additional checks for invalid sections:
- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-02-27 14:37:19 +05:30
Angus Gratton
0dacff4df4
secure boot: Encrypt the bootloader signature when enabling flash encryption + secure boot v2
2020-02-27 14:32:42 +05:30
Jiang Jiang Jian
4bd9c2ff64
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue' into 'master'
...
bugfix: Place the Vendor Specific element at the end according to the protocol
Closes WIFI-705
See merge request espressif/esp-idf!7669
2020-02-27 14:31:45 +08:00
Jiang Jiang Jian
5ab8250bde
Merge branch 'feat/ble_mesh_update' into 'master'
...
ble_mesh: Miscellaneous modifications
Closes BLEMESH-139 and BLEMESH-38
See merge request espressif/esp-idf!7385
2020-02-27 11:34:58 +08:00
Michael (XIAO Xufeng)
7f8c827326
Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master'
...
bugfix(pcnt): fix driver ut pcnt
See merge request espressif/esp-idf!6891
2020-02-27 11:29:28 +08:00
Renz Christian Bagaporo
d46989efa3
soc: remove param checking in cpu related abstractions
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
f75cb2ef00
soc: change cpu stall, unstall, and reset core to not return values
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
d5c123c1f5
soc: use own macro to assert proper args for cpu abstractions
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
7386ac6d15
esp32s2: remove calls to stall/unstall other core
2020-02-27 07:15:15 +05:00
Renz Christian Bagaporo
7f864d24ad
soc: prefer assertions, disabling functions for cpu abstractions
...
Prefer assertions, making available functions only when caps support it
for cpu-related abstractions.
Changes cpu hal functions to stall, unstall, reset to not accept -1;
instead prefering macros that provide the same functionality.
2020-02-27 07:15:14 +05:00
Renz Christian Bagaporo
cefc71cdcd
bootloader_support: mem-related initializations using cpu abstractions
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
db608736fb
freertos: implement get core id with cpu abstraction
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
f3c6320ff6
soc: implement cpu utils in terms of cpu abstractions
2020-02-27 07:14:21 +05:00
Renz Christian Bagaporo
c9a51bfbb2
soc: create abstraction for cpu related operations
2020-02-27 07:14:19 +05:00
Jiang Jiang Jian
ac55328efd
Merge branch 'bugfix/fix_sae_test_failure' into 'master'
...
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
See merge request espressif/esp-idf!7792
2020-02-26 22:38:06 +08:00
Sachin Parekh
301dacfb33
Exception handlers for LoadStoreError and LoadStoreAlignmentError
...
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
Sagar Bijwe
0f1710d878
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-02-26 17:50:08 +05:30
Michael (XIAO Xufeng)
c53192d521
Merge branch 'bugfix/fix_uart_set_line_inverse_breaking_change_issue' into 'master'
...
Bugfix(uart): fix uart_set_line_inverse breaking change issue
Closes IDFGH-2469
See merge request espressif/esp-idf!7345
2020-02-26 18:34:52 +08:00
Michael (XIAO Xufeng)
9d8e590d86
Merge branch 'fix/spi_flash_legacy_on_esp32s2' into 'master'
...
spi_flash: fix the reading issue using the ROM functions on ESP32-S2
See merge request espressif/esp-idf!7767
2020-02-26 18:04:51 +08:00
lly
134f57b8e0
ble_mesh: Calc incomplete timeout based on msg info
2020-02-26 17:42:04 +08:00
lly
087bafe5b9
ble_mesh: Start the timer when starting to send the client message
2020-02-26 17:41:46 +08:00
lly
90f8a54a71
ble_mesh: No timeout for client message to non-unicast address
2020-02-26 17:41:30 +08:00
lly
97eca35805
ble_mesh: Unify client application and lower transport layer timeout
2020-02-26 17:41:11 +08:00
lly
e24645c791
ble_mesh: Allow maximum 377 octets payload
2020-02-26 17:40:46 +08:00
lly
828bfeac88
ble_mesh: Reset transport info when node is removed
2020-02-26 17:40:23 +08:00
lly
48343a8a8f
ble_mesh: Provisioner ignores msg from removed node
2020-02-26 17:39:55 +08:00
lly
7cd08b5824
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-26 17:37:44 +08:00
xiongyu
4d5c950770
bugfix(pcnt): fix driver ut pcnt
...
* Let `[ignore] case` return to freedom
1) Because this test uses its own ISR, we need to release it with `esp_intr_free` instead of `pcnt_isr_service_uninstall`.
2) `pcnt_evt_queue` needs to be created before the interrupt is registered and needs to be released at the end of each case.
* Add test support for ESP32S2
* Support chip internal connection, no external wiring required.
2020-02-26 16:52:53 +08:00
Michael (XIAO Xufeng)
160d3bd416
Merge branch 'refactor/i2c_const_and_param_check' into 'master'
...
I2C: const correctness and better param check
See merge request espressif/esp-idf!7582
2020-02-26 16:06:57 +08:00
Jakob Hasse
3bcc6b48af
I2C: i2c.h/i2c.c applied new code formatting
2020-02-26 15:12:03 +08:00
Mahavir Jain
6cc4859d02
Merge branch 'feature/enable_protocomm_tests_for_s2' into 'master'
...
protocomm: enable test cases for esp32s2 with software AES
Closes IDF-1399
See merge request espressif/esp-idf!7675
2020-02-26 11:23:02 +08:00
michael
f1a4c84e57
GPIO: fix unit test issue on ESP32-S2
...
Also rename some test variables.
2020-02-26 11:12:09 +08:00
michael
7a3f21636f
spi_flash: fix the reading issue using the ROM functions in the ROM
2020-02-26 11:12:09 +08:00
michael
f8fae4c80c
spi_flash: resume unit tests for ESP32-S2
2020-02-26 11:12:08 +08:00
houwenxiang
4883733472
driver(I2C): support esp32-s2 I2C driver.
2020-02-25 21:56:00 +08:00
Jiang Jiang Jian
02e2c30ba2
Merge branch 'bugfix/hfp_github_issues' into 'master'
...
Bugfix/hfp github issues
Closes BT-614, BT-639, and BT-633
See merge request espressif/esp-idf!7753
2020-02-25 21:05:56 +08:00
Mahavir Jain
b3e7e61f23
protocomm: enable test cases for esp32s2 with software AES
2020-02-25 18:05:35 +05:30
weitianhua
477e584f7d
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
Michael (XIAO Xufeng)
8f496a0f96
Merge branch 'refactor/add_ll_for_clock_gate_operation' into 'master'
...
periph_ctrl: move target specific into ll files
See merge request espressif/esp-idf!7733
2020-02-25 16:56:30 +08:00
Jiang Jiang Jian
cc7b5ed6d2
Merge branch 'feature/resume_several_tests_on_esp32s2' into 'master'
...
Resume several tests on esp32s2
Closes IDF-1013, IDF-1025, and IDF-1030
See merge request espressif/esp-idf!7751
2020-02-25 14:28:14 +08:00
ronghulin
9afdcb2c70
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-02-25 14:18:50 +08:00
Mahavir Jain
33cdd09385
Merge branch 'bugfix/ota_with_redirection' into 'master'
...
Fix OTA in case of a redirection
See merge request espressif/esp-idf!7596
2020-02-25 13:08:00 +08:00
Supreet Deshpande
a9ccc5e5c8
feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3
2020-02-25 01:28:22 +05:30
Shubham Kulkarni
63cd95d236
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-02-24 16:53:40 +05:30
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
morris
e9717fc07b
periph_ctrl: move target specific into ll files
2020-02-24 14:50:26 +08:00
Jakob Hasse
d230d44e2d
I2C: const correctness, checking SDA/SCL GPIOs
...
* const correctness in i2c_slave_write_buffer()
* i2c_set_pin() additionally checks whether
SDA and SCL pins are the same number
2020-02-24 14:30:28 +08:00
morris
2227e2505b
resume wifi init test on esp32s2
2020-02-24 14:03:25 +08:00
morris
ea8d6318af
add SOC_EMAC_SUPPORTED in soc_caps.h
2020-02-24 11:57:58 +08:00
Jiang Jiang Jian
c65b67115a
Merge branch 'bugfix/wifi_run_modem_sleep_on_esp32s2' into 'master'
...
esp_wifi: run modem sleep on ESP32S2
Closes WIFI-1767
See merge request espressif/esp-idf!7682
2020-02-24 11:44:37 +08:00
houwenxiang
c07e4c775d
driver(uart): fix uart_set_line_inverse breaking change issue
...
closes https://github.com/espressif/esp-idf/issues/4581
2020-02-24 11:36:31 +08:00
Jiang Jiang Jian
7092613eea
Merge branch 'bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk' into 'master'
...
bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk
Closes BT-582
See merge request espressif/esp-idf!7439
2020-02-21 21:21:54 +08:00
Xia Xiaotian
6faaa0ea6b
esp_wifi: run modem sleep on ESP32S2
2020-02-21 19:58:41 +08:00
Ivan Grokhotkov
5ccfc332ea
Merge branch 'feature/nvs_erase_check_init' into 'master'
...
NVS Flash: prevent erasing initialized partition
See merge request espressif/esp-idf!7615
2020-02-21 17:47:45 +08:00
Jiang Jiang Jian
e2d8f81ef5
Merge branch 'bugfix/fix_esp32s2_chip_version_name' into 'master'
...
wifi: Change esp32s2beta dirname to esp32s2 in wifi-lib
See merge request espressif/esp-idf!7654
2020-02-21 17:45:08 +08:00
Jiang Jiang Jian
d3d4746bb7
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration' into 'master'
...
lw-ip: Add option to ipv6 stateless address configuration
See merge request espressif/esp-idf!7697
2020-02-21 14:53:03 +08:00
Ivan Grokhotkov
b90a68f89b
Merge branch 'bugfix/esp32s2_trax' into 'master'
...
xtensa: add TRAX support for esp32s2
Closes IDF-1408
See merge request espressif/esp-idf!7683
2020-02-21 09:58:15 +08:00
Fu Zhi Bo
7a5b67b8de
rtcio: fix rtcio unhold function
...
Solve problems caused by code refactoring.
Closes https://github.com/espressif/esp-idf/issues/4600
2020-02-20 15:42:28 +08:00
Sagar Bijwe
bbd0ff5347
wifi: Change esp32s2beta dirname to esp32s2 in wifi-lib
2020-02-20 06:57:10 +00:00
wangmengyang
d6e672ed51
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-20 14:34:28 +08:00
xiehang
a4b16213ad
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:30:21 +08:00
Jiang Jiang Jian
959b0295f3
Merge branch 'bugfix/coex_a2dp_stuck_after_creating_anther_connection' into 'master'
...
components/coex: Fix a2dp stuck after creating another connection
See merge request espressif/esp-idf!7651
2020-02-20 14:15:22 +08:00
Jiang Jiang Jian
a512d6e15a
Merge branch 'bugfix/coex_fix_misspell_in_kconfig' into 'master'
...
components/coex: Fix misspell in Kconfig
See merge request espressif/esp-idf!7670
2020-02-20 14:15:04 +08:00
Jiang Jiang Jian
adf10e4469
Merge branch 'bugfix/btdm_role_switch' into 'master'
...
Fix bugs about role switch
Closes BT-458 and BT-482
See merge request espressif/esp-idf!6878
2020-02-20 13:39:25 +08:00
Jakob Hasse
c6deffb8a2
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-02-19 18:16:04 +01:00
Michael (XIAO Xufeng)
fa4eba2e34
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration' into 'master'
...
Bugfix (LEDC): Add missing ledc_set_pin declaration
Closes IDFGH-2546
See merge request espressif/esp-idf!7344
2020-02-20 00:22:43 +08:00
Ivan Grokhotkov
8fec484d2b
xtensa: add TRAX support for esp32s2
2020-02-19 14:02:14 +01:00
baohongde
d11a86076f
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-19 20:14:47 +08:00
Ivan Grokhotkov
40cff27053
Merge branch 'feature/esp32s2_pm' into 'master'
...
esp32s2: power management (DFS and auto light sleep)
Closes IDF-670, IDF-527, and IDFGH-231
See merge request espressif/esp-idf!7578
2020-02-19 18:26:33 +08:00
Ivan Grokhotkov
32ea031b19
Merge branch 'bugfix/bootloader_custom_console_pins' into 'master'
...
Fix bootloader build if custom UART pins are used (Github PR + ESP32-S2 + test)
See merge request espressif/esp-idf!7665
2020-02-19 16:56:15 +08:00
Paul Abbott
b75e3de447
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
...
Merges https://github.com/espressif/esp-idf/pull/4632
2020-02-19 16:02:33 +08:00
baohongde
6ca361fd2b
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 07:14:26 +00:00
Ivan Grokhotkov
f69f05ecd7
bootloader: esp32s2: fix enabling custom console pins
2020-02-19 08:13:23 +01:00
baohongde
364a9dece0
components/coex: Fix misspell in Kconfig
2020-02-19 11:41:03 +08:00
Ivan Grokhotkov
fe0df01b12
Merge branch 'bugfix/from_github' into 'master'
...
Fixes from Github
Closes IDFGH-2679, IDFGH-2632, IDFGH-2716, IDFGH-2439, and IDFGH-2509
See merge request espressif/esp-idf!7659
2020-02-18 23:53:38 +08:00
Nebojsa Cvetkovic
d649ea96ce
soc: Add missing gpio_periph.h header
2020-02-18 13:10:37 +00:00
Jiang Jiang Jian
a06f025e61
Merge branch 'bugfix/coex_watchdog_timeout_with_sleep_enabled' into 'master'
...
components/coex: Fix watchdog timeout when sleep enabled
See merge request espressif/esp-idf!7419
2020-02-18 20:55:30 +08:00
Jiang Jiang Jian
6d03758ac4
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp' into 'master'
...
ble_mesh: Fix compile error with c++ files
Closes BMCI-52
See merge request espressif/esp-idf!7579
2020-02-18 20:43:55 +08:00
Alexander Borsuk
e489e48dfa
Fixes compilation error on verbose level (IDFGH-2439)
...
Closes #4552
Merges https://github.com/espressif/esp-idf/pull/4786
2020-02-18 12:30:47 +01:00
Jiang Jiang Jian
1a7d0b3b6f
Merge branch 'bugfix/esp32s2_rng' into 'master'
...
soc: esp32s2: fix address of WDEV_RND_REG
Closes IDF-1390
See merge request espressif/esp-idf!7640
2020-02-18 19:07:51 +08:00
Wang Jia Lin
f02399948d
Merge branch 'bugfix/i2s_adc_output_invert' into 'master'
...
bugfix(i2s): fix adc output invert issue
See merge request espressif/esp-idf!7180
2020-02-18 18:29:23 +08:00
Ivan Grokhotkov
e94cf2f807
Merge branch 'bugfix/make_monitor' into 'master'
...
make: fix 'make monitor' target when core dump is not enabled
See merge request espressif/esp-idf!7641
2020-02-18 16:22:20 +08:00
Ivan Grokhotkov
f31fc368bf
make: fix 'make monitor' target when core dump is not enabled
2020-02-18 08:34:16 +01:00
Ivan Grokhotkov
19c2337168
soc: esp32s2: fix address of WDEV_RND_REG
...
Ref. ESP32-S2 TRM.
Closes IDF-1390
2020-02-18 08:24:33 +01:00
Hrishikesh Dhayagude
3080cad4da
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 14:42:07 +08:00
baohongde
66a01ef490
components/coex: Fix watchdog timeout when sleep enabled
...
Fix crash without enabling sw coex
2020-02-18 03:35:24 +00:00
blueMoods
6a922ea07c
components/bt: change HCI task size back
2020-02-18 03:06:09 +00:00
Angus Gratton
a0644bf8ae
Merge branch 'test/resume_ut_esp32s2' into 'master'
...
ci: resume esp32s2 unit tests
See merge request espressif/esp-idf!7436
2020-02-18 10:58:14 +08:00
Angus Gratton
a6066c801d
Merge branch 'feature/efuse_using_rom_set_timing_func' into 'master'
...
(S2) efuse: Using a ROM function for set_timing
Closes IDF-990
See merge request espressif/esp-idf!7594
2020-02-18 10:29:16 +08:00
Angus Gratton
e95ba301d8
Merge branch 'bugfix/use_quotes_in_embedding_ulp_apps' into 'master'
...
ulp: use quotes when specifying files for embedding ulp binaries
See merge request espressif/esp-idf!7606
2020-02-18 09:15:50 +08:00
KonstantinKondrashov
146c788bd4
(S2) efuse: Using a ROM function for set_timing
...
Closes: IDF-990
2020-02-18 01:10:57 +00:00
Renz Christian Bagaporo
bb639bb91d
ulp: use quotes when specifying files for embedding ulp binaries
2020-02-18 00:12:56 +00:00
Angus Gratton
99cdddeb63
docs: Fix broken or incorrect link roles to IDF files & directories
2020-02-18 10:34:11 +11:00
Ivan Grokhotkov
cee7377e3c
esp32s2: hide “FPGA” as an option for CPU frequency
...
unless IDF_ENV_FPGA is set.
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
a8ad9d6b43
esp32s2: use smaller RTC_CLK_CAL_CYCLES by default
...
Reduce the number proportionally to the frequency (160k on ESP32,
90k on ESP32-S2).
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
383ace9443
rtc_clk_cal: make compatible with the ESP32
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
490bf29767
esp32s2: fix enabling 32k XTAL clock
...
On the ESP32S2, rtc_clk_cal(RTC_CAL_RTC_MUX) measures the frequency
of the 90kHz RTC clock regardless of the selected slow clock
frequency. Keep track which clock is selected and pass the argument
to rtc_clk_cal accordingly.
fix clock choices
update rtc 32k xtal code for s2
missed api in rtc.h
bootloader_clock: update for S2
2020-02-17 17:33:56 +01:00
Ivan Grokhotkov
74ac618287
soc/rtc: update frequency switching APIs to match the master branch
...
esp32s2 code was based in IDF v3.1, and used outdated APIs.
Closes IDF-670
2020-02-17 17:23:32 +01:00
Ivan Grokhotkov
d2d3269159
esp32s2: sync esp_pm code from esp32
2020-02-17 16:03:47 +01:00
Ivan Grokhotkov
d37a419dfc
esp_pm: esp_pm_dump_locks: don't print from a critical section
2020-02-17 16:03:47 +01:00
xiongyu
61778d5b7c
bugfix(i2s): fix adc output invert issue
2020-02-17 17:15:01 +08:00
morris
0d521e8f9d
rmt: fix missing 0x in rmt_ll.h
...
Closes https://github.com/espressif/esp-idf/issues/4760
2020-02-17 15:20:41 +08:00
Jiang Jiang Jian
23c62a4225
Merge branch 'bugfix/update_docs_for_wifi_header' into 'master'
...
esp_wifi: Update docs for wifi headers
See merge request espressif/esp-idf!7604
2020-02-17 15:17:28 +08:00
Krzysztof Budzynski
41bc06b9b9
Merge branch 'bugfix/docs_ledc' into 'master'
...
drivers: Remove high speed mode from LEDC docs for ESP32-S2, update headers to match
See merge request espressif/esp-idf!7532
2020-02-17 05:00:36 +08:00
michael
2529eda907
ci: disable failed cases for s2 temporarily
2020-02-15 18:28:25 +08:00
michael
1c7ffbaa19
app_update: rename ut name
2020-02-15 18:28:25 +08:00
michael
d16ad4a67a
ci: disable case witout runners
2020-02-15 18:28:25 +08:00
michael
24b16b0b19
ci: resume esp32s2 unit tests
2020-02-15 18:28:24 +08:00
Jiang Jiang Jian
4c48208e2c
Merge branch 'bugfix/sock_lock_crash' into 'master'
...
lw-ip:fix bug for crash when socket lock not initialized
Closes WIFI-1713
See merge request espressif/esp-idf!7597
2020-02-15 13:41:49 +08:00
Konstantin Kondrashov
565eee12a0
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-02-15 13:14:08 +08:00
Jiang Jiang Jian
7d39f435a3
Merge branch 'bugfix/ble_crash_irq_miss' into 'master'
...
Fix ble crash issue triggered by ble event irq miss(0x20000) (819979b9)
See merge request espressif/esp-idf!7490
2020-02-14 19:53:49 +08:00
Jiang Jiang Jian
928438056d
Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd' into 'master'
...
components/bt: Fix connection fail and crash when receive unknown AT cmd
Closes BT-565
See merge request espressif/esp-idf!7389
2020-02-14 19:46:46 +08:00
Jiang Jiang Jian
d058be6720
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt' into 'master'
...
components/bt: Fix error EIR type in config eir event
Closes BT-593
See merge request espressif/esp-idf!7404
2020-02-14 16:38:08 +08:00
Nachiket Kukade
883071fe8c
esp_wifi: Update docs for wifi headers
2020-02-14 12:23:27 +05:30
Jiang Jiang Jian
54a50f4532
Merge branch 'feature/support_esp32s2_wifi_v2' into 'master'
...
WiFi: Add support for ESP32S2
See merge request espressif/esp-idf!7505
2020-02-14 11:54:13 +08:00
Ivan Grokhotkov
25041ba583
tools/idf_monitor: automatically decode UART core dumps
...
This adds detection of UART core dumps to IDF monitor. By default,
core dumps are not printed to the console, but are processed by
espcoredump.py using 'info_corefile' command. The result is printed
to stdout.
This feature can be disabled in menuconfig.
In the future this can be extended to allow running espcoredump.py
with 'dbg_corefile' argument, which is similar to the current GDB Stub
behavior.
Related to IDF-52.
2020-02-13 18:46:26 +01:00
Ivan Grokhotkov
cdb947113e
Merge branch 'feature/esp_event_multiple_register' into 'master'
...
ESP-Event: Feature/esp event multiple register
See merge request espressif/esp-idf!7384
2020-02-13 19:02:09 +08:00
Ivan Grokhotkov
a70a6f8974
Merge branch 'feature/nvs_support_data_encodings' into 'master'
...
Feature/nvs support data encodings
See merge request espressif/esp-idf!7557
2020-02-13 19:00:25 +08:00
sushant.chougule
74c7db3f49
Fix ble crash issue triggered by ble event irq miss(0x20000) (d2a1d18d)
2020-02-13 16:16:21 +05:30
xueyunfei
5f904c5b4e
fix bug for crash when socket lock not initialized
2020-02-13 18:00:46 +08:00
ChenJianxing
3e3753faf4
update WiFi libs for both esp32 and esp32s2.
2020-02-13 16:58:36 +08:00
Ivan Grokhotkov
8d8337e80c
Merge branch 'feat/sdspi_polling_spi' into 'master'
...
sdspi: allow using sdspi with other devices on the same bus
See merge request espressif/esp-idf!3177
2020-02-13 15:18:59 +08:00
Jiang Jiang Jian
b42fc77e11
Merge branch 'bugfix/ble_mesh_utf_8_comma' into 'master'
...
ble_mesh: Kconfig included a UTF-8 comma
See merge request espressif/esp-idf!7574
2020-02-13 11:10:43 +08:00
lly
326ccfca88
ble_mesh: Fix compile error with c++ files
2020-02-12 21:24:32 +08:00
Jiang Jiang Jian
dbe1164ecc
Merge branch 'bugfix/fix_airkiss_bug' into 'master'
...
fix the bug for Airkiss
Closes WIFI-1670
See merge request espressif/esp-idf!7347
2020-02-12 20:12:19 +08:00
Chinmay Chhajed
6d96217204
Future events scheduling error in case of wifi and bluetooth.
...
After this commit, global interrupts will be disabled before taking
current time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-02-12 20:04:21 +08:00
lly
bfb27addda
ble_mesh: Kconfig included a UTF-8 comma
2020-02-12 18:21:09 +08:00
Ivan Grokhotkov
b942327a25
Merge branch 'bugfix/esp_netif_hostname' into 'master'
...
esp_netif: fix get/set hostname API to reflect user settings
See merge request espressif/esp-idf!7547
2020-02-12 17:53:58 +08:00
zhangyanjiao
50b9ccf8b4
fix the bug for Airkiss
...
Closes https://github.com/espressif/esp-idf/issues/3362
2020-02-12 08:27:09 +00:00
Jiang Jiang Jian
cedea18acb
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start' into 'master'
...
soc: clear PHY status when cpu start
Closes AUD-1125
See merge request espressif/esp-idf!7493
2020-02-12 15:34:46 +08:00
Michael (XIAO Xufeng)
48a62b3490
sdspi: use polling transactions to increase reading speed.
2020-02-12 15:16:19 +08:00
Michael (XIAO Xufeng)
067f3d21c9
sdspi, vfs_fat: allow sharing SPI bus among devices, and mounting multiple SD cards
2020-02-12 15:16:08 +08:00
Michael (XIAO Xufeng)
278634dcbd
sdspi: support crc16_be for esp32s2
2020-02-12 15:15:46 +08:00
Angus Gratton
c1d0daf36d
Merge branch 'refactor/restructure_soc_component' into 'master'
...
soc: separate abstraction, description and implementation
See merge request espressif/esp-idf!7261
2020-02-12 07:50:10 +08:00
Ivan Grokhotkov
f9bc4fc08b
Merge branch 'bugfix/watchpoint_on_shared_stacl' into 'master'
...
shared_stack: fixed watchpoint placement on shared stack
See merge request espressif/esp-idf!7522
2020-02-12 06:32:49 +08:00
Bruno Binet
7084015884
Update NVS Partition Generator Utility documentation
...
to add support for i16, u64, i64 types
2020-02-11 11:18:19 +00:00
Bruno Binet
cab895f459
NVS: add support for i16, u64, i64 types to NVS partition generation tool
2020-02-11 11:18:19 +00:00
Jakob Hasse
9b4815e3c8
ESP Event: multiple registrations to one event
...
* It's possible now to register the same handler
several times to one specific event, using
a dynamic handle object.
2020-02-11 10:52:05 +01:00
Renz Christian Bagaporo
16e0c93e40
ci: solve public headers errors
2020-02-11 14:30:42 +05:00
Renz Christian Bagaporo
b675df4b08
soc: use include_next for including common touch sensor hal header
2020-02-11 14:30:42 +05:00
Renz Christian Bagaporo
1f2e2fe8af
soc: separate abstraction, description and implementation
2020-02-11 14:30:42 +05:00
Jiang Jiang Jian
7f4309d0f1
Merge branch 'feature/esp32_5p0_code_optimize' into 'master'
...
controller flash code optimize
See merge request espressif/esp-idf!7409
2020-02-11 17:29:08 +08:00
Jiang Jiang Jian
7647b5c668
Merge branch 'bugfix/eapol_log_verbosity' into 'master'
...
wpa_supplicant: Add wpa_supllicant debug logging as a configurable option
Closes WIFI-976
See merge request espressif/esp-idf!7289
2020-02-11 16:10:07 +08:00
David Cermak
3904be6b0f
ESP-NETIF: add unit test for get/set hostname API
2020-02-11 07:36:32 +01:00
David Cermak
7c8cbe02e4
ESP-NETIF: fix get/set hostname API to reflect user settings
...
On startup of the common interface (ethernet, wifi), the lwip netif hostname was assigned to confg value .
Fixed to assign to esp-netif hostname if it exists
Closes https://github.com/espressif/esp-idf/issues/4737
2020-02-11 07:35:12 +01:00
Angus Gratton
c1eef95ec1
Merge branch 'bugfix/test_fp_switch' into 'master'
...
esp32: use semaphore in FP switch test, raise worker task priority
See merge request espressif/esp-idf!7526
2020-02-11 12:05:04 +08:00
Angus Gratton
ea34f3bb27
drivers: Remove high speed mode from LEDC docs for ESP32-S2, update headers to match
2020-02-11 14:36:47 +11:00
David Cermak
50588ff3f7
esp-compiler: add designated init macros to make esp configuration pattern viable under C++
2020-02-10 19:40:28 +01:00
David Cermak
d8da662dec
ESP-NETIF: Add unit test for additional API
2020-02-10 19:40:23 +01:00
Felipe Neves
9c8289b0d9
shared_stack: using watchpoint 1 to monitor the shared_stack instead of watchpoint 0
2020-02-10 12:03:30 -03:00
Felipe Neves
33c9826372
shared_stack: fixed watchpoint placement on shared_stack
2020-02-10 12:03:30 -03:00
David Cermak
02cdef086f
ESP-NETIF: easier creation for WiFi interfaces with custom parameters
...
Closes https://github.com/espressif/esp-idf/issues/4611
Closes IDFGH-2523
2020-02-10 14:22:07 +01:00
Ivan Grokhotkov
7304651320
esp32: use semaphore in FP switch test, raise worker task priority
2020-02-10 13:36:43 +01:00
Angus Gratton
c5d05b5c4f
Merge branch 'feature/usb_support4soc' into 'master'
...
Added usb registers structures
See merge request espressif/esp-idf!6811
2020-02-10 18:00:39 +08:00
Ivan Grokhotkov
f11b8f14c7
Merge branch 'feature/support_enc28j60' into 'master'
...
Added ENC28J60 Example
Closes IDFGH-2295
See merge request espressif/esp-idf!6877
2020-02-10 17:18:38 +08:00
Ivan Grokhotkov
70d99fa986
Merge branch 'bugfix/stage_two_bootloader_linking' into 'master'
...
Fixes accessing some files from 2nd part of the bootloader.
See merge request espressif/esp-idf!7531
2020-02-10 17:13:12 +08:00
Andrei Gramakov
4e8b4b9e49
soc: add USB peripheral register definitions, hal level, reg map, etc
2020-02-10 08:33:39 +00:00
Angus Gratton
59c39173f2
Merge branch 'feature/mqtt_unit_test' into 'master'
...
mqtt: basic set of unit tests, modify example tests to check ssl connect
See merge request espressif/esp-idf!7393
2020-02-10 15:10:56 +08:00
Supreet Deshpande
2bf329eb2c
Fixes accessing some files from 2nd part of the bootloader.
2020-02-10 12:34:18 +05:30
morris
9e59be1aab
ethernet: add enc28j60 example
2020-02-10 12:56:14 +08:00
Henry Gilbert
eda07acc81
Add ENC28J60 Ethernet Driver
...
Merges https://github.com/espressif/esp-idf/pull/4435
2020-02-10 12:56:14 +08:00
Ivan Grokhotkov
966f4227ad
Merge branch 'refactor/simplify_console_examples' into 'master'
...
console: simplify console examples
Closes IDF-1110
See merge request espressif/esp-idf!7040
2020-02-10 04:18:58 +08:00
Konstantin Kondrashov
daa9c30c8e
rmt/esp32s2: Update RMT: reg, struct, LL and test_utils/ref_clock.c
2020-02-09 20:03:31 +08:00
Ivan Grokhotkov
4bfd0b961b
Merge branch 'fix/spi_on_esp32s2' into 'master'
...
spi: support esp32s2
See merge request espressif/esp-idf!7432
2020-02-09 19:45:16 +08:00
Ivan Grokhotkov
e5cb972c3a
Merge branch 'bugfix/fix_esp32s2_flash_rw' into 'master'
...
flash(esp32s2): fix setting address field in spi user mode.
See merge request espressif/esp-idf!7380
2020-02-09 18:05:22 +08:00
Mahavir Jain
577abc4472
Merge branch 'bugfix/newlib_nano_lib_linking' into 'master'
...
esp_rom: link newlib nano from ROM only if SPIRAM cache workaround is disabled
See merge request espressif/esp-idf!7527
2020-02-08 12:48:12 +08:00
Ivan Grokhotkov
98bb3772e0
soc: spi_flash LL fixes
2020-02-07 16:18:31 +01:00
Wangjialin
aaf119e930
flash(esp32s2): fix setting address field in spi user mode.
2020-02-07 16:10:51 +01:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
Mahavir Jain
3803b17048
esp_rom: link newlib nano from ROM only if SPIRAM cache workaround is disabled
2020-02-07 16:17:25 +05:30
David Cermak
3ecb731c23
mqtt: example test to check connection with different ssl parameters
2020-02-07 10:35:40 +01:00
David Cermak
b8e47eb56f
mqtt: add basic set of unit tests
2020-02-07 10:35:40 +01:00
Ivan Grokhotkov
13623ef430
Merge branch 'feature/esp32s2_image_version' into 'master'
...
bootloader_support: add esp_chip_id_t value for ESP32-S2
See merge request espressif/esp-idf!7521
2020-02-07 16:43:21 +08:00
Angus Gratton
613c4e985f
Merge branch 'doc/multi_target' into 'master'
...
docs: Multi target build support
Closes IDF-523
See merge request espressif/esp-idf!6791
2020-02-07 15:20:53 +08:00
Angus Gratton
f91080637c
Merge branch 'bugfix/part_gen_subtype_fix' into 'master'
...
partition_table: Fix subtype in gen_esp32part.py
Closes IDFGH-2646
See merge request espressif/esp-idf!7508
2020-02-07 14:31:02 +08:00
Angus Gratton
eb85cfb9f6
docs: Temporarily mark RF calibration chapter as ESP32 only
...
Can be re-enabled once ESP32-S2 calibration support is added
2020-02-07 16:37:45 +11:00
Angus Gratton
11fac8637a
docs: Resolve doxygen & Sphinx warnings
2020-02-07 16:37:45 +11:00
Shubham Kulkarni
e1c0fb0c62
log: Check for ISR context and use proper API to get Tick Count
2020-02-07 04:49:53 +00:00
Ivan Grokhotkov
0d69ed8620
bootloader_support: add esp_chip_id_t value for ESP32-S2
2020-02-06 19:50:14 +01:00
Sagar Bijwe
4f93a707f8
WiFi: Add support for ESP32S2
...
1) Update WiFi and PHY libs for ESP32S2.
2) Remove KConfig options ESP32S2 PHY lib selection.
3) Change target macros from ESP32S2BETA to ESP32S2
2020-02-06 14:19:30 +05:30
boarchuz
d0eb6c9701
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-06 08:48:35 +01:00
Angus Gratton
fec005ec15
Merge branch 'bugfix/nvs_missing_get' into 'master'
...
NVS: Fixed missing implementations for string/blob
See merge request espressif/esp-idf!7492
2020-02-06 14:31:16 +08:00
Angus Gratton
fda4efa300
Merge branch 'bugfix/rtc_wdt_timeout' into 'master'
...
soc/esp32s2: Fix setting timeout for RTC_WDT. ESP32-S2 uses 90KHz instead of 150kHz
See merge request espressif/esp-idf!7499
2020-02-06 14:27:35 +08:00
Angus Gratton
bd9cb9a307
Merge branch 'bugfix/spiffs_case_when_use_mtime_is_not_set' into 'master'
...
spiffs: Fix for case when CONFIG_SPIFFS_USE_MTIME is not defined
See merge request espressif/esp-idf!7496
2020-02-06 14:26:42 +08:00
Angus Gratton
34b1ea9b3d
Merge branch 'feature/netif_ppp_authtype_none' into 'master'
...
esp-netif: PPPoS fixes
Closes IDFGH-2553 and IDFGH-2548
See merge request espressif/esp-idf!7488
2020-02-06 14:14:43 +08:00
Angus Gratton
98618333a1
Merge branch 'bugfix/wps_config_init' into 'master'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7311
2020-02-06 14:04:31 +08:00
Konstantin Kondrashov
739eb05bb9
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
2020-02-06 14:00:18 +08:00
Mahavir Jain
f515db1a3e
Merge branch 'bugfix/fix_ota_with_chunked_servers' into 'master'
...
Fixed OTA with chunked servers
See merge request espressif/esp-idf!7457
2020-02-05 16:54:01 +08:00
Mahavir Jain
229b599494
Merge branch 'bugfix/remove_cjson_test_file_from_cmake_build' into 'master'
...
cJSON: include only source file objects for cmake build
See merge request espressif/esp-idf!7498
2020-02-05 16:46:29 +08:00
KonstantinKondrashov
47a5d14e59
soc/esp32s2: Fix setting timeout for RTC_WDT. ESP32-S2 uses 90KHz instead of 150kHz
2020-02-05 15:16:28 +08:00
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30
Mahavir Jain
e366b6ac21
cJSON: include only source file objects for cmake build
...
Test file can cause build issues in some cases, since it has its own main() function
2020-02-05 11:14:23 +05:30
KonstantinKondrashov
e85e99189f
spiffs: Fix for case when CONFIG_SPIFFS_USE_MTIME is not defined
...
Closes: 2c793cef06
2020-02-05 03:00:22 +08:00
Ivan Grokhotkov
50466a5e4f
Merge branch 'bugfix/esp32s2_ldscripts' into 'master'
...
esp32s2: LD script fixes/improvements and re-enable SystemView examples
Closes IDF-1357, IDF-1354, and IDF-1346
See merge request espressif/esp-idf!7431
2020-02-05 02:09:29 +08:00
Mahavir Jain
0b8f17e618
Merge branch 'nimble/bugfix_ble_hs_hci_rx_evt' into 'master'
...
NimBLE: Update submodule to fix bug in `ble_hs_hci_rx_evt`
See merge request espressif/esp-idf!7494
2020-02-04 19:35:50 +08:00
Ivan Grokhotkov
41631587f8
Merge branch 'feature/esp32s2_brownout' into 'master'
...
esp32s2: add brownout detector support
Closes IDF-751
See merge request espressif/esp-idf!7428
2020-02-04 17:00:46 +08:00
Prasad Alatkar
bc7ce8e584
Update NimBLE submodule to fix bug in ble_hs_hci_rx_evt
2020-02-04 12:27:47 +05:30
Xia Xiaotian
1833b8aeab
soc: clear PHY status when cpu start
2020-02-04 14:37:16 +08:00
Jakob Hasse
e228a2102d
Fixed missing implementations
2020-02-03 17:18:21 +01:00
Angus Gratton
6d2fa2e0f1
Merge branch 'feature/support_app_update_ut_for_s2_chip' into 'master'
...
app_update(s2): Enable app_update UTs
Closes IDF-1007
See merge request espressif/esp-idf!7415
2020-02-03 14:56:23 +08:00
Mahavir Jain
9ee50266cc
Merge branch 'nimble/misc_host_flow_ctrl_changes' into 'master'
...
NimBLE: Misc fixes in NimBLE host flow control and `blecent` example
See merge request espressif/esp-idf!7042
2020-02-03 13:59:45 +08:00
David Cermak
7d45bfda21
esp_netif_lwip_ppp: fix posting ip-event data
...
Closes https://github.com/espressif/esp-idf/issues/4634
2020-01-31 15:21:30 +01:00
Axel Lin
3f5d19016a
esp_netif_lwip_ppp: Allow esp_netif_ppp_set_auth set auth_type with NETIF_PPP_AUTHTYPE_NONE
...
The ppp_set_auth() is guard by #if PPP_AUTH_SUPPORT in lwIP, so
make it consistent. This also simplify the code a bit because the code
in #if PAP_SUPPORT guard and #if CHAP_SUPPORT guard are exactly the same.
Once NETIF_PPP_AUTHTYPE_NONE added to esp_netif_auth_type_t, it also allows
setting NETIF_PPP_AUTHTYPE_NONE with this change.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4639
2020-01-31 15:19:09 +01:00
Axel Lin
57a56b55c0
esp_netif_ppp: Add NETIF_PPP_AUTHTYPE_NONE to esp_netif_auth_type_t
...
To allow setting auth_type to PPPAUTHTYPE_NONE, add NETIF_PPP_AUTHTYPE_NONE
to esp_netif_auth_type_t.
So even PAP/CHAP are enabled in lwIP, the application still can set
auth_type to PPPAUTHTYPE_NONE.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-01-31 13:41:50 +01:00
KonstantinKondrashov
aa42177e19
app_update(s2): Enable app_update UTs
...
Closes: IDF-1007
2020-01-31 10:34:08 +00:00
June
4f9c3e977e
controller flash code optimize
...
fix ld file to link 3 bt rom functions
2020-01-31 06:29:46 +00:00
Hrudaynath Dhabe
9ebd2cc0f6
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:36:41 +00:00
Hrudaynath Dhabe
ec50c5344b
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-01-31 05:34:07 +00:00
GOPTIONS\pfrost
851658109c
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-01-31 05:34:07 +00:00
Prasad Alatkar
4047f7e180
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-01-31 10:46:55 +05:30
Roland Dobai
5454c268f7
Docs: Omit kconfig configurations not available for the target
2020-01-30 10:30:06 +01:00
Angus Gratton
86034ad049
Merge branch 'feature/freertos_fpu_isr' into 'master'
...
feature/fpu: Enable usage of FPU inside of a ISR
Closes IDF-100
See merge request espressif/esp-idf!7348
2020-01-30 13:38:37 +08:00
Ivan Grokhotkov
ac1834e288
Merge branch 'feature/freertos_xtensa_folder' into 'master'
...
freertos: moved all xtensa specific files into a separated folder
See merge request espressif/esp-idf!7377
2020-01-29 17:04:34 +08:00
Angus Gratton
f5b82c5b1f
Merge branch 'bugfix/esptool_elf2image_flashmode' into 'master'
...
esptool_py: pass flash mode/frequency/size to elf2image
See merge request espressif/esp-idf!7440
2020-01-28 14:22:35 +08:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
Felipe Neves
5cbb3f05c0
freertos: Added experimental, optional FPU usage on level 1 ISR
2020-01-27 10:55:03 -03:00
Felipe Neves
670ea56df2
freertos: added fpu in isr test case
2020-01-27 10:55:03 -03:00
Michael (XIAO Xufeng)
7026087dc0
spi: support esp32s2
2020-01-26 17:24:12 +08:00
Michael (XIAO Xufeng)
9d41829e09
spi: update esp32s2 hardware description files
2020-01-26 17:24:11 +08:00
Ivan Grokhotkov
3eb190ce48
esp32s2: fix interrupt names used by SystemView
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
bb59ca3ab3
esp32s2: add missing ESP32S2_MEMMAP_TRACEMEM_TWOBANKS option
...
It is used when app-trace is enabled, to provide ping-pong buffers.
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
02a99e84c8
esp32s2: move trace memory reservation to soc_memory_layout.c
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
110f3c9ff5
esp32s2: put static .data and .bss directly after .iram.text
...
This results in a single large heap section instead of two smaller
ones.
Closes IDF-1354
2020-01-24 10:48:38 +01:00
Ivan Grokhotkov
27bff3517f
esp32s2: fix "loadable ELF" build
...
Closes IDF-1346
2020-01-24 10:48:20 +01:00
Ivan Grokhotkov
fd15acb50f
esp32s2: bootloader: move iram_loader segment higher
...
This gives extra 16kB for the application's static .data/.bss
2020-01-24 10:48:20 +01:00
Ivan Grokhotkov
354ce68dce
soc: move reserved regions out of memory_layout_utils.c
...
These definitions have ended up being chip specific. Moving them into
respective soc_memory_layout.c makes the whole picture of memory
regions easier to see, and also makes adding support for new chips
easier.
2020-01-24 10:48:20 +01:00
Ivan Grokhotkov
81f0e7d90f
Merge branch 'bugfix/esp32s2_freertos_tls' into 'master'
...
esp32s2: fix THREADPTR calculation, re-enable FreeRTOS TLS tests
Closes IDF-1239
See merge request espressif/esp-idf!7403
2020-01-24 17:47:43 +08:00
Ivan Grokhotkov
9fafdb7e6d
Merge branch 'bugfix/esp32s2_newlib_nano' into 'master'
...
esp32s2: esp_rom: separate nano formatting functions, fix newlib tests
See merge request espressif/esp-idf!7447
2020-01-24 17:46:54 +08:00
Ivan Grokhotkov
6e527fb763
mbedtls: temporary disable HW crypto for ESP32S2
...
To be re-enabled once HW crypto accelerators support is merged:
IDF-714, IDF-716, IDF-803.
2020-01-23 18:14:10 +01:00
Ivan Grokhotkov
16e63f6a3f
esp32s2: esp_rom: separate nano formatting functions, fix newlib tests
2020-01-23 18:07:37 +01:00
Ivan Grokhotkov
caef7ad9f2
esp32, esp32s2beta: move brownout.c to esp_common
2020-01-23 13:44:19 +01:00
Ivan Grokhotkov
70752baba4
esp32s2: add brownout detector support
...
1. add brownout detector HAL for esp32 and esp32s2
2. enable brownout reset for esp32 rev. 1 and above
3. add approximate brownout detector levels for esp32s2
2020-01-23 13:44:19 +01:00
Ivan Grokhotkov
09950797cb
esptool_py: pass flash mode/frequency/size to elf2image
...
Otherwise the image gets generated with wrong parameters, and the
binary does not boot unless it has been "fixed" by esptool during the
upload.
2020-01-23 12:19:15 +01:00
Ivan Grokhotkov
46035032cf
esp32s2: fix inconsistency between reg and struct headers
...
test_mux register doesn't exist in RTCCNTL anymore, remove it from
struct header. Also remove adc_ll_vref_output implementation, which
depends on that register.
2020-01-23 11:30:11 +01:00
Ivan Grokhotkov
cbb84e8f5e
esp32s2: fix THREADPTR calculation, re-enable FreeRTOS TLS tests
...
1. Clarify THREADPTR calculation in FreeRTOS code, explaining where
the constant 0x10 offset comes from.
2. On the ESP32-S2, .flash.rodata section had different default
alignment (8 bytes instead of 16), which resulted in different offset
of the TLS sections. Unfortunately I haven’t found a way to query
section alignment from C code, or to use a constant value to define
section alignment in the linker script. The linker scripts are
modified to force a fixed 16 byte alignment for .flash.rodata on the
ESP32 and ESP32-S2beta. Note that the base address of .flash.rodata
was already 16 byte aligned, so this has not changed the actual
memory layout of the application.
Full explanation of the calculation below.
Assume we have the TLS template section base address
(tls_section_vma), the address of a TLS variable in the template
(address), and the final relocation value (offset). The linker
calculates:
offset = address - tls_section_vma + align_up(TCB_SIZE, alignment).
At run time, the TLS section gets copied from _thread_local_start
(in .rodata) to task_thread_local_start. Let’s assume that an address
of a variable in the runtime TLS section is runtime_address.
Access to this address will happen by calculating THREADPTR + offset.
So, by a series of substitutions:
THREADPTR + offset = runtime_address THREADPTR = runtime_address - offset
THREADPTR = runtime_address - (address - tls_section_vma + align_up(TCB_SIZE, alignment)) THREADPTR = (runtime_address - address) + tls_section_vma - align_up(TCB_SIZE, alignment)
The difference between runtime_address and address is same as the
difference between task_thread_local_start and _thread_local_start.
And tls_section_vma is the address of .rodata section, i.e.
_rodata_start. So we arrive to
THREADPTR = task_thread_local_start - _thread_local_start + _rodata_start - align_up(TCB_SIZE, alignment).
The idea with TCB_SIZE being added to the THREADPTR when computing
the relocation was to let the OS save TCB pointer in the TREADPTR
register. The location of the run-time TLS section was assumed to be
immediately after the TCB, aligned to whatever the section alignment
was. However in our case the problem is that the run-time TLS section
is stored not next to the TCB, but at the top of the stack. Plus,
even if it was stored next to the TCB, the size of a FreeRTOS TCB is
not equal to 8 bytes (TCB_SIZE hardcoded in the linker). So we have
to calculate THREADPTR in a slightly obscure way, to compensate for
these differences.
Closes IDF-1239
2020-01-23 11:29:22 +01:00
Angus Gratton
d672809080
Merge branch 'refactor/rename_esp32s2beta_to_esp32s2' into 'master'
...
global: rename esp32s2beta to esp32s2
See merge request espressif/esp-idf!7369
2020-01-23 09:16:30 +08:00
Angus Gratton
fbb5844151
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm' into 'master'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed
Closes WIFI-1576
See merge request espressif/esp-idf!7303
2020-01-23 09:14:53 +08:00
Hrishikesh Dhayagude
91c8f324a9
NimBLE: Use dynamic buffers instead of static memory.
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-01-23 00:55:51 +08:00
morris
405b0e7f06
esp_rom: splict libgcc and libc outof rom.ld bundle file
2020-01-23 00:27:47 +08:00
KonstantinKondrashov
6061d5d65a
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-01-22 14:30:34 +08:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
morris
95743f4ee6
update rtc_sleep_init for esp32s2
2020-01-22 10:19:05 +08:00
Felipe Neves
73592d9bc4
spin_lock: added new spinlock interface and decoupled it from RTOS
...
spin_lock: cleaned-up port files and removed portmux files
components/soc: decoupled compare and set operations from FreeRTOS
soc/spinlock: filled initial implementation of spinlock refactor
It will decouple the spinlocks into separated components with not depencences of freertos
an similar interface was provided focusing the readabillity and maintenance, also
naming to spinlocks were adopted. On FreeRTOS side the legacy portMUX macros
gained a form of wrapper functions that calls the spinlocks component thus
minimizing the impact on RTOS side.
This feature aims to close IDF-967
soc/spinlock: spinlocks passed on unit test, missing test corner cases
components/compare_set: added better function namings plus minor performance optimization on spinlocks
soc/spinlock: code reordering to remove ISC C90 mix error
freertos/portmacro: gor rid of critical sections multiline macros, placed inline functions instead
soc/spinlock: improved spinlock performance from internal RAM
For cases where the spinlock is executed from IRAM, there is no
need to check where the spinlock object is placed on memory,
removing this checks caused a great improvement on performance.
2020-01-22 06:20:34 +08:00
Ivan Grokhotkov
cc3df01f8f
rom: add header guards in rom/opi_flash.h, fix error in rom/spi_flash.h
2020-01-21 11:58:10 +01:00
Ivan Grokhotkov
2c3e6481bb
Merge branch 'feature/ci_check_cpp_guards' into 'master'
...
ci: add job to check for C++ guards in header files
Closes IDF-288
See merge request espressif/esp-idf!7050
2020-01-21 17:18:23 +08:00
Ivan Grokhotkov
f619a3174b
Merge branch 'bugfix/nvs_new_nothrow' into 'master'
...
NVS: Change all new to new (nothrow)
See merge request espressif/esp-idf!6930
2020-01-21 17:06:19 +08:00
Ivan Grokhotkov
c11f77cb1a
Merge branch 'feature/use_underlying_cmake_targets_for_idf_py' into 'master'
...
CMake: Use underlying flash targets for idf.py
See merge request espressif/esp-idf!7067
2020-01-21 17:05:47 +08:00
Jiang Jiang Jian
95f9db79d2
Merge branch 'feature/lwip_netinet_tcp_pr4637' into 'master'
...
lw_ip: Add netinet compatibility headers (PR 4637)
Closes IDFGH-2551
See merge request espressif/esp-idf!7408
2020-01-21 15:00:03 +08:00
Angus Gratton
e0fe136bf9
Merge branch 'bugfix/select_driver_not_installed' into 'master'
...
VFS: Check in select() if the UART driver is installed or not
Closes IDFGH-2540
See merge request espressif/esp-idf!7331
2020-01-21 11:08:38 +08:00
Angus Gratton
78e219bbe2
Merge branch 'bugfix/eth_int_allocate' into 'master'
...
PSRAM related fix
Closes IDFGH-2263 and IDFGH-2549
See merge request espressif/esp-idf!7310
2020-01-21 07:31:26 +08:00
Francesco Giancane
e48fe540be
include/sys/socket.h: ensure SOMAXCONN symbol is defined
...
SOMAXCONN is expected to be defined in this header, but for the esp32
port is found in net/if.h from newlib.
Avoid the issue by including the net/if.h header in sys/socket.h so that
compatibility is preserved.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4637
2020-01-21 10:11:33 +11:00
Francesco Giancane
64377b54d1
include/netinet/tcp.h: wrap lwip/tcp.h header for compatibility
...
Some applications (i.e. Azure IoT SDK) are expecting this header to
exist and to contain the tcp constants and description.
The esp32 did not wrap the lwip/tcp.h header, thus this commit adds a
compatibility layer.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4637
2020-01-21 10:11:29 +11:00
Jiang Jiang Jian
10c426e5ef
Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch' into 'master'
...
FIx sniffer bug caused by mode switch
Closes WIFI-466
See merge request espressif/esp-idf!5846
2020-01-20 21:08:31 +08:00
baohongde
097777ed66
components/bt: Fix error EIR type in config eir event
2020-01-20 20:46:05 +08:00
Tian Hao
30fbd99ad0
fix bug sleep may cause HCI timeout
...
When Host run different cpu and sleep enable, it may cause hci
timeout about 10s.
2020-01-20 17:44:03 +08:00
Tian Hao
f351effdb2
fix Kconfig use mistake cause some config not effect
...
1. Fix bluedroid task pinned_to_core un-effected
2. other minor sdkconfig bugs
2020-01-20 17:43:36 +08:00
xiehang
6cb271c20b
esp_wifi: Small refactor for ic_set_vif
2020-01-20 11:47:02 +08:00
baohongde
5ca4c85497
components/bt: Fix connection fail and crash when receive unknown AT cmd
2020-01-20 11:32:26 +08:00
Angus Gratton
3f532c8895
Merge branch 'bugfix/esp_tls_blocking_timeout' into 'master'
...
esp-tls: add timeout for blocking connection
See merge request espressif/esp-idf!7316
2020-01-20 09:35:23 +08:00
Jiang Jiang Jian
1c8937bf14
Merge branch 'feature/esp32_5p0_new_features' into 'master'
...
esp32 5p0 features support
See merge request espressif/esp-idf!7028
2020-01-19 23:06:45 +08:00
morris
cc0459eea2
ethernet: always put eth_driver handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-19 16:25:44 +08:00
morris
5ad0bdd8db
ethernet: work with cache disabled
...
add ETH_MAC_FLAG_WORK_WITH_CACHE_DISABLE flag, make ethenret driver
possible to work when cache disabled
Closes https://github.com/espressif/esp-idf/issues/4406
2020-01-19 16:25:24 +08:00
morris
4fb879c11e
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-19 16:08:53 +08:00
June
19730c81f0
esp32 5p0 new features support
2020-01-17 10:34:54 +00:00
xiehang
0d1a20ba18
esp_wifi:Fix double recycle bar crash issue
2020-01-17 14:28:27 +08:00
Ivan Grokhotkov
0c99aef08d
Merge branch 'feature/bringup_723_cmake' into 'master'
...
bringup 723 cmake
See merge request espressif/esp-idf!6578
2020-01-17 09:20:34 +08:00
Mahavir Jain
c7f44a301d
Merge branch 'feature/modify_esp_tls_structure' into 'master'
...
esp-tls: add API to retrieve sockfd for tls connection.
See merge request espressif/esp-idf!7329
2020-01-16 18:12:16 +08:00
Hrudaynath Dhabe
93bc830ac6
esp_wifi: esp_wifi_sta_get_ap_info function returns actual values of group cipher and pairwise cipher
2020-01-16 17:52:59 +08:00
morris
2422c52851
global: hello world on real esp32-s2
2020-01-16 17:43:59 +08:00
duyi
18a05e2ee0
update ld file for esp32-s2
2020-01-16 17:43:59 +08:00
Wangjialin
d4e5980823
flash: fix 80Mhz for new spi flash driver on esp32s2
2020-01-16 17:43:59 +08:00
Wangjialin
fad639f0d4
feature(psram): update psram initialization.
...
1. use spi functions in rom
2. remove unnecessary GPIO configurations.
3. remove unnecessary dummy settings.
4. enable dummy out function
5. flash and psram have independent timing setting registers.
6. no need to set 1.9v for LDO in 80Mhz
7. set IO driver ability to 1 by default.
8. no need to use GPIO matrix on esp32s2, IO MUX is recommended
9. enable spi clock mode and IO mode settings
2020-01-16 17:41:31 +08:00
Du Ya Yuan
0ad7602efe
make spiram work
2020-01-16 17:41:31 +08:00
duyi
30a525aeb1
update cache config
2020-01-16 17:41:31 +08:00
morris
a8d31b0385
rtc: enable super wdt auto feed
2020-01-16 17:41:31 +08:00
morris
1c2cc5430e
global: bring up esp32s2(not beta)
2020-01-16 17:41:31 +08:00
duyi
9c5a981ef1
remove unnecessary function in bootloader_support
...
1. Delete bootloader_clock_get_rated_freq_mhz, esp32s2 do not need it right now
2. Remove bootloader_flash_gpio_config () because it has the same function as bootloader_flash_dummy_config
2020-01-16 17:41:31 +08:00
Angus Gratton
eaafe7f599
Merge branch 'feature/add_setting_project_version_from_kconfig' into 'master'
...
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
See merge request espressif/esp-idf!7125
2020-01-16 15:54:14 +08:00
David Cermak
98cf3142fa
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-16 07:32:19 +00:00
David Cermak
aa3b1da384
esp_tls: added connection timeout to esp_tls_conn_new_sync()
2020-01-16 07:32:19 +00:00
Aditya Patwardhan
c7418042b4
esp32/esp-tls: provide API to retrieve sockfd value from esp_tls_t
2020-01-16 12:27:44 +05:30
Jiang Jiang Jian
2a6a560eb3
Merge branch 'bugfix/hfp_disconn_bridgera' into 'master'
...
hfp disconn issue for bridgera
See merge request espressif/esp-idf!7336
2020-01-16 11:33:36 +08:00
Ivan Grokhotkov
e9426d4ed1
Merge branch 'feature/improved_cxx_tests' into 'master'
...
Improved C++ tests
Closes IDF-1322
See merge request espressif/esp-idf!7283
2020-01-16 10:11:32 +08:00
KonstantinKondrashov
b49a657448
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
2020-01-15 11:02:27 +00:00
Jakob Hasse
c75ec644f4
NVS: Changed all new to new (nothrow)
2020-01-15 14:01:35 +08:00
Angus Gratton
c1a1e19c2b
Merge branch 'feature/freertos_optimized_taskselection' into 'master'
...
feature/freertos optimized task selection o S2 Beta or unicore configurations
Closes IDF-1116
See merge request espressif/esp-idf!6616
2020-01-15 13:29:21 +08:00
Angus Gratton
ee899cb2aa
Merge branch 'feature/ver-4.2' into 'master'
...
global: bump version to 4.2
See merge request espressif/esp-idf!7335
2020-01-15 13:07:59 +08:00
weitianhua
8b2919ee2b
hfp disconn issue for bridgera
2020-01-15 12:22:58 +08:00
Ivan Grokhotkov
80d7db9466
Merge branch 'bugfix/esp32s2_mac_addr_allocation' into 'master'
...
esp32s2 mac address allocation
Closes IDF-1191
See merge request espressif/esp-idf!7286
2020-01-15 11:58:14 +08:00
Renz Christian Bagaporo
fd74ec75d7
esptool_py: retain flash targets when building RAM loadable apps
2020-01-15 03:36:47 +00:00
Renz Christian Bagaporo
cc8bff703e
esptool_py: create flash target functions
2020-01-15 03:36:47 +00:00
Jiang Jiang Jian
5f803b8283
Merge branch 'bugfix/enable_ipv6_address_autoconfig' into 'master'
...
lw-ip: Enable IPv6 stateless address autoconfiguration
Closes WIFI-1237
See merge request espressif/esp-idf!6313
2020-01-15 11:27:56 +08:00
Ivan Grokhotkov
5466ff3f4d
global: bump version to 4.2
2020-01-15 10:22:22 +08:00
Felipe Neves
5d7564a039
freertos/Kconfig: make optimized task selection dependent on FREERTOS_UNICORE option
...
freertos: fix decrement loop of high priority task selection
2020-01-14 09:58:14 -03:00
Felipe Neves
2c612ec1dc
components/freertos: using the optimized task selection on esp32s2beta
...
components/freertos: cleaned up multicore option scheduler.
components/freertos: more cleanup and test optimization to present realistic results
components/freertos: remove unused macros of optimized task selection when multicore is used
2020-01-14 09:58:14 -03:00
Felipe Neves
77bf1ff1c0
freertos/tests: added test to evaluate scheduling time
...
freertos/Kconfig: fix trailing space on optimized scheduler option
freertos/tests: moved test context variables inside of test task.
The public variables used on scheduling time test now were packed into a structure allocated on test case task stack and passed to tasks as arguments saving RAM comsumption.
2020-01-14 09:58:14 -03:00
Felipe Neves
d4c82606fb
components/freertos: added and enabled the optimized task selection
...
FreeRTOS have an platform dependent configuration to enable selection task in a optimized way.
Provided the platform dependent functions in order to allow the scheduler to use the optimized algorithms by telling to the port layer where to found bitscan instruction i.e. NSAU.
This closes IDF-1116
components/freertos: added option to disable the optimized scheduler
2020-01-14 09:58:14 -03:00
Roland Dobai
a9c4dab4d3
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-14 13:52:27 +01:00
morris
e1f9b283bc
esp32s2: mac addr allocation
2020-01-14 15:19:38 +08:00
xiehang
c0148ef1e8
lwip: Enable IPv6 stateless address autoconfiguration
2020-01-14 07:15:26 +00:00
zhiweijian
86bebae4fb
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 03:24:29 +00:00
Angus Gratton
ee269ed687
Merge branch 'bugfix/fatfs_corrupted_assert' into 'master'
...
fatfs: handle FR_INT_ERR as "filesystem corrupted"
Closes IDF-894
See merge request espressif/esp-idf!5912
2020-01-14 08:37:07 +08:00
Jakob Hasse
c8137c5298
C++: rtti unit tests, corresponding CI config
2020-01-13 16:39:21 +08:00
houwenxiang
4c065c217e
driver(rmt): Fix the rmt err interrupt crash bug when sending 63 items
2020-01-13 08:30:20 +00:00
Jiang Jiang Jian
0a6e61ae6d
Merge branch 'bugfix/btdm_fix_blufi_prepare_buf_len_invalid' into 'master'
...
component/bt: fix blufi prepare write buf len invalid
See merge request espressif/esp-idf!7048
2020-01-13 15:59:14 +08:00
Jiang Jiang Jian
f8e3bf4a7a
Merge branch 'bugfix/mesh_ie_issues' into 'master'
...
mesh: fix mesh ie issues
See merge request espressif/esp-idf!7214
2020-01-13 15:58:00 +08:00
Angus Gratton
28d64e7f82
Merge branch 'bugfix/cmake_failure_on_spiffsgen_clean_project' into 'master'
...
spiffs: fix build issue on clean project
See merge request espressif/esp-idf!6596
2020-01-13 12:14:04 +08:00
Angus Gratton
a5a5c318f9
Merge branch 'bugfix/mmap_fail_on_esp32s2beta' into 'master'
...
spi_flash: reenable mmap tests on esp32s2beta
See merge request espressif/esp-idf!6595
2020-01-13 12:02:55 +08:00
Angus Gratton
ec20cf01b5
Merge branch 'feature/wider_alignment_range_malloc' into 'master'
...
feature/wider alignment range malloc
Closes IDF-648
See merge request espressif/esp-idf!6691
2020-01-13 12:02:35 +08:00
Angus Gratton
42d7b1d641
Merge branch 'bugfix/mbedtls_esp_bignum' into 'master'
...
mbedtls: esp bignum fix for 4096 keys
See merge request espressif/esp-idf!7211
2020-01-13 12:01:23 +08:00
chenyudong
79f0d460f5
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
Fix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-01-13 10:58:18 +08:00
Jiang Jiang Jian
a27dfe6993
Merge branch 'bugfix/fix_ble_config_error_log_in_first_use_nvs' into 'master'
...
bugfix: remove the error code when there is no file in the nvs in config.c
See merge request espressif/esp-idf!7296
2020-01-13 10:24:43 +08:00
Ivan Grokhotkov
216dac8721
Merge branch 'test/add_esp32s2beta_ssc_build_job' into 'master'
...
test: add build ssc job for esp32s2beta
See merge request espressif/esp-idf!7068
2020-01-13 10:19:48 +08:00
Jiang Jiang Jian
7a7c4a5486
Merge branch 'bugfix/coex_schm' into 'master'
...
Bugfix/coex schm
See merge request espressif/esp-idf!7176
2020-01-12 20:37:42 +08:00
Jiang Jiang Jian
a9cf334f0a
Merge branch 'feature/Add_tcp_sack' into 'master'
...
feature for add tcp sack
Closes WIFI-1600
See merge request espressif/esp-idf!7241
2020-01-12 20:28:21 +08:00
Jiang Jiang Jian
3634192ded
Merge branch 'bugfix/ble_throughput_heap_size_too_large_fix' into 'master'
...
bugfix:Fixed throughput wasting memory and packet loss issues.
Closes BT-437 and BCI-141
See merge request espressif/esp-idf!7063
2020-01-12 20:25:02 +08:00
Jiang Jiang Jian
8ec233dfd0
Merge branch 'bugfix/sync_zephyr_v2.0_ble_mesh_fixes' into 'master'
...
ble_mesh: sync Zephyr v2.0 ble mesh fixes
Closes BLEMESH-56
See merge request espressif/esp-idf!6892
2020-01-12 20:23:57 +08:00
Felipe Neves
6a307ee70f
heap: removed ptr check in diram area since aligned allocator does not support data allocated from IRAM
2020-01-10 10:15:32 -03:00
Felipe Neves
0d8a5ebec7
heap: added aligned calloc function plus tests
2020-01-10 10:05:28 -03:00
Felipe Neves
8e5ea171d3
newlib: reverted support of memalign function
2020-01-10 10:05:28 -03:00
Felipe Neves
45766daa4f
test_multi_heap_host/test_multi_heap: fix undefined reference error when testing aligned_alloc with no heap poisoning
2020-01-10 10:05:28 -03:00
Felipe Neves
aa100d2dfe
newlib: added heap_caps_aligned_alloc on bottom of memalign
2020-01-10 10:05:28 -03:00
Felipe Neves
a2db437c46
heap/heap_caps: Added tests for align allocation on both internal and external ram
2020-01-10 10:05:28 -03:00
Felipe Neves
7fbf4c74d7
heap/heap_caps: added initial, top level heap_caps_aligned_alloc and heap_caps_aligned_free
2020-01-10 10:05:27 -03:00
Felipe Neves
f31b8a8ab8
heap/multi_heap_poisoning: aligned alloc now working togheter with heap poisining code
2020-01-10 10:05:27 -03:00
Felipe Neves
8bd09429d3
heap/test_multi_heap_host: added initial tests for heap aligned alloc
2020-01-10 10:05:27 -03:00
Felipe Neves
d26ddaa644
heap/multi_heap: added initial implementation of aligned alloc function
2020-01-10 10:05:27 -03:00
gengyuchao
3366467980
ble:set a esp api to get size of controller send packets buffer.
2020-01-10 20:32:07 +08:00
gengyuchao
189cd21660
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-10 20:32:07 +08:00
gengyuchao
8e1a28940c
ble:config.c remove the error code when there is no file in the nvs because it is not an error.
2020-01-10 20:04:10 +08:00
Angus Gratton
a05c00c2b3
Merge branch 'bugfix/esp_netif_get_dns' into 'master'
...
esp_netif: fix esp_netif_get_dns_info() to copy the entire ip_addr_t
Closes IDFGH-2472
See merge request espressif/esp-idf!7266
2020-01-10 17:51:29 +08:00
David Cermak
ff0128dd02
drivers: fixed c++ guards in driver public headers
2020-01-10 09:44:39 +01:00
baohongde
a2398f0dcc
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-01-10 16:00:12 +08:00
Angus Gratton
c7738f24fc
Merge branch 'bugfix/ledc_driver_enums' into 'master'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
See merge request espressif/esp-idf!7021
2020-01-10 15:34:43 +08:00
Jiang Jiang Jian
0f9ab61619
Merge branch 'bugfix/fix_wifi_buffer_reload_issue' into 'master'
...
esp_wifi: fix WiFi buffer reload issue
Closes WIFI-1634
See merge request espressif/esp-idf!7230
2020-01-10 15:08:19 +08:00
Jiang Jiang Jian
2f23fa8ab7
Merge branch 'bugfix/bt_osi_config_snprintf_add_length_check' into 'master'
...
bugfix:Fix length check for snprintf in osi config
See merge request espressif/esp-idf!7155
2020-01-10 15:06:37 +08:00
Jiang Jiang Jian
8cf4d02720
Merge branch 'bugfix/ble_mesh_update_lightness_last' into 'master'
...
ble_mesh: Update lightness last state when actual state is changed
See merge request espressif/esp-idf!7206
2020-01-10 14:47:29 +08:00
Angus Gratton
782fc0df5f
Merge branch 'refactor/can_driver' into 'master'
...
Refactor CAN to use HAL and LowLevel layers
Closes IDF-617
See merge request espressif/esp-idf!7019
2020-01-10 14:22:02 +08:00
He Yin Ling
21a7580dc1
test: update SSC bin path of nvs compatible test
2020-01-10 14:14:51 +08:00
Angus Gratton
bdf6c00154
Merge branch 'feature/likely_unlikely' into 'master'
...
Adding likely unlikely macros to hot code paths
Closes IDF-284
See merge request espressif/esp-idf!6368
2020-01-10 14:05:07 +08:00
Renz Christian Bagaporo
fb1dec37d8
spi_flash: reenable mmap tests on esp32s2beta
2020-01-10 16:17:01 +11:00
Angus Gratton
5ee92c259b
Merge branch 'bugfix/mdns_fix_typos' into 'master'
...
mdns: fixed typos in the variable names and the comments
See merge request espressif/esp-idf!7060
2020-01-10 13:13:07 +08:00
Konstantin Kondrashov
2c793cef06
idf: Support a custom toolchain with time_t wide 64-bits
...
Allows resolving the Y2K38 problem.
Closes: IDF-350
Closes: https://github.com/espressif/esp-idf/issues/584
2020-01-10 12:58:54 +08:00
Angus Gratton
a39e8e5de9
Merge branch 'feature/asio_update' into 'master'
...
asio: updated ASIO port to use latest asio and esp-idf features
See merge request espressif/esp-idf!6623
2020-01-10 12:57:25 +08:00
Angus Gratton
426319c123
Merge branch 'feature/nvs_cxx_new' into 'master'
...
NVS: exposing C++ functionality via C++ handle
See merge request espressif/esp-idf!6926
2020-01-10 12:32:17 +08:00
Angus Gratton
880cc02ef2
Merge branch 'bugfix/mqtt_submodule_ref_update' into 'master'
...
MQTT: update submodule to point to latest commit.
Closes IDF-1162, IDF-1126, IDFGH-2197, IDFGH-2235, IDFGH-2293, FCS-254, and FCS-267
See merge request espressif/esp-idf!7216
2020-01-10 12:32:03 +08:00
Angus Gratton
6ab9f846c9
Merge branch 'bugfix/compare_and_setextram' into 'master'
...
bugfix/pthread: fix pthread_once() race condiion possibility adding critical section in compare and set function
Closes IDFGH-2448
See merge request espressif/esp-idf!7236
2020-01-10 12:29:54 +08:00
Angus Gratton
264abd8b34
Merge branch 'bugfix/esp32s2_xtal_choice' into 'master'
...
esp32s2:remove unsupported xtal choice
Closes IDF-1228
See merge request espressif/esp-idf!7085
2020-01-10 12:01:26 +08:00
Jiang Jiang Jian
9ecc2c3309
Merge branch 'bugfix/fix_ble_mesh_memory_leak' into 'master'
...
ble_mesh: Fix memory leak when node is reset
Closes BLEMESH-122
See merge request espressif/esp-idf!7076
2020-01-10 11:43:49 +08:00
Angus Gratton
4847c2adb0
Merge branch 'docs/fix_tasK_create_static_doxygen_comment' into 'master'
...
Fixed error in return type of xTaskCreateStatic
Closes IDFGH-2185
See merge request espressif/esp-idf!7253
2020-01-10 11:41:15 +08:00
Angus Gratton
b98981e7ae
Merge branch 'feature/call_with_shared_stack' into 'master'
...
Call with shared stack improvements
See merge request espressif/esp-idf!7228
2020-01-10 11:40:11 +08:00
Jiang Jiang Jian
4dee412191
Merge branch 'bugfix/fix_crash_when_send_udp_too_big' into 'master'
...
lw-ip: Drop packets larger than MTU
Closes WIFI-1524
See merge request espressif/esp-idf!7147
2020-01-10 11:37:00 +08:00
Ivan Grokhotkov
a559014ff0
Merge branch 'bugfix/coredump_bin_fmt_ver_update' into 'master'
...
Fixes coredump compatibility with legacy binary core dumps
See merge request espressif/esp-idf!6794
2020-01-10 10:04:17 +08:00
David Cermak
b7ef7feaeb
newlib: using lwip implementation of interface name/index conversion
...
Links https://github.com/espressif/esp-idf/issues/3557
2020-01-09 21:53:50 +01:00
David Cermak
13d603e486
asio: updated ASIO port to use latest asio and esp-idf features
...
closes https://github.com/espressif/esp-idf/issues/4296
2020-01-09 21:53:50 +01:00
David Cermak
2efb3288a0
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-01-09 18:11:18 +00:00
David Cermak
b0a714476a
mbedtls: added mpi multiplication test for large numbers
2020-01-09 18:11:18 +00:00
David Cermak
1acf4d46ef
mbedtls: bugnum test for rsa operations with blinding
2020-01-09 18:11:18 +00:00
gengyuchao
8a687d46ad
reduce useless calloc size
2020-01-09 21:12:48 +08:00
gengyuchao
945e4f7162
bugfix:Fix length check for snprintf in osi config
2020-01-09 21:12:48 +08:00
Felipe Neves
57edda15a0
shared_stack: added minimal stack size for shared stack, configurable via menuconfig
2020-01-09 09:59:00 -03:00
David Cermak
ecca39e19f
mdns: fixed typos in the variable names and the comments
2020-01-09 12:50:13 +00:00