Xia Xiaotian
3488603002
esp_wifi: optimize coexistence sleep
...
1. Increase delay time before sending NULL1 to enter sleep to
fix compatible problem of some APs.
2. Do not force sending NULL0 if no data tx/rx in previous Wi-Fi
slice.
2020-03-30 11:18:08 +08:00
Marius Vikhammer
32f16e8c30
crypto tests: fix mallocs that were missing MALLOC_CAP_8BIT
...
Tests had the potential to fail they got non byte-accessible memory allocated.
2020-03-30 11:12:20 +08:00
Michael (XIAO Xufeng)
16d6604ab4
Merge branch 'feature/spi_unit_test_slave_byte_length' into 'master'
...
spi: add unit test for slave receiving length
See merge request espressif/esp-idf!6357
2020-03-30 10:41:45 +08:00
Ivan Grokhotkov
f822e81617
Merge branch 'feature/trax_parsing_script' into 'master'
...
xtensa: add a script for parsing CPU traces (TRAX)
See merge request espressif/esp-idf!7729
2020-03-30 05:21:02 +08:00
Ivan Grokhotkov
cb766fb3d6
Merge branch 'bugfix/IDFGH-2910' into 'master'
...
NVS: bugfix - iterator skipping version 1 blobs
Closes IDFGH-2910
See merge request espressif/esp-idf!8049
2020-03-30 05:18:38 +08:00
Jiang Jiang Jian
bc3b95f68b
Merge branch 'bugfix/fix_log_printf_level_err' into 'master'
...
esp_wifi: Fix wifi log print level error
See merge request espressif/esp-idf!8120
2020-03-28 18:52:23 +08:00
David Cermak
585633b254
console: ignore static analysis warnings
2020-03-27 19:19:20 +01:00
David Cermak
06c46837ce
panic: ignore deliberate null dereference to pass static analysis
2020-03-27 19:18:40 +01:00
David Cermak
62f9f42b54
wpa_supplicant: ignore static analysis violations
2020-03-27 19:17:36 +01:00
David Cermak
2e28ab29c7
freertos: silence the static analysis warning referencing the workitem
2020-03-27 18:46:39 +01:00
David Cermak
9b821ddd6b
sdmmc: fix possible null dereference in output parameter assignement, whilst it was null checked as an input parameter
2020-03-27 18:46:39 +01:00
David Cermak
72d54b68a6
lwip: dhcp-server fix static analysis warnings
...
1) kill_oldest_dhcps_pool() is only called when list has at least two members (assured with kconfig value limit), added assertion to ensure this function is used only when prerequisities are met
2) use after free reported in two places, since the analyzer checks also the scenario when the linked list has loops, added ignore tags
2020-03-27 18:46:39 +01:00
Ivan Grokhotkov
b07b29f5bf
Merge branch 'bugfix/xtensa_sign_conversion' into 'master'
...
xtensa: fix sign-conversion warning (Github PR)
See merge request espressif/esp-idf!8131
2020-03-28 00:42:26 +08:00
Aditya Patwardhan
22b1607405
esp_https_server: fix HTTPD_SSL_CONFIG_DEFAULT
...
This macro doesn't compile on C++. Order is fixed now.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
Co-Authored-By: xkevin190 <kevinvelasco193@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4981
2020-03-27 23:12:57 +08:00
Ivan Grokhotkov
455dbf28f4
esp32: use ccomp_timer in SHA test
2020-03-27 20:07:02 +07:00
Ivan Grokhotkov
cc1d287133
newlib: use --specs=nano.specs to enable "nano" version of C library
...
esp2020r1 toolchain includes a nano.specs file, which instructs GCC to
substitute libc.a with libc_nano.a.
In the build system, this simplifies handling of the nano formatting
option, eliminating LIBC and LIBM global variables.
2020-03-27 20:04:47 +07:00
Jeroen Domburg
419848549e
Add fixes for gcc8 psram fix improvement
2020-03-27 20:04:47 +07:00
Michael (XIAO Xufeng)
a304421124
Merge branch 'feat/spi_bus_lock' into 'master'
...
SPI: support running SPI master and esp_flash on the same bus
See merge request espressif/esp-idf!6520
2020-03-27 19:59:43 +08:00
Jiang Jiang Jian
79e92b0e6a
Merge branch 'bugfix/ble_mesh_add_test_function' into 'master'
...
ble_mesh: Add ble mesh white list test function
See merge request espressif/esp-idf!8046
2020-03-27 19:53:54 +08:00
Alex Lisitsyn
16e6e63694
driver: fix driver set rx timeout feature of uart
...
tout_thr - move calculation and masking into hal layer update driver and uart_ll (add uart_ll_set_rx_tout)
move tout calculation into uart_ll
move calculation of time out in bit time for esp32s2 into low level uart_ll.h file
move uart_hal_get_symb_len() into hal
update set_rx_timeout() to warn user about incorrect value
update HAL, LL 1
fix uart_xx_set_rx_tout() to convert symbol time into bit time
update param description
update tout calculation in LL
update uart_hal_get_max_rx_timeout_thrd() and uart_ll_get_max_rx_timeout_thrd()
2020-03-27 16:20:21 +08:00
Michael (XIAO Xufeng)
c91b53377b
Merge branch 'bugfix/fix_uart_driver_missing_txfifo_reset_issue' into 'master'
...
bugfix(UART): fix uart driver missing txfifo reset issue.
Closes IDFGH-2848
See merge request espressif/esp-idf!7992
2020-03-27 15:55:02 +08:00
Angus Gratton
f68dbd77e9
Merge branch 'bugfix/make_system_using_rom_time_funcs' into 'master'
...
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data
Closes IDFGH-2868
See merge request espressif/esp-idf!8008
2020-03-27 15:43:38 +08:00
Prasad Alatkar
38fc242914
NimBLE: Fix build failures due to non static declarations in RPA feature
...
CLoses IDFGH-2891
2020-03-27 14:06:55 +08:00
Prasad Alatkar
2bc28bbd5a
NimBLE: Fix NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT
in esp_nimble_cfg
and bleprph
README
2020-03-27 14:05:32 +08:00
Angus Gratton
88bf21b21e
Merge branch 'nimble/iram_allocation_strategy' into 'master'
...
NimBLE: Add support to IRAM allocation strategy
See merge request espressif/esp-idf!8015
2020-03-27 13:54:25 +08:00
Mahavir Jain
0b834d1a9f
Merge branch 'feature/add_psk_support_for_wolfSSL' into 'master'
...
esp_tls_wolfSSL: Add support for PSK
See merge request espressif/esp-idf!7942
2020-03-27 13:25:42 +08:00
KonstantinKondrashov
9aeac7f6cb
esp_rom: Fix esp32.rom.newlib-time.ld should includes all time ROM functions/data
...
- Added UT
Closes: https://github.com/espressif/esp-idf/issues/4925
2020-03-27 04:57:42 +00:00
KonstantinKondrashov
df2ea2527f
esp32s2: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
2020-03-27 04:56:44 +00:00
KonstantinKondrashov
a259746016
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-03-27 04:56:44 +00:00
xiehang
8bcf5cbfed
esp_wifi: Fix wifi log print level error
2020-03-27 12:37:56 +08:00
Jiang Jiang Jian
4fe04f1151
Merge branch 'bugfix/fix_esp32s2_receive_pkts_err' into 'master'
...
esp_wifi: fix esp32s2 sometimes receive ack/cts pkts err.
See merge request espressif/esp-idf!8100
2020-03-27 12:21:52 +08:00
Angus Gratton
cf6dca29f2
Merge branch 'feature/hmac_upstream' into 'master'
...
HMAC: adding upstream message support
Closes IDF-800
See merge request espressif/esp-idf!7689
2020-03-27 11:27:23 +08:00
Angus Gratton
02fe8fb1eb
Merge branch 'bugfix/monitor_encrypted_target' into 'master'
...
tools: Fix flashing encrypted binaries from IDF Monitor
Closes IDF-822
See merge request espressif/esp-idf!8090
2020-03-27 08:11:38 +08:00
Michael (XIAO Xufeng)
49a48644e4
spi: allow using esp_flash and spi_master driver on the same bus
2020-03-26 22:08:26 +08:00
Michael (XIAO Xufeng)
f3bf9c5ae0
hal: put rodata into dram for hal functions
2020-03-26 22:08:25 +08:00
Aditya Patwardhan
d712453114
esp_tls_wolfssl: Added mutex to allow only one TLS conn using PSK at a time
2020-03-26 17:30:05 +05:30
Jakob Hasse
ea47bbb118
HMAC: adding upstream message support
2020-03-26 19:00:27 +08:00
Aditya Patwardhan
46643ab40f
esp_tls_wolfssl: Add support for PSK using wolfSSL,
...
enable SNI and ALPN
2020-03-26 16:02:57 +05:30
Michael (XIAO Xufeng)
296d095e53
Merge branch 'bugfix/remove_dependency_in_timergroup_caps' into 'master'
...
remove dependency of timer_group_caps.h on soc.h
See merge request espressif/esp-idf!8116
2020-03-26 18:18:45 +08:00
Ivan Grokhotkov
7f18576e23
Merge branch 'bugfix/inline_get_cpu_id_hal_func' into 'master'
...
soc: put hal function to get core id in IRAM
See merge request espressif/esp-idf!8107
2020-03-26 18:14:51 +08:00
morris
0c6e1b9482
remove dependency of timer_group_caps.h on soc.h
2020-03-26 17:15:19 +08:00
Angus Gratton
dd8d1deacb
Merge branch 'bugfix/malloc_zero_return_null' into 'master'
...
bugfix/multi_heap: fix malloc(0) returning valid pointer in some poisoning configurations
Closes IDF-1482
See merge request espressif/esp-idf!8012
2020-03-26 16:19:39 +08:00
Roland Dobai
9b16594444
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-26 07:51:59 +01:00
Angus Gratton
928fc0016c
Merge branch 'bugfix/doc_soc_caps_file_path' into 'master'
...
doc: correct soc caps file path
See merge request espressif/esp-idf!8097
2020-03-26 10:32:12 +08:00
Michael (XIAO Xufeng)
826cc7ecb6
Merge branch 'feature/bringup_723_cmake_rmt_driver_update' into 'master'
...
RMT new features in ESP32S2
Closes IDF-1286
See merge request espressif/esp-idf!7401
2020-03-26 10:24:18 +08:00
Michael (XIAO Xufeng)
661f4c430d
Merge branch 'feature/esp32s2_i2c_driver' into 'master'
...
Feature: Add esp32-s2 I2C driver.
Closes IDF-1278 and IDF-1026
See merge request espressif/esp-idf!7680
2020-03-26 10:20:40 +08:00
Michael (XIAO Xufeng)
42c552242b
Merge branch 'feature/fix_touch_driver_for_esp32s2' into 'master'
...
driver(touch): fix touch sensor driver for esp32s2
See merge request espressif/esp-idf!7664
2020-03-26 09:50:42 +08:00
Darian Leung
91841a53ff
WDT: Add LL and HAL for watchdog timers
...
This commit updates the watchdog timers (MWDT and RWDT)
in the following ways:
- Add seprate LL for MWDT and RWDT.
- Add a combined WDT HAL for all Watchdog Timers
- Update int_wdt.c and task_wdt.c to use WDT HAL
- Remove most dependencies on LL or direct register access
in other components. They will now use the WDT HAL
- Update use of watchdogs (including RTC WDT) in bootloader and
startup code to use the HAL layer.
2020-03-26 02:14:02 +08:00
fuzhibo
340563f479
Driver(touch): fix touch sensor driver for esp32s2.
...
1.update touch sensor driver for esp32s2;
2.update unit test for touch sensor;
3.update register files about touch sensor;
2020-03-25 22:45:57 +08:00
Ivan Grokhotkov
462fda201a
Merge branch 'bugfix/tusb_missing_licence' into 'master'
...
tinyusb: updated the license header in the driver
See merge request espressif/esp-idf!8083
2020-03-25 21:20:49 +08:00
Ivan Grokhotkov
8aad738f02
Merge branch 'bugfix/ota_get_sha256_test_fail' into 'master'
...
app_update: fix test failure for get_app_elf_sha256 test
See merge request espressif/esp-idf!8096
2020-03-25 21:20:25 +08:00
morris
4fc16e2374
rmt: prefix caps name with SOC_
2020-03-25 17:14:00 +08:00
morris
0c17af3ea4
rmt: support tx loop count
2020-03-25 17:14:00 +08:00
morris
dc91aa9786
rmt: support tx in a group
2020-03-25 17:13:59 +08:00
morris
fa167eb0c5
rmt: test tx/rx ping-pong mode
2020-03-25 17:13:47 +08:00
morris
855b316045
rmt: better support rx demodulation
2020-03-25 13:19:03 +08:00
morris
c91565d538
rmt: update rmt ll APIs
2020-03-25 13:19:03 +08:00
chenjianqiang
ecbe0dad1b
driver/rmt: new features on esp32s2
...
1. add receive carrier remove function
2. add pingpong receive function
2020-03-25 13:19:03 +08:00
lly
45d43f005a
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-25 11:30:08 +08:00
Jiang Jiang Jian
c71445a9b9
Merge branch 'bugfix/coex_wakeup_delay_with_dfs' into 'master'
...
components/coex: Fix wakeup delay with DFS
See merge request espressif/esp-idf!8053
2020-03-25 11:29:18 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
houwenxiang
886745326e
driver(UART): fix uart driver missing txfifo reset issue.
...
closes https://github.com/espressif/esp-idf/issues/4908
2020-03-25 01:48:46 +08:00
Ivan Grokhotkov
6c0a1aab50
Merge branch 'bugfix/crypto_perf_fail' into 'master'
...
s2 crypto: update perf test to use cache comp timer
Closes IDF-1174
See merge request espressif/esp-idf!8075
2020-03-24 22:54:38 +08:00
Renz Bagaporo
d5085010c8
soc: put hal function to get core id in IRAM
2020-03-24 22:50:51 +08:00
Ivan Grokhotkov
55c3c2b73d
Merge branch 'feature/vfs_optional' into 'master'
...
vfs: add option to disable VFS layer, saving some RAM and code size
See merge request espressif/esp-idf!7950
2020-03-24 21:11:28 +08:00
Ivan Grokhotkov
349dc125e8
Merge branch 'feature/espcoredump_resilient_stack_decoding' into 'master'
...
espcoredump: fix espcoredump to make it more resilient when decoding erroneous thread stack
Closes IDFGH-2802
See merge request espressif/esp-idf!7892
2020-03-24 21:08:57 +08:00
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