Michael (XIAO Xufeng)
b5c3ac0ec2
vfs_uart: refactor to have static context structure
2019-06-20 11:32:24 +08:00
chenjianqiang
cf2ba210ef
uart: multichip support
2019-06-20 11:32:22 +08:00
Ivan Grokhotkov
026533cd72
esp_flash: fix C++ compilation and some typos
2019-06-20 10:55:13 +08:00
Michael (XIAO Xufeng)
caf121e4b6
esp_flash: break the inappropriate include chain in spi_flash_host_drv.h
2019-06-20 10:55:12 +08:00
Michael (XIAO Xufeng)
5c9dc44c49
spi: multichip support
...
move hardcoded numbers, etc. into soc files.
create headers for shared types which needs to be documented.
(MINOR CHANGE)
2019-06-20 10:38:52 +08:00
baohongde
faf23df19a
component/bt : modify OSI thread of bluedroid
...
abstract of OSI thread to make bluedroid more compatible with different OS.
2019-06-19 21:20:04 +08:00
Darian Leung
037c079e9a
esp32: Refactor backtrace and add esp_backtrace_print()
...
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.
A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.
- esp_stack_ptr_is_sane() moved to soc_memory_layout.h
- removed uncessary includes of "esp_debug_helpers.h"
2019-06-19 18:30:18 +08:00
Jiang Jiang Jian
28e0a17e0a
Merge branch 'bugfix/btdm_make_failed_due_to_macro' into 'master'
...
components/bt: Fix make errors due to macro usage error
See merge request idf/esp-idf!5105
2019-06-19 14:44:02 +08:00
Angus Gratton
484eb7cd07
Merge branch 'feature/mdns_unit_tests' into 'master'
...
mdns: add initial unit tests
See merge request idf/esp-idf!5088
2019-06-19 14:43:51 +08:00
Ivan Grokhotkov
920cabb382
Merge branch 'feature/spi_ext_flash' into 'master'
...
spi_flash: support working on differnt buses and frequency
See merge request idf/esp-idf!4096
2019-06-19 00:14:39 +08:00
Jiang Jiang Jian
ceb00f7a41
Merge branch 'bugfix/btdm_add_svc_inst_id_param_for_create_tab_event' into 'master'
...
Component/bt: add svc_inst_id param for create service table event
See merge request idf/esp-idf!4958
2019-06-18 21:19:41 +08:00
Jiang Jiang Jian
979dc1b0b8
Merge branch 'feature/btdm_add_new_api_get_conn_params' into 'master'
...
Component/bt: add new api to get connection parameters
See merge request idf/esp-idf!5057
2019-06-18 21:10:53 +08:00
Angus Gratton
bcb662c3cd
Merge branch 'bugfix/log_free_level_entry' into 'master'
...
log: fix minor memory leak when cleaning list of log levels
Closes IDF-710
See merge request idf/esp-idf!5260
2019-06-18 15:34:39 +08:00
Michael (XIAO Xufeng)
1036a091fe
spi_flash: support working on differnt buses and frequency
2019-06-18 06:32:52 +00:00
Angus Gratton
ce4de867d6
spi_flash: New low-level flash API
2019-06-18 06:32:52 +00:00
Angus Gratton
21b04e7798
Merge branch 'bugfix/phy_init_data_mistake' into 'master'
...
esp_wifi: fix wrong path of phy_init_data
Closes IDFGH-1168
See merge request idf/esp-idf!5201
2019-06-18 14:13:01 +08:00
suda-morris
c5c716e9d7
esp_wifi: fix wrong path of phy_init_data
...
Closes https://github.com/espressif/esp-idf/issues/3482
2019-06-18 11:29:09 +08:00
Konstantin Kondrashov
b107b832ca
sntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/2277
Closes: IDFGH-337
2019-06-17 18:04:10 +08:00
Konstantin Kondrashov
bc8c8c68dd
mbedtls: Add UTs for modexp
2019-06-17 07:19:54 +00:00
Konstantin Kondrashov
0a040345cc
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
...
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.
Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-17 07:19:54 +00:00
zhiweijian
4d8a46b376
component/bt: add readme doc for BLE demos
...
- Closes:https://github.com/espressif/esp-idf/issues/3341
2019-06-17 07:05:41 +00:00
zhiweijian
483e82caf8
Component/bt: modify some logs level
2019-06-17 07:05:41 +00:00
zhiweijian
8f2490cc6f
Component/bt: add svc_inst_id param for create service table event
...
- add svc_inst_id param for create service table event
- Closes https://github.com/espressif/esp-idf/issues/3256
2019-06-17 07:05:31 +00:00
zhiweijian
76b3a64b76
Component/bt: add new api to get connection parameters
2019-06-17 07:04:34 +00:00
Kirill Chalov
4faf2de035
Doc/review api ref storage
2019-06-17 14:23:52 +08:00
Angus Gratton
e20b37aff9
Merge branch 'bugfix/prov_examples_strlcpy' into 'master'
...
Wi-Fi Provisioning : Bugfix in copying Wi-Fi SSID and Passphrase
Closes IDF-693
See merge request idf/esp-idf!5180
2019-06-17 10:29:05 +08:00
Michael (XIAO Xufeng)
1138133a78
spi: fix a possible concurrency issue
2019-06-17 00:16:01 +00:00
grumpy-dude
8a3cf8ca77
Allow configuration of local netif hostname via new LWIP component configuration menu item
...
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3627
2019-06-15 16:09:51 +05:30
David Cermak
353de1487f
log: fix minor memory leak when cleaning list of log levels
2019-06-14 13:55:46 +02:00
Jiang Jiang Jian
d4d162640f
Merge branch 'bugfix/dns_bug' into 'master'
...
LDNS: fix the crash under static IP address
Closes WIFI-487
See merge request idf/esp-idf!5069
2019-06-14 15:06:05 +08:00
Wang Jia Lin
e2d1c6234f
Merge branch 'bugfix/improve_flash_dio_read_timing' into 'master'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0
See merge request idf/esp-idf!5086
2019-06-14 12:10:46 +08:00
xueyunfei
d18ed01b81
lwip:fix bugfix/dns_bug
2019-06-14 03:52:31 +00:00
David Cermak
d127849d80
can: suppress clang tidy warning about nullptr dereference
2019-06-13 16:23:20 +02:00
Ivan Grokhotkov
08557be5df
Merge branch 'fix/bootloader_region_overlap_update' into 'master'
...
bootloader: remove duplicate region overlap logic
See merge request idf/esp-idf!5128
2019-06-13 16:07:05 +08:00
Jiang Jiang Jian
7871983370
Merge branch 'optimize/igmp_mld6_timer' into 'master'
...
optimize: IGMP and MLD6 timer optimization config added
See merge request idf/esp-idf!4776
2019-06-13 15:31:26 +08:00
Jiang Jiang Jian
4e09eaf8e2
Merge branch 'feature/btdm_config_eir' into 'master'
...
components/bt: Add API to config EIR data
See merge request idf/esp-idf!5038
2019-06-13 14:55:23 +08:00
Jiang Jiang Jian
b1bf41be22
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu' into 'master'
...
components/bt: Fix assert due to alloc LMP TX buffer failed
See merge request idf/esp-idf!5134
2019-06-13 13:58:43 +08:00
He Yin Ling
2deb267be5
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-13 11:14:39 +08:00
Angus Gratton
78b7b137ad
Merge branch 'feature/otatool_parttool_python_api' into 'master'
...
otatool, parttool Python API
See merge request idf/esp-idf!5077
2019-06-13 10:31:29 +08:00
Angus Gratton
60d28bb72f
Merge branch 'bugfix/spiflash_kconfig' into 'master'
...
spi_flash: Fix Kconfig indentation
Closes IDFGH-1307
See merge request idf/esp-idf!5195
2019-06-13 10:18:14 +08:00
Angus Gratton
3cc384fbe9
Merge branch 'bugfix/malloc_warnings_transport' into 'master'
...
tcp_transport: fix minor memory leak found by static analyzer
Closes IDF-681
See merge request idf/esp-idf!5141
2019-06-13 10:11:36 +08:00
Angus Gratton
9909206b16
Merge branch 'bugfix/malloc_warnings_event_loop' into 'master'
...
esp_event: fix possible malloc free issues found by static analyzer
See merge request idf/esp-idf!5142
2019-06-13 10:10:26 +08:00
Angus Gratton
eac356ef4a
Merge branch 'feature/idf_version_header' into 'master'
...
esp_common: add esp_idf_version.h header to define IDF version
Closes IDF-253
See merge request idf/esp-idf!4596
2019-06-13 09:41:35 +08:00
Jiang Jiang Jian
5ae151308b
Merge branch 'bugfix/fix_some_wps_bugs' into 'master'
...
wps: add overlap event
Closes WIFI-517
See merge request idf/esp-idf!5022
2019-06-12 14:35:52 +08:00
David Cermak
e6801912c5
mdns: added initial suite of api unit tests
2019-06-12 08:18:25 +02:00
Roland Dobai
22d070e0af
spi_flash: Rename long Kconfig options
2019-06-12 08:03:07 +02:00
Roland Dobai
842384a0d3
spi_flash: Fix Kconfig indentation
...
Closes https://github.com/espressif/esp-idf/issues/3598
2019-06-12 08:03:07 +02:00
Anurag Kar
a75be3413e
Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase
...
These changes guarantee that the SSID and Passphrase received via protocomm are NULL terminated and size limited to their standard lengths.
List of changes:
* Corrected length of passphrase field in wifi_prov_config_set_data_t structure
* Performing length checks on SSID, passphrase and bssid, when populating wifi_prov_config_set_data_t structure with received credentials
2019-06-12 05:42:46 +00:00
Sachin Parekh
ae675973be
optimize: IGMP and MLD6 timers on demand config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-12 05:10:32 +00:00
Angus Gratton
065eb918fd
Merge branch 'bugfix/even_more_cmake_fixes' into 'master'
...
Even more CMake fixes
See merge request idf/esp-idf!5097
2019-06-12 08:08:04 +08:00
Ivan Grokhotkov
8886e3fbc3
Merge branch 'bugfix/esp_event_fix_placement_issue_on_make' into 'master'
...
esp_event: fix missed placement on make builds
See merge request idf/esp-idf!5179
2019-06-11 19:32:45 +08:00
Renz Christian Bagaporo
54ef60f26b
component: revert some of the dependency corrections
...
!4452 and !4897 made some ill-advised corrections to dependency info;
revert those in this MR. Handling pre-built binaries as imported
libraries is retained, however.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
3882e48e8a
cmake: use new signature form of target_link_library to link components
...
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.
The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
f0f861ccd9
ldgen: use user input filename for processed template
...
Previously ldgen determines the output file name on its own. This commit
makes it so that user can dictate what the output file name will be
for the processed template, if the user needs it for something else.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
70dfcb35d4
mbedtls: component CMakeLists.txt corrections
...
Since !4452 the common component requirements automatically get
privately linked to libraries built under ESP-IDF build system (this
includes targets from third-party libraries). This removes a variable
that was used for that purpose before !4452 .
Since the internal target names were changed, the compile definition for
warning on using deprecated functions is not being passed. Since using
the internal name is unreliable, prefer passing this compile definition
from the test itself.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
3836aa9ae6
partition_table,app_update: use config partition table offset
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
1de627e68a
app_update: implement Python API for otatool
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
63bd57c1d7
partition_table: implement Python API for parttool
...
Closes https://github.com/espressif/esp-idf/issues/1494
2019-06-11 13:17:14 +08:00
Angus Gratton
02f1e9fc20
Merge branch 'feature/prov_mgr' into 'master'
...
Wi-Fi Provisioning Manager
See merge request idf/esp-idf!4805
2019-06-11 09:46:50 +08:00
Angus Gratton
2331597ed2
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c' into 'master'
...
driver: Fix ticks_to_wait for uart and i2c
Closes IDFGH-964
See merge request idf/esp-idf!5021
2019-06-11 08:41:44 +08:00
Angus Gratton
406979e74f
Merge branch 'feature/console_nvs_iterators' into 'master'
...
Feature/nvs iterators
Closes IDF-92
See merge request idf/esp-idf!3846
2019-06-11 08:36:13 +08:00
Angus Gratton
c9bf3a3b17
Merge branch 'bugfix/remove_secure_boot_test_mode' into 'master'
...
remove secure boot test mode
See merge request idf/esp-idf!5059
2019-06-11 07:25:07 +08:00
MartinValik
5268960235
Added support for NVS iterators
...
Closes https://github.com/espressif/esp-idf/issues/129
2019-06-10 16:42:39 +02:00
David Cermak
c34de4cba6
mdns: fix static analysis warnings
2019-06-10 13:21:07 +00:00
David Cermak
bd537083d9
esp_event: fix possible malloc free issues found by static analyzer
2019-06-10 13:10:34 +00:00
David Cermak
243e0b229f
tcp_transport: fix minor memory leak found by static analyzer
...
Closes https://github.com/espressif/esp-idf/issues/3602
2019-06-10 14:28:42 +02:00
Renz Christian Bagaporo
af3a2f3aba
esp_event: fix placement issue when building with make
...
The CMake build uses the linker fragment file to place functions in IRAM
on certain configurations. This commit does that for Make as well.
2019-06-10 19:38:55 +08:00
Anurag Kar
4ef6c85f0c
wifi_provisioning : Wi-Fi Provisioning Manager added
2019-06-10 15:13:50 +05:30
baohongde
f3aab7d536
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-10 15:14:23 +08:00
Mahavir Jain
bb4ca8c508
Merge branch 'feature/config_option_for_mbedtls_debug_level' into 'master'
...
mbedtls: add config option for setting debug level
See merge request idf/esp-idf!5154
2019-06-10 11:44:40 +08:00
Mahavir Jain
e701f96bf5
Merge branch 'bugfix/stack_protection_crash_due_to_incorrect_cflag' into 'master'
...
esp_common: fix stack protection crash due to incorrect CFLAG
See merge request idf/esp-idf!5155
2019-06-10 11:43:31 +08:00
Angus Gratton
a0382de0ea
Merge branch 'bugfix/psram_io_struct_uninitialized' into 'master'
...
Make sure the psram_io struct is initialized
See merge request idf/esp-idf!5147
2019-06-07 07:36:16 +08:00
Mahavir Jain
f80cce7bb9
esp_common: fix stack protection crash due to incorrect CFLAG
2019-06-06 18:52:32 +05:30
Mahavir Jain
0a5dfd3717
mbedtls: add config option for setting debug level
...
Closes https://github.com/espressif/esp-idf/issues/3521
2019-06-06 18:28:19 +05:30
Angus Gratton
345748b7bb
Merge branch 'feature/fixed_static_dram_size_pr3222' into 'master'
...
esp32: Allow fixed static RAM size and DRAM heap size
Closes IDFGH-780
See merge request idf/esp-idf!5043
2019-06-06 17:11:46 +08:00
Jeroen Domburg
2b7da2a245
Make unknown psram package version more obvious
2019-06-06 16:57:01 +08:00
Gautier Seidel
542e544faa
esp32: Allow fixed static RAM size and DRAM heap size
...
Merges https://github.com/espressif/esp-idf/pull/3222
2019-06-06 18:23:04 +10:00
Angus Gratton
19f176eb71
Merge branch 'feature/net_test_suite' into 'master'
...
execute net test suite for esp32 network stack in ci as weekend tests
Closes IDF-210
See merge request idf/esp-idf!3439
2019-06-06 15:25:03 +08:00
xiehang
2503af2464
wps: add overlap event
...
modify some header files to be consistent with vnc
2019-06-06 13:16:20 +08:00
Jeroen Domburg
ed17cbbb8a
Make sure the psram_io struct is initialized
...
Closes https://github.com/espressif/esp-idf/issues/3591
2019-06-06 09:05:49 +08:00
Jiang Jiang Jian
3d2b11347d
Merge branch 'bugfix/support_tcp_window_scale' into 'master'
...
esp_wifi/tcpip: support TCP window scale
See merge request idf/esp-idf!5102
2019-06-05 20:08:18 +08:00
Jiang Jiang Jian
d95cedd782
Merge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'
...
Bugfix/keep_sco_data_path_on_hci_reset
See merge request idf/esp-idf!4949
2019-06-05 17:10:21 +08:00
Michael (XIAO Xufeng)
c8d967417c
bootloader: remove duplicate region overlap logic
...
(MINOR CHANGE)
2019-06-05 14:43:23 +08:00
Angus Gratton
826ff7186a
Merge branch 'feature/mqtt_support_event_loop' into 'master'
...
MQTT: Support for esp event loop
See merge request idf/esp-idf!4815
2019-06-05 11:04:16 +08:00
Konstantin Kondrashov
ed22949847
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-06-05 10:38:23 +08:00
baohongde
48e32113de
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-04 16:31:21 +08:00
Jiang Jiang Jian
5274739fff
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'
...
component/bt: fix some performance issues in A2DP source data flow control
See merge request idf/esp-idf!4932
2019-06-04 16:07:31 +08:00
David Cermak
684514b3d6
ci: added standard set of network suite for lwip as a part of weekend test
2019-06-04 08:27:53 +02:00
liu zhifu
d1e7d04f9b
esp_wifi/lwip: support TCP window scale
...
Support enable/disable TCP Window scale feature via menuconfig
2019-06-04 14:09:04 +08:00
David Cermak
1ae0dfe7ef
mqtt: added support for esp event loop, updating examples to register and use event loop handler
2019-06-04 07:41:27 +02:00
Angus Gratton
9dd1b2ffb6
Merge branch 'bugfix/httpd_open_fn' into 'master'
...
HTTP Server : Close new session immediately if `open_fn` fails
Closes IDFGH-1165
See merge request idf/esp-idf!5019
2019-06-04 13:29:14 +08:00
Angus Gratton
045aaf6fb0
Merge branch 'feature/add_xxx_periph_h' into 'master'
...
soc: Add xxx_periph.h for all modules
Closes IDF-192
See merge request idf/esp-idf!4952
2019-06-04 13:24:14 +08:00
Angus Gratton
c338cbceb1
Merge branch 'bugfix/cmake_wifi_ut_md5' into 'master'
...
esp_wifi: fix MD5 unit tests with CMake
See merge request idf/esp-idf!5090
2019-06-04 13:23:06 +08:00
Angus Gratton
7f0ac87033
Merge branch 'bugfix/set_default_eth_handler' into 'master'
...
esp_event: fix bug in set_default_eth_handler
See merge request idf/esp-idf!5103
2019-06-04 13:06:55 +08:00
Konstantin Kondrashov
355f209dba
uart: Fix ticks_to_wait when 0 or expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-06-04 11:50:54 +08:00
Konstantin Kondrashov
22a30e2740
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-06-04 11:50:54 +08:00
Angus Gratton
db6a30b446
Merge branch 'bugfix/libgcc_fpu_functions' into 'master'
...
esp32: Use FPU for floating point divide, power, complex multiplications
See merge request idf/esp-idf!5005
2019-06-04 08:41:58 +08:00
Ivan Grokhotkov
0dc6e869c6
Merge branch 'bugfix/event_minor_leak' into 'master'
...
esp_event: fix minor memory leak when overwriting already registered handler
See merge request idf/esp-idf!5108
2019-06-03 22:37:06 +08:00
Jiang Jiang Jian
34b308eb79
Merge branch 'bugfix/wpa2_ent_vulnerability' into 'master'
...
esp_wifi: wpa2 enterprise vulnerability
See merge request idf/esp-idf!4992
2019-06-03 21:57:59 +08:00
baohongde
89e2b48a18
components/bt: Add API to config EIR data
2019-06-03 19:29:54 +08:00
Wu Jian Gang
4d3762a8df
clk: Fix the overflow when setting ccount
...
The multiplication will be overflow when using 160 or 240 MHz, this can lead the inaccuracy of log time stamp in startup.
2019-06-03 11:04:47 +00:00
Ivan Grokhotkov
fa36433199
Merge branch 'feature/multiple_github_prs' into 'master'
...
Fixes from github PRs
See merge request idf/esp-idf!5040
2019-06-03 18:50:46 +08:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
Konstantin Kondrashov
3ddab0b8f3
soc: Add xxx_periph.h for all modules
...
The "xxx_periph" header file includes all SOC-level definitions for that peripheral.
Closes: IDF-192
2019-06-03 13:56:54 +08:00
Angus Gratton
8b890bdaf3
Merge branch 'bugfix/protocomm_sec_mult_inst' into 'master'
...
Protocomm : Session security now supports multiple instances of the same type
See merge request idf/esp-idf!4756
2019-06-03 11:46:24 +08:00
Angus Gratton
92c5f17be0
Merge branch 'bugfix/protocomm_minor' into 'master'
...
Protocomm : Minor fixes
See merge request idf/esp-idf!5094
2019-06-03 09:48:03 +08:00
wangmengyang
bc6b80e7c2
add missing source files to CMakeLists for HFP
2019-05-31 18:54:19 +08:00
Jiang Jiang Jian
b859584f91
Merge branch 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'
...
Feature/btdm modem sleep with 32 k xtal under light sleep
See merge request idf/esp-idf!4744
2019-05-31 18:51:10 +08:00
Angus Gratton
30d9ee56fb
Merge branch 'feature/config_spi_pins_based_on_efuse_value' into 'master'
...
feat(psram): config SPI psram pins based on efuse value
See merge request idf/esp-idf!4950
2019-05-31 16:15:56 +08:00
suda-morris
c187f1ef6b
esp_event: fix bug in set_default_eth_handler
2019-05-31 16:00:15 +08:00
David Cermak
37c91133ff
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-05-31 08:31:06 +02:00
David Cermak
a38b50a8a9
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-05-31 08:31:06 +02:00
liu zhifu
8009320fb4
esp_wifi: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:19:26 +08:00
baohongde
13908160fb
components/bt: Fix make errors due to macro usage error
2019-05-30 20:19:43 +08:00
Ivan Grokhotkov
8cc90bfbb1
esp_wifi: fix MD5 unit tests with CMake
2019-05-30 11:42:12 +08:00
Angus Gratton
0b70dfc27f
Add floating point performance test
2019-05-30 10:09:24 +10:00
lenhart
920d35b5d0
Update i2c documentation
...
Description for i2c_slave_read_buffer had leftover from copying from write fct. data
pointer description described the wrong way (writing into internal buffer)
Closes https://github.com/espressif/esp-idf/pull/3268
2019-05-29 18:02:18 +05:30
Oleg Antonyan
4430456b64
Change SPI_USE_RXDATA->SPI_TRANS_USE_RXDATA and SPI_USE_TXDATA->SPI_TRANS_USE_TXDATA on documentation
...
Closes https://github.com/espressif/esp-idf/pull/2802
2019-05-29 18:02:18 +05:30
Stephen Bird
058c6afd3c
Add option to disable server side SSL session tickets as well as client
...
Closes https://github.com/espressif/esp-idf/pull/2570
2019-05-29 18:02:18 +05:30
Angus Gratton
31b854e17d
Merge branch 'feature/do_not_use_link_groups' into 'master'
...
Do not use link groups
See merge request idf/esp-idf!4897
2019-05-29 15:18:31 +08:00
Jiang Jiang Jian
da13efc17a
Merge branch 'feature/btdm_msbc_codec' into 'master'
...
Wide Band Speech for HFP
See merge request idf/esp-idf!4854
2019-05-29 14:39:21 +08:00
Angus Gratton
73b90387cb
Merge branch 'bugfix/reset_log_uart_port' into 'master'
...
esp32: Add reset CONSOLE_UART port
See merge request idf/esp-idf!5011
2019-05-29 14:28:37 +08:00
Angus Gratton
c7a0d5e063
Fix bug in the floating point unit test code
2019-05-29 10:14:31 +10:00
Angus Gratton
d9a5c8f387
esp32: Use FPU for floating point divide, power, complex multiplications
...
* Linker was choosing ROM symbols for these, which use integer soft-float
operations and are much slower.
* _divsf3() moved to IRAM to avoid regressions with any code that does
integer float division in IRAM interrupt handlers (+88 bytes IRAM)
* Thanks to michal for reporting:
https://esp32.com/viewtopic.php?f=14&t=10540&p=43367
2019-05-29 10:14:31 +10:00
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
chenjianqiang
db138ae19b
feat(psram): config SPI psram pins based on efuse value
2019-05-28 21:25:16 +08:00
wangmengyang
f678a6289d
reduce the minimum delay uncertainty of esp_timer for Bluetooth modem sleep from 1.8ms to 0.5ms for lower power consumption
2019-05-28 19:56:31 +08:00
wangmengyang
ff2c583a0d
component/bt: Add option to configure BLE SCA through menuconfig and use a fixed value of clock cycle to estimate sleep duration for external 32kHz oscillator
2019-05-28 19:56:26 +08:00
Anurag Kar
5384338341
Protocomm : Minor fixes
...
List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation
2019-05-28 14:41:49 +05:30
Anurag Kar
9c6bec203d
HTTP Server : Close new session immediately if open_fn fails
...
open_fn() was introduced in the context of HTTPS server, as a configurable callback function that is called by the HTTP server, on every newly created socket. It is responsible of allocating resources for per session transport security.
Earlier, if open_fn were to fail, the newly created socket would be closed by the server but the corresponding entry, for the now invalid socket, will remain in the internal socket database until that invalid socket is detected due to error when calling select(). Because of this delayed closing of sockets, the HTTPS server would quickly face shortage of available sessions when a lot of SSL handshake errors are happening (this typically occurs when a browser finds that the server certificate is self signed). This changes in this MR fix this issue by clearing up the socket from internal database, right after open_fn fails.
Closes https://github.com/espressif/esp-idf/issues/3479
2019-05-28 08:49:02 +00:00
chenjianqiang
d68f1907ef
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-05-28 14:51:04 +08:00
Angus Gratton
22514c1dd9
cmake: For gcc8 use linker to find paths to libc, libm, libstdc++, etc
...
Removes the need to know/guess the paths to these libraries. Once we are gcc 8 only, we
can remove -nostdlib and no additional arguments are needed for system libraries.
The catch is: any time IDF overrides a symbol in the toolchain sysroot, we need
an undefined linker marker to make sure this symbol is seen by linker.
2019-05-28 12:54:37 +08:00
Renz Christian Bagaporo
2c12080049
components: correct dependency information for linking without link groups
2019-05-28 10:51:02 +08:00
David Cermak
7963ac65af
mqtt_tests: add weekend test for sending and receiving empty payload messages, update config options per new naming convetions
2019-05-27 21:57:18 +02:00
David Cermak
38d15cbd63
mdns tests: adapt mdns fuzzer test to compile with event loop library
2019-05-27 16:31:25 +02:00
David Cermak
d19b20388f
lwip tests: adapt fuzzer test mocks to comply with 4.0 refactoring
2019-05-27 16:31:24 +02:00
David Cermak
db121a56e1
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes
...
Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
2019-05-27 16:31:24 +02:00
wangmengyang
7403e8e11c
component/bt: remove the pm_lock that prevents light sleep in case that external 32kHz crystal is used as Bluetooth low power clock
2019-05-27 17:47:33 +08:00
Angus Gratton
801f5d6e82
Merge branch 'bugfix/more_cmake_fixes' into 'master'
...
More CMake fixes
See merge request idf/esp-idf!5060
2019-05-27 15:48:25 +08:00
Angus Gratton
b2e54a9cc6
ci: Add IDF_DEPRECATED macro for things we only deprecate in our CI passes
2019-05-27 17:43:38 +10:00
Angus Gratton
02f2e63662
Merge branch 'feature/use_cmake_function_call_for_embedding_ulp' into 'master'
...
Use function call for embedding ULP binaries
See merge request idf/esp-idf!4242
2019-05-27 13:14:09 +08:00
baohongde
fcf4886172
components/bt: Support EV3 packet type
2019-05-24 17:36:10 +08:00
baohongde
dd906a91a5
components/bt: Enable mSBC and add decoder and encoder
2019-05-24 17:36:10 +08:00
baohongde
20758443df
components/bt: Add packet loss concealment (PLC) for HFP
2019-05-24 17:33:52 +08:00
baohongde
e10d5aaddc
component/bt: modify the SBC decoder to support mSBC mode
2019-05-24 17:33:52 +08:00
wangmengyang
7c28611a3d
component/bt: modify the SBC encoder to support mSBC mode
2019-05-24 17:33:52 +08:00
baohongde
f15323b453
component/bt: remove SBC frame scramling
2019-05-24 17:33:52 +08:00
zhangyanjiao
22a991bb29
wifi bugfixs:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
Closes https://github.com/espressif/esp-idf/issues/3474
2019-05-24 11:23:16 +08:00
Renz Christian Bagaporo
74c6c926ea
nghttp: move HAVE_CONFIG_H compile definition to component
2019-05-23 18:39:31 +08:00
hemal.gujarathi
865b24144e
remove secure boot test mode
2019-05-23 14:13:08 +05:30
liu zhifu
197e0ae147
esp_wifi: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:18:05 +08:00
Jiang Jiang Jian
81ca1c0139
Merge branch 'bugfix/fix_softap_crash_when_sta_reset' into 'master'
...
wifi: fix softap crash when sta reset
Closes WIFI-509
See merge request idf/esp-idf!4995
2019-05-22 21:00:40 +08:00
Jeroen Domburg
0e7442bb7a
Merge branch 'feature/spi_slave_support_hal' into 'master'
...
spi_slave: add HAL support
See merge request idf/esp-idf!4830
2019-05-22 13:42:11 +08:00
Renz Christian Bagaporo
8ed07d0bb2
esp_event: check that event data is prepared properly
2019-05-22 11:30:27 +08:00
Renz Christian Bagaporo
136e5bc32d
esp_event: style fixes
2019-05-22 11:29:56 +08:00
Renz Christian Bagaporo
4042902402
esp_event: always alloc data when not posting from isr
2019-05-22 11:29:17 +08:00
Renz Christian Bagaporo
f21b8bbf55
esp_event: fix issue with post data preparation
...
Fixes an issue with post instance data preparation. Currently, there is
no way to check if event data has really been set during handler
execution preparation. When data is not allocated from the heap, user
could have passed 0x0 which can lead to failed checks.
This also implements using the already allocated data memory for posting
events from non-ISR functions when data size is less than the capacity.
2019-05-22 11:28:39 +08:00
GOPTIONS\pfrost
897bb55482
nvs: Append _t to nvs_handle & nvs_open_mode types
...
Merges https://github.com/espressif/esp-idf/pull/3239/
2019-05-22 02:53:28 +00:00
Renz Christian Bagaporo
4483724df8
ulp: use cmake function to embed ulp binaries
2019-05-21 20:00:06 +08:00
Renz Christian Bagaporo
e1db12993b
bootloader: pass legacy header config variable to subproject
2019-05-21 17:03:45 +08:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
997b29a9ca
Rename Kconfig options (components/esptool_py)
2019-05-21 09:32:55 +02:00
Roland Dobai
6c0a7a66f3
Rename Kconfig options (components/app_trace)
2019-05-21 09:32:55 +02:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
Roland Dobai
24a2e5a17e
Rename Kconfig options (components/tcpip_adapter)
2019-05-21 09:09:01 +02:00
Roland Dobai
d61d58e78d
Rename Kconfig options (components/pthread)
2019-05-21 09:09:01 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
d4af5e6fff
Rename Kconfig options (components/ethernet)
2019-05-21 09:09:01 +02:00
Roland Dobai
b8111ab1d5
Rename Kconfig options (components/esp_wifi)
2019-05-21 09:09:01 +02:00
Roland Dobai
92950db44e
Rename Kconfig options (components/lwip)
2019-05-21 09:09:01 +02:00
Roland Dobai
e9f1011b1b
Rename Kconfig options (components/driver)
2019-05-21 09:09:01 +02:00
Roland Dobai
bf626f2aba
Rename Kconfig options (components/esp_event)
2019-05-21 09:09:01 +02:00
Roland Dobai
976d2a4b7f
Rename Kconfig options (components/freemodbus)
2019-05-21 09:09:01 +02:00
Roland Dobai
64c2aa15aa
Rename Kconfig options (components/freertos)
2019-05-21 09:09:01 +02:00
Roland Dobai
c5000c83d2
Rename Kconfig options (root)
2019-05-21 09:09:01 +02:00
Angus Gratton
3bf56cdd17
Merge branch 'bugfix/ws_read_fragmented_header' into 'master'
...
Fix reading http header if received in multiple chunks
See merge request idf/esp-idf!4996
2019-05-21 14:56:34 +08:00
Konstantin Kondrashov
be6f5563b4
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-05-21 06:18:28 +00:00
Angus Gratton
ba51e9fb5c
Merge branch 'bugfix/aes_fault_inj' into 'master'
...
mbedtls: Add simple fault injection check for hardware AES peripheral
See merge request idf/esp-idf!5023
2019-05-21 13:44:32 +08:00
Ivan Grokhotkov
0ccb7541f5
Merge branch 'feature/nvs_check_item_modified' into 'master'
...
nvs: Check if an item is modified before writing out an identical copy
See merge request idf/esp-idf!4934
2019-05-21 10:54:21 +08:00
Ivan Grokhotkov
6b08e8b449
esp_timer: handle esp_timer_delete in timer task
...
Closes https://github.com/espressif/esp-idf/issues/3458
2019-05-21 10:48:28 +08:00
Angus Gratton
af98ca6b46
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-05-21 12:41:42 +10:00
Angus Gratton
c9edb7c8a9
mbedtls: Add AES-CBC performance test
...
Hardware AES engine gets 11.0MB/sec on Release config
Software AES is around 2.3MB/sec on Release config
2019-05-21 12:41:40 +10:00
David Cermak
d41d70b8ef
tcp_transport: reading http header in a chunked mode until header terminator received (or timeout) to correctly receive all header if fragmented
...
Closes https://github.com/espressif/esp-idf/issues/3461
2019-05-20 16:40:03 +02:00
xiehang
2273646bda
wifi: fix softap crash when sta reset
2019-05-20 19:57:50 +08:00
Michael (XIAO Xufeng)
33db6d608e
spi_slave: add HAL support
2019-05-20 07:34:34 +00:00
Angus Gratton
595d702e97
Merge branch 'feature/update_esp_tls_config' into 'master'
...
esp-tls: Add support to add CN from config and validate PEM buffers
See merge request idf/esp-idf!4929
2019-05-20 14:00:37 +08:00
Angus Gratton
8c6ff874af
Merge branch 'bugfix/custom_log_uart_rx_pin' into 'master'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
Closes IDFGH-505
See merge request idf/esp-idf!5009
2019-05-20 13:58:37 +08:00
Angus Gratton
826acbc3de
Merge branch 'bugfix/custom_bootloader_subproject_build' into 'master'
...
CMake: Fix custom bootloader does not override original
See merge request idf/esp-idf!5000
2019-05-20 13:58:03 +08:00
Ivan Grokhotkov
6ca07eca68
esp_common: add version definitions in code and build system
...
Closes https://github.com/espressif/esp-idf/issues/2482
Closes IDF-253
2019-05-20 13:14:56 +08:00
Ivan Grokhotkov
2b301f53e4
Merge branch 'bugfix/fix_build_make_macos' into 'master'
...
make: fix build failure on macos with GNU make <= 3.81
See merge request idf/esp-idf!5010
2019-05-20 10:44:49 +08:00
Jitin George
d1c6bbf42e
esp-tls: Add support to add CN from config and validate PEM buffers
2019-05-17 20:06:44 +05:30
Renz Christian Bagaporo
927007fdd2
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-17 15:17:32 +08:00
Angus Gratton
907471ce41
Merge branch 'feature/cmake_changes_for_4.0' into 'master'
...
CMake for 4.0
See merge request idf/esp-idf!4452
2019-05-17 14:21:48 +08:00
David Cermak
8f91d730da
make: fix build failure on macos with GNU make <= 3.81
...
Closes https://github.com/espressif/esp-idf/issues/3459
2019-05-16 14:09:43 +02:00
Konstantin Kondrashov
98c77cebb2
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-16 11:18:56 +00:00
Anurag Kar
120bd3a456
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-05-15 12:27:03 +00:00
Angus Gratton
1b4c7d30e5
Merge branch 'bugfix/esp_efuse_fields_unused_variable' into 'master'
...
efuse: Fix unused variable warning when NDEBUG
Closes IDFGH-1114
See merge request idf/esp-idf!4955
2019-05-15 12:48:28 +08:00
Angus Gratton
3f7bd872ac
Merge branch 'refactor/power_management' into 'master'
...
power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS
See merge request idf/esp-idf!4412
2019-05-15 12:27:58 +08:00
Angus Gratton
0458bacc4e
Merge branch 'bugfix/httpd_log_purge' into 'master'
...
esp_http_server : Logging of purged data to monitor made configurable
Closes IDFGH-1034
See merge request idf/esp-idf!4941
2019-05-14 18:07:51 +08:00
Renz Christian Bagaporo
477fa49fc0
examples: update idf_as_lib example to use new api
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
c564d1730f
esp_common: append gc sections link flag
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
ffec9d4947
components: update with build system changes
2019-05-13 19:59:17 +08:00
Sachin Parekh
e6a714480d
unit-test-app: freertos_compliance config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
a190b527ac
power_management: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
db8041a67f
intr_alloc: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
f3db0b5a4a
crosscore_init: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
5979086379
timer: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
7f37824eb7
rtc_module: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
da41885e85
rmt: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
e9898b1280
periph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
5c6b9adf11
freertos: port*_CRITICAL_SAFE API added
...
port*_CRITICAL_SAFE API calls port*_CRITICAL or port*_CRITICAL_ISR
depending on the context (Non-ISR or ISR respectively).
FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE Kconfig option added
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Angus Gratton
56078159d4
Merge branch 'bugfix/xTaskIncrementTick' into 'master'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
Closes IDF-183
See merge request idf/esp-idf!4792
2019-05-13 12:34:54 +08:00
Konstantin Kondrashov
bbdeff1da1
esp32: Rewrite esp_sha function
...
It removes using a STALL_OTHER_CPU while sha operations.
It improves performance with SHA.
2019-05-13 12:32:45 +08:00
Angus Gratton
014de712ab
Merge branch 'feature/update_cjson_lib_to_1.7.11' into 'master'
...
cJSON: update to v1.7.11
Closes IDFGH-1004
See merge request idf/esp-idf!4881
2019-05-13 12:31:19 +08:00
Anurag Kar
6bf423d1e1
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-05-10 14:25:39 +05:30
Jiang Jiang Jian
1c46caf70c
Merge branch 'bugfix/modify_TCP_MSS_range' into 'master'
...
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
See merge request idf/esp-idf!4968
2019-05-10 13:52:16 +08:00
Angus Gratton
ce45e7806b
Merge branch 'feature/add_promiscuous_control_for_ethernet' into 'master'
...
add promiscuous mode control for Ethernet
See merge request idf/esp-idf!4953
2019-05-10 12:51:15 +08:00
Angus Gratton
b6a24bbd25
Merge branch 'feature/esp-https-ota-basic-auth' into 'master'
...
esp_https_ota: component refactoring, bugfixes and feature additions
See merge request idf/esp-idf!4245
2019-05-10 12:39:14 +08:00
Angus Gratton
b991aa1ecb
Merge branch 'bugfix/fix_minor_gh_issues' into 'master'
...
mdns: minor fixes mainly from GitHub
Closes #77
See merge request idf/esp-idf!4930
2019-05-10 12:31:30 +08:00
Angus Gratton
073573aa5d
Merge branch 'bugfix/issue_with_encryption_flag_for_partition' into 'master'
...
partition: Fix "encrypted" read/write when encryption is disabled
See merge request idf/esp-idf!4927
2019-05-10 10:51:21 +08:00
Angus Gratton
8720a13d0f
Merge branch 'bugfix/spiffsgen_path_on_windows' into 'master'
...
Fix issue with spiffsgen path when creating image in Windows
Closes IDFGH-1095
See merge request idf/esp-idf!4931
2019-05-10 10:23:28 +08:00
xiehang
403f588fd0
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
2019-05-09 19:49:59 +08:00
xiehang
67dd55eae8
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [576 1460]
2019-05-09 17:59:25 +08:00
suda-morris
63e4677c55
pass IDF_TARGET variable to bootloader build process
2019-05-09 14:19:02 +08:00
Ivan Grokhotkov
eeca0804e6
Merge branch 'bugfix/https_doc_api' into 'master'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
Closes IDFGH-1052
See merge request idf/esp-idf!4942
2019-05-09 11:23:01 +08:00
suda-morris
15070ea648
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-08 17:15:21 +08:00
V.Dudnik
7822484aaa
efuse: Fix unused variable warning when NDEBUG
...
Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
2019-05-08 09:14:24 +08:00
Roland Dobai
bfe5b13905
tools/gen_esp_err_to_name.py: Don't include already included headers
2019-05-06 15:08:37 +02:00
Roland Dobai
20bd142077
Fix paths to the new esp_common in the ESP error code generator
2019-05-06 15:07:27 +02:00
Hagen Fritsch
051b5c45c5
Fix includes in esp_err_to_name.c.in.
...
esp_err_t provided by esp_err.h and thus is required and not optional.
While the python script adds the header, it wraps it with an __has_include
directive that is not supported on all compilers (notably GCC 4.8).
Closes https://github.com/espressif/esp-idf/pull/3424
2019-05-06 14:52:13 +02:00
Anurag Kar
5e1c19d73d
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-05-06 14:32:24 +05:30
suda-morris
e0097bc740
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-06 14:07:54 +08:00
Angus Gratton
df61612f8f
Merge branch 'bugifx/httpd_reuseaddr' into 'master'
...
esp_http_server : Allow binding to same address and port upon restarting server without delay
Closes IDFGH-1060
See merge request idf/esp-idf!4903
2019-05-06 08:45:09 +08:00
V.Dudnik
867ea68d5a
fix spiffsgen.py wrong path delimiter on windows
2019-05-05 17:50:15 +08:00
wangmengyang
38ec1b9a86
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-05-05 11:42:27 +08:00
David Cermak
af48977f21
mdns: fixed mdns crashing on reception of txt packet without a corresponding service
...
closes #2866
2019-05-03 16:37:43 +02:00
David Cermak
c050a75616
mdns: use const char* for mdns txt items types to remove warning when assigning
2019-05-03 16:31:32 +02:00
David Cermak
a851aac255
mdns: updated doxygen comments documenting mdns api
...
Closes https://github.com/espressif/esp-idf/issues/1718
2019-05-03 16:29:12 +02:00
David Cermak
eddd5c4f2c
mdns: update mdns_out_question_s to be in line with mdns_parsed_question_s struct
...
Closes https://github.com/espressif/esp-idf/issues/1568
2019-05-03 14:54:59 +02:00
Tim Nordell
7892cf6a03
partition: Fix "encrypted" read/write when encryption is disabled
...
According to the documentation[1][2] for partitions, setting the encrypted
flag for partitions should be a no-op when system level encryption isn't
enabled. The current implementation, however, does not actually match
the documentation and it ends up with an unreadable partition via the
partition API if a partition flag is marked as encrypted without
system-level encryption enabled. (This is because the writes go through
the encryption block, and reads do not go through the encryption block
when this situation occurs causing unreadable data to the application
running.) This fixes up the read-back of the partition table to match
whether or not the partition is currently encrypted under the hood.
This should not affect the bootloader's code for reading/writing encrypted
partitions as the bootloader directly invokes the spi_flash_write*(...)
APIs.
[1] https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/partition-tables.html#flags
[2] https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html#encrypted-partition-flag
Closes https://github.com/espressif/esp-idf/pull/3328
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-05-03 15:03:04 +05:30
Jitin George
4e6d39f009
esp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT
...
Closes https://github.com/espressif/esp-idf/issues/3095
2019-05-02 16:15:59 +05:30
Anurag Kar
ffad8b27a3
esp_http_server : Allow binding to same address and port upon restarting server without delay
...
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket
Closes https://github.com/espressif/esp-idf/issues/3381
2019-05-02 05:29:38 +00:00
Tim Nordell
c3fa2497b9
nvs: Check if an item is modified before writing out an identical copy
...
This prevents wear and tear on the flash, and it also is faster in some
cases since the read-out of flash is a cheaper operation than the erasure
of flash. Some library modules (such as the esp_wifi) write out to NVS
upon every initialization without checking first that the existing value
is the same, and this speeds up initialization of modules that make
these design choices and moves it into a centralized place.
The comparison functions are based on the read-out functions of the same
name, and changes out the memcpy(...) operations for memcmp(...)
operations.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-04-30 11:39:58 -05:00
Jitin George
f49e91f744
esp_https_ota: Add support for URL redirection, basic auth and more control with new APIs
...
Bugfixes:
- Fix http url redirection issue
- Fix basic/digest auth issue with http url
Features:
- Add support for adding custom http header
- Add support for reading firmware image header
- Add support for monitoring upgrade status
- This requires breaking down esp_https_ota API such that it allows finer application level control
- For simpler use-cases previous API is still supported
Closes https://github.com/espressif/esp-idf/issues/3218
Closes https://github.com/espressif/esp-idf/issues/2921
2019-04-29 18:58:07 +05:30
Jitin George
86e1fc564e
esp_http_client: Add API for adding authorization info
...
There was existing support for adding authorization info in esp_http_client
but it was functional only while using `esp_http_client_perform` API. This commit just moves
existing authorization addition logic into publicly exposed API.
2019-04-29 11:44:37 +05:30
michael
0b523c2300
spi_master: fix the dual/quad io issue
...
introduced in f871cc5ffa
The issue is caused by
1. The hal didn't pass the io_mode to LL.
2. The setup_device function overwrite the trans-specific settings.
2019-04-27 01:36:47 +08:00
Konstantin Kondrashov
643d0f2164
freertos/test: Add unit tests for xTaskIncrementTick
2019-04-26 22:36:12 +08:00
Angus Gratton
fe2565f5d7
Merge branch 'feature/make_bootloader_support_target_dependent' into 'master'
...
make bootloader_support depend on IDF_TARGET
See merge request idf/esp-idf!4798
2019-04-26 15:36:48 +08:00
Angus Gratton
df9113e0e1
Merge branch 'feature/kconfig_backward_comp' into 'master'
...
Rename deprecated Kconfig options in a backward compatible way
Closes IDF-155
See merge request idf/esp-idf!4551
2019-04-26 10:09:29 +08:00
Angus Gratton
207e87932b
Merge branch 'fix/fix_soc_dram_low_addr' into 'master'
...
fix the dram low addr defined in the soc.h header
See merge request idf/esp-idf!4882
2019-04-26 08:43:22 +08:00