Angus Gratton
055cc251b7
Merge branch 'feature/esp32s2beta_merge' into 'master'
...
esp32s2beta: Merge support to master
Closes IDF-513, IDF-756, IDF-758, IDF-999, IDF-753, IDF-749, IDF-754, IDF-840, and IDF-755
See merge request espressif/esp-idf!6100
2019-10-29 13:02:01 +08:00
Prasad Alatkar
c5339779a7
NimBLE: Update NimBLE submodule to latest nimble-1.2.0-idf
release
2019-10-29 12:52:05 +08:00
Mahavir Jain
67a2f558df
Merge branch 'feature/esp_tls_add_wolfssl_and_segregate_files' into 'master'
...
feature/esp_tls :segregate esp_tls , seperate mbedtls api and add wolfssl support for esp32
See merge request espressif/esp-idf!6095
2019-10-29 12:49:40 +08:00
Angus Gratton
e8881352c5
secure boot: Fix bug where verification key was not embedded in app
2019-10-29 12:46:09 +11:00
Tian Hao
4987a5ad90
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-28 18:43:35 +08:00
Aditya Patwardhan
988f0c8feb
ESP_TLS: Generalizing error messages for esp_tls
...
:Replace mbedtls specific error messages
2019-10-28 16:05:31 +05:30
Aditya Patwardhan
f7eaa5f946
ESP_TLS: Restructuring esp_tls
...
1)Segregating mbedtls API into seperate file and cleaned esp_tls.c
2)Added support for wolfssl for CMake and make
3)Added support for debug_wolfssl (with menuconfig option)
4)Added info on wolfssl in ESP-TLS docs
2019-10-28 16:05:22 +05:30
Angus Gratton
36cd75d7ed
spi_flash tests: Fix exclusion of new API tests in legacy mode
2019-10-28 18:58:05 +11:00
Angus Gratton
894a3b4771
spi_flash: Remove duplicate spi_flash_rom_patch in CMakeLists.txt
2019-10-28 18:58:05 +11:00
Angus Gratton
c6d22c9d65
esp32s2beta: Change default version to "A"
...
Fixes CI, and most customers should have version "A".
2019-10-28 18:58:05 +11:00
Angus Gratton
1f62d4be74
esp32s2beta: Updated the beta chip version config to match the markings
2019-10-28 18:58:05 +11:00
Xia Xiaotian
5ffb42b4dd
esp_wifi: support esp32s2beta A, B and marlin3 chip
2019-10-28 18:58:05 +11:00
Romain
5491365874
Fix build error semphr.h:74:3: error: #error "include FreeRTOS.h" must appear in source files before "include semphr.h"
...
FreeRTOS.h must always be included before semphr.h
Merges https://github.com/espressif/esp-idf/pull/4251
2019-10-28 12:21:26 +08:00
Jiang Jiang Jian
758db1e008
Merge branch 'bugfix/fix_mesh_proxy_adv_with_wrong_dev_name' into 'master'
...
ble_mesh: using bt device name in mesh proxy adv
Closes BLEMESH-51
See merge request espressif/esp-idf!6438
2019-10-26 20:45:10 +08:00
Jiang Jiang Jian
ea0f0b1700
Merge branch 'feature/btdm_add_api_to_set_channel_classification' into 'master'
...
Feature/btdm add api to set channel classification
Closes BT-450
See merge request espressif/esp-idf!6229
2019-10-26 20:42:58 +08:00
Jiang Jiang Jian
eef065374e
Merge branch 'bugfix/btdm_disable_bt_gatt' into 'master'
...
components/bt: Disable BR/EDR GATT
Closes BT-456
See merge request espressif/esp-idf!6420
2019-10-26 20:42:37 +08:00
Jiang Jiang Jian
87e1dfa31e
Merge branch 'bugfix/btdm_check_avrc_connected_error' into 'master'
...
components/bt: Fix error in checking AVRC connected
See merge request espressif/esp-idf!6415
2019-10-26 20:42:04 +08:00
ronghulin
66c0a107c8
lwip: fix DHCP timeout truncation bug
...
Change the DHCP timeout type from u16 to u32 to fix DHCP timeout value
truncation issue.
2019-10-25 21:07:37 +08:00
Renz Christian Bagaporo
1ed77e3a8d
esp_event: remove extra line from source file
2019-10-25 13:14:05 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
Marius Vikhammer
3d1170031b
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-25 03:56:38 +00:00
baohongde
ed984cc9b5
components/bt: Add API and EVT for BLE set channels(BLE)
2019-10-25 11:39:35 +08:00
baohongde
eaf5f6a319
components/bt: Add API and EVT for set AFH channels(BR/EDR)
2019-10-25 11:39:22 +08:00
Renz Christian Bagaporo
521f436315
esp_event: test that handlers can unregister themselves
2019-10-25 11:39:16 +08:00
Renz Christian Bagaporo
3c253295eb
esp_event: iterate loop nodes safely as well
2019-10-25 11:39:16 +08:00
Xentec
4c97906fc8
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2019-10-25 11:38:32 +08:00
Jiang Jiang Jian
f974811150
Merge branch 'feature/hf_ag' into 'master'
...
Feature: BT/HFP AG.
Closes BT-346 and BT-428
See merge request espressif/esp-idf!6306
2019-10-25 10:57:43 +08:00
wangmengyang
11aa4ef1ef
components/bt: bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
2019-10-25 02:52:12 +00:00
baohongde
d6201066a3
components/bt: Fix error in checking AVRC connected
2019-10-25 02:50:31 +00:00
baohongde
93f86b8a6d
components/bt: Disable BR/EDR GATT
2019-10-25 02:49:51 +00:00
Darian Leung
434d1d29d1
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-25 03:40:43 +08:00
David Cermak
7c5011f411
websocket_client: fix locking mechanism in ws-client task and when sending data
...
closes https://github.com/espressif/esp-idf/issues/4169
2019-10-24 07:09:31 +00:00
Hrishikesh Dhayagude
a26dfe70aa
nimble: Miscellaneous changes
...
1. Update NimBLE submodule as per changes in adv interval and stop port
2. Make changes in ESP BLE Mesh NimBLE host code for the same
2019-10-24 14:38:01 +08:00
Angus Gratton
3caa54e546
Merge branch 'feature/add_ping_example' into 'master'
...
add ping example
Closes WIFI-1196 and IDF-1068
See merge request espressif/esp-idf!6340
2019-10-24 11:37:38 +08:00
X-Ryl669
5780ac3207
esp_attr: Fix multiple definition linker error for operators for C++ build including FLAG_ATTR'ed enum.
...
Closes: https://github.com/espressif/esp-idf/pull/4021
Closes: https://github.com/espressif/esp-idf/issues/4016
2019-10-23 17:31:24 +08:00
Angus Gratton
ba74534efb
Merge branch 'bugfix/esp_tls_check_buffer_size' into 'master'
...
esp-tls: Asserting maximum output buffer in tls-write.
See merge request espressif/esp-idf!6317
2019-10-23 14:45:28 +08:00
Angus Gratton
9f93067649
Merge branch 'bugfix/select_with_sdmmc_mount' into 'master'
...
VFS: Fix bug which occurs when driver is installed during a select() call
Closes IDFGH-1259
See merge request espressif/esp-idf!6359
2019-10-23 14:05:49 +08:00
Angus Gratton
04dbe663be
Merge branch 'feature/heap_caps_get_size_free' into 'master'
...
add heap_caps_get_allocated_size
See merge request espressif/esp-idf!6375
2019-10-23 14:02:50 +08:00
Angus Gratton
5bec9fb010
Merge branch 'bugfix/random_en_dis_for_app' into 'master'
...
bootloader_support: Fix using shared CLK_EN and RST_EN regs for random
See merge request espressif/esp-idf!6198
2019-10-23 13:18:01 +08:00
Angus Gratton
b216e3b5c8
Merge branch 'feature/lwip_support_mdns_queries' into 'master'
...
lw-IP: support mdns queries
See merge request espressif/esp-idf!5242
2019-10-23 13:10:41 +08:00
Angus Gratton
bf1d32d008
Merge branch 'feature/esptool_v2.8' into 'master'
...
esptool: Bump to v2.8 release
See merge request espressif/esp-idf!6437
2019-10-23 06:03:00 +08:00
KonstantinKondrashov
b125bb50ea
esp_common: IPC works with the priority of the caller's task
...
Closes: IDF-78
2019-10-22 22:19:34 +08:00
David Cermak
a9e63d947b
esp-tls: Added support for fragmenting outgoing data in tls_write(), for cases of out data being larger than the maximum out buffer of underlying tls-stack.
2019-10-22 08:49:42 +00:00
lly
2350b15451
ble_mesh: using bt device name in mesh proxy adv
2019-10-22 15:04:19 +08:00
Angus Gratton
c60370b67f
esptool: Update esptool version to match master
2019-10-22 16:44:16 +11:00
Angus Gratton
d1b2c490cd
esptool: Bump to v2.8 release
2019-10-22 16:39:54 +11:00
suda-morris
dc6acf0033
icmp: add example and unitest
2019-10-22 04:38:09 +00:00
suda-morris
fa32a4bd93
ping: refactor with new esp_ping_xxx APIs
...
This refactor is only for backwards compatible.
2019-10-22 04:38:09 +00:00
Andro Nooh
a77e69c408
lwip: add icmp echo example
...
It piggybacks on the console example to add ping support and CLI.
Merges https://github.com/espressif/esp-idf/pull/4093
2019-10-22 04:38:09 +00:00
Ivan Grokhotkov
6c3527e2e6
Merge branch 'bugfix/fix_args_to_spiffsgen_in_make_buildsystem' into 'master'
...
spiffs: fix issue with args to spiffsgen in make
See merge request espressif/esp-idf!6434
2019-10-22 12:36:49 +08:00
Renz Christian Bagaporo
746322b7d6
spiffs: fix issue with args to spiffsgen in make
2019-10-22 11:35:19 +08:00
Jiang Jiang Jian
59aa07d5d9
Merge branch 'bugfix/btdm_fix_lmp_sniff_req_timeout' into 'master'
...
components/bt: Fix LMP sniff req timeout
See merge request espressif/esp-idf!6351
2019-10-22 11:20:14 +08:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Hrishikesh Dhayagude
f58d7d14c7
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-10-21 20:18:21 +08:00
Jiang Jiang Jian
5b0d262489
Merge branch 'bugfix/not_restoring_ble_mesh_cfg_val' into 'master'
...
ble_mesh: fix not restoring ble mesh cfg value
See merge request espressif/esp-idf!6275
2019-10-21 20:16:45 +08:00
Roland Dobai
8b56496efa
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-21 11:59:38 +02:00
zhanghu
341ef5e8b2
add heap_caps_get_size_free
2019-10-21 16:47:36 +08:00
Angus Gratton
27a4802f92
Merge branch 'bugfix/remove_mbedtls_would_block' into 'master'
...
Remove check for would_block in mbedtls
See merge request espressif/esp-idf!6384
2019-10-21 15:33:59 +08:00
Kewal
d3020b217d
Add api to get total heap size in bytes for given capability
2019-10-21 14:55:58 +08:00
Jiang Jiang Jian
bb38d181a1
Merge branch 'bugfix/vfs_fat_sdmmc_mount' into 'master'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
Closes IDFGH-1969
See merge request espressif/esp-idf!6282
2019-10-21 10:33:37 +08:00
Ivan Grokhotkov
c7d8ef52ca
Merge branch 'fix/esp_flash_no_qe' into 'master'
...
esp_flash: fix the QE write issue in high freq, and support UT for external chips
Closes IDF-888
See merge request espressif/esp-idf!5736
2019-10-20 13:59:30 +08:00
Ivan Grokhotkov
6373196a41
Merge branch 'bugfix/mdns_BCT_fix' into 'master'
...
mdns: fixes to have the BCT passing with latest IDF/lw-IP
See merge request espressif/esp-idf!6286
2019-10-19 17:10:02 +08:00
Ajita Chavan
56f73d7720
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 14:56:43 +08:00
Ivan Grokhotkov
1821873a1d
Merge branch 'feature/follow_symlinks_in_spiffsgen' into 'master'
...
spiffs: follow symlinks in spiffsgen
See merge request espressif/esp-idf!6280
2019-10-18 18:49:35 +08:00
Jiang Jiang Jian
fe94e63de3
Merge branch 'bugfix/modify_buffer_number_type_from_u8_to_u16' into 'master'
...
esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t
See merge request espressif/esp-idf!6355
2019-10-18 14:24:20 +08:00
Kedar Sovani
87c3decc12
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-10-17 16:36:18 +05:30
Angus Gratton
05180dfb4c
Merge branch 'bugfix/mqtt_reference_latest_version' into 'master'
...
mqtt: updated to latest version to include latest fixes and features
See merge request espressif/esp-idf!6294
2019-10-17 18:01:58 +08:00
Ivan Grokhotkov
e8af0f264c
Merge branch 'feature/cxx_rtti_preparation_v2' into 'master'
...
C++: add provisions for optional RTTI support (v2)
See merge request espressif/esp-idf!6341
2019-10-17 16:22:06 +08:00
Ivan Grokhotkov
42e59c317a
Merge branch 'bugfix/mqtt_example_url_update' into 'master'
...
MQTT: update default broker URL for examples
Closes IDF-1052
See merge request espressif/esp-idf!6214
2019-10-17 16:12:29 +08:00
Angus Gratton
ae21d669b9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-17 18:22:08 +11:00
Angus Gratton
0f1923ab22
Merge branch 'bugfix/o2_build_warnings' into 'master'
...
Fix -O2 build warnings
Closes IDFGH-1945 and IDFGH-1946
See merge request espressif/esp-idf!6311
2019-10-17 13:09:28 +08:00
Angus Gratton
5ee27aeec8
Merge branch 'feature/openeth_driver' into 'master'
...
ethernet: support OpenCores ethernet MAC
Closes IDF-891
See merge request espressif/esp-idf!6252
2019-10-17 13:05:27 +08:00
Hrishikesh Dhayagude
10fd2ae653
NimBLE: Set the default number of max connections to the controller's value
...
Also, update the NimBLE submodule to remove unwanted logging stuff
2019-10-17 12:54:34 +08:00
Angus Gratton
89d2e2a5e3
Merge branch 'feature/example_netbios' into 'master'
...
add netbios support in restful server example
Closes IDF-1070
See merge request espressif/esp-idf!6346
2019-10-17 12:54:01 +08:00
Angus Gratton
b7fd8166d5
Merge branch 'bugfix/ws_opcodes_fix' into 'master'
...
ws_client: fix for not sending ping responses, updated to pass events also for...
See merge request espressif/esp-idf!6111
2019-10-17 12:36:08 +08:00
Darian
820fd6447d
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-10-17 12:33:17 +08:00
Xia Xiaotian
dfdf04644f
Support WiFi both on esp32 and esp32s2beta
2019-10-17 09:12:37 +11:00
KonstantinKondrashov
007d01c10a
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-16 18:33:14 +08:00
KonstantinKondrashov
d80fae2c88
esp32: Add UTs to check the System time does not jump back
2019-10-16 16:06:39 +08:00
Angus Gratton
65940cc0da
Merge branch 'feature/log_system_time' into 'master'
...
log: Add menuconfig option to log system time rather than RTOS time
See merge request espressif/esp-idf!6103
2019-10-16 14:56:14 +08:00
Angus Gratton
633a8376db
Merge branch 'bugfix/ethernet_unitest_crash' into 'master'
...
ethernet: fix crash in unit test
See merge request espressif/esp-idf!6284
2019-10-16 13:05:16 +08:00
Angus Gratton
d767475fd0
Merge branch 'bugfix/ws_buffer_overflow_fix' into 'master'
...
tcp_transport: fix possible buffer overflow in ws transport connect
Closes IDF-692
See merge request espressif/esp-idf!5887
2019-10-16 13:04:39 +08:00
Marius Vikhammer
c6934d6175
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-15 09:35:23 +00:00
David Cermak
07e0254f06
lwip: autoip: used Kconfig parameters instead of constants to be in line with previous esp-lwip port and to have the BCT passed
2019-10-15 07:07:00 +00:00
David Cermak
7f410a0bcb
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.
...
tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state
2019-10-15 07:07:00 +00:00
David Cermak
81cd406683
lwip: support mdns queries
2019-10-15 07:02:19 +00:00
Angus Gratton
a89000855e
esptool: Update submodule adding ESP32-S2 beta support
2019-10-15 16:55:39 +11:00
Angus Gratton
f5238d5e42
Merge branch 'feature/esp32s2beta' into feature/esp32s2beta_merge
2019-10-15 15:03:45 +11:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Hrudaynath Dhabe
ac0b4c184d
wpa_supplicant: Make hexdump logs more compact
...
When running with wpa debug prints enabled data/key hexdumps are
printed to the log in a really verbose format (one byte per line).
Make these printouts more compact. 16 bytes per line.
2019-10-14 23:37:51 +08:00
Jiang Jiang Jian
93bca1dc2b
Merge branch 'hfp_bugfix' into 'master'
...
component/bt: Fix bugs in HFP feature
Closes BT-427
See merge request espressif/esp-idf!6197
2019-10-14 21:47:56 +08:00
Jiang Jiang Jian
bf87d0949b
Merge branch 'bugfix/btdm_osi_queue_gycfix_master' into 'master'
...
Component/bt : Added handling of osi memory calloc failure
See merge request espressif/esp-idf!6140
2019-10-14 21:35:41 +08:00
liu zhifu
d56e7ec037
esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t
...
Modify WiFi receiving buffer number type from uint8_t to uint16_t to support
configuring more than 255 buffers.
2019-10-14 21:30:45 +08:00
Jiang Jiang Jian
b6a7b35b61
Merge branch 'bugfix/fix_sta_wpa2_enterprise_issue' into 'master'
...
esp_wifi: fix a station wpa2 enterprise issue
Closes WIFI-1042
See merge request espressif/esp-idf!6287
2019-10-14 21:27:05 +08:00
Michael (XIAO Xufeng)
eb104aa16f
esp_flash: fix the quad issue for some GD flash chips
...
The GD flash with product ID 40H, is already used in Wrover-nosufix modules.
2019-10-14 17:25:59 +08:00
Michael (XIAO Xufeng)
1e1d50376b
esp_flash: add unit test for external flash and QE toggling
...
Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.
2019-10-14 17:25:58 +08:00
Michael (XIAO Xufeng)
15d311bb80
esp_flash: rename internal variables for better readability
...
chip_drv in HAL are renamed as host
2019-10-14 17:25:58 +08:00
Michael (XIAO Xufeng)
571864e8ae
esp_flash: fix set qe bit and write command issues
...
There used to be dummy phase before out phase in common command
transactions. This corrupts the data.
The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.
This commit:
1. Cancel the dummy phase
2. Set and clear the QE bit according to chip settings, allowing tests
for QE bits. However for some chips (Winbond for example), it's not
forced to clear the QE bit if not able to.
3. Also refactor to allow chip_generic and other chips to share the same
code to read and write qe bit; let common command and read command share
configure_host_io_mode.
4. Rename read mode to io mode since maybe we will write data with quad
mode one day.
2019-10-14 17:25:58 +08:00
David Cermak
abf9345b85
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
2019-10-14 11:05:27 +02:00
weitianhua
26b69f1363
New Clean Commit for AG.
...
Only Support single AG control block.
2019-10-14 07:54:09 +00:00
Angus Gratton
5ce95f2bfd
Merge branch 'bugfix/ci_weekend_test_update' into 'master'
...
CI: weekend test fixes
See merge request espressif/esp-idf!6235
2019-10-14 15:30:33 +08:00
Angus Gratton
92a507c0aa
Merge branch 'bugfix/ws_client_fix_event_blocking' into 'master'
...
ws_client: fixed posting to event loop with websocket timeout
See merge request espressif/esp-idf!5901
2019-10-14 15:17:34 +08:00
Angus Gratton
5d59895067
Merge branch 'bugfix/ws_client_fixed_path_query_uri' into 'master'
...
websocket_client: fix URI parsing to include also query part in websocket connection path
See merge request espressif/esp-idf!6201
2019-10-14 15:01:59 +08:00
Angus Gratton
d4edc6a40a
Merge branch 'bugfix/mdns_answer_ip6_size' into 'master'
...
mdns: use constant size of AAAA answer instead of lw_IP struct size
Closes WIFI-771
See merge request espressif/esp-idf!6188
2019-10-14 14:59:16 +08:00
baohongde
e1d61d03de
components/bt: Fix LMP sniff req timeout
2019-10-14 14:56:07 +08:00
David Cermak
555cc11a25
tcp_transport: fix possible buffer overflow in ws transport connect
...
closes IDF-692
2019-10-14 06:50:22 +00:00
suda-morris
84c72863e1
add netbios support in restful server example
2019-10-14 14:26:43 +08:00
David Cermak
640eac84fa
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
https://github.com/espressif/esp-mqtt/issues/135
2019-10-14 06:26:14 +00:00
Ivan Grokhotkov
31dac92e5f
ethernet: support OpenCores ethernet MAC
...
OpenCores Ethernet MAC has a relatively simple interface, and is
already supported in QEMU. This makes it a good candidate for enabling
network support when running IDF apps in QEMU, compared to the
relatively more complex task of writing a QEMU model of ESP32 EMAC.
This driver is written with QEMU in mind: it does not implement or
handle things that aren't implemented or handled in the QEMU model:
error flags, error interrupts. The transmit part of the driver also
assumes that the TX operation is done immediately when the TX
descriptor is written (which is the case with QEMU), hence waiting for
the TX operation to complete is not necessary.
For simplicity, the driver assumes that the peripheral register
occupy the same memory range as the ESP32 EMAC registers, and the
same interrupt source number is used.
2019-10-13 17:05:26 +02:00
Ivan Grokhotkov
6e423d5cf6
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-13 15:37:19 +02:00
Ivan Grokhotkov
0be585179e
spiffs: fix warning when building at release optimization level
...
Closes https://github.com/espressif/esp-idf/issues/4144
2019-10-13 15:37:19 +02:00
Ivan Grokhotkov
499d087c91
C++: add provisions for optional RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.
Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.
If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-13 14:46:44 +02:00
Mahavir Jain
99659091fb
bootloader_support: fix logging prints around chip revision
2019-10-11 14:35:22 +05:30
Angus Gratton
420ee45279
Merge branch 'feature/handle_icy_uris' into 'master'
...
Modified http_parser to handle ICY uris.
See merge request espressif/esp-idf!6207
2019-10-11 14:06:16 +08:00
Angus Gratton
9f9cc717e3
Merge branch 'refactor/ethernet_remove_blocking_in_timer_callback' into 'master'
...
Ethernet: optimize and bugfix
Closes IDF-1051
See merge request espressif/esp-idf!6213
2019-10-11 13:07:38 +08:00
Vikram Dattu
742d4689dd
Modified http_parser to handle ICY uris.
...
ICY URIs e.g `http://uk1.internet-radio.com/proxy/vombat?mp=/ ;` need to
be handled differently.
For basic use case, these URIs are similar to HTTP with exception that they reply with `ICY 200` etc in place of `HTTP/1.1 200`.
In http_parser, we now also parse ICY URIs to be able to handle these similar to HTTP.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-10-11 05:04:08 +00:00
Hu Chao Ru
fc018987eb
add wifi init unit test cases
2019-10-11 13:00:57 +08:00
Angus Gratton
51b4e97e42
Merge branch 'fix/cmake_req_private_comp' into 'master'
...
cmake: Fix cmakelists to add required private components
See merge request espressif/esp-idf!5428
2019-10-11 12:58:45 +08:00
suda-morris
13c128fd31
Ethernet: optimize and bugfix
...
1. simplify deallocate in esp_eth_mac_new_esp32, esp_eth_mac_new_dm9051
2. remove blocking operation in os timer callback
3. check buffer size in ethernet receive function
2019-10-11 12:15:17 +08:00
suda-morris
f0bfd33a10
ethernet: fix crash in unit test
2019-10-11 02:14:12 +00:00
lly
35353de137
ble_mesh: fix not callback net_key when device is provisioned
2019-10-11 09:51:02 +08:00
liu zhifu
0e3cdce8f7
esp_wifi: fix the bug that wpa2 enterprise sta can connect open AP
2019-10-11 09:39:35 +08:00
Roland Dobai
19c644f7fd
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-10 14:28:43 +00:00
Jiang Jiang Jian
25c55405d4
Merge branch 'bugfix/wifi_lib_ci' into 'master'
...
ci: fix ci issues of wifi lib
See merge request espressif/esp-idf!6288
2019-10-10 22:25:36 +08:00
Prasad Alatkar
19375a674e
NimBLE: Misc changes in NimBLE porting layer and menuconfig option
...
- Minor fix to remove while loop & delay while transmitting data from
host to controller.
- Add menuconfig option to enable predefined public-private keypair for
debugging (Vol. 3, Part H, 2.3.5.6.1)
2019-10-10 17:20:15 +08:00
Angus Gratton
ae236c33a2
Merge branch 'bugfix/ut_adjtime' into 'master'
...
newlib: Fix UT - test time adjustment happens linearly
See merge request espressif/esp-idf!6245
2019-10-10 11:08:46 +08:00
Angus Gratton
6df8658b5b
Merge branch 'bugfix/fixes_from_kconfiglib_update' into 'master'
...
Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes
See merge request espressif/esp-idf!6255
2019-10-10 11:06:29 +08:00
Ivan Grokhotkov
751b60b171
Merge branch 'feature/add_psram_workaround_option' into 'master'
...
make psram workaround depend on chip revison
Closes IDF-1004
See merge request espressif/esp-idf!6113
2019-10-09 23:41:09 +08:00
Aditya Patwardhan
3e9a054626
ESP32/coap_mbedtls:add macro checks
...
Closes https://github.com/espressif/esp-idf/issues/4156
2019-10-09 16:46:46 +08:00
chenyudong
c6129b81f2
ci: fix ci issues of wifi lib
...
sync esp_wifi.h to wifi lib
2019-10-09 15:07:19 +08:00
Renz Christian Bagaporo
a986283997
spiffs: follow symlinks in host test
2019-10-08 17:55:59 +08:00
Marcin Borowicz
6153a0ab62
spiffs: follow symlinks feature during partition in spiffsgen
2019-10-08 17:55:59 +08:00
lly
673f58fe03
ble_mesh: fix not restoring ble mesh cfg value
2019-10-08 16:34:05 +08:00
Ivan Grokhotkov
46a65a35d6
Merge branch 'bugfix/missing_build_targets_cmake' into 'master'
...
esptool_py: add missing phony build targets for CMake
Closes IDFGH-370
See merge request espressif/esp-idf!5838
2019-10-08 16:24:40 +08:00
Ivan Grokhotkov
416d14ca6b
Merge branch 'feat/spi_internal_header' into 'master'
...
spi: move deprecated functions into internal header
See merge request espressif/esp-idf!5985
2019-10-08 16:19:46 +08:00
Ivan Grokhotkov
b61c3d5d0f
Merge branch 'bugfix/examples_disconnect_before_restart' into 'master'
...
examples: disconnect from Wi-Fi before restart (and don't try to reconnect!)
See merge request espressif/esp-idf!6267
2019-10-08 16:16:25 +08:00
Roland Dobai
d3ed17acd7
Cosmetic Kconfig fixes
2019-10-08 08:11:53 +00:00
KonstantinKondrashov
267ca19ae8
bootloader: Fix dram_seg
2019-10-08 16:07:53 +08:00
weitianhua
9f0a44f5c0
component/bt: Fix bugs in HFP feature
2019-10-08 07:07:45 +00:00
Angus Gratton
8c1f3cb6b2
Merge branch 'feature/esp32s2beta_isr_table' into 'feature/esp32s2beta'
...
soc: Add interrupt numbers mapping for esp32s2beta
See merge request espressif/esp-idf!6204
2019-10-08 12:45:26 +08:00
Angus Gratton
1fb461a24c
Merge branch 'feature/esp32s2beta_fix_test_posix_timers_clock' into 'feature/esp32s2beta'
...
newlib: Fix test_posix_timers_clock for esp32s2beta
See merge request espressif/esp-idf!6170
2019-10-08 12:43:20 +08:00
Angus Gratton
4d7c955041
Merge branch 'bugfix/freertos_xTaskNotifyGive' into 'master'
...
freertos: remove semicolon in xTaskNotifyGive
See merge request espressif/esp-idf!6208
2019-10-08 12:21:40 +08:00
Michael (XIAO Xufeng)
afbe1ba878
spi: move deprecated functions into internal header
...
Resolves https://github.com/espressif/esp-idf/issues/4132
2019-10-08 11:51:39 +08:00
GOPTIONS\pfrost
23e9224be6
log: Add menuconfig option to log system time rather than RTOS time
...
Merges https://github.com/espressif/esp-idf/pull/3958
2019-10-08 12:03:45 +11:00
Ivan Grokhotkov
5768102d4e
esp_wifi: fix typo in comments (ESP_ERR_WIFI_NOT_STARTED)
2019-10-07 16:48:32 +02:00
David Cermak
271e6c4c9c
websocket_client: fix URI parsing to include also query part in websocket connection path
...
closes https://github.com/espressif/esp-idf/issues/4090
2019-10-07 16:40:38 +02:00
Ivan Grokhotkov
f0563b3844
system_api: call shutdown handlers in reverse order
...
Similar to how destructors should be called in reverse order to the
constructors.
2019-10-07 16:36:18 +02:00
David Cermak
50505068c4
ws_client: fixed posting to event loop with websocket timeout
...
Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.
closes https://github.com/espressif/esp-idf/issues/3957
2019-10-07 16:34:51 +02:00
Ivan Grokhotkov
d77a7c23da
Merge branch 'bugfix/ws_client_fixes' into 'master'
...
ws_client: various fixes
See merge request espressif/esp-idf!5879
2019-10-07 20:05:41 +08:00
Aditya Patwardhan
9f86f969b2
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 19:47:32 +08:00
KonstantinKondrashov
0c44f8ccbd
esp32: Using periph_module_enable instead of the shared regs.
2019-10-07 06:47:00 +00:00
KonstantinKondrashov
807826f796
bootloader_support: Fix using shared CLK_EN and RST_EN regs for random
...
bootloader_random_enable() and bootloader_random_disable() functions
can be used in app.
This MR added the protection for shared CLK_EN and RST_EN registers.
2019-10-07 06:47:00 +00:00
Mahavir Jain
2f38a1a362
Merge branch 'bugfix/set_url_discards_username_password' into 'master'
...
fixes : set_url discards username and password
Closes IDFGH-1586
See merge request espressif/esp-idf!5694
2019-10-04 13:48:55 +08:00
ganeshlandge
9fd16c6a5f
fixes : set_url discards username and password
2019-10-04 10:42:43 +05:30
Ivan Grokhotkov
569ad7545c
esp_event, mdns: fixes for CONFIG_ETH_ENABLED=n
2019-10-03 10:52:53 +02:00
Ivan Grokhotkov
6bddcdac67
bootloader: move esp32 specific code from bootloader_common
...
Also implements bootloader_clock_get_rated_freq_mhz for esp32s2beta.
Closes IDF-758
2019-10-03 09:38:13 +02:00
David Cermak
de6ea396f1
ws_client: added subprotocol configuration option to websocket client
...
closes https://github.com/espressif/esp-idf/issues/3893
2019-10-03 07:33:32 +02:00
David Cermak
c0ba9e19fc
ws_client: fixed path config issue when ws server configured using host and path instead of uri
...
closes https://github.com/espressif/esp-idf/issues/3892
2019-10-03 07:33:32 +02:00
David Cermak
adee25d90e
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri
...
closes https://github.com/espressif/esp-idf/issues/3891
2019-10-03 07:33:32 +02:00
David Cermak
ea955e1efc
ws_client: fix ping-pong mechanism to use mask, support reception of zero-payload PONG and sending non-zero-payload PING
...
Closes https://github.com/espressif/esp-idf/issues/3890
Closes https://github.com/espressif/esp-idf/issues/4138
2019-10-03 07:32:17 +02:00
Ivan Grokhotkov
e4fda32726
Merge branch 'feature/uart_isr_iram' into 'master'
...
uart: add option to put ISR in IRAM
Closes IDF-893
See merge request espressif/esp-idf!5905
2019-10-03 01:21:56 +08:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
suda-morris
f94711c316
uart: add option to put ISR in IRAM
2019-10-02 16:43:02 +00:00
Roland Dobai
15857d9cbb
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-02 16:29:25 +00:00
Ivan Grokhotkov
adbf0bff53
Merge branch 'bugfix/ext_flash_load_partitions' into 'master'
...
spi_flash: ensure partition table loaded when esp_partition_register_external is called
Closes IDFGH-1916
See merge request espressif/esp-idf!6244
2019-10-02 18:50:54 +08:00
Mahavir Jain
3f9b0d8c2a
nghttp: move config.h to private_include dirs
2019-10-01 11:19:44 +00:00
KonstantinKondrashov
737ab91742
newlib: Fix UT - test time adjustment happens linearly
2019-10-01 03:09:22 +08:00
Ivan Grokhotkov
ccde8c7d2f
spi_flash: load partition table before adding an external partition
...
esp_partition_register_external did not call load_partitions, so if
it was called before any call to esp_partition_find, then the main
partition table would never be loaded. Introduce new function,
ensure_partitions_loaded, and call it both from esp_partition_find and
esp_partition_register_external.
Closes https://github.com/espressif/esp-idf/issues/4116
2019-09-30 16:11:09 +02:00
Jiang Jiang Jian
1c1108d47b
Merge branch 'bugfix/coex_fix_some_bugs' into 'master'
...
fix some coexist bugs
See merge request espressif/esp-idf!5200
2019-09-30 16:59:19 +08:00
David Cermak
d735f1d58d
ci: fix weekend test confguration update per latest refactoring of
...
grouping tests
2019-09-30 09:51:41 +02:00
Prasad Alatkar
fe08f435dc
NimBLE: Add optional mbedTLS support to NimBLE
...
- Additional menuconfig option to select either mbedTLS or Tinycrypt from NimBLE.
- Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Changes NimBLE `component.mk` and `CMakeLists.txt` to support mbedTLS option.
- Minor changes to `app_mesh.c` application.
2019-09-30 14:15:43 +08:00
Xia Xiaotian
63019689d6
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to make
MDNS test pass.
2. Improve stability of WiFi performance with a little
sacrifice of throughput.
3. Improve BLE advertising and connection performance with dynamic
priority. It sacrifices a little WiFi throughput, but achieves balance
between WiFi and Bluetooth.
2019-09-30 11:49:16 +08:00
Jiang Jiang Jian
ef5c3f3564
Merge branch 'bugfix/fix_wifi_stop_leads_to_watchdog' into 'master'
...
esp_wifi: fix the bug that WiFi stop leads task watchdog
Closes WIFI-526 and WIFI-746
See merge request espressif/esp-idf!5830
2019-09-30 10:53:37 +08:00
zhangyanjiao
53d57dd736
esp_wifi:
...
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
2019-09-29 10:44:49 +08:00
Jiang Jiang Jian
9ef656fafd
Merge branch 'bugfix/ble_mesh_client_invalid_addr_access' into 'master'
...
ble_mesh: fix client model invalid address access
See merge request espressif/esp-idf!6212
2019-09-29 10:23:51 +08:00
Jiang Jiang Jian
f44b4911ad
Merge branch 'bugfix/fix_cache_disable_access_psram' into 'master'
...
esp_wifi: Put g_promis_buf to IRAM
See merge request espressif/esp-idf!6142
2019-09-29 10:08:17 +08:00
Ivan Grokhotkov
4dac7c7df8
Merge branch 'refactor/shrink_bootloader_bin_size' into 'master'
...
bootloader: shrink bin size
Closes IDF-1043
See merge request espressif/esp-idf!6194
2019-09-28 01:40:46 +08:00
Ivan Grokhotkov
c496268b10
Merge branch 'feature/load_elf' into 'master'
...
Support ELF files loadable with gdb
Closes IDF-335
See merge request espressif/esp-idf!5779
2019-09-27 19:36:25 +08:00
suda-morris
cbab3c34f8
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-09-27 10:58:30 +08:00
Ivan Grokhotkov
9c4b4aec62
Merge branch 'feature/enable_ethernet_unit_test' into 'master'
...
enable Ethernet unit test
Closes IDF-959
See merge request espressif/esp-idf!6144
2019-09-26 21:28:13 +08:00
lly
7a450222f5
ble_mesh: fix client model invalid address access
2019-09-26 20:11:22 +08:00
suda-morris
e381cec35a
freertos: remove semicolon in xTaskNotifyGive
2019-09-26 15:27:48 +08:00
xiehang
6fde73cdc4
esp_wifi: Put g_promis_buf to IRAM
2019-09-26 02:26:10 +00:00
KonstantinKondrashov
3e18681555
app_trace: Adds general support esp32s2beta chip
2019-09-26 01:03:06 +08:00
KonstantinKondrashov
c5c41eab46
soc: Add interrupt numbers mapping for esp32s2beta
...
Closes: IDF-999
2019-09-26 00:22:36 +08:00
Jiang Jiang Jian
3d8798f745
Merge branch 'bugfix/kconfig_corrections' into 'master'
...
Fix Kconfig issues discovered by upstream Kconfiglib
See merge request espressif/esp-idf!6183
2019-09-25 16:26:18 +08:00
Jiang Jiang Jian
ac0d2dc534
Merge branch 'bugfix/ble_mesh_queue_task_init_check' into 'master'
...
ble_mesh: check ble mesh queue and task init status
See merge request espressif/esp-idf!6192
2019-09-25 15:08:05 +08:00
suda-morris
7c8c9cbb68
ethernet: enable unit test
2019-09-25 11:58:16 +08:00
Prasad Alatkar
2c3648b619
BT/Bluedroid : Add support to set min encryption key requirement
...
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-25 11:56:47 +08:00
Jiang Jiang Jian
a2b65e1649
Merge branch 'bugfix/btdm_loop_in_feature_req_ext' into 'master'
...
components/bt: Fix sending LMP_features_req_ext in a loop
See merge request espressif/esp-idf!6022
2019-09-25 11:51:53 +08:00
lly
0792a2fde8
ble_mesh: check ble mesh queue and task init status
2019-09-25 11:09:40 +08:00
David Cermak
e5e31c5d01
mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones
...
closes WIFI-771
2019-09-24 12:12:58 +02:00
Roland Dobai
5a916ce126
Support ELF files loadable with gdb
2019-09-24 07:19:50 +00:00
Shivani Tipnis
38ccf5f28b
cmake: Fix cmakelists to add required private components
...
Fixes: https://github.com/espressif/esp-idf/issues/3710
2019-09-24 10:46:26 +05:30
Roland Dobai
833822c10b
Fix Kconfig issues discovered by upstream Kconfiglib
2019-09-23 16:10:57 +02:00
KonstantinKondrashov
c4da959fa7
soc: Fix setting timeout for RTC_WDT
2019-09-23 14:57:26 +08:00
Ivan Grokhotkov
363e41eadf
Merge branch 'bugfix/make_cxx_depend_on_pthread' into 'master'
...
cxx: force pthread to appear later in link line
See merge request espressif/esp-idf!6124
2019-09-23 12:42:50 +08:00
Angus Gratton
b0bd4d0f14
Merge branch 'fix/esp_flash_adapter_in_iram' into 'master'
...
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
See merge request espressif/esp-idf!6135
2019-09-20 18:21:58 +08:00
Angus Gratton
a68b400b9a
Merge branch 'refactor/update_spi_ethernet_api' into 'master'
...
ethernet: update spi ethernet api
See merge request espressif/esp-idf!6123
2019-09-20 18:15:25 +08:00
Angus Gratton
f7d80ed9da
Hello world example: Print ESP32-S2 Beta for esp32s2beta target
2019-09-20 17:07:34 +10:00
KonstantinKondrashov
db84ba868c
efuse: Add support for esp32s2beta
...
Updated:
- CI test_esp32s2beta_efuse_table_on_host.
- efuse_table_gen.py.
- esp_efuse_table.csv file and generated headers files.
- splitted esp32 and esp32s2beta parts.
- unit tests and api efuse.
2019-09-20 16:59:46 +10:00
KonstantinKondrashov
6257828348
app_update: Add support esp32s2beta
2019-09-20 16:57:33 +10:00
KonstantinKondrashov
6f102125b4
bootloader: Add support esp32s2beta
2019-09-20 16:57:33 +10:00
KonstantinKondrashov
d06b2a3598
esp32s2beta: Add support esp32s2beta
...
Added reading MAC address
Closes: IDF-756
2019-09-20 16:57:27 +10:00
Jiang Jiang Jian
a469c179f8
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone' into 'master'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
Closes WIFI-1115
See merge request espressif/esp-idf!6071
2019-09-20 14:01:59 +08:00
KonstantinKondrashov
a25841bc9a
newlib: Fix test_posix_timers_clock for esp32s2beta
2019-09-20 14:01:22 +08:00
Wang Fang
32adfdc307
Add Chinese translation for the 2nd batch of the files in storage folder in api-reference.
...
1. The translation should be first reviewed by technical reviewers;
2. and then by language reviewers.
For the translation for the first batch of files, please see !MR5620 and !MR5613
2019-09-20 12:32:55 +08:00
Angus Gratton
adfc06a530
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-20 10:28:37 +10:00
Angus Gratton
83680bd96b
Merge branch 'feature/esp32s2beta' into feature/esp32s2beta_merge
2019-09-19 21:08:20 +10:00
suda-morris
546ac64a9e
ethernet: update spi-ethernet api
2019-09-19 09:41:21 +00:00
Jiang Jiang Jian
d78831ab2b
Merge branch 'bugfix/remove_v40_deprecations' into 'master'
...
Remove features deprecated before ESP-IDF V4.0
Closes IDF-507
See merge request espressif/esp-idf!5841
2019-09-19 16:07:01 +08:00
suda-morris
77eb32b710
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-19 13:20:34 +08:00
Angus Gratton
bcaaaa1632
Merge branch 'feature/esp32s2beta_wdt' into 'feature/esp32s2beta'
...
esp32s2beta: Re-enable interrupt WDT, RTC_WDT, Task wdt
See merge request espressif/esp-idf!5786
2019-09-19 11:10:58 +08:00
gengyuchao
87995c5f75
bugfix:btmd fix the problem that fixed_queue_enqueue may give the wrong semaphore if list_append fail to calloc a new node
2019-09-18 17:43:35 +08:00
Jiang Jiang Jian
5051bb906a
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time' into 'master'
...
ble_mesh: fix ble mesh get timer remaining time
See merge request espressif/esp-idf!6060
2019-09-18 16:38:24 +08:00
michael
70d771eb2d
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
2019-09-18 15:07:47 +08:00
xiehang
e1496449b1
esp_wifi: Update wifi lib
2019-09-18 10:16:35 +10:00
Renz Christian Bagaporo
f1b5c326f4
cxx: force pthread to appear later in link line
2019-09-17 20:08:12 +08:00
Ivan Grokhotkov
3cd687b35a
Merge branch 'fix/esp_flash_coredump' into 'master'
...
esp_flash: fix coredump issues
See merge request espressif/esp-idf!5917
2019-09-17 17:40:30 +08:00
Ivan Grokhotkov
bf68285689
Merge branch 'feature/compile_option_O0' into 'master'
...
build_system: add new compiler optimization levels
See merge request espressif/esp-idf!5686
2019-09-17 16:54:55 +08:00
Angus Gratton
d10107a50e
idf_test: Disable tests for Wi-Fi auto reconnect
...
Disable one, remove IDF tag from the other
2019-09-17 18:41:09 +10:00
suda-morris
dd248ffc32
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-09-16 18:13:53 +08:00
lly
9ee5e3d8ed
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:34:08 +08:00
lly
e1b04df763
ble_mesh: make unicast elem lookup O(1)
2019-09-16 14:55:41 +08:00
Angus Gratton
6b7da96d5b
ulp: Add header for common ULP definitions
...
Fixes problems with duplicate error codes in the two chip-specific ulp headers
2019-09-16 16:18:53 +10:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Angus Gratton
0efdeb202e
Merge branch 'fix/elf_sha256_esp32s2beta' into 'feature/esp32s2beta'
...
build_system/app_update: fix the linker script and re-enable elf-sha256
See merge request espressif/esp-idf!5972
2019-09-16 08:25:20 +08:00
Angus Gratton
66b0b8951f
Merge branch 'bugfix/esp32s2beta_docs' into 'feature/esp32s2beta'
...
esp32s2beta: Fix docs build
See merge request espressif/esp-idf!6096
2019-09-16 08:19:59 +08:00
Michael (XIAO Xufeng)
9d30b04f68
coredump: use esp_flash api in coredump
...
Also put esp_flash functions into noflash region, when
ESP32_PANIC_HANDLER_IRAM and coredump are enabled. The option disables
the re-enabling of the CPU-cache when it's disabled during coredump.
This requires all the coredump functions including the flash API to be
in the D/IRAM.
2019-09-14 17:02:08 +08:00
Michael (XIAO Xufeng)
511820820e
esp_flash: fix the coredump issue
...
During coredump, dangerous-area-checking should be disabled, and cache
disabling should be replaced by a safer version.
Dangerous-area-checking used to be in the HAL, but it seems to be more
fit to os functions. So it's moved to os functions. Interfaces are
provided to switch between os functions during coredump.
2019-09-14 17:01:36 +08:00
Michael (XIAO Xufeng)
6139864a4c
esp_flash: fix coredump for legacy spi flash API
...
When legacy mode is used, the coredump still fails during linking
because "esp_flash_init_default_chip", "esp_flash_app_init" and
"esp_flash_default_chip " are not compiled and linked.
Instead of using ``if`` macros in callers, these functions are protected
by ``if`` macros in the header, and also not compiled in the sources.
"esp_flash_default_chip" variable is compiled with safe default value.
2019-09-14 16:56:31 +08:00
Angus Gratton
c27fd32fbe
Merge branch 'feat/esp_flash_support_encrypt' into 'master'
...
esp_flash: add support for encrypted read and write
See merge request espressif/esp-idf!6008
2019-09-13 14:52:01 +08:00
Angus Gratton
9d19f4fc8e
driver docs: Fix some doxygen warnings
2019-09-13 14:30:06 +10:00
Angus Gratton
14730f049e
Merge branch 'bugfix/do_not_use_absolute_paths_to_other_components' into 'master'
...
app_update: use build system api to get partition_table dir
See merge request espressif/esp-idf!6039
2019-09-13 07:51:22 +08:00
Jack
b0c893a20c
Wi-Fi: remove wifi_fast_scan_threshold_t which is not suitable in name
2019-09-13 09:44:07 +10:00
Jack
95ec36afd4
dport: remove clock_en and reset bitname which is not suitable
2019-09-13 09:44:07 +10:00
Angus Gratton
33a186f630
soc: Remove deprecated LEDC struct register names (bit_num, div_num)
...
Deprecated since ESP-IDF V3.0
2019-09-13 09:44:07 +10:00
Angus Gratton
6195c69701
soc: remove deprecated io_mux PIN_PULLxxx_yyy macros
...
Deprecated before ESP-IDF V1.0!
2019-09-13 09:44:07 +10:00
Angus Gratton
c41b2b0415
mbedtls: Remove esp_aes_encrypt/decrypt
...
Deprecated in ESP-IDF V3.1
Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs,
not the ESP-specific APIs.
2019-09-13 09:44:07 +10:00
Angus Gratton
b022527da7
heap: Remove esp_heap_alloc_caps header
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
fb748bae7f
fatfs: Remove esp_vfs_fat_unregister()
...
Deprecated in ESP-IDF V2.0
2019-09-13 09:44:07 +10:00
Angus Gratton
ba54a552c1
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
d63181b5e9
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
2e067f5b57
ringbuf: Remove deprecated RingbufferType_t
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
dc7d6d592e
wdt: Remove deprecated esp_task_wdt_feed() function
...
Deprecated in ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
480bd0360f
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function
...
Deprecated since ESP-IDF V2.0
2019-09-13 09:44:07 +10:00
Angus Gratton
bdeaf138c4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-13 09:44:07 +10:00
Angus Gratton
a9a29b1f1e
esp_adc_cal: Remove deprecated ADC calibration functions
...
Deprecated since ESP-IDF V3.1
2019-09-13 09:44:07 +10:00
Angus Gratton
fbc1d1c319
esp32: Remove deprecated system_deep_sleep function
...
Deprecated since ESP-IDF V3.0
2019-09-13 09:44:07 +10:00
Ivan Grokhotkov
88548a9b4d
esp32/test: fix usage of deprecated fields
2019-09-13 09:44:07 +10:00
Angus Gratton
11c1da5276
soc/pm: Remove deprecated use of rtc_cpu_freq_t enum
...
Removes deprecated ways of setting/getting CPU freq, light sleep freqs.
Deprecated since ESP-IDF V3.2
2019-09-13 09:44:07 +10:00
Angus Gratton
f406d020d8
driver: Remove features deprecated pre-IDF V4.0
2019-09-13 09:44:07 +10:00
Angus Gratton
f44d99b509
app_update: Remove deprecated "make erase_ota" target
...
Deprecated in v3.2
2019-09-13 09:44:07 +10:00
Angus Gratton
62c06047da
bootloader_support: Remove deprecated partition load/verify functions
...
Deprecated since v3.2
2019-09-13 09:44:07 +10:00
Angus Gratton
596ccc6793
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-13 09:44:07 +10:00
KonstantinKondrashov
e0f7fbc5fa
bootloader: expand the space for iram_loader_seg
...
Fixed ld issue: overflowed iram_loader_seg
2019-09-13 00:39:37 +08:00
KonstantinKondrashov
d1173c8f09
esp32s2beta: task_wdt
...
Closes: IDF-753
2019-09-13 00:06:22 +08:00
KonstantinKondrashov
2644ddc3e1
esp32s2beta: Using rtc_wdt API
2019-09-13 00:06:22 +08:00
KonstantinKondrashov
d3637cd06b
rtc_wdt: re-enable RTC_WDT
2019-09-13 00:03:52 +08:00
KonstantinKondrashov
3ffa33c84d
esp32s2beta: re-enable int_wdt
2019-09-13 00:03:52 +08:00
Michael (XIAO Xufeng)
d7d5aebdee
soc: fix memory map for esp32 and esp32s2beta
2019-09-12 16:17:52 +08:00
Liu Han
3ca07b3e70
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.
2019-09-12 13:55:47 +08:00
Jiang Jiang Jian
850893b25b
Merge branch 'bugfix/uart_select_free' into 'master'
...
VFS: Fix memory access after free() in UART select()
Closes IDFGH-1820
See merge request espressif/esp-idf!6045
2019-09-12 13:38:43 +08:00
Jiang Jiang Jian
9f145ff165
Merge branch 'feature/btdm_add_hf_nvrc_command' into 'master'
...
BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.
See merge request espressif/esp-idf!5974
2019-09-12 13:25:18 +08:00
Jiang Jiang Jian
d1e5d9c8c9
Merge branch 'bugfix/btdm_config_msbc' into 'master'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5978
2019-09-12 13:23:41 +08:00
Michael (XIAO Xufeng)
d008c47dac
esp_flash: add support for encrypted read and write
...
Using legacy implementation.
2019-09-12 12:41:50 +08:00
Michael (XIAO Xufeng)
df27a50866
app_update: re-enable elf-sha256
2019-09-11 18:29:11 +08:00
Jiang Jiang Jian
32f216441f
Merge branch 'bugfix/esp32s2beta_cache_interrupt_panic' into 'feature/esp32s2beta'
...
cache_err_int: Add cache error interrupt panic
See merge request espressif/esp-idf!5559
2019-09-11 12:48:12 +08:00
jiangguangming
1b31191753
fix bug for cmake build system
...
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-11 11:00:19 +08:00
zhangyanjiao
d885df946a
fix the bug that ESP32 sends broadcast to phone after smartconfig done
2019-09-11 10:42:16 +08:00
michael
213f8cf7ef
ci: forbid esp32s2beta tests from being built in make
2019-09-11 09:31:47 +08:00
Angus Gratton
2402d0952d
Merge branch 'bugfix/flash_encryption_disable_plaintext' into 'master'
...
flash encryption: Always disable plaintext reflashes in Release mode
See merge request espressif/esp-idf!6051
2019-09-11 07:59:33 +08:00
Li Shuai
d48aac96a1
util-test: Fix the conflict target of esp32_test_logo between esp32s2beta and esp32
2019-09-10 20:49:36 +08:00
Jiang Jiang Jian
3b606aa21f
Merge branch 'bugfix/wpa2_ent_eap_reauth_fail' into 'master'
...
wpa_supplicant: Fix EAP Re-authentication issue
See merge request espressif/esp-idf!5588
2019-09-10 20:14:22 +08:00
lly
5d1f84f69c
ble_mesh: fix ble mesh get timer remaining time
2019-09-10 16:58:41 +08:00
Angus Gratton
49ca39d35c
Merge branch 'bugfix/multi_heap_printf' into 'master'
...
heap: Fix printf usage in heap poisoning
See merge request espressif/esp-idf!6046
2019-09-10 13:26:27 +08:00
Roland Dobai
7cc225c85b
VFS: Fix memory access after free() in UART select()
...
Closes https://github.com/espressif/esp-idf/issues/4030
2019-09-10 04:59:03 +00:00
Angus Gratton
c052a38e2a
bootloader: Link RTC clock functions to the iram_loader section
...
As flash encryption & secure boot needs these functions after the app is loaded.
Fixes regression introduced in fb72a6f629
2019-09-10 11:28:17 +10:00
Angus Gratton
b547aef2a0
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
2019-09-10 11:28:11 +10:00
Darian Leung
e52c0d0da2
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-09-09 21:56:39 +08:00
lly
1a8f37b383
ble_mesh: update ble mesh examples sdkconfig.defaults
2019-09-09 17:15:16 +08:00
lly
d48c89b56a
ble_mesh: fix ble mesh btc may caused memory leak
2019-09-09 17:15:16 +08:00
lly
8a41132507
ble_mesh: fix publication period timestamp initialization
2019-09-09 17:15:16 +08:00
lly
715cf7d578
ble_mesh: remove useless mesh_opcode
2019-09-09 17:15:16 +08:00
lly
8580a3211b
ble_mesh: fix bt_mesh_net_resend() caused compiling error
2019-09-09 17:15:16 +08:00
lly
8a7ab6cb3d
ble_mesh: fix adhering to the configured Friend Queue size
2019-09-09 17:15:16 +08:00
lly
29de1a9acf
ble_mesh: remove useless code bt_mesh_trans_resend()
2019-09-09 17:15:16 +08:00
lly
386a5d649c
ble_mesh: lpn remove msg from cache on rejection
2019-09-09 17:15:16 +08:00
lly
9a672caa7e
ble_mesh: introduce a helper for send callback function
2019-09-09 17:15:16 +08:00
lly
05128c98ec
ble_mesh: fix heartbeat sending on friendship established/lost
2019-09-09 17:15:16 +08:00
lly
9f80c24b74
ble_mesh: fix checking for active heartbeat publication
2019-09-09 17:15:16 +08:00
lly
b9c43cec19
ble_mesh: fix starting iv update when not on primary subnet
2019-09-09 17:15:16 +08:00
lly
3f6968e31b
ble_mesh: fix canceling publication retransmit timer
2019-09-09 17:15:16 +08:00
lly
10bffaebf1
ble_mesh: fix resending segments on correct bearer
2019-09-09 17:15:16 +08:00
lly
e152df43f1
ble_mesh: fix not sending all segments through the Friend Queue
2019-09-09 17:15:16 +08:00
lly
f449cb7843
ble_mesh: fix canceled buffer memory leak
2019-09-09 17:15:16 +08:00
lly
2afc9b820d
ble_mesh: remove some useless copy during ecdh calculation
2019-09-09 17:15:16 +08:00
lly
75b0f50aa0
ble_mesh: move heartbeat sending to transport layer
2019-09-09 17:15:16 +08:00
lly
edf0b9ee02
ble_mesh: fix provisioning send error handling
2019-09-09 17:15:16 +08:00
lly
1c06494293
ble_mesh: fix rejecting invalid remote public key
2019-09-09 17:15:16 +08:00
lly
3e47f3ec87
ble_mesh: add error checks for scan start/stop
2019-09-09 17:15:16 +08:00
lly
3e489d40ff
ble_mesh: rename reset_link() to reset_adv_link()
2019-09-09 17:15:16 +08:00
lly
f2b0b00020
ble_mesh: fix public key mismatch error handling
2019-09-09 17:15:16 +08:00
lly
630e911958
ble_mesh: update protocol error timeout from zephyr
2019-09-09 17:15:16 +08:00
lly
716db01a7f
ble_mesh: fix segmented message RPL behavior
2019-09-09 17:15:16 +08:00
lly
5f5f5cf305
ble_mesh: clear LPN sent_req on failure
2019-09-09 17:15:16 +08:00
lly
4bf4094e40
ble_mesh: update proxy sar operation from zephyr
2019-09-09 17:15:16 +08:00
lly
9c98a8d645
ble_mesh: fix postponing storage deadline indefinitely
2019-09-09 17:15:16 +08:00
lly
c44a3f1209
ble_mesh: fix RPL storage timeout handling
2019-09-09 17:15:16 +08:00
lly
9a7efd30ef
ble_mesh: fix output MIC with additional data
2019-09-09 17:15:16 +08:00
lly
f3e7656c06
ble_mesh: remove non-standard relay opearation
2019-09-09 17:15:16 +08:00
lly
0c82a32524
ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg
2019-09-09 17:15:16 +08:00
lly
b8cb769ce3
ble_mesh: fix failed to set device role caused mem leak
2019-09-09 17:15:16 +08:00
lly
624bf7e3a0
ble_mesh: ble mesh btc miscellaneous modifications
2019-09-09 17:15:16 +08:00
lly
1f96bf5906
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
2019-09-09 17:15:16 +08:00
lly
f25640e9e5
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
2019-09-09 17:15:16 +08:00
lly
014a35c1df
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
2019-09-09 17:15:16 +08:00
lly
b3bc60183d
ble_mesh: rename ble mesh client model variables and functions
2019-09-09 17:15:16 +08:00
lly
5f6259a625
ble_mesh: reorganize ble mesh model files
2019-09-09 17:15:16 +08:00
lly
a788e7cd3d
ble_mesh: sync zephyr v1.14.0 bt_hex()
2019-09-09 17:15:16 +08:00
lly
c648054e08
ble_mesh: fix provisioner prov auth bug
2019-09-09 17:15:16 +08:00
Li Shuai
d5a9b1a240
util-test: The cache and spi_flash tests passed
2019-09-09 16:59:29 +08:00
Li Shuai
fd15fd3da4
util-test: Copy the test in the esp32 directory to the esp32s2beta directory
2019-09-09 16:57:28 +08:00
Li Shuai
eb4c0ef8b2
cache_err_int: Modify cache error interrupt panic code format
2019-09-09 14:35:42 +08:00
Li Shuai
ce6c86672b
cache_err_int: Add cache error interrupt panic
2019-09-09 14:35:42 +08:00
Angus Gratton
35147119f1
Merge branch 'feature/support_ut_esp32s2beta' into 'feature/esp32s2beta'
...
ci: support build and run UT for esp32s2beta
See merge request espressif/esp-idf!5702
2019-09-09 08:34:16 +08:00
Mahavir Jain
f2eadc9378
Merge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'
...
Fix build issues in coap library with mbedtls client only config
See merge request espressif/esp-idf!5955
2019-09-06 21:12:04 +08:00
Wang Fang
bea507378e
Add Chinese translation for README files in components and tools folders, including:
...
1. components/nvs_flash/nvs_partition_generator/README_CN.rst
2. components/wear_levelling/README_CN.rst
3. tools/mass_mfg/docs/README_CN.rst
2019-09-06 20:18:19 +08:00
Jon Shallow
430b737760
Fix libcoap building with various MbedTLS compile time options
...
components/coap/port/coap_mbedtls.c:
Add in additional compile time check wrappers for different MbedTLS
configurations.
components/coap/CMakeLists.txt:
components/coap/component.mk:
components/coap/port/coap_notls.c:
components/coap/port/include/coap_config_posix.h:
Add in the ability to compile and run if MbedTLS does not have any TLS
mode enabled.
examples/protocols/coap_client/main/coap_client_example_main.c:
Inform user that MbedTLS Client Mode is required for DTLS if not enabled,
and coaps:// has been requested.
[Lower libcoap library will still error and report this condition]
examples/protocols/coap_server/main/coap_server_example_main.c:
Inform user that MbedTLS Server Mode is required for DTLS if not enabled.
[Lower libcoap library will still error and report this condition]
Closes https://github.com/espressif/esp-idf/issues/3961
Closes https://github.com/espressif/esp-idf/issues/3971
Closes https://github.com/espressif/esp-idf/pull/3977
2019-09-06 16:13:52 +05:30
Andrew
4fdaeb6b6e
cmake: Add new compiler optimization levels definitions
...
Rename and add multiple kconfig compiler options. New compiler options
COMPILER_OPTIMIZATION_PERF and COMPILER_OPTIMIZATION_NONE have been added.
Optimize "Debug" and "Release" options to "Default" and "Size" respectively.
This commit also does the following:
- The COMPILER_OPTIMIZATION_PERF option introduced multiple bug.
This commit fixes those bugs.
- build.yml also updated to test for the new optimization options.
2019-09-06 17:37:19 +08:00
Nachiket Kukade
5df2e6b19c
wpa_supplicant: Fix EAP Re-authentication issue
...
EAP reauth frames are dropped at various stages due to current
implementation of WPA2 ENT states and EAP SM init/deinit logic.
Route EAPOL frames based on EAP pkt type and maintain EAP SM
to facilitate EAP re-authentication process.
The full fix for the change includes a fix from wifi library
(commit - 36f99df849214fbf9b0d15e58554632a568e05aa).
2019-09-06 14:59:05 +05:30
jiangguangming
4ef4b29c74
Reorganize the memory to maximize contiguous DRAM
...
1. Fix bug for variable sdkconfig_header in CMakeLists.txt
2. Modify the load address of bootloader
3. Modify the load address of application program
2019-09-06 16:18:42 +08:00
Angus Gratton
8b3e8f10cb
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx' into 'master'
...
spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses
See merge request espressif/esp-idf!5982
2019-09-06 16:04:56 +08:00
Angus Gratton
cd68972e32
Merge branch 'bugfix/ethernet_rx_length_check' into 'master'
...
ethernet: bugfix and optimize
Closes IDF-864, IDF-865, IDF-866, and IDF-867
See merge request espressif/esp-idf!5944
2019-09-06 15:39:20 +08:00
Alex Lisitsyn
7ff9538c48
espcoredump: fix issue with spi_flash access
...
spi_flash has been updated and its functions work from flash by default instead of IRAM that cause issue
add Kconfig value into espcoredump to enable spi_flash legacy mode (CONFIG_SPI_FLASH_USE_LEGACY_IMPL) when core dump is selected
fix spi_flash issues to work correctly with legacy mode when CONFIG_SPI_FLASH_USE_LEGACY_IMPL is used
2019-09-06 15:37:55 +08:00
Jiang Jiang Jian
fc62542e18
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail' into 'master'
...
fix the bug for WPA_WPA2_PSK connection fail
See merge request espressif/esp-idf!6009
2019-09-06 14:34:47 +08:00
Jiang Jiang Jian
84daad38c3
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack
See merge request espressif/esp-idf!5937
2019-09-06 14:29:45 +08:00
Jiang Jiang Jian
35874254b9
Merge branch 'bugfix/rom_miniz_notes' into 'master'
...
rom: Add warnings for miniz functions that won't work due to missing malloc
Closes IDFGH-1814
See merge request espressif/esp-idf!6012
2019-09-06 14:18:57 +08:00
baohongde
cb2e1f93d1
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:00:54 +08:00
Chinmay Chhajed
a6cc964a26
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-06 11:02:36 +08:00
Angus Gratton
f23b3fdbe4
rom: Add warnings for miniz functions that won't work due to missing malloc
...
Closes https://github.com/espressif/esp-idf/issues/4024
2019-09-06 11:01:34 +10:00
zhangyanjiao
45c72dd372
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
2019-09-05 20:20:42 +08:00
jiangguangming
c057c141eb
Fix bug for reserved memory regions
...
1. Release 16KB memory of reserved regions to heap
2. Modify the dram_seg address of bootloader to 0x3FFF8000, size is 16K
2019-09-05 19:00:14 +08:00
Li Shuai
bd29202520
1. Fix backtrace is incomplete
...
2. Optimization code style
2019-09-05 18:40:33 +08:00
wanglei
653d8b5bdd
update cache and spiram related files and bug fixes
...
1. remove speed dependency of SPIRAM
2. support wrap mode of cache, flash and SPIRAM
3. fix some bugs on cache modes support
2019-09-05 14:14:49 +08:00
Jiang Jiang Jian
8d85792acc
Merge branch 'bugfix/btdm_crash_in_sket_ist' into 'master'
...
Fix 2 bugs in r_ld_fm_sket_isr
See merge request espressif/esp-idf!5946
2019-09-05 12:01:35 +08:00
Jiang Jiang Jian
07bd6d49ca
Merge branch 'bugfix/btdm_config_but_task_size_fail' into 'master'
...
Use CONFIG value instead of hard-coded value.
See merge request espressif/esp-idf!5961
2019-09-05 11:26:50 +08:00
Xia Xiaotian
f9aaaa6c3a
esp_wifi: synchronize WiFi header file with WiFi library
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
KonstantinKondrashov
7f270d4299
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-04 10:53:25 +10:00