Angus Gratton
8914f6f9cd
Merge branch 'bugfix/http_server_lf_term_hdr' into 'master'
...
HTTP Server : Fix for tolerating LF terminated headers
Closes IDFGH-748
See merge request idf/esp-idf!4588
2019-04-01 13:25:24 +08:00
zhangyanjiao
b13ceaf468
wifi: increase the block scan time because of changing channel will take at 30nm when BT/WiFi coexist
2019-04-01 03:12:20 +00:00
Ivan Grokhotkov
624725d6e0
coap: define WITH_POSIX in coap_config.h instead of globally
2019-03-28 16:29:13 +08:00
Ivan Grokhotkov
8016448fb1
coap: silence format truncation warning (appears with GCC 8)
2019-03-28 16:28:25 +08:00
Angus Gratton
6fcfdd3d6a
Merge branch 'update/nvs_partition_util' into 'master'
...
Update for creation of unique filename for encryption keys
See merge request idf/esp-idf!3808
2019-03-28 15:07:44 +08:00
zhiweijian
0acc2f59e5
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 06:09:19 +00:00
Ivan Grokhotkov
85fb54a501
Merge branch 'feature/separate_xtensa_from_esp32' into 'master'
...
separate xtensa from esp32
See merge request idf/esp-idf!4625
2019-03-28 14:04:03 +08:00
Shivani Tipnis
cd8c42600c
nvs_util: Add support for creation of unique encryption keys
2019-03-28 05:06:12 +00:00
Angus Gratton
1db51e18b9
Merge branch 'bugfix/restore_deleted_factory_offset' into 'master'
...
partition_table: restore needed factory offset variable
See merge request idf/esp-idf!4601
2019-03-28 12:03:27 +08:00
Renz Christian Bagaporo
7112b9492e
make: fix undefined variables warning for PARTITION_TABLE_BIN
...
Closes https://github.com/espressif/esp-idf/issues/3136
2019-03-27 21:02:55 +08:00
morris
dbdb299bb1
create xtensa component
...
1. move xtensa specific files out of esp32 component
2. merge xtensa-debug-module component into xtensa
2019-03-27 20:24:28 +08:00
Anton Maklakov
da90966828
Merge branch 'feature/mqtt_weekend_tests' into 'master'
...
introducing weekend tests for mqtt and fuzzer test (mdns, LWIP)
Closes IDF-540
See merge request idf/esp-idf!4230
2019-03-27 19:12:33 +08:00
Ivan Grokhotkov
18946a5421
Merge branch 'feature/common_parts_into_esp_common' into 'master'
...
move common include files from esp32 into esp_common
See merge request idf/esp-idf!4515
2019-03-27 17:00:58 +08:00
Jiang Jiang Jian
21f6b4d6c3
Merge branch 'bugfix/modify_wifi_reason_code' into 'master'
...
wifi: modify wifi reason code
Closes WIFI-268 and WIFI-388
See merge request idf/esp-idf!4604
2019-03-27 16:50:35 +08:00
Jiang Jiang Jian
fe793eb574
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF' into 'master'
...
Component/bt: modify HCI_GET_CMD_BUF
See merge request idf/esp-idf!4465
2019-03-27 14:23:52 +08:00
Jiang Jiang Jian
fc6b413667
Merge branch 'bugfix/btdm_add_new_param_for_update_whitelist_api' into 'master'
...
Component/bt: add new param for update_whitelist API
See merge request idf/esp-idf!4493
2019-03-27 14:23:12 +08:00
Anurag Kar
990af312d1
HTTP Server : Fix for tolerating LF terminated headers
...
List of changes:
* When parsing requests, count termination from LF characters only
* Correct memcpy() length parameter in httpd_unrecv() (pointed out by jimparis in GitHub issue thread)
* Use ssize_t to store results of length subtractions during parsing
* Modify some comments to reduce ambiguity
Closes https://github.com/espressif/esp-idf/issues/3182
2019-03-26 14:21:40 +05:30
morris
709a320f33
move hwcrypto from esp32 to mbedtls
2019-03-26 16:24:22 +08:00
baohongde
59d77660ef
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 14:37:37 +08:00
morris
a2f07b0806
move common include files from esp32 into esp_common
2019-03-26 11:57:03 +08:00
zhangyanjiao
ebe7190f01
wifi: modify wifi reason code
2019-03-26 11:16:47 +08:00
Renz Christian Bagaporo
4d9c3a262d
cmake,make: Support SPIFFS image generation from build systems
2019-03-25 12:51:52 +08:00
Renz Christian Bagaporo
ca06f73a51
spiffs: Add host test for generated spiffs image
2019-03-25 12:51:52 +08:00
Renz Christian Bagaporo
8ba10bf3dc
spiffs: Implement spiffs image generation
2019-03-25 12:51:52 +08:00
Tim Nordell
eb5abca23d
nvs_flash: Fix typo in README.rst
...
Merges https://github.com/espressif/esp-idf/pull/3216
This should read "except for the new key-value pair" instead of
"expect for the new key-value pair".
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-03-24 19:56:10 +01:00
zhiweijian
c0bdea6aae
Component/bt: add new param for update_whitelist()
2019-03-22 12:22:51 +00:00
David Cermak
bc60bbbeaf
fuzzer tests: update of mdns and lwip host compilation for fuzzer testing
...
Closes IDF-540
2019-03-22 11:37:26 +01:00
David Cermak
5141e0ec24
tcp_transport: ws fix on reception of longer data than receive buffer
2019-03-22 11:37:26 +01:00
David Cermak
1465f53f49
mqtt tests: adding weekend test for mqtt library to exercise publishing/receiving different data and references esp-mqtt commits to pass these tests
...
testing conditions:
transports (tcp, ssl, ws..)
qos (0, 1, 2)
short repeated messages (packed packets)
oversized messages (fragmented packets)
publish from a different thread
Closes https://github.com/espressif/esp-idf/issues/2870 by means of including commit 815623dfe5a0e41fa0e51ab4e336feb3eaa5ba15 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2975 by means of including commit 752953dc3be007cca4255b66a35d3087e61f6a54 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2850 by means of including commits df455d2a5fe562dd1b8351da99a1d6d82b66eff3 17fd713bced4f2d00df7ed664ed82a7d108ab317 from esp-mqtt
2019-03-22 11:37:26 +01:00
Renz Christian Bagaporo
7e93d4986c
partition_table: restore needed factory offset variable
2019-03-22 15:24:23 +08:00
Jiang Jiang Jian
c2d1f83bce
Merge branch 'mesh/decouple_addition' into 'master'
...
wifi: decouple mesh functions from net80211
See merge request idf/esp-idf!4393
2019-03-22 12:57:03 +08:00
Angus Gratton
1be147c457
Merge branch 'feature/allow_components_to_declare_images_to_flash' into 'master'
...
Allow components to present their own images to flash
See merge request idf/esp-idf!4148
2019-03-22 11:14:37 +08:00
morris
fcedf442ce
move common source files from esp32 to esp_common
2019-03-22 10:35:03 +08:00
Ivan Grokhotkov
940a1f6e79
Merge branch 'feature/separate_rom_from_esp32' into 'master'
...
separate rom from esp32 component to esp_rom
Closes IDF-542
See merge request idf/esp-idf!4500
2019-03-21 22:10:45 +08:00
Ivan Grokhotkov
3a779380a7
Merge branch 'feature/semihost_vfs' into 'master'
...
Adds semihosting VFS driver
Closes IDF-367
See merge request idf/esp-idf!4145
2019-03-21 22:03:06 +08:00
Ivan Grokhotkov
58314feff9
Merge branch 'feature/http_server_pinned_to_core_support' into 'master'
...
HTTP Server: Added ability to select core
See merge request idf/esp-idf!4586
2019-03-21 19:19:13 +08:00
Ivan Grokhotkov
ffa8bed7c8
Merge branch 'bugfix/nvs_util_write_single_page_big_blob_data' into 'master'
...
nvs_util: Fix to support write operation of multiple single page big blob data
See merge request idf/esp-idf!4268
2019-03-21 19:10:29 +08:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
77e7af4e90
Merge branch 'feature/update_libcoap_4.2.0' into 'master'
...
Update component/coap to libcoap version release-4.2.0
See merge request idf/esp-idf!4499
2019-03-21 18:35:20 +08:00
Ivan Grokhotkov
106dc05903
Merge branch 'feature/specify_includes_belonging_esp32' into 'master'
...
move esp32 chip specific includes to esp32/xxx.h
See merge request idf/esp-idf!4534
2019-03-21 18:34:08 +08:00
Ivan Grokhotkov
57e1b5dad8
Merge branch 'bugfix/newlib_fcntl_r_signature' into 'master'
...
vfs: change fcntl argument to int (instead of va_list), add weak fcntl
See merge request idf/esp-idf!4549
2019-03-21 18:30:34 +08:00
Ivan Grokhotkov
ce07a1057c
Merge branch 'feature/make-debug-verbose-usable' into 'master'
...
logs: Make verbose and debug logging cleaner
Closes IDFGH-782
See merge request idf/esp-idf!4578
2019-03-21 18:29:50 +08:00
Ivan Grokhotkov
743fa44544
Merge branch 'bugfix/esp_debug_includes' into 'master'
...
mbedtls: Fix esp_debug not including its dependencies
See merge request idf/esp-idf!4581
2019-03-21 18:28:39 +08:00
Balazs Racz
efcd10ea31
Fix missing declaration of __bswap64 in endian.h
...
Merges https://github.com/espressif/esp-idf/pull/2983
2019-03-21 15:08:11 +08:00
Per Malmberg
36c73e6d70
Easier use of -Wsign-conversion warnings needs changes.
...
Merges https://github.com/espressif/esp-idf/pull/3129
2019-03-21 15:08:04 +08:00
Hanh Tran
e5e41e0a5e
Fix comment typos in WiFi types header
...
Merges https://github.com/espressif/esp-idf/pull/3145
2019-03-21 15:06:24 +08:00
Anuj Deshpande
13cf867023
logs: Make verbose and debug logging cleaner
...
* Closes #3193
* Closes IDFGH-782
The logs that are deleted in this commit make debug and verbose mode
unusable.
2019-03-21 11:54:04 +05:30
Angus Gratton
25043c4d56
Merge branch 'feature/merge_flash_data_type-flash_partitions' into 'master'
...
merge esp_flash_data_types into esp_flash_partitions
See merge request idf/esp-idf!4504
2019-03-21 13:40:40 +08:00
Ivan Grokhotkov
6d4a7b1a7e
Merge branch 'bugfix/cmake_soc_test' into 'master'
...
soc: fix compiling unit tests with CMake
Closes IDF-499
See merge request idf/esp-idf!4545
2019-03-21 13:34:58 +08:00
Gregory Eslinger
7f1047847a
HTTP Server: Added ability to select core
...
The task that runs the HTTP server can now be pinned to a particular core by setting `core_id`
in the HTTP server configuration. By default, the core is set to `tskNO_AFFINITY`, meaning
it can run on any core.
Merges https://github.com/espressif/esp-idf/pull/3190
2019-03-21 11:22:58 +08:00
Angus Gratton
c1e5e19d0b
Merge branch 'bugfix/heap_caps_int_overflows' into 'master'
...
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
See merge request idf/esp-idf!4451
2019-03-21 09:47:38 +08:00
Angus Gratton
b7ee11231d
mbedtls: Fix esp_debug not including its dependencies
...
As reported on forum: https://esp32.com/viewtopic.php?f=13&t=9782&p=40464#p40464
2019-03-21 10:48:55 +11:00
Jiang Jiang Jian
bd103f3743
Merge branch 'feature/btdm_add_api_to_clean_gattc_cache' into 'master'
...
Component/bt: add api to clean gattc cache
See merge request idf/esp-idf!3951
2019-03-20 22:05:00 +08:00
Jiang Jiang Jian
c1600f28d1
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable' into 'master'
...
Component/bt: fix no adv report when scanning with sleep enable
See merge request idf/esp-idf!4535
2019-03-20 21:36:23 +08:00
Jiang Jiang Jian
c5fb88c2e2
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log' into 'master'
...
Component/bt: fix build warning when bluedroid disable log
See merge request idf/esp-idf!4524
2019-03-20 21:09:59 +08:00
zhiweijian
7f606d0c2b
Component/bt: modify HCI_GET_CMD_BUF
2019-03-20 19:35:06 +08:00
maojianxin
95301c16bd
Fix external start fail
2019-03-20 18:34:01 +08:00
Zhang Jun Yi
5ba87240b5
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-03-20 18:34:01 +08:00
Shivani Tipnis
60b5cdde20
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
2019-03-20 08:15:36 +00:00
chenyudong
b2b0f75fbb
Decouple Wifi and ESP-Mesh to reduce bin size
...
Do not link mesh code when mesh is not used
2019-03-20 15:17:03 +08:00
Jiang Jiang Jian
d31a137f9c
Merge branch 'bugfix/mesh_memory_leak' into 'master'
...
mesh: fix memory leak and group send
See merge request idf/esp-idf!4438
2019-03-20 14:57:05 +08:00
Angus Gratton
34d118d445
Merge branch 'feature/optimized_gpio_intr_service' into 'master'
...
driver: Add optimization by speed in ISR functions for gpio, rmt, pcnt
Closes IDF-328
See merge request idf/esp-idf!4241
2019-03-20 14:19:17 +08:00
Jiang Jiang Jian
dc5ff1d633
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash' into 'master'
...
Component/bt: fix blufi prepare write crash
See merge request idf/esp-idf!4447
2019-03-20 11:46:15 +08:00
Anton Maklakov
886d8a6f28
Merge branch 'bugfix/newlib_misc_cleanups' into 'master'
...
newlib: minor cleanup
See merge request idf/esp-idf!4550
2019-03-20 11:08:20 +08:00
Ivan Grokhotkov
fe92829971
Merge branch 'feature/separate_eventloop_from_esp32' into 'master'
...
separate legacy esp_event from esp32 component to esp_event
See merge request idf/esp-idf!4539
2019-03-20 09:59:17 +08:00
Angus Gratton
b7b5c3a8c7
Merge branch 'bugfix/error_in_bootloader_loadprohibited' into 'master'
...
esp_tool: Exclude elf-sha256 from bootloader
Closes IDFGH-690
See merge request idf/esp-idf!4520
2019-03-20 07:28:09 +08:00
Ivan Grokhotkov
1d0bffb20a
lwip, wpa_supplicant: use endianness macros from libc if possible
2019-03-19 22:15:32 +08:00
Ivan Grokhotkov
068b700786
newlib: remove usage of pre-ANSI defines
2019-03-19 22:15:26 +08:00
Ivan Grokhotkov
ac612b5422
newlib: enable timeradd, timersub, and similar macros
...
This uses a hack (temporarily defining __rtems__ from a wrapper header
file) to include timeradd, timersub, and similar macros, without
modifying newlib headers.
2019-03-19 22:15:12 +08:00
Ivan Grokhotkov
76d4b0150d
Revert "feat(time): enable the macro timeradd, timersub, timerclear, etc."
...
This reverts commit 8f994b9dce
.
2019-03-19 22:15:06 +08:00
Ivan Grokhotkov
48b1433772
vfs: change fcntl argument to int (instead of va_list), add weak fcntl
2019-03-19 21:44:17 +08:00
Ivan Grokhotkov
060cf9d6b4
Merge branch 'power_management/i2s+i2c' into 'master'
...
Power management/i2s+i2c
See merge request idf/esp-idf!4338
2019-03-19 17:27:59 +08:00
Konstantin Kondrashov
0514a65cc9
esptool: Only insert SHA256 if overwriting zero data
2019-03-19 13:29:07 +08:00
Konstantin Kondrashov
98db4d2eb6
esp_tool: Exclude elf-sha256 from bootloader
...
Closes: IDFGH-690
2019-03-19 12:54:25 +08:00
Ivan Grokhotkov
73851e0b5c
soc: fix compiling unit tests with CMake
...
soc unit tests have not been included when compiling with CMake,
because ../${SOC_NAME}/test was not evaluated relative to the
CMakeLists.txt directory.
Also call register_components() regardless of the presence of test
directory for particular target.
2019-03-19 11:42:51 +08:00
Jon Shallow
bc9d1a65d7
Update component/coap to libcoap version release-4.2.0
...
This takes the code up to the latest released version of libcoap.
As there have been API changes, coap_client and coap_server in
examples/protocols have been updated to use the new APIs.
Further information on the new libcoap APIs can be found at
https://libcoap.net/doc/reference/4.2.0/
coap_client has been updated to handle BLOCK2 responses from
"coap://californium.eclipse.org"
coap_client has been modified to only send out one request (and wait for
the response)
coap_server has been updated to support Observe subscriptions, and well as
adding in PUT and DELETE handlers to work on the Espressif resource
coap_server and coap_client have had their stack sizes increased.
port/coap_io.c has been added, a copy of libcoap/src/coap_io.c with support
added for systems that do not have RFC 3542 section 20 support.
port/coap_io_socket.c has been removed as a lot of the code is now
replicated in different libcoap files.
Once this PR is place, then adding in DTLS will be a lot simpler (as a
separate PR)
Signed-off-by: Jitin George <jitin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3148
2019-03-18 12:33:52 +00:00
morris
fd9bc30aca
separate legacy esp_event from esp32 component to esp_event
2019-03-18 19:58:04 +08:00
Ivan Grokhotkov
f0a82d7185
driver/i2c: write i2c command structure to hardware in one operation
...
GCC compiler can generate 8-bit stores when modifying bitfields of
volatile structs (https://github.com/espressif/esp-idf/issues/597 ).
In the specific case of I2C driver, this resulted in byte_num field
to be written using s8i. However the peripheral requires 32-bit
writes, and ignores 8-bit writes. This change modifies the code to
compose the 32-bit command register value first, and then write the
complete value to the hardware.
2019-03-18 18:23:50 +08:00
Ivan Grokhotkov
96aa08a0ff
Merge branch 'bugfix/coredump_fixes' into 'master'
...
espcoredump fixes for GCC 8.2
See merge request idf/esp-idf!4528
2019-03-18 18:23:25 +08:00
morris
956c25dedd
move esp32 chip specific includes to esp32/xxx.h
2019-03-18 17:14:05 +08:00
morris
fae39dc326
merge esp_flash_data_types into esp_flash_partitions
2019-03-18 08:51:55 +00:00
zhiweijian
a628577f64
Component/bt: fix no adv report when scaning with sleep enable
2019-03-18 16:35:50 +08:00
Sachin Parekh
4de5ae7468
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-03-18 08:21:21 +00:00
Sachin Parekh
7fc6445035
I2S: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-03-18 08:21:21 +00:00
Sachin Parekh
d0234ad24a
I2C: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-03-18 08:21:21 +00:00
chenyudong
7d96b3442a
mesh: fix memory leak and group send
...
fix a bug in group send
fix esp_mesh_set_router when router_t not initialized
fix mesh memory leak with invalid option
2019-03-18 14:43:21 +08:00
Jiang Jiang Jian
f1e9078cb0
Merge branch 'bugfix/fix_the_bug_cal_PMK_too_long' into 'master'
...
wifi: fix the bug that calculate PMK too long
Closes IDFGH-524
See merge request idf/esp-idf!4349
2019-03-18 14:26:48 +08:00
zhiweijian
1940ee0910
Component/bt: fix build warning when bluedroid disable log
2019-03-18 14:18:12 +08:00
Ivan Grokhotkov
63dabd1a17
espcoredump: fix test with esp32-2018r1 toolchain
2019-03-18 12:47:29 +08:00
Ivan Grokhotkov
6221f5a819
espcoredump: fix test compilation error with GCC 8
2019-03-18 12:47:22 +08:00
Angus Gratton
2dd3344342
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-18 01:41:58 +00:00
Renz Christian Bagaporo
234de8de55
cmake: Allow components to present their own images to flash
2019-03-18 03:45:22 +08:00
Jiang Jiang Jian
5beb2802e0
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
...
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
See merge request idf/esp-idf!2208
2019-03-17 14:19:11 +08:00
Jiang Jiang Jian
8e4b82548a
Merge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'
...
dhcpserver: suppress send_nak debug output
Closes IDFGH-557
See merge request idf/esp-idf!4491
2019-03-17 14:12:58 +08:00
zhangyanjiao
6408ef9e7c
wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated
...
Closes https://github.com/espressif/esp-idf/issues/2880
2019-03-15 16:28:58 +08:00
Jiang Jiang Jian
b1a81e8167
Merge branch 'bugfix/bb_watchdog_reset' into 'master'
...
esp32: add WiFi baseband watchdog reset
See merge request idf/esp-idf!4409
2019-03-15 16:12:30 +08:00
Angus Gratton
cc9b06d4da
Merge branch 'bugfix/esp_sha_signing_sha256' into 'master'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API
Closes IDFGH-681
See merge request idf/esp-idf!4440
2019-03-15 14:35:38 +08:00
Ivan Grokhotkov
b4d87191ef
Merge branch 'bugfix/esp-http-client-event-fixes' into 'master'
...
Minor bugfixes in esp_http_client and tcp_transport
See merge request idf/esp-idf!4467
2019-03-15 11:45:40 +08:00
Ivan Grokhotkov
416b756ea4
Merge branch 'bugfix/name_conflict_esp32_project_ld' into 'master'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
See merge request idf/esp-idf!4484
2019-03-15 11:42:20 +08:00
Jiang Jiang Jian
b8f23fbd42
Merge branch 'bugfix/ble_assert_8192' into 'master'
...
fix the bug assert(8192 0) in rwble.c 234
See merge request idf/esp-idf!4461
2019-03-14 20:24:33 +08:00