He Yin Ling
b85e9e5cda
tiny-test-fw: support translate backtrace in IDFDUT
2019-03-19 11:24:08 +08:00
He Yin Ling
f11eba7802
tiny-test-fw: support detect exception in IDFDUT
2019-03-19 11:24:08 +08:00
Ivan Grokhotkov
8fbb63c2a7
Merge branch 'bugfix/i2c_driver_release_opt' into 'master'
...
driver/i2c: write i2c command structure to hardware in one operation
See merge request idf/esp-idf!4538
2019-03-19 10:59:21 +08:00
Roland Dobai
2a419fa599
tools: Create log files from IDF Monitor
2019-03-18 19:33:20 +01:00
Jitin George
ab4b57e03d
example:coap_server: Change app task stack size
2019-03-18 12:33:52 +00:00
Jitin George
fecd7a16d4
example:coap_client: Change app task stack size
2019-03-18 12:33:52 +00: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
9ce7ffb440
ldgen: fix library path parsing in windows
...
Closes https://github.com/espressif/esp-idf/issues/3173
2019-03-18 03:47:38 +08:00
Mahavir Jain
e4d97bef3d
make: use shell
command to extract version string
2019-03-17 21:33: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
Angus Gratton
f6665cf90b
Merge branch 'bugfix/esp_prov_ble_rw_except' into 'master'
...
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
See merge request idf/esp-idf!4503
2019-03-15 21:10:53 +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
6400714d9b
Merge branch 'feature/confserver_v2' into 'master'
...
confserver: Add v2 confserver protocol with separate visibility info
See merge request idf/esp-idf!4162
2019-03-15 14:49:05 +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
Angus Gratton
87881b76ad
Merge branch 'bugfix/make_gcc_version_evaluation' into 'master'
...
make: Ensure that component_project_vars.mk not generated before config
See merge request idf/esp-idf!4474
2019-03-15 14:30:48 +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
Angus Gratton
a44f43c2ea
confserver: Send an error response if JSON request is malformatted
2019-03-15 14:31:45 +11:00
Angus Gratton
6897dab2de
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 14:31:45 +11:00
Angus Gratton
02802a5113
confserver: Add support for new V2 protocol
...
V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json
Still backwards compatible with V1, with some small changes (menu items now listed in results).
Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings
2019-03-15 14:31:45 +11:00
Angus Gratton
f02ceb747e
Merge branch 'bugfix/idf_py_windows_relpath' into 'master'
...
idf.py: Fix Windows issue if project and IDF are on different drives
Closes IDFGH-478
See merge request idf/esp-idf!4404
2019-03-15 09:36:25 +08:00
Anurag Kar
048cd2a887
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
...
This is useful in the context of provisioning when server initiates disconnection if secure session establishment fails.
2019-03-14 18:33:34 +05:30
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
Jitin George
9b0e6e3b49
esp_http_client: Fix header sent event bug
2019-03-14 14:31:28 +05:30
Jitin George
d943c8de94
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-03-14 14:31:28 +05:30
Ivan Grokhotkov
ce6b73ca5f
Merge branch 'bugfix/console_allow_buffered' into 'master'
...
console example: use buffered stdout by default
See merge request idf/esp-idf!4476
2019-03-14 15:40:42 +08:00
Ivan Grokhotkov
1b3373543f
Merge branch 'feature/trim_idf_ver_to_fit_32bit_field' into 'master'
...
tools/test_build_system: Trim IDF_VER to fit a 32-bit field
Closes IDFGH-682
See merge request idf/esp-idf!4477
2019-03-14 15:39:20 +08:00
Tian Hao
b39bd0615c
fix the bug assert(8192 0) in rwble.c 234
2019-03-14 15:38:23 +08:00
Angus Gratton
7c69f6172b
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue' into 'master'
...
spi_flash: fix stale read issue for memory mapped partition
See merge request idf/esp-idf!4437
2019-03-14 14:56:12 +08:00
zhangyanjiao
fa2998d70b
dhcpserver: suppress send_nak debug output
...
Closes https://github.com/espressif/esp-idf/issues/2924
2019-03-14 14:00:35 +08:00
Angus Gratton
12bdf8e45b
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-03-14 05:56:06 +00:00
Angus Gratton
1cc726b2a3
secure boot: Use mbedtls_sha256() not esp_sha()
...
Latter is probably compiled into most firmwares already, saves some size.
Ref https://github.com/espressif/esp-idf/issues/3127
2019-03-14 05:56:06 +00:00
Angus Gratton
6a6fbde83d
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
...
* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681
Also reported at https://esp32.com/viewtopic.php?f=13&t=9506
2019-03-14 05:56:06 +00:00