Michael (XIAO Xufeng)
55859f59cb
support for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
43135dc348
spi: convenient LL macro
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9f1c8f0c76
spi_flash: support esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
b76d5d74d9
mbedtls: support esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
3b39e60f97
driver: remove unused drivers for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
05739798c3
soc: s2beta support
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9baa7826be
fix unit test and examples for s2beta
2019-09-04 10:53:25 +10:00
Renz Christian Bagaporo
a4ee680bbf
app_update: use build system api to get partition_table dir
2019-09-03 19:47:53 +08:00
Martin Thierer
3bb42d0736
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-03 15:21:23 +08:00
Angus Gratton
c5747027b4
Merge branch 'bugfix/cmake_bootloader_python' into 'master'
...
build system: Pass Python executable through to bootloader build
See merge request espressif/esp-idf!5956
2019-09-03 12:55:58 +08:00
suda-morris
14ffd355e6
ethernet: bugfix and optimize
...
1. check frame length before pass to stack
2. replace semaphore with task notify
2019-09-03 11:01:16 +08:00
baohongde
019067b6ac
components/bt: Rename some macros
2019-09-03 10:23:05 +08:00
Zac Bond
f8212988c4
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:21:45 +08:00
Angus Gratton
002104b262
Merge branch 'bugfix/err_code_collision' into 'master'
...
Fix error code collisions and re-enable CI check
Closes IDF-832
See merge request espressif/esp-idf!5923
2019-09-03 08:30:40 +08:00
Jiang Jiang Jian
9b070666e1
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0' into 'master'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5782
2019-09-02 22:21:59 +08:00
Jiang Jiang Jian
81cf2cf130
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig' into 'master'
...
components/bt: Remove unused macro in menuconfig
See merge request espressif/esp-idf!5950
2019-09-02 22:20:49 +08:00
baohongde
185f47ab7e
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:50:09 +08:00
nif
75578300f1
BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.
2019-09-02 09:28:38 +00:00
Jiang Jiang Jian
a4a95e6c67
Merge branch 'bugfix/coex_bb_reset_lock' into 'master'
...
fix bug that wifi start/stop may cause crash
See merge request espressif/esp-idf!5968
2019-09-02 14:25:50 +08:00
Jiang Jiang Jian
6fa20a4d33
Merge branch 'test/use_correct_config_for_nvs_compatible_case' into 'master'
...
test: fix nvs compatible case error:
See merge request espressif/esp-idf!5890
2019-09-02 12:40:38 +08:00
Jiang Jiang Jian
a2e0c6b1ab
Merge branch 'test/fix_mesh_test_case' into 'master'
...
test: fix test case MESH_EST_2403
See merge request espressif/esp-idf!5813
2019-09-02 12:38:38 +08:00
Angus Gratton
eca4b855d9
Merge branch 'bugfix/secure_boot_ecdsa_config' into 'master'
...
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
See merge request espressif/esp-idf!5960
2019-09-02 08:31:18 +08:00
Tian Hao
3af18c0422
fix some coex bugs
...
1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init
2019-08-30 22:06:29 +08:00
Angus Gratton
d1f2ea7cdf
Merge branch 'bugfix/make_build_issue_if_build_dir_symlink' into 'master'
...
ldgen: fix build issue on make when build dir is a symlink
Closes IDFGH-1340
See merge request espressif/esp-idf!5915
2019-08-30 16:27:21 +08:00
Angus Gratton
879778a677
Merge branch 'refactor/move_smartconfig_ack_to_wifi' into 'master'
...
smartconfig: move smartconfig_ack to esp_wifi conponent
Closes IDFGH-1758
See merge request espressif/esp-idf!5881
2019-08-30 16:27:11 +08:00
Angus Gratton
ff5cb217fe
Merge branch 'bugfix/unicore_config_prevent_ipc_code' into 'master'
...
ipc: prevent code getting pulled in for unicore configuration
See merge request espressif/esp-idf!5795
2019-08-30 16:26:47 +08:00
Angus Gratton
6123f78897
mbedtls: Make ECDHE-PSK config item depend on ECDHE
2019-08-30 15:01:53 +10:00
Angus Gratton
abd6d40796
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
...
and all ECDSA to be disabled if secure boot is not enabled
Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).
To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.
Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703
2019-08-30 14:56:11 +10:00
baohongde
d12503eb55
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:05 +08:00
Mahavir Jain
d6982e0401
Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length' into 'master'
...
mbedtls: keep asymmetric tls buffer length option enabled by default
See merge request espressif/esp-idf!5678
2019-08-29 19:45:06 +08:00
Angus Gratton
e3e21b7954
build system: Pass Python executable through to bootloader build
...
Fixes failures if the PYTHON cache setting doesn't match the
default of "python" on the PATH.
2019-08-29 18:53:18 +10:00
Roland Dobai
612db28b6f
Fix error code collision and CI check
2019-08-29 08:14:08 +00:00
baohongde
b6fe44b520
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:27:57 +08:00
Jon Shallow
e7033716db
LwIP: Make IP_PKTINFO support configurable
...
LwIP has support for IP_PKTINFO, but it cannot be activated as it is
not configurable. This fix adds in the ability to configure it.
Merges https://github.com/espressif/esp-idf/pull/3983
2019-08-29 11:20:56 +08:00
suda-morris
a36cc962a3
smartconfig: move smartconfig_ack to esp_wifi conponent
2019-08-29 10:39:30 +08:00
Angus Gratton
1cd54d34f6
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep' into 'master'
...
bootloader: Blocking the Factory reset during wake up from deep sleep
Closes IDFGH-1536
See merge request espressif/esp-idf!5673
2019-08-29 09:35:08 +08:00
Angus Gratton
06898325e6
Merge branch 'bugfix/bootloader_efuse_build_regression' into 'master'
...
bootloader: add definition of esp_clk_apb_freq
Closes IDFGH-1734
See merge request espressif/esp-idf!5913
2019-08-29 08:35:48 +08:00
Jiang Jiang Jian
17dc04183a
Merge branch 'bugfix/fix_the_bug_for_softap_set_authmode' into 'master'
...
wifi: fix the bug for softAP set authmode
Closes WIFI-449
See merge request espressif/esp-idf!5823
2019-08-28 19:05:00 +08:00
Mahavir Jain
ebe53416ad
ipc: prevent code getting pulled in for unicore configuration
2019-08-28 12:47:08 +05:30
wangmengyang
30bc5953f2
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
...
# Conflicts:
# components/bootloader/subproject/components/micro-ecc/micro-ecc
2019-08-28 15:16:10 +08:00
Mahavir Jain
5582878f8e
mbedtls: keep asymmetric tls buffer length option enabled by default
2019-08-28 06:23:33 +00:00
Angus Gratton
a21ca2270a
Merge branch 'feature/deep_sleep_fast_wake' into 'master'
...
bootloader: Reduce the time spent in image validation when waking from deep sleep
See merge request espressif/esp-idf!5140
2019-08-28 08:54:28 +08:00
Jiang Jiang Jian
039f9d0a20
Merge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice' into 'master'
...
Component/bt: fix some BLE bugs
See merge request espressif/esp-idf!5896
2019-08-27 18:48:45 +08:00
Ivan Grokhotkov
fb72a6f629
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80
has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
2019-08-27 12:01:11 +02:00
Renz Christian Bagaporo
c50a67567a
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2019-08-27 13:53:31 +08:00
Angus Gratton
8d8d4a57e1
Merge branch 'bugfix/reset_periph_modules' into 'master'
...
driver: Add a reset before enabling if a module is off
Closes IDF-188
See merge request espressif/esp-idf!4843
2019-08-26 16:38:23 +08:00
zhiweijian
f002d1c6aa
Component/bt: fix dome BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 14:17:46 +08:00
Jiang Jiang Jian
f68cd62abd
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size' into 'master'
...
bugfix/btdm_security_vulnerability_on_encryption_key_size
See merge request espressif/esp-idf!5868
2019-08-26 14:08:22 +08:00
He Yin Ling
954a23be37
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-25 20:35:49 +08:00
KonstantinKondrashov
30953ba9c4
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-08-23 10:21:06 +00:00
KonstantinKondrashov
69f45c3674
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-08-23 10:21:06 +00:00
Jiang Jiang Jian
8db44f67d7
Merge branch 'bugfix/wps_workaround_for_Telstra_AP' into 'master'
...
wps: Relax the check on older config methods in case of WPS2.0
See merge request espressif/esp-idf!5781
2019-08-23 17:32:46 +08:00
Dmitry
a0730fec2a
Performance monitor component. The component contains APIs, example and
...
documentation.
2019-08-23 11:20:12 +03:00
zhangyanjiao
ff96965a91
wifi: fix the bug for softAP set authmode
2019-08-23 14:37:08 +08:00
Ivan Grokhotkov
12c9d9a564
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-08-23 12:37:55 +08:00
wangmengyang
76b6902e96
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
...
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-23 08:26:15 +08:00
suda-morris
5a09de8245
cbor: add tinycbor library and example
2019-08-22 17:44:29 +08:00
fuzhibo
c9a911e4aa
rtc: update from bringup branch
2019-08-22 15:03:18 +08:00
Jiang Jiang Jian
0a30468945
Merge branch 'feature/wifi_use_new_event_api' into 'master'
...
esp_wifi/event: wifi use new event api
Closes WIFI-696
See merge request espressif/esp-idf!5454
2019-08-21 21:12:28 +08:00
KonstantinKondrashov
c543aac91e
bootloader: API for the fast wakeup and custom using RTC mem
...
Added "Reserve RTC FAST memory for custom purposes" option.
Added a boot counter.
2019-08-21 11:44:37 +00:00
Tim Nordell
43393cf4d1
bootloader: Support for skipping validation upon wake from deep sleep
...
This saves time when waking up from deep sleep, but potentially decreases
the security of the system. If the application able to modify itself
(especially areas that are loaded into RAM) in flash while running
without crashing or is modifies the cached bits of information about
what was last booted from the bootloader, this could cause security
issues if the user does a "deep sleep reset" since the full validation
is skipped.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
Tim Nordell
82984f0539
bootloader: Do not obfuscate RAM if we are not doing image validation
...
No need to take this step if we are not doing image validation. The
obfuscation only buys us a tiny bit of "security" anyways since the
main parts of flash are memory mapped, too. This saves a little bit of
wake-up time when waking up from deep sleep when the
BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is set.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
Tim Nordell
1e32fa2cf7
bootloader: Remove extraneous newlines from some debug statements
...
ESP_LOGD(...) provides its own new lines so remove these from these
debug strings.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-08-21 11:44:37 +00:00
Prasad Alatkar
393eb1700d
NimBLE: Add misc menuconfig options
...
- Add option to configure stack size of NimBLE host task, update NimBLE
submodule for the same.
- Change max concurrent connections supported to 9 inline with controller.
2019-08-21 19:28:47 +08:00
Jiang Jiang Jian
14608cc0fb
Merge branch 'Bugfix/nonblocking_udp_is_zero' into 'master'
...
fix bug for nonblocking udp is zero
Closes WIFI-756
See merge request espressif/esp-idf!5792
2019-08-21 16:44:11 +08:00
Angus Gratton
3aef62527a
Merge branch 'update/cjson_v1_7_12' into 'master'
...
Update cJSON to v1.7.12
See merge request espressif/esp-idf!5776
2019-08-21 16:40:35 +08:00
Angus Gratton
319d44b1a6
Merge branch 'bugfix/esp_timer_null_checks' into 'master'
...
esp_timer: Add parameter NULL checks to public API
See merge request espressif/esp-idf!5804
2019-08-21 16:17:15 +08:00
Angus Gratton
38d61f83db
Merge branch 'feature/esp32s2beta_update' into 'feature/esp32s2beta'
...
esp32s2beta: Merge master into esp32s2beta branch
See merge request espressif/esp-idf!5724
2019-08-21 15:20:28 +08:00
xueyunfei
36920b4062
fix bug for nonblocking udp is zero
2019-08-21 11:25:17 +08:00
Renz Christian Bagaporo
a1a2f33459
esptool_py: add missing phony build targets for CMake
...
Adds targets erase_flash and monitor for users not using idf.py.
Closes https://github.com/espressif/esp-idf/issues/2420 .
2019-08-21 10:01:00 +08:00
Xia Xiaotian
80f1c13fd7
esp_wifi: update WiFi library to support esp32s2beta
2019-08-21 10:45:07 +10:00
Ivan Grokhotkov
636c6a9a30
Merge branch 'feature/ulp_macro_updates' into 'master'
...
ulp: updates for ULP macros (PRs from Github)
Closes IDFGH-1492
See merge request espressif/esp-idf!5801
2019-08-20 20:40:09 +08:00
Nachiket Kukade
19a1af88a5
wps: Relax the check on older config methods in case of WPS2.0
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-08-20 09:58:41 +00:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Ivan Grokhotkov
5944f575cf
Merge branch 'bugfix/newlib_time_test' into 'master'
...
newlib: Fix UT - test time adjustment happens linearly
See merge request espressif/esp-idf!5712
2019-08-20 16:24:30 +08:00
Angus Gratton
9d8c21d8fb
Merge branch 'feature/esp32s2beta_rtc_vddsdio_get_config' into 'feature/esp32s2beta'
...
soc: Update rtc_vddsdio_get_config for esp32s2beta
See merge request espressif/esp-idf!5759
2019-08-20 13:14:07 +08:00
Angus Gratton
0a0bb09585
Merge 'master' into feature/esp32s2beta_update
2019-08-20 13:55:23 +10:00
Jiang Jiang Jian
23aef7d8d8
Merge branch 'cleanup/make_supp_headers_private' into 'master'
...
wpa_supplicant: Make internally used crypto headers private
Closes IDF-476
See merge request espressif/esp-idf!5666
2019-08-19 17:11:34 +08:00
Angus Gratton
2085845c80
freertos: Have ESP32S2-Beta target select FREERTOS_UNICORE directly
2019-08-19 15:03:48 +10:00
Angus Gratton
685c9cc867
esp32sbeta: Add timer_ll.h
2019-08-19 15:03:48 +10:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Angus Gratton
b1d67ad344
Merge branch 'bugfix/remove_transport_strcasestr' into 'master'
...
tcp_transport: replace transport_strcasestr with strcasestr
Closes IDF-548
See merge request espressif/esp-idf!5802
2019-08-19 10:36:32 +08:00
Nachiket Kukade
9ec363a25d
wpa_supplicant: Make internally used crypto headers private
...
A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.
Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.
Closes IDF-476
2019-08-17 11:48:37 +00:00
baohongde
38ae31ebc4
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-16 09:54:18 +00:00
Angus Gratton
76453ccfa5
Merge branch 'bugfix/ledc_clock_mode' into 'master'
...
driver: ledc: Fix clock mode selection
See merge request espressif/esp-idf!5747
2019-08-16 17:39:16 +08:00
chenyudong
2116968d78
test: fix test case MESH_EST_2403
2019-08-16 09:15:31 +00:00
Angus Gratton
727ffbe908
esp_timer: Add parameter NULL checks to public API
...
Return ESP_ERR_INVALID_ARG if the handle is NULL, instead of crashing.
As reported via forum https://esp32.com/viewtopic.php?f=13&t=11721&p=47926#p47926
2019-08-16 13:00:21 +10:00
Angus Gratton
74c2eb3aff
Merge branch 'fix/esp_flash_set_get_wp' into 'master'
...
esp_flash: fix the set/get write protection functions
See merge request espressif/esp-idf!5682
2019-08-16 06:14:48 +08:00
Ivan Grokhotkov
61a1a468bb
tcp_transport: replace transport_strcasestr with strcasestr
...
esp32-2019r1 toolchain version includes 'strcasestr', so the version
provided in tcp_transport component is no longer needed.
2019-08-15 17:51:54 +02:00
Saket Dandawate
ccc95191ea
ulp: Add aditional uint32_t object to ulp_insn_t
...
Used to get the encoded instruction from bit-field structs.
Merges https://github.com/espressif/esp-idf/pull/3759
2019-08-15 17:34:26 +02:00
boarchuz
28ca2d72b8
ulp: Correct misleading corrections of i2c comments
...
Merges https://github.com/espressif/esp-idf/pull/3580
2019-08-15 17:34:19 +02:00
boarchuz
68b3677daa
ulp: Correct misleading i2c write mask comments
...
Merges https://github.com/espressif/esp-idf/pull/3580
2019-08-15 17:34:11 +02:00
boarchuz
88a69823cf
ulp: Expand ULP macro functionality
...
Merges https://github.com/espressif/esp-idf/pull/3580
2019-08-15 17:34:11 +02:00
Hrudaynath Dhabe
53e7beb95b
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-08-15 21:10:00 +08:00
Ivan Grokhotkov
5863509804
Merge branch 'bugfix/vfs_concurrent_select' into 'master'
...
VFS: Support concurrent VFS select calls & improve the documentation
Closes IDFGH-1072
See merge request espressif/esp-idf!5538
2019-08-15 19:57:30 +08:00
Angus Gratton
848465da90
driver: Check ledc config result in PCNT tests
2019-08-15 06:53:46 +00:00
Angus Gratton
1dd2f3e07b
driver: ledc: Fix low/high speed parameter setting
...
Fix regression introduced in 2e8c85d8ff
2019-08-15 06:53:46 +00:00
Angus Gratton
a50ae86707
Merge branch 'bugfix/mbedtls_add_source_files_to_appropriate_library' into 'master'
...
mbedtls: add source files to appropriate library
See merge request espressif/esp-idf!5761
2019-08-15 13:32:20 +08:00
Renz Christian Bagaporo
6875080b9b
mbedtls: add source files to appropriate library
2019-08-15 12:43:45 +08:00
Angus Gratton
b6b7ea4f10
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode' into 'master'
...
bugfix(flash): add spi dio address bitlen configure in psram init
See merge request espressif/esp-idf!5783
2019-08-15 11:28:19 +08:00
Prasad Alatkar
4c7b83defc
NimBLE: Fix bug in protocomm_nimble
chararcteristic access callback
...
Fixes bug in `protocomm_nimble` while writing to characteristic with length greater than MTU value.
2019-08-15 10:50:30 +08:00
Angus Gratton
0781868c36
Merge branch 'bugfix/mdns_send_bye_service_instance' into 'master'
...
mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()
See merge request espressif/esp-idf!5308
2019-08-15 10:50:17 +08:00
Angus Gratton
ee6b1399aa
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'
...
exclude rom headers in examples
Closes IDF-557
See merge request espressif/esp-idf!5051
2019-08-15 10:50:01 +08:00
chenjianqiang
74e2e46402
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-14 20:57:30 +08:00
Angus Gratton
367ecc2d60
Merge branch 'refactor/timerg_in_test' into 'master'
...
timer_group: refactoring to avoid direct register access in the ISR
See merge request espressif/esp-idf!5656
2019-08-14 15:32:16 +08:00
Angus Gratton
2fcbc6aaa5
esp_eth: KConfig formatting fix
2019-08-14 16:50:30 +10:00
David Cermak
a001998d52
mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()
...
Closes https://github.com/espressif/esp-idf/issues/3660
2019-08-14 05:54:54 +00:00
Angus Gratton
f72dc5b271
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-14 10:03:27 +10:00
KonstantinKondrashov
62ee29250e
soc: Update rtc_vddsdio_get_config for esp32s2beta
...
Closes: IDF-749
2019-08-13 20:04:49 +08:00
Ivan Grokhotkov
0a74227cfa
bump version to 4.1
2019-08-13 10:09:52 +02:00
Angus Gratton
278c2f1aea
Merge branch 'feature/esp32s2beta' into feature/esp32s2beta_update
2019-08-13 17:16:44 +10:00
Angus Gratton
a3a67a4452
nvs_flash: Include xtensa component when building NVS tests on hosts
...
esp_attr.h moved to xtensa component in 61ce868396
2019-08-13 17:16:12 +10:00
Angus Gratton
e32d27e7e8
esp_eth: Add CONFIG_ETH_ENABLED flag to enable/disable ethernet at build time
...
Always enabled by default, as SPI/Ethernet support is enabled by default.
2019-08-13 17:14:16 +10:00
Xia Xiaotian
bcff8afbba
esp_wifi: update esp32s2beta WiFi library
2019-08-13 17:14:16 +10:00
Angus Gratton
9a2e29e068
esp32s2beta: Invert RSA_CONSTANT_TIME_DISABLE_REG to RSA_CONSTANT_TIME_REG
2019-08-13 17:14:16 +10:00
Angus Gratton
8111b222c8
bt: Update to match master
2019-08-13 17:14:16 +10:00
Angus Gratton
18c5cfadae
Fix function prototypes
2019-08-13 17:14:16 +10:00
Angus Gratton
c47e1756f8
examples: Rename deprecate CONFIG_CONSOLE_UART_NUM macro
2019-08-13 17:14:16 +10:00
Angus Gratton
4002c6060a
lwip: Enable ethernet for both ESP32 & ESP32-S2Beta (SPI ethernet)
2019-08-13 17:14:16 +10:00
Angus Gratton
eb7ad6ca17
bootloader: Fix SPI dummy clock settings for ESP32S2-beta
2019-08-13 17:14:16 +10:00
Angus Gratton
d5f5fadbee
bootloader: Include FreeRTOS component for the FREERTOS_UNICORE header, only
2019-08-13 17:14:16 +10:00
Angus Gratton
309376f51a
spi_flash: Force legacy mode for ESP32-S2
...
Can be removed once IDF-763 is merged
2019-08-13 17:14:16 +10:00
Angus Gratton
dc9170966b
freertos: Force UNICORE mode on ESP32S2
2019-08-13 17:14:16 +10:00
Angus Gratton
80a4a11808
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling' into 'master'
...
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors
See merge request espressif/esp-idf!5727
2019-08-13 14:38:28 +08:00
Angus Gratton
aa2a972261
Merge branch 'bugfix/fix_encrypted_project_flash_arg_file_gen' into 'master'
...
CMake: fix encrypted project flash arg file generation
See merge request espressif/esp-idf!5741
2019-08-13 13:45:57 +08:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
suda-morris
f86e82cb63
efuse: update the scheme of getting chip revision
2019-08-13 10:59:02 +08:00
Jiang Jiang Jian
65b9032dba
Merge branch 'bugfix/reuse_pmk_without_set_config' into 'master'
...
wifi: Avoid recalculating PMK when esp_wifi_set_config is not called
Closes IDFGH-1520
See merge request espressif/esp-idf!5745
2019-08-12 23:33:45 +08:00
Angus Gratton
872ba98cc9
Merge branch 'feature/esp32s2beta_crosscore_int' into 'feature/esp32s2beta'
...
esp32s2beta: crosscore_int simplify for esp32s2beta
See merge request espressif/esp-idf!5668
2019-08-12 15:23:56 +08:00
Angus Gratton
212e7be28c
Merge branch 'bugfix/core_id_arg' into 'master'
...
doc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different
Closes IDFGH-407
See merge request espressif/esp-idf!5661
2019-08-12 15:16:51 +08:00
Angus Gratton
8f74271d5d
esp_rom: Fail immediately if the wrong SoC's header file is included
2019-08-12 16:57:40 +10:00
Angus Gratton
2f56116db2
Cleanup of previous merge commit
2019-08-12 16:57:40 +10:00
Angus Gratton
e8bdfe07ae
Merge branch 'feature/tls_psk_authentication' into 'master'
...
esp_tls: add psk verification mode
Closes IDFGH-992
See merge request espressif/esp-idf!5095
2019-08-12 12:45:34 +08:00
Angus Gratton
b0ef3cdc9f
Merge branch 'bugfix/check_include_dirs' into 'master'
...
CMake: Check if component include dirs are directories
See merge request espressif/esp-idf!5701
2019-08-12 12:45:11 +08:00
Angus Gratton
4fe74b8f64
freertos: Rename CORE_ID_PRO/CORE_ID_APP macros to CORE_ID_REGVAL_xxx
...
Old values remain for compatibility.
As suggested in https://github.com/espressif/esp-idf/issues/2567
2019-08-12 11:12:34 +10:00
Angus Gratton
a40e164988
doc: Add clarifications Xtensa Core ID and "Core ID" used in FreeRTOS are different
...
Closes https://github.com/espressif/esp-idf/issues/2567
2019-08-12 11:11:28 +10:00
Angus Gratton
aa3c988c17
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 11:16:33 +10:00
Angus Gratton
caea2889c8
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 11:16:33 +10:00
Sagar Bijwe
b1f657fc65
wifi: Avoid recalculating PMK when esp_wifi_set_config is not called
...
Scenarios where this fix is applicable.
1) Every time the system is powered-on/restarted without calling
esp_wifi_set_config.
2) esp_wifi_init()/connect()/stop()/deinit() is called multiple
times without esp_wifi_set_config.
Closes IDFGH-1520
2019-08-09 16:28:33 +05:30
Konstantin Kondrashov
9a669bfbb9
rmt/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
a418b603d0
pcnt/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
5c560e0cd1
sdmmc_host/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
437228e947
i2s/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
d064cd485c
can/driver: Add module reset before enabling
2019-08-09 17:09:56 +08:00
Konstantin Kondrashov
c082d13075
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-08-09 17:09:56 +08:00
Renz Christian Bagaporo
e3c236d2fe
cmake: fix encrypted project flash arg file generation
2019-08-09 16:35:31 +08:00
Jiang Jiang Jian
2b71eff25f
Merge branch 'bugfix/efuse_write_config' into 'master'
...
efuse: set timing configuration before writing
See merge request espressif/esp-idf!4750
2019-08-09 14:25:45 +08:00
Angus Gratton
d6b641949c
Merge branch 'bugfix/httpd_sess_close' into 'master'
...
httpd_sess_close: Check for session validity before closing
See merge request espressif/esp-idf!5705
2019-08-09 14:20:51 +08:00
Michael (XIAO Xufeng)
d850a0bd1c
esp_attr: add flag_attr to support enums used as flags
2019-08-09 13:46:32 +08:00
Michael (XIAO Xufeng)
264ffbeb14
timer_group: use the LL
2019-08-09 13:46:31 +08:00
Michael (XIAO Xufeng)
feea477023
timer_group: add LL functions for WDT
2019-08-09 13:46:30 +08:00
Michael (XIAO Xufeng)
c02981a99b
timer_group: support interrupt LL and some utility functions in ISR
2019-08-09 13:46:30 +08:00
chenjianqiang
a97fe5615f
feat(timer): refator timer group driver (partly pick)
2019-08-09 13:46:29 +08:00
Michael (XIAO Xufeng)
b413a240cb
esp_attr: support force_inline
2019-08-09 13:46:28 +08:00
Angus Gratton
cb0f724e39
Merge branch 'feature/repl_suppl_crypto_by_mbedtls' into 'master'
...
wpa_supplicant: Port more crypto functions to use mbedtls
Closes WIFI-1590
See merge request espressif/esp-idf!5684
2019-08-09 12:52:03 +08:00
Renz Christian Bagaporo
4dd2b9edb1
components: fix incorrect include dir args
2019-08-09 08:40:17 +08:00
Michael (XIAO Xufeng)
e947522f38
esp_flash: improve the comments a bit
2019-08-08 23:18:01 +08:00
Michael (XIAO Xufeng)
e5704ab1a8
esp_flash: fix the set/get write protection functions
...
Add support for get write protection support, fixed the duplicated
set_write_protection link.
All the write_protection check in the top layer are removed. The lower
levels (chip) should ensure to disable write protection before the
operation start.
2019-08-08 23:18:00 +08:00
Mahavir Jain
ab6ad844b1
mbedtls: use errno
instead of SO_ERROR
for getting socket errors
...
As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html
Fixes https://github.com/espressif/esp-azure/issues/51
2019-08-08 12:17:32 +00:00
Angus Gratton
77bd32a503
Merge branch 'bugfix/libsodium_test_timeouts' into 'master'
...
test: Set timeout of libsodium ed25519_convert test to 60s
See merge request espressif/esp-idf!5552
2019-08-08 15:02:51 +08:00
Angus Gratton
c1e3e1cd9a
Merge branch 'bugfix/fix_ledc_clock_select_bug' into 'master'
...
driver(ledc): fixed ledc clock selection bug
See merge request espressif/esp-idf!3612
2019-08-08 13:56:21 +08:00
Angus Gratton
cbb45b4559
Merge branch 'bugfix/config_panic_gdbstub_build_issue' into 'master'
...
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
See merge request espressif/esp-idf!5709
2019-08-08 13:53:40 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
KonstantinKondrashov
24bd75955f
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-08-08 12:38:33 +08:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
14b8ea3b87
Merge branch 'feat/sdio_slave_efuse_default_3v3' into 'master'
...
sdio_slave: updates the document about DAT2 pin, also the version value read from CCCR registers
See merge request espressif/esp-idf!4733
2019-08-08 10:41:14 +08:00
Jiang Jiang Jian
562218d4db
Merge branch 'feature/lwip_prefer_allocate_memory_in_psram' into 'master'
...
Try to allocate some memories in SPIRAM first. If failed, try to allocate in internal RAM then
See merge request espressif/esp-idf!5695
2019-08-07 21:00:14 +08:00
Michael (XIAO Xufeng)
3fd896fe64
sdio_slave: update version read from CCCR to 2.0
2019-08-07 17:10:34 +08:00
Sagar Bijwe
80a5bd8e54
wpa_supplicant: Port more crypto functions to use mbedtls
...
Use mbedtls PBKDF2 and SHA1 for faster calculations during four-way
handshake.
Closes WIFI-1590
2019-08-07 07:23:28 +00:00
morris
1877a9fcd8
Merge branch 'feature/esp32s2beta_rtc_driver' into 'feature/esp32s2beta'
...
Feature/esp32s2beta rtc driver
See merge request espressif/esp-idf!5243
2019-08-07 14:43:17 +08:00
Mahavir Jain
5203a15439
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
...
Fixes https://github.com/espressif/esp-idf/issues/3866
2019-08-07 11:56:13 +05:30
David Cermak
f3d6a34e7d
esp_tls: enable psk verification mode, added mqtt example using psk authentication
2019-08-07 14:27:40 +10:00
fuzhibo
572084821b
add Comment for touchpad
2019-08-07 11:39:17 +08:00
Piyush Shah
c93cab858e
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-08-06 19:31:57 +05:30
kooho
2e8c85d8ff
driver(ledc): fixed ledc clock selection bug.
2019-08-06 16:11:18 +08:00
Mahavir Jain
10c3b42f71
coap: kconfig cleanup, have component specific configuration for common options
2019-08-06 10:37:40 +05:30
Mahavir Jain
852c176a40
coap: add mbedtls in depedency list for CMake build
2019-08-06 10:37:40 +05:30
Jon Shallow
1aaec808da
Add DTLS support to libcoap using MbedTLS
...
This update supports DTLS, TLS is a future TODO
components/coap/CMakeLists.txt:
components/coap/component.mk:
Add in the new files that have to be built
Replace libcoap/src/coap_notls.c with libcoap/src/coap_mbedtls.c
components/coap/libcoap:
Update the version to include the current version for supporting MbedTLS
components/coap/port/coap_debug.c:
components/coap/port/coap_mbedtls.c:
components/coap/port/include/coap/coap_dtls.h:
New port files for DTLS
components/coap/port/include/coap_config_posix.h:
Include building with MbedTLS
examples/protocols/coap_client/README.md:
examples/protocols/coap_client/main/CMakeLists.txt:
examples/protocols/coap_client/main/Kconfig.projbuild:
examples/protocols/coap_client/main/coap_client_example_main.c:
examples/protocols/coap_client/main/component.mk:
Update CoAP client to support DTLS
examples/protocols/coap_client/main/coap_ca.pem
examples/protocols/coap_client/main/coap_client.crt
examples/protocols/coap_client/main/coap_client.key
New PKI Certs for CoAP client (copied from wpa2_enterprise example)
examples/protocols/coap_server/README.md:
examples/protocols/coap_server/main/CMakeLists.txt:
examples/protocols/coap_server/main/Kconfig.projbuild:
examples/protocols/coap_server/main/coap_server_example_main.c:
examples/protocols/coap_server/main/component.mk:
Update CoAP server to support DTLS
Change "no data" to "Hello World!" to prevent confusion
examples/protocols/coap_server/main/coap_ca.pem
examples/protocols/coap_server/main/coap_server.crt
examples/protocols/coap_server/main/coap_server.key
New PKI Certs for CoAP server (copied from wpa2_enterprise example)
Closes https://github.com/espressif/esp-idf/pull/3345
Closes https://github.com/espressif/esp-idf/issues/1379
2019-08-06 10:37:40 +05:30
Angus Gratton
39f090a4f1
Merge branch 'deprecate/spi_common_claim_macros' into 'master'
...
spi_common: remove deprecated spi_common_periph_claim macros
See merge request espressif/esp-idf!5677
2019-08-06 11:16:17 +08:00
xueyunfei
40e808c63b
Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then
2019-08-06 10:23:27 +08:00
Jiang Jiang Jian
2d36e42b5f
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid' into 'master'
...
wifi: fix wifi bugs for authmode and multi ssid
Closes WIFI-558, WIFI-560, WIFI-449, WIFI-567, and WIFI-597
See merge request espressif/esp-idf!5387
2019-08-05 21:18:27 +08:00
Michael (XIAO Xufeng)
26fc858ea4
spi_common: remove deprecated spi_common_periph_claim macros
2019-08-05 09:26:47 +00:00
Roland Dobai
2211039b6d
docs: Correct and extend the documentation about VFS select()
2019-08-05 11:17:43 +02:00
Roland Dobai
91ce5db172
VFS: Support concurrent VFS select calls
...
Closes https://github.com/espressif/esp-idf/issues/3392
2019-08-05 11:17:41 +02:00
fuzhibo
fbb0687b97
1.update touch driver; 2.update adc/dac driver; 3.add temp sensor driver;
2019-08-05 16:21:18 +08:00
fuzhibo
bf79e9d70a
Driver: gpio and rtcio dirver update
2019-08-05 16:21:18 +08:00
fuzhibo
b055bff580
1.update touch driver; 2.update adc/dac driver; 3.add temp sensor driver;
2019-08-05 16:21:18 +08:00
fuzhibo
83e00cf643
Driver: gpio and rtcio dirver update
2019-08-05 16:21:18 +08:00
kooho
2139ca668d
Update I2S driver for esp32s2beta.
2019-08-05 16:05:16 +08:00
morris
60db9e1a34
Merge branch 'feature/esp32s2beta_pcnt_timer_group_driver' into 'feature/esp32s2beta'
...
Driver(LEDC,PCNT, TIMER_GROUP): Update PCNT,Timer_Group driver for esp32s2beta
See merge request espressif/esp-idf!5239
2019-08-05 15:51:27 +08:00
Angus Gratton
7ef5fa8a0a
Merge branch 'feature/transport_support_der_certs' into 'master'
...
tcp transport ssl DER-support
See merge request espressif/esp-idf!5627
2019-08-05 09:52:08 +08:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Tian Hao
a9dfae66ea
bugfix btdm sleep twice after wakeup request
...
This problem may cause HCI send command timeout.
When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.
2019-08-04 07:17:13 +00:00
KonstantinKondrashov
b3575ad012
esp32s2beta: crosscore_int simplify for esp32s2beta
...
Closes: IDF-754
2019-08-03 15:29:02 +08:00
KonstantinKondrashov
f9068a10a9
esp32s2beta: Simplify cpu_start.c remove code linked with CPU1
...
Closes: IDF-840
2019-08-03 15:06:39 +08:00
Hrudaynath Dhabe
d4091f7cda
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2019-08-02 19:18:44 +08:00
David Cermak
25dd5e39af
esp-tls: Naming variables refering to certificates and keys in a neutral way to suggest that both PEM and DER format could be used, added comments descibing important details about using these formats
2019-08-02 09:25:16 +02:00
Henning Fleddermann
546b625433
add _der variants for esp_transport_ssl_set_(client_cert|client_key|cert_data)
...
Signed-off-by: David Cermak <cermak@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3783
2019-08-02 09:25:16 +02:00
Henning Fleddermann
73624e8560
modify comments on esp_tls_cfg, to clarify that other formats besides PEM (such as DER) might be used as well depending on mbedtls-support
...
Signed-off-by: David Cermak <cermak@espressif.com>
2019-08-02 09:25:16 +02:00
zhangyanjiao
02e5266778
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-02 10:22:46 +08:00
zhangyanjiao
9f9d876799
wifi: fix wifi bugs for authmode and multi ssid
2019-08-02 10:22:20 +08:00
zhangyanjiao
017a60a69d
fix the wrong comment in esp_wifi_types.h
2019-08-01 12:24:08 +00:00
Anton Maklakov
ec94ee80f7
Fix a build issue with replacing init_spi_flash() in the host tests
2019-08-01 16:28:56 +07:00
Anton Maklakov
75c0066f93
Fix remaining -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Anton Maklakov
1beb0869e1
NimBLE: Update submodule to fix -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Michael Zimmermann
c2764f6fe8
mdns: mdns_service_remove_all doesn't take an argument
...
Merges https://github.com/espressif/esp-idf/pull/2937
2019-08-01 16:28:56 +07:00
Michael Zimmermann
d4c098f5a9
brownout: fix rtc_brownout_isr_handler signature
...
Merges https://github.com/espressif/esp-idf/pull/2937
2019-08-01 16:28:56 +07:00
Michael Zimmermann
74a459dd3d
make code conform to Wstrict-prototypes
...
Merges https://github.com/espressif/esp-idf/pull/2937
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Angus Gratton
4d97dacf56
Merge branch 'bugfix/fix_i2s_channels_swapped_issue' into 'master'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue
Closes IDFGH-1447
See merge request espressif/esp-idf!5669
2019-08-01 16:53:37 +08:00
redchenjs
ff325e84b6
Bugfix(i2s): fixed i2s left/right channels swapped issue.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
Merges https://github.com/espressif/esp-idf/pull/3717
closes https://github.com/espressif/esp-idf/issues/3399
2019-07-31 17:58:23 +08:00
kooho
f98e7bbccf
Update LEDC, PCNT,Timer_Group driver for esp32s2beta.
2019-07-31 16:03:22 +08:00
Mahavir Jain
15e0a32786
lwip: remove duplicate (and stale) changelog and version files
2019-07-30 16:49:53 +05:30
Angus Gratton
eae6f5a1d6
Merge branch 'feature/esp32s2beta_rmt_driver' into 'feature/esp32s2beta'
...
Driver(RMT): Update RMT driver for esp32s2beta
See merge request espressif/esp-idf!5227
2019-07-30 18:21:59 +08:00
Angus Gratton
aea5561941
Merge branch 'feature/esp32s2beta_update_uart_driver' into 'feature/esp32s2beta'
...
feat(uart): update uart driver for esp32s2beta
See merge request espressif/esp-idf!5257
2019-07-30 18:05:54 +08:00
Ivan Grokhotkov
16b300bd7a
Merge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'
...
docs: fix the bug in wifi doc
Closes IDFGH-1590
See merge request espressif/esp-idf!5647
2019-07-30 09:42:23 +08:00
Angus Gratton
b071fbdd81
Merge branch 'test/rtc_noinit_wdt_test' into 'master'
...
esp32: verify that RTC_NOINIT_ATTR vars are preserved after WDT reset
See merge request espressif/esp-idf!4936
2019-07-30 09:42:15 +08:00
Angus Gratton
8dbe1f024e
Merge branch 'bugfix/pthread_fixes' into 'master'
...
pthread fixes
Closes IDFGH-1437
See merge request espressif/esp-idf!5646
2019-07-30 09:41:31 +08:00
Angus Gratton
b803c7328a
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
...
Bugfix/btdm some unallocated memory
See merge request espressif/esp-idf!5629
2019-07-30 09:41:09 +08:00
Angus Gratton
d005d95119
Merge branch 'bugfix/gpio_intr_enable_bug' into 'master'
...
bugfix(GPIO): Fixed the GPIO interrupt enable bug
Closes IDFGH-495
See merge request espressif/esp-idf!5571
2019-07-30 09:35:42 +08:00
Angus Gratton
6fe853a2c7
Merge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'
...
ws_client: fix double delete issue in ws client initialization
See merge request espressif/esp-idf!5309
2019-07-29 19:25:30 +08:00
Angus Gratton
e9b77d3a69
Merge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'
...
newlib: Move _gettimeofday_r call in clock_gettime
Closes IDFGH-1525
See merge request espressif/esp-idf!5562
2019-07-29 19:25:11 +08:00
Angus Gratton
f0442e744d
Merge branch 'fix/esp_flash_compatible_with_rom' into 'master'
...
esp_flash: fix a compatibility issue working with the ROM
See merge request espressif/esp-idf!5462
2019-07-29 19:18:20 +08:00
kooho
64f81aefae
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core
closes https://github.com/espressif/esp-idf/issues/2808
closes https://github.com/espressif/esp-idf/issues/2845
2019-07-29 11:09:07 +00:00
Ivan Grokhotkov
022223f570
Merge branch 'feat/sdmmc_io_cis_parse' into 'master'
...
sdmmc_io: support to print CIS information
See merge request espressif/esp-idf!5515
2019-07-29 19:05:30 +08:00
Ivan Grokhotkov
b4e850a4b1
Merge branch 'bugfix/make_link_libc_psram' into 'master'
...
esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS
See merge request espressif/esp-idf!5643
2019-07-29 19:01:12 +08:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Prasad Alatkar
1f0d682406
NimBLE: Update submodule to fix bug in delete bond procedure
...
- Fixes bug in `get_nvs_db_attribute` related to getting correct index while
deleting bond in NVS.
- MR raised on esp-nimble branch: https://gitlab.espressif.cn:6688/espressif/esp-nimble/merge_requests/12
2019-07-29 19:00:21 +08:00
zhangyanjiao
62bb107b31
docs: fix the bug in wifi doc
2019-07-29 14:55:17 +08:00
Michael (XIAO Xufeng)
fa555e3109
esp_flash: fix a compatibility issue working with the ROM
...
The esp_flash API has a side effects: it modifies the clock control
registers, and this makes the clock inconsistent with the ROM variable
`g_rom_spiflash_dummy_len_plus`.
This commit helps the ROM to get the correct dummy cycles required by
the latest clock settings. Every device on the SPI1 bus will update the
ROM variable when it modifies the clock registers.
2019-07-29 03:00:09 +00:00
Angus Gratton
14c7f8e150
Merge branch 'bugfix/ws_transport_revert_masked_after_sending' into 'master'
...
tcp_transport: websocket layer modifies in-buffer data (for masked transports)....
See merge request espressif/esp-idf!5546
2019-07-29 11:00:05 +08:00
Angus Gratton
bfb0f83b32
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa' into 'master'
...
esp32: Dis interrupts up to 5 lvl for DPORT
Closes IDF-728
See merge request espressif/esp-idf!5344
2019-07-29 10:57:20 +08:00
Ivan Grokhotkov
e9de7b1df3
pthread: remove ESP32_ prefix from Kconfig options
...
pthread implementation is not chip-specific, so this prefix is not
needed.
2019-07-29 04:43:49 +02:00
Ivan Grokhotkov
661769527c
pthread: force linking pthread implementation from IDF
...
Force linking pthread implementation from IDF, instead of the weak
functions provided by gthread library. Previously this would either
work or not depending on the linking order.
Thanks @bpietsch for suggesting the fix.
Closes https://github.com/espressif/esp-idf/issues/3709
2019-07-29 04:43:49 +02:00
Angus Gratton
434dd2d7a1
Merge branch 'bugfix/add_flash_config_in_app_startup' into 'master'
...
bugfix(flash): add flash config in app startup
See merge request espressif/esp-idf!5459
2019-07-29 10:42:27 +08:00
Michael (XIAO Xufeng)
b98b4c3886
sdmmc_io: support to print CIS information
...
Currently only ESP slaves can be parsed correctly.
2019-07-29 10:41:17 +08:00
Ivan Grokhotkov
98c179ed47
esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS
...
xtensa-esp32-elf-gcc selects among the multilib configurations based
on the presence of -mfix-esp32-psram-cache-issue flag. Pass this flag
in LDFLAGS so that the correct libraries are linked.
Reported in https://github.com/espressif/esp-idf/issues/3624
2019-07-28 08:05:56 +02:00
Angus Gratton
c4e5c62cda
Merge branch 'bugfix/malloc_warnings_rtc' into 'master'
...
rtc: fix minor malloc issues found by static analyzer
See merge request espressif/esp-idf!5144
2019-07-27 17:27:24 +08:00
Angus Gratton
1b6010bedf
Merge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master'
...
mdns: fix ignoring mdns packet if contained an invalid name entries in question field
See merge request espressif/esp-idf!5307
2019-07-27 17:25:25 +08:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Mahavir Jain
75f64a01cd
Merge branch 'bugfix/esp_event_add_missing_include' into 'master'
...
esp_event: add missing header include
See merge request espressif/esp-idf!5630
2019-07-26 18:30:34 +08:00
Mahavir Jain
a8535767e4
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 13:58:26 +05:30
baohongde
f77a5851bb
component/bt: Fix BLE SMP free without init
2019-07-26 14:40:03 +08:00
baohongde
d1f774bc0a
component/bt: Avoid PLC to use unallocated memory
...
Closes https://github.com/espressif/esp-idf/pull/3799
2019-07-26 14:39:50 +08:00
Jiang Jiang Jian
b0456cc926
Merge branch 'bugfix/mesh_scan_done_crash' into 'master'
...
Bugfix: mesh scan done crash caused by uint8_t overflow
See merge request espressif/esp-idf!5590
2019-07-25 18:01:47 +08:00
xiehang
dd26caf779
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-24 18:03:33 +08:00
chenyudong
a7ddb03274
mesh: fix scan done crash caused by uint8_t overflow
2019-07-24 15:54:50 +08:00
Angus Gratton
3450d9e531
Merge branch 'bugfix/ethernet_apll_clock_config' into 'master'
...
fix ethernet apll clock config and other optimization
Closes IDFGH-1432, IDFGH-1503, and IDFGH-1504
See merge request espressif/esp-idf!5499
2019-07-24 11:28:10 +08:00
Jiang Jiang Jian
78aef41ef6
Merge branch 'test/check_lib_reversion' into 'master'
...
test: move wifi library check to esp32-wifi-lib ci
See merge request espressif/esp-idf!5483
2019-07-23 12:02:37 +08:00
suda-morris
018de8101f
ethernet: can build without enable esp32 emac
...
Closes https://github.com/espressif/esp-idf/issues/3770
2019-07-22 21:07:02 +08:00
Tomer Shefler
97ad2bcb86
ethernet: support giving 50mhz rmii clock with both 40mhz and 26 mhz rtc xtal
...
Merges https://github.com/espressif/esp-idf/pull/3769
Closes https://github.com/espressif/esp-idf/pull/3704
2019-07-22 21:07:02 +08:00
suda-morris
cfbf8c5d07
ethernet: task yield at the end of isr handler
2019-07-22 21:07:02 +08:00
suda-morris
af78311975
ethernet: malloc hal together with driver context
2019-07-22 21:07:02 +08:00
Angus Gratton
606c6c867c
Merge branch 'bugfix/mqtt_minor_fixes' into 'master'
...
mqtt: bugfixes: crash on disconnect if not connected, fixed static analysis warning
See merge request espressif/esp-idf!5223
2019-07-22 15:21:39 +08:00
Jiang Jiang Jian
fcb668ec9c
Merge branch 'bugfix/btdm_AVRC_command_fail_while_playing' into 'master'
...
components/bt: Fix AVRCP command will not be executed while playing music
See merge request espressif/esp-idf!5458
2019-07-22 11:45:19 +08:00
Hrishikesh Dhayagude
c75240a939
NimBLE: Give an option to configuration no of bonds and CCCD's to save through menuconfig
2019-07-19 14:34:57 +08:00
chenyudong
18df3dd5ed
test: move wifi library check to esp32-wifi-lib ci
2019-07-19 13:12:57 +08:00
chenjianqiang
e43513b610
bugfix(uart): uniform AT_CMD char configuration
2019-07-18 19:24:13 +08:00
liu zhifu
f3f08fa713
esp_wifi/supplicant: fix some supplicant bugs
...
Closes IDFGH-1455
Closes IDF-774
2019-07-18 17:36:19 +08:00
David Cermak
6289a26596
mqtt: referenced esp-mqtt master to close disconnection issues and fix static analysis warnings
...
closes https://github.com/espressif/esp-idf/issues/3619 including mqtt commit 7223302deb
closes https://github.com/espressif/esp-idf/issues/3215 including mqtt commit caf5007b99
2019-07-18 10:34:10 +02:00
David Cermak
ffca1825e6
lwip fuzzer: supplied dummy dns server entry to work with internal packet processing functionwhich is exercised in fuzzer tests, disable CTYPE as recent newlib is not compatible with AFL
2019-07-18 10:34:03 +02:00
Michael (XIAO Xufeng)
00b33a8e14
vfs_uart: refactor to have static context structure
2019-07-18 15:57:00 +08:00
chenjianqiang
91ae40e2ff
uart: multichip support
2019-07-18 15:57:00 +08:00
chenjianqiang
4cc962353c
feat(uart): update uart driver for esp32s2beta
2019-07-18 15:57:00 +08:00
Ivan Grokhotkov
d742bc85a5
gdbstub: fix CONFIG_ESP_CONSOLE_UART_NUM option name
2019-07-18 09:33:40 +02:00
chenjianqiang
d77c74770a
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-07-18 14:40:59 +08:00
Angus Gratton
e1ef0faccd
esptool: Bump to v2.7
...
https://github.com/espressif/esptool/releases/tag/v2.7
2019-07-18 15:09:17 +10:00
Ivan Grokhotkov
8cd04c80f6
efuse: set timing configuration before writing
2019-07-18 15:08:56 +10:00
zhangyanjiao
69504bd9c5
phy change for WiFi scan BLE scan watchdog
2019-07-18 11:00:18 +08:00
David Cermak
c6c6cd7179
rtc: fix minor malloc issues found by static analyzer
2019-07-17 14:45:17 +00:00
Ivan Grokhotkov
f9f13a86a7
esp32s2beta: add gdbstub support
2019-07-17 16:27:11 +02:00
Ivan Grokhotkov
7d21ece78b
gdbstub: move to a separate component, support multiple targets
2019-07-17 16:01:03 +02:00
Jiang Jiang Jian
785e711561
Merge branch 'bugfix/mesh_stop_block' into 'master'
...
mesh: fix esp_mesh_stop blocking issue
Closes WIFI-313
See merge request espressif/esp-idf!5475
2019-07-17 20:36:51 +08:00
raldone01
7982ed9a7d
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-07-17 16:52:40 +08:00
Angus Gratton
c29e353142
Merge branch 'bugfix/app_update_tests' into 'master'
...
app_update: Add [timeout=90] for UTs
See merge request espressif/esp-idf!5553
2019-07-17 16:41:06 +08:00
Jiang Jiang Jian
a544c0e4da
Merge branch 'bugfix/optimize_wifi_rx' into 'master'
...
esp_wifi: optimize wifi rx
See merge request espressif/esp-idf!5501
2019-07-17 12:40:09 +08:00
chenyudong
4dd75184e4
mesh: fix esp_mesh_stop not return
2019-07-17 11:02:21 +08:00
KonstantinKondrashov
17791d5384
app_update: Add [timeout=90]
2019-07-17 10:28:50 +08:00
Angus Gratton
4a0733c33c
test: Set timeout of libsodium ed25519_convert test to 60s
...
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-17 12:24:29 +10:00
Jiang Jiang Jian
eab3edf3d4
Merge branch 'fix_bug_for_ipv6_example' into 'master'
...
Modify IPv6 functionality compatible with lwip2.1.2
See merge request espressif/esp-idf!5495
2019-07-17 00:09:17 +08:00
liu zhifu
45dd6175cd
esp_wifi: optimize wifi rx
2019-07-16 17:59:04 +08:00
Jiang Jiang Jian
d7e659df27
Merge branch 'bugfix/fix_wifi_stop_bug' into 'master'
...
esp_wifi: fix wifi stop
See merge request espressif/esp-idf!5479
2019-07-16 17:55:19 +08:00
baohongde
f048be924c
components/bt: Fix AVRCP command will not be executed while playing music
2019-07-16 08:50:36 +00:00
xueyunfei
f29ff2c552
Modify IPv6 functionality compatible with lwip2.1.2
2019-07-16 16:22:11 +08:00
David Cermak
8fc02e860a
tcp_tansport: websocket layer modifies in-buffer data (for masked transports). This fix reverts the data back to original rather then making a copy.
...
Closes https://github.com/espressif/esp-idf/issues/3774
2019-07-16 09:47:18 +02:00
Angus Gratton
596209de69
Merge branch 'feature/update_mbedtls_config_approach' into 'master'
...
Modify esp_config include approach
See merge request espressif/esp-idf!5382
2019-07-16 15:32:03 +08:00
liu zhifu
b7d6aa74dd
esp_wifi: fix WiFi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-16 14:09:47 +08:00
Konstantin Kondrashov
69a313b6ae
esp32: Add UTs for DPORT and Hi-interrupt
2019-07-16 05:54:45 +00:00
Konstantin Kondrashov
632b016028
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-07-16 05:54:45 +00:00
Angus Gratton
a6b39f0c64
Merge branch 'bugfix/wifi_prov_mgr_event_end_missing' into 'master'
...
Bugfix wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events
See merge request espressif/esp-idf!5522
2019-07-16 13:53:08 +08:00
David Cermak
9b507c45c8
ws_client: fix double delete issue in ws client initialization
2019-07-15 13:15:07 +02:00
KonstantinKondrashov
ffaee97e81
soc/esp32s2beta: Exclude DPORT check
2019-07-15 06:51:03 +00:00
KonstantinKondrashov
d4ca0e186d
esp32s2beta: dport_access simplify
...
Closes: IDF-755
2019-07-15 06:51:03 +00:00
liu zhifu
034440b85d
esp_wifi: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-15 12:44:03 +08:00
Jiang Jiang Jian
fdab15dc76
Merge branch 'bugfix/modify_wifi_country_struct' into 'master'
...
esp32: make wifi_country_t in idf consistent with VNC
See merge request espressif/esp-idf!5463
2019-07-15 12:41:59 +08:00
Angus Gratton
bd0a5d4c8b
Merge branch 'feature/esptool_py_use_component_properties' into 'master'
...
esptool_py: use component property to simplify arg file generation
See merge request espressif/esp-idf!5312
2019-07-15 10:52:15 +08:00
Jiang Jiang Jian
5588b22796
Merge branch 'bugfix/fix_wps_memory_leak' into 'master'
...
WPS: fix wps memory leak
Closes WIFI-630 and WIFI-644
See merge request espressif/esp-idf!5314
2019-07-14 17:19:16 +08:00
xiehang
8f2d13d9db
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
...
1, Modfy wifi_country struct
2, Add md5 check esp_wifi_types.h
3, Add md5 check esp_wifi.h
2019-07-14 15:10:11 +08:00
Anurag Kar
0e07b85d2f
wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events
2019-07-13 15:48:23 +05:30
zhangyanjiao
d1bf08d4ad
coexist: fix the watchdog bug during WiFi scan and BLE scan
2019-07-12 20:23:59 +08:00
hemal.gujarathi
1dec976fba
Update esp_config and add new feature
...
Closes https://github.com/espressif/esp-idf/issues/3372
2019-07-12 11:42:48 +05:30
Angus Gratton
0114af25da
Merge branch 'feature/vfs_pread' into 'master'
...
VFS: Implement pread() and pwrite()
Closes IDFGH-1211
See merge request espressif/esp-idf!5422
2019-07-11 19:33:33 +08:00
houwenxiang
6a8fe5cf79
Update RMT driver for esp32s2beta
2019-07-11 19:15:05 +08:00
xiehang
6c865a84ff
1, Fix wps memory leak.
...
2, Add a queue to save wps rx eapol frame.
3, Add data lock protect wpa2_sig_cnt.
4, Add a queue to save wpa2 rx rapol frame.
2019-07-11 08:57:31 +00:00
Angus Gratton
577d2c5e2b
Merge branch 'bugfix/parttool_baud' into 'master'
...
partition_table: Add baud option to parttool and otatool
Closes IDFGH-1483
See merge request espressif/esp-idf!5494
2019-07-11 14:53:54 +08:00
Roland Dobai
41062bea99
VFS: Implement pread() and pwrite()
...
Closes https://github.com/espressif/esp-idf/issues/3515
2019-07-11 06:20:21 +00:00
Jiang Jiang Jian
9b5a3ca9fc
Merge branch 'feature/cleanup_fast_crypto_files' into 'master'
...
wpa_supplicant: Cleanup fast_xxx modules that use duplicate code
See merge request espressif/esp-idf!5190
2019-07-11 10:26:45 +08:00
Roland Dobai
3552ca4d6a
app_update: Add the baud option into otatool
2019-07-10 15:09:46 +02:00
Roland Dobai
3f47269211
app_update: Fix argument of ParttoolTarget
2019-07-10 15:09:46 +02:00
Søren Christian Madsen
aa0c5f03be
Add --baud option to parttool
...
Closes https://github.com/espressif/esp-idf/pull/3753
2019-07-10 15:09:46 +02:00
Nachiket Kukade
900df44546
wpa_supplicant: Cleanup fast_xxx modules that use duplicate code
...
wpa_supplicant is using MbedTLS API's for crypto algorithms. For
calling them a duplicate set of modules is maintained prepended
with 'fast_'. Remove these and use flag USE_MBEDTLS_CRYPTO
instead to separate modules calling MbedTLS API's from native
implementation.
2019-07-10 14:53:20 +05:30
Jiang Jiang Jian
fbc8e35577
Merge branch 'bugfix/btdm_compile_error_with_new_toolchain' into 'master'
...
components/bt: Fix compile error with new toolchain
See merge request espressif/esp-idf!5444
2019-07-10 15:28:49 +08:00
chenjianqiang
667113cf94
feat(i2c): update i2c driver for esp32s2beta
2019-07-10 11:41:36 +08:00
Angus Gratton
058ef98c33
Merge branch 'feature/cmake_default_build_system' into 'master'
...
cmake: Make CMake the default build system
Closes IDF-198 and IDF-325
See merge request espressif/esp-idf!5328
2019-07-10 08:16:39 +08:00
Angus Gratton
409181361f
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode' into 'master'
...
bugfix(flash): fix flash read error in DIO/26MHz mode
See merge request espressif/esp-idf!5381
2019-07-10 08:13:35 +08:00
Jiang Jiang Jian
c8f5f47d5d
Merge branch 'bugfix/fix_uart_wait_done_bug' into 'master'
...
Driver(UART): Fixed two UART issues
Closes IDFGH-1348
See merge request espressif/esp-idf!5340
2019-07-09 18:39:02 +08:00
baohongde
f8c107fbe3
components/bt: Fix compile error with new toolchain
...
Closes https://github.com/espressif/esp-idf/issues/3331
Closes https://github.com/espressif/esp-idf/issues/3734
2019-07-09 17:50:43 +08:00
Jiang Jiang Jian
ce9600ec81
Merge branch 'docs/rename_partition_addr_param_pr3750' into 'master'
...
esp_partition_erase_range(): rename parameter "start_addr" to "offset"
See merge request espressif/esp-idf!5469
2019-07-09 12:18:38 +08:00
Mahavir Jain
74140b0cfb
Merge branch 'feature/cmake_proto_build' into 'master'
...
cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files
Closes IDF-725
See merge request espressif/esp-idf!5442
2019-07-08 19:13:32 +08:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Martin Thierer
d6c2dad101
esp_partition_erase_range(): rename parameter "start_addr" to "offset"
...
The name "start_addr" (which goes straight into the docs) implies
it's an absolute address while in fact it's an offset into the
partition like what's used in all the other esp_partition_*
functions.
So in order to avoid confusion make the name consistent with the
parameter names used for the other partition functions and call it
"offset".
Merges https://github.com/espressif/esp-idf/pull/3750
2019-07-08 17:29:05 +10:00
Angus Gratton
f6ad7f564d
Merge branch 'bugfix/otadata_operations_do_not_use_esptool_configs' into 'master'
...
Fix Make otadata operations do not use esptool configs
Closes IDFGH-686
See merge request espressif/esp-idf!4636
2019-07-08 15:19:30 +08:00
Angus Gratton
c25fe765a9
Merge branch 'feature/esp_http_client_tx_buf_size' into 'master'
...
esp_http_client: separate buffer_size config option for transmit
See merge request espressif/esp-idf!5337
2019-07-08 15:15:14 +08:00
kooho
09a63cca51
bugfix(UART): fixed two UART issues:
...
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled
closes https://github.com/espressif/esp-idf/issues/3631
2019-07-08 12:27:14 +08:00
Jiang Jiang Jian
0f50af0a12
Merge branch 'bugfix/supplicant_security_fixes' into 'master'
...
wpa_supplicant: Fix sprintf security bugs.
Closes WIFI-624
See merge request espressif/esp-idf!5295
2019-07-08 11:13:20 +08:00
Jiang Jiang Jian
1587770cbb
Merge branch 'bugfix/improve_spi_timing_for_flash' into 'master'
...
bugfix(flash): improve spi cs timing settings for flash
See merge request espressif/esp-idf!4964
2019-07-08 11:11:03 +08:00
chenjianqiang
266baa8839
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-08 01:50:07 +00:00
Angus Gratton
1935a5a93c
Merge branch 'bugfix/gcov_example_report_cmake_target' into 'master'
...
gcov_example: Adds cmake target to generate report
Closes IDF-727
See merge request espressif/esp-idf!5403
2019-07-08 09:30:11 +08:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Angus Gratton
d67b9403e8
Merge branch 'feature/tcp_transport_pass_errors_stage1' into 'master'
...
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
See merge request espressif/esp-idf!4782
2019-07-08 08:51:29 +08:00
Mahavir Jain
0a65cf73fa
Merge branch 'feature/prov_mgr_event_loop' into 'master'
...
Wi-Fi Provisioning : Add support for esp_event
See merge request espressif/esp-idf!4857
2019-07-07 13:40:18 +08:00
xueyunfei
fa02598b5c
lwip_2.1.2 for idf_4.0
2019-07-07 01:51:45 +00:00
Jiang Jiang Jian
138c941fad
Merge branch 'mesh/use_event_library' into 'master'
...
Mesh/use event library
See merge request espressif/esp-idf!4800
2019-07-06 21:55:21 +08:00
Sagar Bijwe
ae46f04997
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-06 04:22:53 +00:00
chenjianqiang
d6c40c7c1d
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-05 21:21:17 +08:00
qiyuexia
a272e7204d
mesh: use new event library
2019-07-05 21:14:30 +08:00
Jiang Jiang Jian
783ddd1e05
Merge branch 'cleanup/remove_redundant_tags_file' into 'master'
...
wpa_supplicant: Remove tags file which was added by mistake
See merge request espressif/esp-idf!5457
2019-07-05 21:11:41 +08:00
Oleg Antonyan
bd4591b053
esp_http_client: separate buffer_size config option for transmit
...
Merges https://github.com/espressif/esp-idf/pull/3528
Signed-off-by: Jitin George <jitin@espressif.com>
2019-07-05 13:04:35 +00:00
Jiang Jiang Jian
27628ef133
Merge branch 'doc/add_ble_mesh_doxyfile' into 'master'
...
ble_mesh: add Doxyfile for core apis & model apis
See merge request espressif/esp-idf!5401
2019-07-05 20:55:39 +08:00
Anurag Kar
98cf38ca9c
cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files
2019-07-05 18:20:15 +05:30
Jiang Jiang Jian
c849f7bfb6
Merge branch 'mesh/bugfix_0628_master' into 'master'
...
mesh: bugfix
Closes WIFI-628, WIFI-638, WIFI-635, WIFI-582, WIFI-130, WIFI-622, WIFI-579, WIFI-428, and WIFI-451
See merge request espressif/esp-idf!5437
2019-07-05 20:48:03 +08:00
Alexey Gerenkov
2926cd09a2
gcov_example: Adds cmake target to generate report
...
Closes IDF-727
2019-07-05 12:44:35 +00:00
Jiang Jiang Jian
534062dd3b
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex' into 'master'
...
component/bt: fix rxwinsz assert in ble and wifi coex
See merge request espressif/esp-idf!5434
2019-07-05 20:27:33 +08:00
Nachiket Kukade
773ddcf0ff
wpa_supplicant: Remove tags file which was added by mistake
...
Merge request idf/esp-idf!5219 added a ctags 'tags' file to
the repository by mistake. Remove it.
2019-07-05 14:23:21 +05:30
Anurag Kar
703e98eb98
wifi_prov_mgr : Updated the set of WIFI_REASON_ codes used for setting WIFI_PROV_STA_AUTH_ERROR
2019-07-05 08:41:27 +00:00
Anurag Kar
9f1033862d
wifi_prov_mgr : Free memory allocated by cJSON_Print
2019-07-05 08:41:27 +00:00
Anurag Kar
69ade757e2
Wi-Fi Provisioning : Manager now uses esp_event to catch system events and emit provisioning events to the default event loop
...
List of changes:
* Deprecated public API wifi_prov_mgr_event_handler() and added private function wifi_prov_mgr_event_handler_internal(), registered with the default event loop for catching WIFI and IP system events
2019-07-05 08:41:27 +00:00
Angus Gratton
d64d97743f
Merge branch 'bugfix/efuse_secure_version_emulate' into 'master'
...
efuse: Fix mode EFUSE_SECURE_VERSION_EMULATE
See merge request espressif/esp-idf!5446
2019-07-05 16:05:26 +08:00
Angus Gratton
c24c5cf164
Merge branch 'feature/gdbstub_multi_target' into 'master'
...
gdbstub multi-target support
Closes IDF-466
See merge request espressif/esp-idf!5246
2019-07-05 14:33:54 +08:00
qiyuexia
c516819ba6
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-05 13:17:43 +08:00
Angus Gratton
7ef42f2596
Merge branch 'fix/nvs_util_key_len' into 'master'
...
nvs_util: Add check for key len in input csv file
See merge request espressif/esp-idf!5392
2019-07-05 10:34:55 +08:00
Renz Christian Bagaporo
94e0569c2b
make, cmake: pass config esptool args for otatool invocation
...
Closes https://github.com/espressif/esp-idf/issues/3135
2019-07-05 02:26:00 +00:00
Renz Christian Bagaporo
2360d882d9
parttool, otatool: accept esptool args
2019-07-05 02:26:00 +00:00
Shivani Tipnis
cc75721f9c
mfg_util: Optimise by adding subparser changes w.r.t similar changes in nvs util changes
2019-07-05 01:13:27 +00:00
Shivani Tipnis
84b2fa4c1c
nvs_util: Add check for key len in input csv file
...
Closes https://github.com/espressif/esp-idf/issues/3113
2019-07-05 01:12:41 +00:00
Angus Gratton
30819a8151
Merge branch 'bugfix/tcp_transport_use_without_list' into 'master'
...
tcp transport: fix minor memory leak when ssl transport used separately
See merge request espressif/esp-idf!5206
2019-07-05 09:11:10 +08:00
David Cermak
d1433564ec
ws_client: removed dependency on internal tcp_transport header
2019-07-04 20:55:10 +02:00
David Cermak
a001eb39bf
http_client: disconnect event to read last occurred error in esp-tls
2019-07-04 20:55:10 +02:00
David Cermak
587739391c
esp-tls: extending error handle to contain error descriptors with last mbedtls failure and latest certificate verification result flags, reworked tcp_transport to use this error handle
2019-07-04 20:55:10 +02:00
David Cermak
2972f96982
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
2019-07-04 20:55:10 +02:00
KonstantinKondrashov
09ee721932
efuse: Fix mode EFUSE_SECURE_VERSION_EMULATE
2019-07-04 13:34:35 +00:00
Ivan Grokhotkov
8bed3a3dd2
Merge branch 'feature/support_spi_ethernet' into 'master'
...
ethernet: support dm9051
Closes IDFGH-1443 and IDFGH-1439
See merge request espressif/esp-idf!5345
2019-07-04 21:30:52 +08:00
Jiang Jiang Jian
f4f59964a3
Merge branch 'feature/wifi_refactor_smartconfig_to_esp_event' into 'master'
...
esp_wifi: refactor smartconfig callback to use esp event
Closes IDF-268
See merge request espressif/esp-idf!4806
2019-07-04 21:16:57 +08:00
zhiweijian
6029ef1b58
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 19:44:59 +08:00
suda-morris
cb42c29252
ethernet: support dm9051
...
1. move resource allocation from xxx_init to xxx_new
2. fix enabling tx checksum insertion by mistake
3. iperf example: enlarge max arguments
4. add examples for spi-ethernet
Closes https://github.com/espressif/esp-idf/issues/3715
Closes https://github.com/espressif/esp-idf/issues/3711
2019-07-04 19:38:13 +08:00
Jiang Jiang Jian
a831fe596b
Merge branch 'bugfix/btdm_conn_fail_with_some_speaker' into 'master'
...
components/bt: Fix connect fail with some speakers
See merge request espressif/esp-idf!5358
2019-07-04 19:23:19 +08:00
XiaXiaotian
29d1d2bd38
esp_wifi: refactor smartconfig callback to use esp event
2019-07-04 18:00:04 +08:00
Max Holtzberg
edbcb5b295
esp_transport_destroy: Fix memory leak
...
if tcp_transport component was used separately (e.g. using tranpsort_ssl.h directly without building list of transport) then it leaks memory on unitialization
Merges https://github.com/espressif/esp-idf/pull/3541
Closes https://github.com/espressif/esp-idf/issues/3531
Signed-off-by: David Cermak <cermak@espressif.com>
2019-07-04 11:07:41 +02:00
David Cermak
412dc95168
tcp_transport: added basic unit tests for init/destroy transports in lists or when used separately
2019-07-04 11:07:41 +02:00
Ivan Grokhotkov
b293518ec7
Merge branch 'feature/optimize_ci_config_file' into 'master'
...
CI: use features from latest Gitlab in CI config file
See merge request idf/esp-idf!4896
2019-07-04 10:56:45 +08:00
Mahavir Jain
28f1cdf5ed
Merge branch 'feature/local_ctrl_no_sec' into 'master'
...
ESP Local Ctrl Feature Added
See merge request idf/esp-idf!5348
2019-07-04 00:45:29 +08:00
Anurag Kar
b75f8b1b20
ESP Local Control Feature Added
...
List of changes:
* New component esp_local_ctrl added
* Example added under examples/protocols/esp_local_ctrl
* Documentation added under protocols/esp_local_ctrl
* Demo client side app esp_local_ctrl.py added under examples/protocols/esp_local_ctrl/scripts
* protocomm_ble : protocomm_ble_config_t given struct name for allowing forward declaration
* esp_prov/transport_softap renamed to transport_http
* transport_http module supports verification of server certificate
* transport_http module performs name resolution before connection
2019-07-03 21:31:04 +05:30
lly
ff40911a51
ble_mesh: add Doxyfile for core apis & model apis
2019-07-03 17:58:09 +08:00
Angus Gratton
c5c853a8ca
Merge branch 'bugfix/vfs_kconfig' into 'master'
...
VFS: Fix Kconfig prefix
See merge request idf/esp-idf!5431
2019-07-03 17:21:33 +08:00
Hrishikesh Dhayagude
daa71d5e18
Fix the irrelevant characters added to test the config options
2019-07-03 17:17:14 +08:00
He Yin Ling
81dd9d4e27
CI: use parallel attribute in CI config file
2019-07-03 16:53:34 +08:00
Hrishikesh Dhayagude
46a268dc78
Correct UUID value for ESP_GATT_UUID_ENVIRONMENTAL_SENSING_SVC
2019-07-03 16:49:30 +08:00
Krzysztof Budzynski
916df0df14
Merge branch 'bugfix/from_github' into 'master'
...
docs: PRs from GitHub containing documentation bug fixes and corrections
See merge request idf/esp-idf!5367
2019-07-03 16:26:55 +08:00
baohongde
60a3f3e09d
components/bt: Fix Wrong bt lib from commit "Bluetooth component refactoring"
2019-07-03 04:44:04 +00:00
Angus Gratton
3ff01d60a4
Merge branch 'fix/sdio_slave_reset_infloop_leak' into 'master'
...
sdio_slave: fix the send_flush infinite loop issue
See merge request idf/esp-idf!5365
2019-07-03 08:36:26 +08:00
Roland Dobai
43eb58da99
VFS: Fix Kconfig prefix
2019-07-02 17:17:18 +02:00
boarchuz
b0168310db
Typo correction
...
Merges https://github.com/espressif/esp-idf/pull/3604
2019-07-02 17:49:49 +08:00
Ivan Grokhotkov
66e0b2f9df
gdbstub: move to a separate component, support multiple targets
2019-07-02 11:06:25 +02:00
Ivan Grokhotkov
c730c9e397
nvs: minor host test fixes
...
Fixes the tests to pass when some files already exist.
Fixes clean target.
Moves CONFIG_NVS_ENCRYPTION definition into sdkconfig.h.
2019-07-02 10:26:06 +02:00
Ivan Grokhotkov
1c17558e6e
spi_flash: use same argument types in .h and .c files
...
Fixes compilations on targets where size_t != uint32_t
2019-07-02 10:26:06 +02:00
Ivan Grokhotkov
ec427a5b43
spi_flash: support for partitions in external flash
2019-07-02 10:26:06 +02:00
Ivan Grokhotkov
ebcb08ec89
host tests: correct definition of CONFIG_SPI_FLASH_USE_LEGACY_IMPL
2019-07-02 10:10:49 +02:00
Ivan Grokhotkov
240192f9fa
Merge branch 'bugfix/sec_boot_ota_fail' into 'master'
...
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
See merge request idf/esp-idf!5263
2019-07-02 14:44:36 +08:00
Prasad Alatkar
388b350f0d
NimBLE-provisioning: Add NimBLE support to unified provisioning framework
...
- Adds NimBLE stack support to existing BLE variant of unified provisioning.
- Uses scan response to send device name, 128 bit custom UUIDs based on service
UUID.
- Minimal changes to `app_prov.c`, component.mk, CMakeLists.txt and
`protocomm_ble.h` to accomodate NimBLE stack for provisioning.
2019-07-02 14:20:10 +08:00
Jiang Jiang Jian
e6623c4a7b
Merge branch 'bugfix/esp_timer_delete_from_cb' into 'master'
...
esp_timer: handle esp_timer_delete in timer task
Closes IDFGH-1143
See merge request idf/esp-idf!5037
2019-07-02 14:16:26 +08:00
Prasad Alatkar
396258380a
NimBLE: update nimble submodule
...
- Update submodule to fix https://jira.espressif.com:8443/browse/BT-192 .
- Upstream PR: https://github.com/apache/mynewt-nimble/pull/427
2019-07-02 11:26:24 +08:00
Angus Gratton
55b823cd13
Merge branch 'feature/ringbuffer_support_allocate_memory' into 'master'
...
ringbuffer: support allocate memory in the ringbuffer before actually send
See merge request idf/esp-idf!5252
2019-07-02 08:41:26 +08:00
Ivan Grokhotkov
18bea96bf5
esp32: verify that RTC_NOINIT_ATTR vars are preserved after WDT reset
...
Related to https://github.com/espressif/esp-idf/issues/2973
2019-07-01 20:55:10 +00:00
Ivan Grokhotkov
16014079f9
Merge branch 'bugfix/add_extern_c_for_sntp' into 'master'
...
lwip/sntp: Added extern "C"
See merge request idf/esp-idf!5398
2019-07-02 04:45:30 +08:00
Vikram Dattu
4b42f535ed
Add mmu pages available check in non-secure image hash check path.
...
Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-01 20:04:15 +00:00
Vikram Dattu
da77dcb0be
Changed log level for spi_master
...
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-01 20:04:15 +00:00
Vikram Dattu
eb99b27f2e
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
...
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://gitlab.espressif.cn:6688/idf/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://gitlab.espressif.cn:6688/idf/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L372
Closes https://jira.espressif.com:8443/browse/IDF-709
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-01 20:04:15 +00:00
Michael (XIAO Xufeng)
687908b1e9
ringbuffer: support to allocate memory on the ringbuffer before send
2019-07-01 11:41:50 +08:00
Michael (XIAO Xufeng)
c5150d16b2
ringbuffer: seperate acquire from send
2019-07-01 11:40:45 +08:00
Jiang Jiang Jian
70474ae844
Merge branch 'feature/btdm_avrcp_volume' into 'master'
...
components/bt: Add AVRCP feature about volume
See merge request idf/esp-idf!5209
2019-06-30 16:40:10 +08:00
Hrishikesh Dhayagude
21165edf41
Bluetooth component refactoring
2019-06-30 16:39:00 +08:00
baohongde
30d7002731
components/bt: Add AVRCP feature about volume
2019-06-30 03:46:15 +00:00
Jiang Jiang Jian
e2b88207b4
Merge branch 'feature/esp32s2beta_wifi' into 'feature/esp32s2beta'
...
run WiFi on ESP32SBETA
See merge request idf/esp-idf!5293
2019-06-30 00:40:34 +08:00
Deng Xin
c139683024
supplicant/esp_wifi: move supplicant to idf
...
Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces
2019-06-29 22:46:52 +08:00
Renz Christian Bagaporo
4848dfa710
esptool_py: use component property to simplify arg file generation
...
esptool_py used to create its own custom target to attach properties to.
This commit uses component properties instead, and the APIs used to set
and retrieve those properties in order to simplify generation of
argument files to esptool.py.
2019-06-28 18:14:25 +08:00
Angus Gratton
265d7dc4e5
Merge branch 'bugfix/fix_secure_boot_support' into 'master'
...
Fixes to secure boot support in CMake
See merge request idf/esp-idf!4977
2019-06-28 15:38:59 +08:00
Kerry Jones
28d79e242f
lwip/sntp: Added extern "C"
...
so that sntp_set_time_sync_notification_cb can be used from c++
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3700
2019-06-28 14:51:28 +08:00
Angus Gratton
d96379ba0f
Merge branch 'feature/nvs_util_decryption' into 'master'
...
nvs_util: Add NVS decryption feature + Optimisations
See merge request idf/esp-idf!5003
2019-06-28 13:07:24 +08:00
Xia Xiaotian
99ef587a05
run WiFi on ESP32SBETA
2019-06-28 11:34:49 +08:00
Jiang Jiang Jian
936720d3ef
Merge branch 'feature/add_limitation_for_max_tx_power' into 'master'
...
esp_wifi: add limitation for setting maximum WiFi TX power
See merge request idf/esp-idf!5331
2019-06-28 11:18:11 +08:00
Renz Christian Bagaporo
3ae69484fe
esptool_py: do not generate flasher arg files on bootloader build
2019-06-28 10:54:21 +08:00
Renz Christian Bagaporo
9edc867c62
bootloader: fix secure boot issues
...
Do not include bootloader in flash target when secure boot is enabled.
Emit signing warning on all cases where signed apps are enabled (secure
boot and signed images)
Follow convention of capital letters for SECURE_BOOT_SIGNING_KEY variable, since it is
relevant to other components, not just bootloader.
Pass signing key and verification key via config, not requiring
bootloader to know parent app dir.
Misc. variables name corrections
2019-06-28 10:54:21 +08:00
Renz Christian Bagaporo
179259f195
components: restore dependency of extra bins on flash target
2019-06-28 10:50:52 +08:00
Renz Christian Bagaporo
f332e0c1d6
partition_table: move establishing dependencies to respective components
...
partition_table: move establishing dependencies to respective components
2019-06-28 10:50:52 +08:00
Renz Christian Bagaporo
6a18eaeaf5
esptool_py: fix issue with variable for esptool args
...
elf2image-only arguments are being added to esptool args meant for
flashing
2019-06-28 10:50:52 +08:00
Renz Christian Bagaporo
2adf313838
bootloader_support: move embedding key after component registration
...
Bootloader build requires verification key to be embedded in the binary.
Under specific configs, this key is generated during build time from the
signing key. Move the key generation to after the component
registration, since non scriptable commands are used in the process
(during early expansion)
2019-06-28 10:50:52 +08:00
Ivan Grokhotkov
13d9c483b3
Merge branch 'bugfix/i2s_apll_clock_fix' into 'master'
...
driver/i2s: fix apll_clock_rate for different sample rates
See merge request idf/esp-idf!5159
2019-06-28 03:49:11 +08:00
Ivan Grokhotkov
d7d91225d3
Merge branch 'feature/refactor_etherent_driver' into 'master'
...
add esp_eth component
Closes IDF-324, IDF-637, and IDFGH-1139
See merge request idf/esp-idf!5111
2019-06-28 03:44:44 +08:00
Angus Gratton
131978d707
Merge branch 'feature/esp_flash_init_functions' into 'master'
...
esp_flash: add initialization interface for SPI devices
See merge request idf/esp-idf!5306
2019-06-27 20:59:44 +08:00
Ivan Grokhotkov
1352ada4e0
Merge branch 'bugfix/bootloader_header_cxx_guards' into 'master'
...
bootloader_support: Add C++ header guards
See merge request idf/esp-idf!5349
2019-06-27 19:31:56 +08:00
liu zhifu
5d855fcdef
esp_wifi: add limitation for setting maximum WiFi TX power
...
Limit the WiFi TX power range to 10dBm ~ 20.5 dBm
2019-06-27 17:28:59 +08:00
Mahavir Jain
5a12be5162
Merge branch 'bugfix/pc_ble_prep_buf_memcpy' into 'master'
...
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
Closes IDFGH-1350
See merge request idf/esp-idf!5284
2019-06-27 16:48:11 +08:00
Jiang Jiang Jian
45364fe54e
Merge branch 'bugfix/btdm_fail_to_config_url_in_eir' into 'master'
...
components/bt: Fix fail to config URL in EIR
See merge request idf/esp-idf!5352
2019-06-27 14:27:35 +08:00
Shivani Tipnis
3636e75792
nvs_util: Add NVS decryption feature
2019-06-27 11:51:58 +05:30
Michael (XIAO Xufeng)
d6bd24ca67
esp_flash: add initialization interface for SPI devices
2019-06-27 13:27:27 +08:00
Michael (XIAO Xufeng)
65c0d354e4
spi_common: add interface to get whether the bus is on IOMUX
2019-06-27 13:27:27 +08:00
Michael (XIAO Xufeng)
b76ab9142d
spi_common: deprecate some public APIs
2019-06-27 13:27:26 +08:00
Michael (XIAO Xufeng)
28b2e113ca
spi_master: move the spi_bus_init function into common header
2019-06-27 13:27:26 +08:00
Michael (XIAO Xufeng)
9805902482
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-06-27 13:24:22 +08:00
Angus Gratton
e6d229d301
Merge branch 'feature/ringbuffer_static_allocation' into 'master'
...
Ringbuffers: Add static allocation, refactor, and update API reference
Closes IDFGH-639 and IDFGH-902
See merge request idf/esp-idf!4426
2019-06-27 13:20:01 +08:00
Angus Gratton
80abb531b5
Merge branch 'feature/remove_mbedtls_cmake_workarounds' into 'master'
...
mbedtls: remove component CMake file workarounds
Closes #78
See merge request idf/esp-idf!5341
2019-06-27 13:19:42 +08:00
Angus Gratton
5d0eb95130
Merge branch 'bugfix/cmake_esptool_args_path' into 'master'
...
esptool+cmake: Fix path generation for args.in2 file
Closes IDFGH-1409
See merge request idf/esp-idf!5353
2019-06-27 13:12:26 +08:00
Angus Gratton
83ba2e082c
esptool+cmake: Fix path generation for args.in2 file
...
Path was accidentally generated as build/<absolute path to input file> which creates unexpected path structure on Linux/macOS and breaks Windows (as can't have a directory named "C:".
Regression in e8582e9aa4
Closes https://github.com/espressif/esp-idf/issues/3687
Closes IDFGH-1409
2019-06-27 14:19:03 +10:00
Hrishikesh Dhayagude
917589e784
Fix typo from the commit "Reduce the size of DRAM"
2019-06-27 10:48:47 +08:00
Jiang Jiang Jian
4fc411e744
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error' into 'master'
...
component/bt: fix hci enhance connection complete event unpack error
See merge request idf/esp-idf!4889
2019-06-26 16:45:39 +08:00
Michael (XIAO Xufeng)
1c69db44c9
Merge branch 'feature/support_spi_driver_esp32s2beta' into 'feature/esp32s2beta'
...
spi: support new chip esp32s2beta
See merge request idf/esp-idf!5224
2019-06-26 16:45:02 +08:00
Renz Christian Bagaporo
0872efa4ef
mbedtls: remove component CMake file workarounds
2019-06-26 08:41:02 +00:00
Darian Leung
8a597b865f
esp_ringbuf: Add static allocation, refactor, and update API reference
...
This commit updates does the following:
- xRingbufferCreateStatic() added to allow ringbuffers via to be statically
allocated. Docs and unit tests update accordingly. Closes #3064
- Fix doc typos, closes #3248 . Updated API reference regarding to mention
item size limits of no-split buffers when calling
xRingbufferGetCurFreeSize() or xRingbufferGetMaxItemSize(), closes #3117 .
- Remove the following deprecated types/functions for v4.0
- xRingbufferIsNextItemWrapped()
- xRingbufferAddToQueueSetWrite()
- xRingbufferRemoveFromQueueSetWrite()
2019-06-26 16:04:38 +08:00
Jiang Jiang Jian
291e25baa6
Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
...
Component/bt: add readme doc for BLE demos
See merge request idf/esp-idf!4890
2019-06-26 16:04:28 +08:00
Angus Gratton
8dc8dd5689
Merge branch 'feature/sntp_update_delay' into 'master'
...
sntp/l_ip: Add SNTP_UPDATE_DELAY option in Kconfig
Closes IDFGH-337
See merge request idf/esp-idf!5271
2019-06-26 15:54:25 +08:00
Angus Gratton
22ed1ec43a
Merge branch 'feature/fatfs_r013cp4' into 'master'
...
FatFS: update to R0.13c patch 4
Closes IDF-698, IDFGH-1012, and IDFGH-1017
See merge request idf/esp-idf!5297
2019-06-26 15:15:41 +08:00
Mahavir Jain
ad62b2b8c0
Merge branch 'feature/prov_wifi_scan_list' into 'master'
...
Wi-Fi Provisioning : Feature Wi-Fi Scan List
See merge request idf/esp-idf!4855
2019-06-26 14:53:04 +08:00
baohongde
84e9e243d0
components/bt: Fix connect fail with some speakers
2019-06-26 14:50:13 +08:00
Jiang Jiang Jian
1a34d65e4c
Merge branch 'bugfix/btdm_intr_wdt_after_controller_disable_then_enable' into 'master'
...
bugfix/btdm_intr_wdt_after_controller_disable_then_enable
See merge request idf/esp-idf!5301
2019-06-26 14:05:48 +08:00
Anurag Kar
9c0ee28670
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
...
List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint
List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
* get_version() : only returns the protocol version string
* has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present
Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan
2019-06-26 05:24:20 +00:00
baohongde
79ba509384
components/bt: Fix fail to config URL in EIR
2019-06-26 11:58:41 +08:00
suda-morris
90c4827bd2
add esp_eth component
2019-06-26 10:19:23 +08:00
Angus Gratton
c8570ffa6d
bootloader_support: Add C++ header guards
...
As reported on forum https://esp32.com/viewtopic.php?f=13&t=11173&p=45470
2019-06-26 11:26:56 +10:00
Angus Gratton
2c26eb2213
Merge branch 'feature/flash_encryption' into 'master'
...
Change flash encryption workflow to development / release
See merge request idf/esp-idf!4125
2019-06-26 09:04:03 +08:00
Angus Gratton
ba94bbf1f8
Merge branch 'bugfix/esp_https_ota_heap_failure' into 'master'
...
HTTPS OTA: Removed unnecessary free()
See merge request idf/esp-idf!5048
2019-06-26 09:03:16 +08:00
Angus Gratton
af430adb34
Merge branch 'feature/esp_tls_server' into 'master'
...
esp_tls: Add support for server side SSL/TLS connection
See merge request idf/esp-idf!5091
2019-06-26 09:03:08 +08:00
Angus Gratton
c404f8b6e9
Merge branch 'feature/upgrade_mbedtls_to_v2.16.1' into 'master'
...
mbedtls: upgrade to v2.16.2 release
Closes IDF-664
See merge request idf/esp-idf!5130
2019-06-26 08:40:43 +08:00
Jitin George
a8ebde227f
esp_https_server: Add support for esp-tls server APIs
2019-06-25 23:43:35 +00:00
Jitin George
8950f94ec7
esp_tls: Add support for server side SSL/TLS connection
...
Currently, esp-tls supports creation of SSL/TLS connection on the client side.
This commit includes support for creating SSL/TLS connection on the server side.
2019-06-25 23:43:35 +00:00
Jitin George
ab6dd36243
esp_http_client: Add support to disable validation of certificate's CN field
2019-06-25 23:41:33 +00:00
Jitin George
c536c8fa5f
tcp_transport: Add API to allow skipping of certificate CN validation
2019-06-25 23:41:33 +00:00
Gregory Eslinger
7fbedb1ba3
esp_https_ota: Removed unnecessary free()
...
Closes https://github.com/espressif/esp-idf/issues/3504
Merges https://github.com/espressif/esp-idf/pull/3513
Signed-off-by: Jitin George <jitin@espressif.com>
2019-06-25 23:41:33 +00:00
Hemal Gujarathi
a68c7c21e1
Improve flash encryption documentation and add Development & Release modes
...
This MR improves existing flash encryption document to provide simplified steps
Adds two new modes for user: Development & Release
Adds a simple example
Supports encrypted write through make command
2019-06-25 23:41:18 +00:00
Anurag Kar
eb5cc203f9
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
...
Closes https://github.com/espressif/esp-idf/issues/3633
2019-06-25 19:58:19 +00:00
Chen Sheng
f14563a47d
test: modify test cases for bluedroid
2019-06-25 23:14:32 +08:00
Ivan Grokhotkov
dbe3221969
fatfs: reduce rawflash tests run time
...
Don't flash fatfs.img on every test run. Comparing the content is
faster than flashing.
2019-06-25 23:07:07 +08:00
Ivan Grokhotkov
8f6606141a
fatfs: create separate ffsystem.c for host side testing
2019-06-25 23:07:07 +08:00
Ivan Grokhotkov
66bdeca603
fatfs: update diskio and vfs for FatFS changes
...
- do to not rely on integer.h types
- ffsystem.c does not define ff_memcalloc, replace with ff_memalloc +
memset.
2019-06-25 23:05:16 +08:00
Ivan Grokhotkov
7724df407a
fatfs: update to R0.13c patch 4
...
Breaking change: integer.h does not exist in FatFS anymore
2019-06-25 23:05:16 +08:00
Ivan Grokhotkov
e181a40c9f
fatfs: separate IDF-specific files from the original FatFS code
...
This is a breaking change: applications which used diskio.h to
call ff_diskio_register, will now need to include diskio_impl.h.
Including diskio.h will include the original diskio.h header from
FatFS library.
2019-06-25 23:05:16 +08:00
Renz Christian Bagaporo
31ec634730
bt: fix build issue
...
Source files and include directories were appended to variables
used by the previous component registration command.
2019-06-25 16:53:37 +08:00
Angus Gratton
f55ace596b
Merge branch 'fix/update_curr_page_state' into 'master'
...
nvs_util: Set previous page state to full before creating new page
See merge request idf/esp-idf!5325
2019-06-25 14:21:25 +08:00
Angus Gratton
9a412d3a08
Merge branch 'feature/use_new_component_registration_apis' into 'master'
...
Use new component registration API
See merge request idf/esp-idf!4898
2019-06-25 10:24:11 +08:00
Angus Gratton
9d573c65dc
Merge branch 'bugfix/legacy_header_bootloader_build' into 'master'
...
bootloader: pass legacy header config variable to subproject
See merge request idf/esp-idf!4966
2019-06-25 10:23:33 +08:00
Hrishikesh Dhayagude
342f6a7829
Port NimBLE Host Stack on ESP-IDF
2019-06-25 09:03:58 +08:00
Shivani Tipnis
1f9f39fe46
nvs_util: Set previous page state to full before creating new page
2019-06-24 13:53:51 +00:00
Angus Gratton
5cb71b5213
Merge branch 'feature/add_doc_about_app_desc_t' into 'master'
...
docs: Add description about the app image
Closes IDF-597
See merge request idf/esp-idf!4912
2019-06-24 18:40:02 +08:00
zhiweijian
6559f935ce
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 07:05:01 +00:00
Mahavir Jain
adfe16d928
mbedtls: upgrade to v2.16.2 release
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.2
2019-06-24 06:02:59 +00:00
Island
fc3253163e
component/ble_mesh: ESP BLE Mesh release
...
1. BLE Mesh Core
* Provisioning: Node Role
* Advertising and GATT bearer
* Authentication OOB
* Provisioning: Provisioner Role
* Advertising and GATT bearer
* Authentication OOB
* Networking
* Relay
* Segmentation and Reassembly
* Key Refresh
* IV Update
* Proxy Support
* Multiple Client Models Run Simultaneously
* Support multiple client models send packets to different nodes simultaneously
* No blocking between client model and server
* NVS Storage
* Store Provisioning Data of BLE Mesh Nodes in Flash
2. BLE Mesh Applications
* BLE Mesh Node & Provisioner
* Node Example
* Provisioner Example
* Node + Generic OnOff Client Example
* Fast Provisioning
* Vendor Fast Prov Server Model
* Vendor Fast Prov Client Model
* Examples
* Wi-Fi & BLE Mesh Coexistence
* Example
* BLE Mesh Console Commands
* Example
3. BLE Mesh Models
* Foundation Models
* Configuration Server Model
* Configuration Client Model
* Health Server Model
* Health Client Model
* Generic Client Models
* Generic OnOff Client
* Generic Level Client
* Generic Location Client
* Generic Default Transition Timer Client
* Generic Power OnOff Client
* Generic Power Level Client
* Generic Battery Client
* Generic Property Client
* Generic Server Models
* Generic OnOff Server (Example)
* Lighting Client Models
* Light Lightness Client
* Light CTL Client
* Light HSL Client
* Light xyL Client
* Light LC Client
* Sensor Client Model
* Sensor Client
* Time and Scenes Client Models
* Time Client
* Scene Client
* Scheduler Client
2019-06-24 11:31:24 +08:00
Jiang Jiang Jian
1b12e6e97d
Merge branch 'refactor/bluedroid' into 'master'
...
Refactor/bluedroid
See merge request idf/esp-idf!4027
2019-06-24 11:07:53 +08:00
Michael (XIAO Xufeng)
17378fd4c2
spi: support new chip esp32s2beta
2019-06-23 12:17:27 +08:00
Michael (XIAO Xufeng)
93ef3980e7
spi: fix cmakelists missing
2019-06-22 19:09:06 +08:00
Michael (XIAO Xufeng)
9b13a04abf
spi: multichip support
...
move hardcoded numbers, etc. into soc files.
create headers for shared types which needs to be documented.
(MINOR CHANGE)
2019-06-22 19:08:47 +08:00
chenjianqiang
fd8b526f7c
add two APIs into esp32beta.rom.spiflash.ld to fix compile error
...
When config flash mode as QIO mode, the error that esp_rom_spiflash_wait_idle
and esp_rom_spiflash_config_readmode are undefined happens when compile, so
add these two APIs to fix the error.
2019-06-21 21:50:48 +08:00
Renz Christian Bagaporo
9b350f9ecc
cmake: some formatting fixes
...
Do not include bootloader in flash target when secure boot is enabled.
Emit signing warning on all cases where signed apps are enabled (secure
boot and signed images)
Follow convention of capital letters for SECURE_BOOT_SIGNING_KEY
variable, since it is
relevant to other components, not just bootloader.
Pass signing key and verification key via config, not requiring
bootloader to know parent app dir.
Misc. variables name corrections
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
9eccd7c082
components: use new component registration api
2019-06-21 19:53:29 +08:00
Renz Christian Bagaporo
e8582e9aa4
esptool_py: use passed offset and image when template is given
...
esptool_py defines command `esptool_py_flash_project_args` that
generates arg file for esptool.py. Two of the arguments are the offset
and image, which are not being used when a template file is given.
This commit makes variables OFFSET and IMAGE available to the template
file, which will holds the value of the offset and image arguments to
`esptool_py_flash_project_args`.
2019-06-21 19:48:41 +08:00
Konstantin Kondrashov
0ed590640e
bootloader: Move some structs to separated file
...
Moved structures which describe the app image to separated file.
Closes: IDF-597
2019-06-21 18:43:27 +08:00
Angus Gratton
d1da76e369
Merge branch 'bugfix/misc_cmake_changes' into 'master'
...
Follow up CMake changes/fixes
See merge request idf/esp-idf!5267
2019-06-21 13:27:55 +08:00
Angus Gratton
934a1a3223
Merge branch 'feature/add_ability_to_specify_spiffsgen_dependencies' into 'master'
...
Add ability to specify dependencies for spiffsgen
See merge request idf/esp-idf!4933
2019-06-21 13:27:35 +08:00
Angus Gratton
bd9590502c
Merge branch 'bugfix/spi_flash_remove_include_chain_in_host_drv' into 'master'
...
esp_flash: support C++ and improve the document
See merge request idf/esp-idf!5287
2019-06-21 13:12:09 +08:00
Angus Gratton
8aa6fb241d
Merge branch 'bugfix/malloc_warnings_mdns' into 'master'
...
mdns: fix static analysis warnings
See merge request idf/esp-idf!5143
2019-06-21 13:10:06 +08:00
baohongde
149e07911d
components/bt: Optimization and bugfix of previous commits
2019-06-21 11:55:45 +08:00
Renz Christian Bagaporo
c65038fd74
spiffs,make: change spiffsgen build API
2019-06-21 10:58:40 +08:00
Renz Christian Bagaporo
e0a652f164
spiffs: add ability to specify dependencies when dirs themselves are generated
2019-06-21 10:48:34 +08:00
Angus Gratton
c2a9785fa9
Merge branch 'feature/netif_custom_name' into 'master'
...
Allow setting netif hostname via lw/ip component config menu item (IDFGH-1342)
See merge request idf/esp-idf!5262
2019-06-21 08:41:59 +08:00
Ajita Chavan
070b86eee5
i2s: test case for variation in apll clock rate
2019-06-20 16:40:58 +00:00
redchenjs
430d9c6fba
i2s: fix a bug when calculating i2s apll parameters
...
Closes https://github.com/espressif/esp-idf/issues/2634
Closes https://github.com/espressif/esp-idf/issues/3380
Fixes https://github.com/espressif/esp-idf/issues/3407
2019-06-20 16:40:58 +00:00
He Yin Ling
53fd406f53
Merge branch 'test/fix_some_error_wifi_cases' into 'master'
...
test: fix some wifi case issues
See merge request idf/esp-idf!5226
2019-06-20 22:05:16 +08:00
David Cermak
4bd4c7caf3
mdns: fix ignoring mdns packet with some invalid name entries in question field
...
In case of invalid name entry, only this entry is invalidated and parsing continues as other query entries could contain questions to be responded to
2019-06-20 14:25:12 +02:00
Angus Gratton
126b687c75
Merge branch 'refactor/vfs_uart_multichip_support' into 'master'
...
vfs_uart & uart: add multichip support
See merge request idf/esp-idf!5298
2019-06-20 18:31:24 +08:00
wangmengyang
f2e6ba8701
component/bt: clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers
2019-06-20 17:40:55 +08:00
baohongde
8024fcb296
components/bt: Add more functions for memory debug.
2019-06-20 17:12:04 +08:00
Tian Hao
2ad65bb434
Support timeout of fixed_queue and osi_thread
...
1. remove fixed_queue_try_dequeue and fixed_queue_try_enqueue,
2. add timeout parameter for fixed_queue_enqueue and fixed_queue_dequeue
3. replace where call fixed_queue_try_dequeue/enqueue to fixed_queue_dequeue/enqueue(..., timeout = 0)
4. replace where call fixed queue_enqueue/dequeue to fixed_queue_enqueue/dequeue( ..., timeout = FIXED_QUEUE_MAX_TIMEOUT)
5. modify the blocking_type of osi_thread_post to timeout.
2019-06-20 17:12:04 +08:00
baohongde
9863565a6f
components/bt: Optimization and bugfix of previous commit
2019-06-20 17:06:23 +08:00
baohongde
07fef85a23
components/bt: Separation of BT and BLE
2019-06-20 17:06:23 +08:00
Angus Gratton
90008e3fd6
Merge branch 'feature/spi_driver_support_multi_chip' into 'master'
...
spi: multichip support
See merge request idf/esp-idf!5234
2019-06-20 16:45:06 +08:00
Renz Christian Bagaporo
7a19894aec
esptool_py: better display logs when generating binary
...
Since OUTPUT argument of custom command does not currently support
generator expressions, the project image is only generated as a side
effect. The primary generated file is a timestamp file. Unfortunately as a consequence
the output logs when the
binary is about to be generated is not as helpful anymore.
Set a custom comment that is more descriptive of what is happening,
and provide more feedback as to what has been generated.
2019-06-20 16:02:22 +08:00
Renz Christian Bagaporo
8424822150
cmake: set CONFIG_DIR build property
...
Add CONFIG_DIR as a build property, so that components don't have to
derive it from one of the generated config files.
2019-06-20 16:02:22 +08:00
baohongde
485c896740
components/bt: Combine A2DP sink task and A2DP source task into btc task
2019-06-20 16:00:55 +08:00
baohongde
930c304a57
components/bt: Combine two hci task into one
2019-06-20 16:00:55 +08:00
baohongde
5fd4cbb9d2
component/bt: Add functions for heap memory debug
2019-06-20 16:00:55 +08:00
baohongde
bd9fed4400
component/bt: reduce the size of DRAM
...
DRAM.data: 506B --> 196B
DRAM.bss : 26857B --> 2170B
2019-06-20 16:00:55 +08:00
Tuan
2a2d932cfe
esp_websocket_client: Add websocket client component
...
Closes https://github.com/espressif/esp-idf/issues/2829
2019-06-20 15:37:40 +08:00
Angus Gratton
092179207e
Merge branch 'bugfix/spi_concurrency' into 'master'
...
spi: fix a possible concurrency issue (port to master)
See merge request idf/esp-idf!5191
2019-06-20 15:32:02 +08:00
morris
b395279196
Merge branch 'feature/esp32s2beta_fix_rtcio' into 'feature/esp32s2beta'
...
fix rtc bug in esp32s2beta
See merge request idf/esp-idf!5294
2019-06-20 13:42:37 +08:00
Michael (XIAO Xufeng)
0bbeb502a8
atomic: support for esp32s2beta
2019-06-20 12:06:52 +08:00
Michael (XIAO Xufeng)
ea1dcf7fe4
gpio: fix missing cmakelists for esp32s2beta
2019-06-20 12:06:51 +08:00
Michael (XIAO Xufeng)
37cb673cd7
esp_flash: update the document to the latest API
2019-06-20 11:50:23 +08:00
baohongde
21cce564ba
component/bt: Macor from sdkconfig.h
is used only in bt_user_config.h
2019-06-20 11:41:17 +08:00
Michael (XIAO Xufeng)
b5c3ac0ec2
vfs_uart: refactor to have static context structure
2019-06-20 11:32:24 +08:00
chenjianqiang
cf2ba210ef
uart: multichip support
2019-06-20 11:32:22 +08:00
fuzhibo
f5a21845fd
fix rtc bug in esp32s2beta
2019-06-20 11:26:21 +08:00
Ivan Grokhotkov
026533cd72
esp_flash: fix C++ compilation and some typos
2019-06-20 10:55:13 +08:00
Michael (XIAO Xufeng)
caf121e4b6
esp_flash: break the inappropriate include chain in spi_flash_host_drv.h
2019-06-20 10:55:12 +08:00
Michael (XIAO Xufeng)
5c9dc44c49
spi: multichip support
...
move hardcoded numbers, etc. into soc files.
create headers for shared types which needs to be documented.
(MINOR CHANGE)
2019-06-20 10:38:52 +08:00
baohongde
faf23df19a
component/bt : modify OSI thread of bluedroid
...
abstract of OSI thread to make bluedroid more compatible with different OS.
2019-06-19 21:20:04 +08:00
Darian Leung
037c079e9a
esp32: Refactor backtrace and add esp_backtrace_print()
...
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.
A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.
- esp_stack_ptr_is_sane() moved to soc_memory_layout.h
- removed uncessary includes of "esp_debug_helpers.h"
2019-06-19 18:30:18 +08:00
suda-morris
3f7a571c90
fix errors when ci testing for esp32
2019-06-19 15:31:47 +08:00
Jiang Jiang Jian
28e0a17e0a
Merge branch 'bugfix/btdm_make_failed_due_to_macro' into 'master'
...
components/bt: Fix make errors due to macro usage error
See merge request idf/esp-idf!5105
2019-06-19 14:44:02 +08:00
Angus Gratton
484eb7cd07
Merge branch 'feature/mdns_unit_tests' into 'master'
...
mdns: add initial unit tests
See merge request idf/esp-idf!5088
2019-06-19 14:43:51 +08:00
Ivan Grokhotkov
920cabb382
Merge branch 'feature/spi_ext_flash' into 'master'
...
spi_flash: support working on differnt buses and frequency
See merge request idf/esp-idf!4096
2019-06-19 00:14:39 +08:00
Jiang Jiang Jian
ceb00f7a41
Merge branch 'bugfix/btdm_add_svc_inst_id_param_for_create_tab_event' into 'master'
...
Component/bt: add svc_inst_id param for create service table event
See merge request idf/esp-idf!4958
2019-06-18 21:19:41 +08:00
Jiang Jiang Jian
979dc1b0b8
Merge branch 'feature/btdm_add_new_api_get_conn_params' into 'master'
...
Component/bt: add new api to get connection parameters
See merge request idf/esp-idf!5057
2019-06-18 21:10:53 +08:00
Angus Gratton
bcb662c3cd
Merge branch 'bugfix/log_free_level_entry' into 'master'
...
log: fix minor memory leak when cleaning list of log levels
Closes IDF-710
See merge request idf/esp-idf!5260
2019-06-18 15:34:39 +08:00
Michael (XIAO Xufeng)
1036a091fe
spi_flash: support working on differnt buses and frequency
2019-06-18 06:32:52 +00:00
Angus Gratton
ce4de867d6
spi_flash: New low-level flash API
2019-06-18 06:32:52 +00:00
Angus Gratton
21b04e7798
Merge branch 'bugfix/phy_init_data_mistake' into 'master'
...
esp_wifi: fix wrong path of phy_init_data
Closes IDFGH-1168
See merge request idf/esp-idf!5201
2019-06-18 14:13:01 +08:00
suda-morris
c5c716e9d7
esp_wifi: fix wrong path of phy_init_data
...
Closes https://github.com/espressif/esp-idf/issues/3482
2019-06-18 11:29:09 +08:00
Konstantin Kondrashov
b107b832ca
sntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/2277
Closes: IDFGH-337
2019-06-17 18:04:10 +08:00
Konstantin Kondrashov
bc8c8c68dd
mbedtls: Add UTs for modexp
2019-06-17 07:19:54 +00:00
Konstantin Kondrashov
0a040345cc
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
...
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.
Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-17 07:19:54 +00:00
zhiweijian
4d8a46b376
component/bt: add readme doc for BLE demos
...
- Closes:https://github.com/espressif/esp-idf/issues/3341
2019-06-17 07:05:41 +00:00
zhiweijian
483e82caf8
Component/bt: modify some logs level
2019-06-17 07:05:41 +00:00
zhiweijian
8f2490cc6f
Component/bt: add svc_inst_id param for create service table event
...
- add svc_inst_id param for create service table event
- Closes https://github.com/espressif/esp-idf/issues/3256
2019-06-17 07:05:31 +00:00
zhiweijian
76b3a64b76
Component/bt: add new api to get connection parameters
2019-06-17 07:04:34 +00:00
Kirill Chalov
4faf2de035
Doc/review api ref storage
2019-06-17 14:23:52 +08:00
suda-morris
1b54dc214c
Merge branch 'feature/esp32s2beta_gpio_rtcio_driver' into feature/esp32s2beta
2019-06-17 14:19:56 +08:00
Angus Gratton
e20b37aff9
Merge branch 'bugfix/prov_examples_strlcpy' into 'master'
...
Wi-Fi Provisioning : Bugfix in copying Wi-Fi SSID and Passphrase
Closes IDF-693
See merge request idf/esp-idf!5180
2019-06-17 10:29:05 +08:00
Michael (XIAO Xufeng)
1138133a78
spi: fix a possible concurrency issue
2019-06-17 00:16:01 +00:00
grumpy-dude
8a3cf8ca77
Allow configuration of local netif hostname via new LWIP component configuration menu item
...
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3627
2019-06-15 16:09:51 +05:30
fuzhibo
29ea0dec76
Driver: gpio and rtcio dirver update
2019-06-14 20:27:26 +08:00
David Cermak
353de1487f
log: fix minor memory leak when cleaning list of log levels
2019-06-14 13:55:46 +02:00
Jiang Jiang Jian
d4d162640f
Merge branch 'bugfix/dns_bug' into 'master'
...
LDNS: fix the crash under static IP address
Closes WIFI-487
See merge request idf/esp-idf!5069
2019-06-14 15:06:05 +08:00
Wang Jia Lin
e2d1c6234f
Merge branch 'bugfix/improve_flash_dio_read_timing' into 'master'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0
See merge request idf/esp-idf!5086
2019-06-14 12:10:46 +08:00
xueyunfei
d18ed01b81
lwip:fix bugfix/dns_bug
2019-06-14 03:52:31 +00:00
David Cermak
d127849d80
can: suppress clang tidy warning about nullptr dereference
2019-06-13 16:23:20 +02:00
Ivan Grokhotkov
7c723e121c
esp_rom: update ld scripts to export strong symbols
...
Similar to commits for esp32 target: e84b26f5
, 8c2f2867
, 5719cd6f
2019-06-13 19:34:40 +08:00
Ivan Grokhotkov
cfba50811d
spi_flash: fix unit tests compilation
2019-06-13 19:34:40 +08:00
Ivan Grokhotkov
08557be5df
Merge branch 'fix/bootloader_region_overlap_update' into 'master'
...
bootloader: remove duplicate region overlap logic
See merge request idf/esp-idf!5128
2019-06-13 16:07:05 +08:00
Jiang Jiang Jian
7871983370
Merge branch 'optimize/igmp_mld6_timer' into 'master'
...
optimize: IGMP and MLD6 timer optimization config added
See merge request idf/esp-idf!4776
2019-06-13 15:31:26 +08:00
Jiang Jiang Jian
4e09eaf8e2
Merge branch 'feature/btdm_config_eir' into 'master'
...
components/bt: Add API to config EIR data
See merge request idf/esp-idf!5038
2019-06-13 14:55:23 +08:00
Jiang Jiang Jian
b1bf41be22
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu' into 'master'
...
components/bt: Fix assert due to alloc LMP TX buffer failed
See merge request idf/esp-idf!5134
2019-06-13 13:58:43 +08:00
He Yin Ling
2deb267be5
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-13 11:14:39 +08:00
Angus Gratton
78b7b137ad
Merge branch 'feature/otatool_parttool_python_api' into 'master'
...
otatool, parttool Python API
See merge request idf/esp-idf!5077
2019-06-13 10:31:29 +08:00
Angus Gratton
60d28bb72f
Merge branch 'bugfix/spiflash_kconfig' into 'master'
...
spi_flash: Fix Kconfig indentation
Closes IDFGH-1307
See merge request idf/esp-idf!5195
2019-06-13 10:18:14 +08:00
Angus Gratton
3cc384fbe9
Merge branch 'bugfix/malloc_warnings_transport' into 'master'
...
tcp_transport: fix minor memory leak found by static analyzer
Closes IDF-681
See merge request idf/esp-idf!5141
2019-06-13 10:11:36 +08:00
Angus Gratton
9909206b16
Merge branch 'bugfix/malloc_warnings_event_loop' into 'master'
...
esp_event: fix possible malloc free issues found by static analyzer
See merge request idf/esp-idf!5142
2019-06-13 10:10:26 +08:00
Angus Gratton
eac356ef4a
Merge branch 'feature/idf_version_header' into 'master'
...
esp_common: add esp_idf_version.h header to define IDF version
Closes IDF-253
See merge request idf/esp-idf!4596
2019-06-13 09:41:35 +08:00
Ivan Grokhotkov
51a7df196d
esp32s2beta: fix soc_memory_layout
...
1. use SOC_RESERVE_MEMORY_REGION
2. reserve part of the DRAM which is mapped to same banks as IRAM
2019-06-13 01:34:54 +08:00
Ivan Grokhotkov
ca932f80f4
esp_debug_helpers: add missing include
2019-06-12 17:13:44 +08:00
Ivan Grokhotkov
04d1ce944d
freertos: pass unit tests compilation
2019-06-12 17:13:29 +08:00
Ivan Grokhotkov
aeb62b5337
esp_wifi: no libraries for esp32s2beta yet
2019-06-12 16:09:52 +08:00
Ivan Grokhotkov
dcaae4a5fc
esp32s2beta: convert some todos to warnings
2019-06-12 15:53:57 +08:00
Jiang Jiang Jian
5ae151308b
Merge branch 'bugfix/fix_some_wps_bugs' into 'master'
...
wps: add overlap event
Closes WIFI-517
See merge request idf/esp-idf!5022
2019-06-12 14:35:52 +08:00
David Cermak
e6801912c5
mdns: added initial suite of api unit tests
2019-06-12 08:18:25 +02:00
Roland Dobai
22d070e0af
spi_flash: Rename long Kconfig options
2019-06-12 08:03:07 +02:00
Roland Dobai
842384a0d3
spi_flash: Fix Kconfig indentation
...
Closes https://github.com/espressif/esp-idf/issues/3598
2019-06-12 08:03:07 +02:00
Anurag Kar
a75be3413e
Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase
...
These changes guarantee that the SSID and Passphrase received via protocomm are NULL terminated and size limited to their standard lengths.
List of changes:
* Corrected length of passphrase field in wifi_prov_config_set_data_t structure
* Performing length checks on SSID, passphrase and bssid, when populating wifi_prov_config_set_data_t structure with received credentials
2019-06-12 05:42:46 +00:00
Sachin Parekh
ae675973be
optimize: IGMP and MLD6 timers on demand config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-12 05:10:32 +00:00
Angus Gratton
065eb918fd
Merge branch 'bugfix/even_more_cmake_fixes' into 'master'
...
Even more CMake fixes
See merge request idf/esp-idf!5097
2019-06-12 08:08:04 +08:00
Ivan Grokhotkov
8886e3fbc3
Merge branch 'bugfix/esp_event_fix_placement_issue_on_make' into 'master'
...
esp_event: fix missed placement on make builds
See merge request idf/esp-idf!5179
2019-06-11 19:32:45 +08:00
Renz Christian Bagaporo
54ef60f26b
component: revert some of the dependency corrections
...
!4452 and !4897 made some ill-advised corrections to dependency info;
revert those in this MR. Handling pre-built binaries as imported
libraries is retained, however.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
3882e48e8a
cmake: use new signature form of target_link_library to link components
...
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.
The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
f0f861ccd9
ldgen: use user input filename for processed template
...
Previously ldgen determines the output file name on its own. This commit
makes it so that user can dictate what the output file name will be
for the processed template, if the user needs it for something else.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
70dfcb35d4
mbedtls: component CMakeLists.txt corrections
...
Since !4452 the common component requirements automatically get
privately linked to libraries built under ESP-IDF build system (this
includes targets from third-party libraries). This removes a variable
that was used for that purpose before !4452 .
Since the internal target names were changed, the compile definition for
warning on using deprecated functions is not being passed. Since using
the internal name is unreliable, prefer passing this compile definition
from the test itself.
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
3836aa9ae6
partition_table,app_update: use config partition table offset
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
1de627e68a
app_update: implement Python API for otatool
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
63bd57c1d7
partition_table: implement Python API for parttool
...
Closes https://github.com/espressif/esp-idf/issues/1494
2019-06-11 13:17:14 +08:00
suda-morris
4a79d750a5
clean up build warnings
2019-06-11 13:07:37 +08:00
Angus Gratton
ddbd09eb15
esp32/esp32s2beta: Extract common SPIRAM options into esp_commmon component
2019-06-11 13:07:37 +08:00
Angus Gratton
06e31e243c
esp32s2beta: Fix kconfig errors found by Roland
2019-06-11 13:07:37 +08:00
Angus Gratton
8d949c3c9d
esp32s2beta: Apply new Kconfig names to esp32s2beta
...
Still using ESP32_xxx prefix on all chips: CORE_DUMP, APP_TRACE
Still using the same config prefix and duplicate names in esp32 & esp32s2beta: SPIRAM, PM
2019-06-11 13:07:37 +08:00
suda-morris
82c27a39f2
can build and run hello-world app
2019-06-11 13:07:37 +08:00
Ivan Grokhotkov
73b30af2b3
confgen.py: don't output compatibility definitions for options which are not defined
...
For example, if a renamed option CONFIG_NEW is a bool with value "n", kconfiglib will not generate a define for it in the Kconfig file. The define (#define CONFIG_NEW 1) will only be generated if the option is "y" or "m".
However the compatibility definition was always generated: #define CONFIG_OLD CONFIG_NEW. This broke the #ifdef checks which depended on the old option names.
2019-06-11 13:07:37 +08:00
Angus Gratton
047aca97e8
esp32s2beta: Fix heap memory regions when SPIRAM is disabled
2019-06-11 13:07:37 +08:00
Angus Gratton
b2e8d30414
esp32s2beta: esptool support
2019-06-11 13:07:37 +08:00
suda-morris
84b2f9f14d
build and link hello-world for esp32s2beta
2019-06-11 13:07:37 +08:00
suda-morris
61ce868396
make bootloader_support support esp32s2beta
2019-06-11 13:07:02 +08:00
suda-morris
b146104885
add esp32s2beta component
2019-06-11 13:06:32 +08:00
suda-morris
91508ca27f
add esp32s2beta in soc component
2019-06-11 13:06:32 +08:00
suda-morris
cc98b9ef60
add rom for esp32s2beta
2019-06-11 13:06:32 +08:00
suda-morris
f14a6cf51b
Ethernet peripheral will depend on IDF_TARGET
...
esp32 has EMAC controller, but esp32s2 doesn't
2019-06-11 13:06:32 +08:00
suda-morris
12f00d9a5e
make bootloader support esp32s2beta
2019-06-11 13:06:32 +08:00
suda-morris
2f4c5c51f4
update esp32 component
2019-06-11 13:06:32 +08:00
suda-morris
b82e0d49a8
make app_trace support esp32c
2019-06-11 13:06:32 +08:00
Angus Gratton
02f1e9fc20
Merge branch 'feature/prov_mgr' into 'master'
...
Wi-Fi Provisioning Manager
See merge request idf/esp-idf!4805
2019-06-11 09:46:50 +08:00
Angus Gratton
2331597ed2
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c' into 'master'
...
driver: Fix ticks_to_wait for uart and i2c
Closes IDFGH-964
See merge request idf/esp-idf!5021
2019-06-11 08:41:44 +08:00
Angus Gratton
406979e74f
Merge branch 'feature/console_nvs_iterators' into 'master'
...
Feature/nvs iterators
Closes IDF-92
See merge request idf/esp-idf!3846
2019-06-11 08:36:13 +08:00
Angus Gratton
c9bf3a3b17
Merge branch 'bugfix/remove_secure_boot_test_mode' into 'master'
...
remove secure boot test mode
See merge request idf/esp-idf!5059
2019-06-11 07:25:07 +08:00
MartinValik
5268960235
Added support for NVS iterators
...
Closes https://github.com/espressif/esp-idf/issues/129
2019-06-10 16:42:39 +02:00
David Cermak
c34de4cba6
mdns: fix static analysis warnings
2019-06-10 13:21:07 +00:00
David Cermak
bd537083d9
esp_event: fix possible malloc free issues found by static analyzer
2019-06-10 13:10:34 +00:00
David Cermak
243e0b229f
tcp_transport: fix minor memory leak found by static analyzer
...
Closes https://github.com/espressif/esp-idf/issues/3602
2019-06-10 14:28:42 +02:00
Renz Christian Bagaporo
af3a2f3aba
esp_event: fix placement issue when building with make
...
The CMake build uses the linker fragment file to place functions in IRAM
on certain configurations. This commit does that for Make as well.
2019-06-10 19:38:55 +08:00
Anurag Kar
4ef6c85f0c
wifi_provisioning : Wi-Fi Provisioning Manager added
2019-06-10 15:13:50 +05:30
baohongde
f3aab7d536
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-10 15:14:23 +08:00
Mahavir Jain
bb4ca8c508
Merge branch 'feature/config_option_for_mbedtls_debug_level' into 'master'
...
mbedtls: add config option for setting debug level
See merge request idf/esp-idf!5154
2019-06-10 11:44:40 +08:00
Mahavir Jain
e701f96bf5
Merge branch 'bugfix/stack_protection_crash_due_to_incorrect_cflag' into 'master'
...
esp_common: fix stack protection crash due to incorrect CFLAG
See merge request idf/esp-idf!5155
2019-06-10 11:43:31 +08:00
Angus Gratton
a0382de0ea
Merge branch 'bugfix/psram_io_struct_uninitialized' into 'master'
...
Make sure the psram_io struct is initialized
See merge request idf/esp-idf!5147
2019-06-07 07:36:16 +08:00
Mahavir Jain
f80cce7bb9
esp_common: fix stack protection crash due to incorrect CFLAG
2019-06-06 18:52:32 +05:30
Mahavir Jain
0a5dfd3717
mbedtls: add config option for setting debug level
...
Closes https://github.com/espressif/esp-idf/issues/3521
2019-06-06 18:28:19 +05:30
Angus Gratton
345748b7bb
Merge branch 'feature/fixed_static_dram_size_pr3222' into 'master'
...
esp32: Allow fixed static RAM size and DRAM heap size
Closes IDFGH-780
See merge request idf/esp-idf!5043
2019-06-06 17:11:46 +08:00
Jeroen Domburg
2b7da2a245
Make unknown psram package version more obvious
2019-06-06 16:57:01 +08:00
Gautier Seidel
542e544faa
esp32: Allow fixed static RAM size and DRAM heap size
...
Merges https://github.com/espressif/esp-idf/pull/3222
2019-06-06 18:23:04 +10:00
Angus Gratton
19f176eb71
Merge branch 'feature/net_test_suite' into 'master'
...
execute net test suite for esp32 network stack in ci as weekend tests
Closes IDF-210
See merge request idf/esp-idf!3439
2019-06-06 15:25:03 +08:00
xiehang
2503af2464
wps: add overlap event
...
modify some header files to be consistent with vnc
2019-06-06 13:16:20 +08:00
Jeroen Domburg
ed17cbbb8a
Make sure the psram_io struct is initialized
...
Closes https://github.com/espressif/esp-idf/issues/3591
2019-06-06 09:05:49 +08:00
Jiang Jiang Jian
3d2b11347d
Merge branch 'bugfix/support_tcp_window_scale' into 'master'
...
esp_wifi/tcpip: support TCP window scale
See merge request idf/esp-idf!5102
2019-06-05 20:08:18 +08:00
Jiang Jiang Jian
d95cedd782
Merge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'
...
Bugfix/keep_sco_data_path_on_hci_reset
See merge request idf/esp-idf!4949
2019-06-05 17:10:21 +08:00
Michael (XIAO Xufeng)
c8d967417c
bootloader: remove duplicate region overlap logic
...
(MINOR CHANGE)
2019-06-05 14:43:23 +08:00
Angus Gratton
826ff7186a
Merge branch 'feature/mqtt_support_event_loop' into 'master'
...
MQTT: Support for esp event loop
See merge request idf/esp-idf!4815
2019-06-05 11:04:16 +08:00
Konstantin Kondrashov
ed22949847
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-06-05 10:38:23 +08:00
baohongde
48e32113de
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-04 16:31:21 +08:00
Jiang Jiang Jian
5274739fff
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'
...
component/bt: fix some performance issues in A2DP source data flow control
See merge request idf/esp-idf!4932
2019-06-04 16:07:31 +08:00
David Cermak
684514b3d6
ci: added standard set of network suite for lwip as a part of weekend test
2019-06-04 08:27:53 +02:00
liu zhifu
d1e7d04f9b
esp_wifi/lwip: support TCP window scale
...
Support enable/disable TCP Window scale feature via menuconfig
2019-06-04 14:09:04 +08:00
David Cermak
1ae0dfe7ef
mqtt: added support for esp event loop, updating examples to register and use event loop handler
2019-06-04 07:41:27 +02:00
Angus Gratton
9dd1b2ffb6
Merge branch 'bugfix/httpd_open_fn' into 'master'
...
HTTP Server : Close new session immediately if `open_fn` fails
Closes IDFGH-1165
See merge request idf/esp-idf!5019
2019-06-04 13:29:14 +08:00
Angus Gratton
045aaf6fb0
Merge branch 'feature/add_xxx_periph_h' into 'master'
...
soc: Add xxx_periph.h for all modules
Closes IDF-192
See merge request idf/esp-idf!4952
2019-06-04 13:24:14 +08:00
Angus Gratton
c338cbceb1
Merge branch 'bugfix/cmake_wifi_ut_md5' into 'master'
...
esp_wifi: fix MD5 unit tests with CMake
See merge request idf/esp-idf!5090
2019-06-04 13:23:06 +08:00
Angus Gratton
7f0ac87033
Merge branch 'bugfix/set_default_eth_handler' into 'master'
...
esp_event: fix bug in set_default_eth_handler
See merge request idf/esp-idf!5103
2019-06-04 13:06:55 +08:00
Konstantin Kondrashov
355f209dba
uart: Fix ticks_to_wait when 0 or expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-06-04 11:50:54 +08:00
Konstantin Kondrashov
22a30e2740
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-06-04 11:50:54 +08:00
Angus Gratton
db6a30b446
Merge branch 'bugfix/libgcc_fpu_functions' into 'master'
...
esp32: Use FPU for floating point divide, power, complex multiplications
See merge request idf/esp-idf!5005
2019-06-04 08:41:58 +08:00
Ivan Grokhotkov
0dc6e869c6
Merge branch 'bugfix/event_minor_leak' into 'master'
...
esp_event: fix minor memory leak when overwriting already registered handler
See merge request idf/esp-idf!5108
2019-06-03 22:37:06 +08:00
Jiang Jiang Jian
34b308eb79
Merge branch 'bugfix/wpa2_ent_vulnerability' into 'master'
...
esp_wifi: wpa2 enterprise vulnerability
See merge request idf/esp-idf!4992
2019-06-03 21:57:59 +08:00
baohongde
89e2b48a18
components/bt: Add API to config EIR data
2019-06-03 19:29:54 +08:00
Wu Jian Gang
4d3762a8df
clk: Fix the overflow when setting ccount
...
The multiplication will be overflow when using 160 or 240 MHz, this can lead the inaccuracy of log time stamp in startup.
2019-06-03 11:04:47 +00:00
Ivan Grokhotkov
fa36433199
Merge branch 'feature/multiple_github_prs' into 'master'
...
Fixes from github PRs
See merge request idf/esp-idf!5040
2019-06-03 18:50:46 +08:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
Konstantin Kondrashov
3ddab0b8f3
soc: Add xxx_periph.h for all modules
...
The "xxx_periph" header file includes all SOC-level definitions for that peripheral.
Closes: IDF-192
2019-06-03 13:56:54 +08:00
Angus Gratton
8b890bdaf3
Merge branch 'bugfix/protocomm_sec_mult_inst' into 'master'
...
Protocomm : Session security now supports multiple instances of the same type
See merge request idf/esp-idf!4756
2019-06-03 11:46:24 +08:00
Angus Gratton
92c5f17be0
Merge branch 'bugfix/protocomm_minor' into 'master'
...
Protocomm : Minor fixes
See merge request idf/esp-idf!5094
2019-06-03 09:48:03 +08:00
wangmengyang
bc6b80e7c2
add missing source files to CMakeLists for HFP
2019-05-31 18:54:19 +08:00
Jiang Jiang Jian
b859584f91
Merge branch 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'
...
Feature/btdm modem sleep with 32 k xtal under light sleep
See merge request idf/esp-idf!4744
2019-05-31 18:51:10 +08:00
Angus Gratton
30d9ee56fb
Merge branch 'feature/config_spi_pins_based_on_efuse_value' into 'master'
...
feat(psram): config SPI psram pins based on efuse value
See merge request idf/esp-idf!4950
2019-05-31 16:15:56 +08:00
suda-morris
c187f1ef6b
esp_event: fix bug in set_default_eth_handler
2019-05-31 16:00:15 +08:00
David Cermak
37c91133ff
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-05-31 08:31:06 +02:00
David Cermak
a38b50a8a9
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-05-31 08:31:06 +02:00
liu zhifu
8009320fb4
esp_wifi: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:19:26 +08:00
baohongde
13908160fb
components/bt: Fix make errors due to macro usage error
2019-05-30 20:19:43 +08:00
Ivan Grokhotkov
8cc90bfbb1
esp_wifi: fix MD5 unit tests with CMake
2019-05-30 11:42:12 +08:00
Angus Gratton
0b70dfc27f
Add floating point performance test
2019-05-30 10:09:24 +10:00
lenhart
920d35b5d0
Update i2c documentation
...
Description for i2c_slave_read_buffer had leftover from copying from write fct. data
pointer description described the wrong way (writing into internal buffer)
Closes https://github.com/espressif/esp-idf/pull/3268
2019-05-29 18:02:18 +05:30
Oleg Antonyan
4430456b64
Change SPI_USE_RXDATA->SPI_TRANS_USE_RXDATA and SPI_USE_TXDATA->SPI_TRANS_USE_TXDATA on documentation
...
Closes https://github.com/espressif/esp-idf/pull/2802
2019-05-29 18:02:18 +05:30
Stephen Bird
058c6afd3c
Add option to disable server side SSL session tickets as well as client
...
Closes https://github.com/espressif/esp-idf/pull/2570
2019-05-29 18:02:18 +05:30
Angus Gratton
31b854e17d
Merge branch 'feature/do_not_use_link_groups' into 'master'
...
Do not use link groups
See merge request idf/esp-idf!4897
2019-05-29 15:18:31 +08:00
Jiang Jiang Jian
da13efc17a
Merge branch 'feature/btdm_msbc_codec' into 'master'
...
Wide Band Speech for HFP
See merge request idf/esp-idf!4854
2019-05-29 14:39:21 +08:00
Angus Gratton
73b90387cb
Merge branch 'bugfix/reset_log_uart_port' into 'master'
...
esp32: Add reset CONSOLE_UART port
See merge request idf/esp-idf!5011
2019-05-29 14:28:37 +08:00
Angus Gratton
c7a0d5e063
Fix bug in the floating point unit test code
2019-05-29 10:14:31 +10:00
Angus Gratton
d9a5c8f387
esp32: Use FPU for floating point divide, power, complex multiplications
...
* Linker was choosing ROM symbols for these, which use integer soft-float
operations and are much slower.
* _divsf3() moved to IRAM to avoid regressions with any code that does
integer float division in IRAM interrupt handlers (+88 bytes IRAM)
* Thanks to michal for reporting:
https://esp32.com/viewtopic.php?f=14&t=10540&p=43367
2019-05-29 10:14:31 +10:00
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
chenjianqiang
db138ae19b
feat(psram): config SPI psram pins based on efuse value
2019-05-28 21:25:16 +08:00
wangmengyang
f678a6289d
reduce the minimum delay uncertainty of esp_timer for Bluetooth modem sleep from 1.8ms to 0.5ms for lower power consumption
2019-05-28 19:56:31 +08:00
wangmengyang
ff2c583a0d
component/bt: Add option to configure BLE SCA through menuconfig and use a fixed value of clock cycle to estimate sleep duration for external 32kHz oscillator
2019-05-28 19:56:26 +08:00
Anurag Kar
5384338341
Protocomm : Minor fixes
...
List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation
2019-05-28 14:41:49 +05:30
Anurag Kar
9c6bec203d
HTTP Server : Close new session immediately if open_fn fails
...
open_fn() was introduced in the context of HTTPS server, as a configurable callback function that is called by the HTTP server, on every newly created socket. It is responsible of allocating resources for per session transport security.
Earlier, if open_fn were to fail, the newly created socket would be closed by the server but the corresponding entry, for the now invalid socket, will remain in the internal socket database until that invalid socket is detected due to error when calling select(). Because of this delayed closing of sockets, the HTTPS server would quickly face shortage of available sessions when a lot of SSL handshake errors are happening (this typically occurs when a browser finds that the server certificate is self signed). This changes in this MR fix this issue by clearing up the socket from internal database, right after open_fn fails.
Closes https://github.com/espressif/esp-idf/issues/3479
2019-05-28 08:49:02 +00:00
chenjianqiang
d68f1907ef
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-05-28 14:51:04 +08:00
Angus Gratton
22514c1dd9
cmake: For gcc8 use linker to find paths to libc, libm, libstdc++, etc
...
Removes the need to know/guess the paths to these libraries. Once we are gcc 8 only, we
can remove -nostdlib and no additional arguments are needed for system libraries.
The catch is: any time IDF overrides a symbol in the toolchain sysroot, we need
an undefined linker marker to make sure this symbol is seen by linker.
2019-05-28 12:54:37 +08:00
Renz Christian Bagaporo
2c12080049
components: correct dependency information for linking without link groups
2019-05-28 10:51:02 +08:00
David Cermak
7963ac65af
mqtt_tests: add weekend test for sending and receiving empty payload messages, update config options per new naming convetions
2019-05-27 21:57:18 +02:00
David Cermak
38d15cbd63
mdns tests: adapt mdns fuzzer test to compile with event loop library
2019-05-27 16:31:25 +02:00
David Cermak
d19b20388f
lwip tests: adapt fuzzer test mocks to comply with 4.0 refactoring
2019-05-27 16:31:24 +02:00
David Cermak
db121a56e1
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes
...
Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
2019-05-27 16:31:24 +02:00
wangmengyang
7403e8e11c
component/bt: remove the pm_lock that prevents light sleep in case that external 32kHz crystal is used as Bluetooth low power clock
2019-05-27 17:47:33 +08:00
Angus Gratton
801f5d6e82
Merge branch 'bugfix/more_cmake_fixes' into 'master'
...
More CMake fixes
See merge request idf/esp-idf!5060
2019-05-27 15:48:25 +08:00
Angus Gratton
b2e54a9cc6
ci: Add IDF_DEPRECATED macro for things we only deprecate in our CI passes
2019-05-27 17:43:38 +10:00
Angus Gratton
02f2e63662
Merge branch 'feature/use_cmake_function_call_for_embedding_ulp' into 'master'
...
Use function call for embedding ULP binaries
See merge request idf/esp-idf!4242
2019-05-27 13:14:09 +08:00
baohongde
fcf4886172
components/bt: Support EV3 packet type
2019-05-24 17:36:10 +08:00
baohongde
dd906a91a5
components/bt: Enable mSBC and add decoder and encoder
2019-05-24 17:36:10 +08:00
baohongde
20758443df
components/bt: Add packet loss concealment (PLC) for HFP
2019-05-24 17:33:52 +08:00
baohongde
e10d5aaddc
component/bt: modify the SBC decoder to support mSBC mode
2019-05-24 17:33:52 +08:00
wangmengyang
7c28611a3d
component/bt: modify the SBC encoder to support mSBC mode
2019-05-24 17:33:52 +08:00
baohongde
f15323b453
component/bt: remove SBC frame scramling
2019-05-24 17:33:52 +08:00
zhangyanjiao
22a991bb29
wifi bugfixs:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
Closes https://github.com/espressif/esp-idf/issues/3474
2019-05-24 11:23:16 +08:00
Renz Christian Bagaporo
74c6c926ea
nghttp: move HAVE_CONFIG_H compile definition to component
2019-05-23 18:39:31 +08:00
hemal.gujarathi
865b24144e
remove secure boot test mode
2019-05-23 14:13:08 +05:30
liu zhifu
197e0ae147
esp_wifi: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:18:05 +08:00
Jiang Jiang Jian
81ca1c0139
Merge branch 'bugfix/fix_softap_crash_when_sta_reset' into 'master'
...
wifi: fix softap crash when sta reset
Closes WIFI-509
See merge request idf/esp-idf!4995
2019-05-22 21:00:40 +08:00
Jeroen Domburg
0e7442bb7a
Merge branch 'feature/spi_slave_support_hal' into 'master'
...
spi_slave: add HAL support
See merge request idf/esp-idf!4830
2019-05-22 13:42:11 +08:00
Renz Christian Bagaporo
8ed07d0bb2
esp_event: check that event data is prepared properly
2019-05-22 11:30:27 +08:00
Renz Christian Bagaporo
136e5bc32d
esp_event: style fixes
2019-05-22 11:29:56 +08:00
Renz Christian Bagaporo
4042902402
esp_event: always alloc data when not posting from isr
2019-05-22 11:29:17 +08:00
Renz Christian Bagaporo
f21b8bbf55
esp_event: fix issue with post data preparation
...
Fixes an issue with post instance data preparation. Currently, there is
no way to check if event data has really been set during handler
execution preparation. When data is not allocated from the heap, user
could have passed 0x0 which can lead to failed checks.
This also implements using the already allocated data memory for posting
events from non-ISR functions when data size is less than the capacity.
2019-05-22 11:28:39 +08:00
GOPTIONS\pfrost
897bb55482
nvs: Append _t to nvs_handle & nvs_open_mode types
...
Merges https://github.com/espressif/esp-idf/pull/3239/
2019-05-22 02:53:28 +00:00
Renz Christian Bagaporo
4483724df8
ulp: use cmake function to embed ulp binaries
2019-05-21 20:00:06 +08:00
Renz Christian Bagaporo
e1db12993b
bootloader: pass legacy header config variable to subproject
2019-05-21 17:03:45 +08:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
997b29a9ca
Rename Kconfig options (components/esptool_py)
2019-05-21 09:32:55 +02:00
Roland Dobai
6c0a7a66f3
Rename Kconfig options (components/app_trace)
2019-05-21 09:32:55 +02:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
Roland Dobai
24a2e5a17e
Rename Kconfig options (components/tcpip_adapter)
2019-05-21 09:09:01 +02:00
Roland Dobai
d61d58e78d
Rename Kconfig options (components/pthread)
2019-05-21 09:09:01 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
d4af5e6fff
Rename Kconfig options (components/ethernet)
2019-05-21 09:09:01 +02:00
Roland Dobai
b8111ab1d5
Rename Kconfig options (components/esp_wifi)
2019-05-21 09:09:01 +02:00
Roland Dobai
92950db44e
Rename Kconfig options (components/lwip)
2019-05-21 09:09:01 +02:00
Roland Dobai
e9f1011b1b
Rename Kconfig options (components/driver)
2019-05-21 09:09:01 +02:00
Roland Dobai
bf626f2aba
Rename Kconfig options (components/esp_event)
2019-05-21 09:09:01 +02:00
Roland Dobai
976d2a4b7f
Rename Kconfig options (components/freemodbus)
2019-05-21 09:09:01 +02:00
Roland Dobai
64c2aa15aa
Rename Kconfig options (components/freertos)
2019-05-21 09:09:01 +02:00
Roland Dobai
c5000c83d2
Rename Kconfig options (root)
2019-05-21 09:09:01 +02:00
Angus Gratton
3bf56cdd17
Merge branch 'bugfix/ws_read_fragmented_header' into 'master'
...
Fix reading http header if received in multiple chunks
See merge request idf/esp-idf!4996
2019-05-21 14:56:34 +08:00
Konstantin Kondrashov
be6f5563b4
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-05-21 06:18:28 +00:00
Angus Gratton
ba51e9fb5c
Merge branch 'bugfix/aes_fault_inj' into 'master'
...
mbedtls: Add simple fault injection check for hardware AES peripheral
See merge request idf/esp-idf!5023
2019-05-21 13:44:32 +08:00
Ivan Grokhotkov
0ccb7541f5
Merge branch 'feature/nvs_check_item_modified' into 'master'
...
nvs: Check if an item is modified before writing out an identical copy
See merge request idf/esp-idf!4934
2019-05-21 10:54:21 +08:00
Ivan Grokhotkov
6b08e8b449
esp_timer: handle esp_timer_delete in timer task
...
Closes https://github.com/espressif/esp-idf/issues/3458
2019-05-21 10:48:28 +08:00
Angus Gratton
af98ca6b46
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-05-21 12:41:42 +10:00
Angus Gratton
c9edb7c8a9
mbedtls: Add AES-CBC performance test
...
Hardware AES engine gets 11.0MB/sec on Release config
Software AES is around 2.3MB/sec on Release config
2019-05-21 12:41:40 +10:00
David Cermak
d41d70b8ef
tcp_transport: reading http header in a chunked mode until header terminator received (or timeout) to correctly receive all header if fragmented
...
Closes https://github.com/espressif/esp-idf/issues/3461
2019-05-20 16:40:03 +02:00
xiehang
2273646bda
wifi: fix softap crash when sta reset
2019-05-20 19:57:50 +08:00
Michael (XIAO Xufeng)
33db6d608e
spi_slave: add HAL support
2019-05-20 07:34:34 +00:00
Angus Gratton
595d702e97
Merge branch 'feature/update_esp_tls_config' into 'master'
...
esp-tls: Add support to add CN from config and validate PEM buffers
See merge request idf/esp-idf!4929
2019-05-20 14:00:37 +08:00
Angus Gratton
8c6ff874af
Merge branch 'bugfix/custom_log_uart_rx_pin' into 'master'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
Closes IDFGH-505
See merge request idf/esp-idf!5009
2019-05-20 13:58:37 +08:00
Angus Gratton
826acbc3de
Merge branch 'bugfix/custom_bootloader_subproject_build' into 'master'
...
CMake: Fix custom bootloader does not override original
See merge request idf/esp-idf!5000
2019-05-20 13:58:03 +08:00
Ivan Grokhotkov
6ca07eca68
esp_common: add version definitions in code and build system
...
Closes https://github.com/espressif/esp-idf/issues/2482
Closes IDF-253
2019-05-20 13:14:56 +08:00
Ivan Grokhotkov
2b301f53e4
Merge branch 'bugfix/fix_build_make_macos' into 'master'
...
make: fix build failure on macos with GNU make <= 3.81
See merge request idf/esp-idf!5010
2019-05-20 10:44:49 +08:00
Jitin George
d1c6bbf42e
esp-tls: Add support to add CN from config and validate PEM buffers
2019-05-17 20:06:44 +05:30
Renz Christian Bagaporo
927007fdd2
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-17 15:17:32 +08:00
Angus Gratton
907471ce41
Merge branch 'feature/cmake_changes_for_4.0' into 'master'
...
CMake for 4.0
See merge request idf/esp-idf!4452
2019-05-17 14:21:48 +08:00
David Cermak
8f91d730da
make: fix build failure on macos with GNU make <= 3.81
...
Closes https://github.com/espressif/esp-idf/issues/3459
2019-05-16 14:09:43 +02:00
Konstantin Kondrashov
98c77cebb2
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-16 11:18:56 +00:00
Anurag Kar
120bd3a456
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-05-15 12:27:03 +00:00
Angus Gratton
1b4c7d30e5
Merge branch 'bugfix/esp_efuse_fields_unused_variable' into 'master'
...
efuse: Fix unused variable warning when NDEBUG
Closes IDFGH-1114
See merge request idf/esp-idf!4955
2019-05-15 12:48:28 +08:00
Angus Gratton
3f7bd872ac
Merge branch 'refactor/power_management' into 'master'
...
power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS
See merge request idf/esp-idf!4412
2019-05-15 12:27:58 +08:00
Angus Gratton
0458bacc4e
Merge branch 'bugfix/httpd_log_purge' into 'master'
...
esp_http_server : Logging of purged data to monitor made configurable
Closes IDFGH-1034
See merge request idf/esp-idf!4941
2019-05-14 18:07:51 +08:00
Renz Christian Bagaporo
477fa49fc0
examples: update idf_as_lib example to use new api
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
c564d1730f
esp_common: append gc sections link flag
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
ffec9d4947
components: update with build system changes
2019-05-13 19:59:17 +08:00
Sachin Parekh
e6a714480d
unit-test-app: freertos_compliance config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
a190b527ac
power_management: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
db8041a67f
intr_alloc: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
f3db0b5a4a
crosscore_init: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
5979086379
timer: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
7f37824eb7
rtc_module: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
da41885e85
rmt: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
e9898b1280
periph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Sachin Parekh
5c6b9adf11
freertos: port*_CRITICAL_SAFE API added
...
port*_CRITICAL_SAFE API calls port*_CRITICAL or port*_CRITICAL_ISR
depending on the context (Non-ISR or ISR respectively).
FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE Kconfig option added
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-05-13 16:39:19 +05:30
Angus Gratton
56078159d4
Merge branch 'bugfix/xTaskIncrementTick' into 'master'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
Closes IDF-183
See merge request idf/esp-idf!4792
2019-05-13 12:34:54 +08:00
Konstantin Kondrashov
bbdeff1da1
esp32: Rewrite esp_sha function
...
It removes using a STALL_OTHER_CPU while sha operations.
It improves performance with SHA.
2019-05-13 12:32:45 +08:00
Angus Gratton
014de712ab
Merge branch 'feature/update_cjson_lib_to_1.7.11' into 'master'
...
cJSON: update to v1.7.11
Closes IDFGH-1004
See merge request idf/esp-idf!4881
2019-05-13 12:31:19 +08:00
Anurag Kar
6bf423d1e1
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-05-10 14:25:39 +05:30
Jiang Jiang Jian
1c46caf70c
Merge branch 'bugfix/modify_TCP_MSS_range' into 'master'
...
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
See merge request idf/esp-idf!4968
2019-05-10 13:52:16 +08:00
Angus Gratton
ce45e7806b
Merge branch 'feature/add_promiscuous_control_for_ethernet' into 'master'
...
add promiscuous mode control for Ethernet
See merge request idf/esp-idf!4953
2019-05-10 12:51:15 +08:00
Angus Gratton
b6a24bbd25
Merge branch 'feature/esp-https-ota-basic-auth' into 'master'
...
esp_https_ota: component refactoring, bugfixes and feature additions
See merge request idf/esp-idf!4245
2019-05-10 12:39:14 +08:00
Angus Gratton
b991aa1ecb
Merge branch 'bugfix/fix_minor_gh_issues' into 'master'
...
mdns: minor fixes mainly from GitHub
Closes #77
See merge request idf/esp-idf!4930
2019-05-10 12:31:30 +08:00
Angus Gratton
073573aa5d
Merge branch 'bugfix/issue_with_encryption_flag_for_partition' into 'master'
...
partition: Fix "encrypted" read/write when encryption is disabled
See merge request idf/esp-idf!4927
2019-05-10 10:51:21 +08:00
Angus Gratton
8720a13d0f
Merge branch 'bugfix/spiffsgen_path_on_windows' into 'master'
...
Fix issue with spiffsgen path when creating image in Windows
Closes IDFGH-1095
See merge request idf/esp-idf!4931
2019-05-10 10:23:28 +08:00
xiehang
403f588fd0
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
2019-05-09 19:49:59 +08:00
xiehang
67dd55eae8
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [576 1460]
2019-05-09 17:59:25 +08:00
suda-morris
63e4677c55
pass IDF_TARGET variable to bootloader build process
2019-05-09 14:19:02 +08:00
Ivan Grokhotkov
eeca0804e6
Merge branch 'bugfix/https_doc_api' into 'master'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
Closes IDFGH-1052
See merge request idf/esp-idf!4942
2019-05-09 11:23:01 +08:00
suda-morris
15070ea648
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-08 17:15:21 +08:00
V.Dudnik
7822484aaa
efuse: Fix unused variable warning when NDEBUG
...
Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
2019-05-08 09:14:24 +08:00
Roland Dobai
bfe5b13905
tools/gen_esp_err_to_name.py: Don't include already included headers
2019-05-06 15:08:37 +02:00
Roland Dobai
20bd142077
Fix paths to the new esp_common in the ESP error code generator
2019-05-06 15:07:27 +02:00
Hagen Fritsch
051b5c45c5
Fix includes in esp_err_to_name.c.in.
...
esp_err_t provided by esp_err.h and thus is required and not optional.
While the python script adds the header, it wraps it with an __has_include
directive that is not supported on all compilers (notably GCC 4.8).
Closes https://github.com/espressif/esp-idf/pull/3424
2019-05-06 14:52:13 +02:00
Anurag Kar
5e1c19d73d
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-05-06 14:32:24 +05:30
suda-morris
e0097bc740
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-06 14:07:54 +08:00
Angus Gratton
df61612f8f
Merge branch 'bugifx/httpd_reuseaddr' into 'master'
...
esp_http_server : Allow binding to same address and port upon restarting server without delay
Closes IDFGH-1060
See merge request idf/esp-idf!4903
2019-05-06 08:45:09 +08:00
V.Dudnik
867ea68d5a
fix spiffsgen.py wrong path delimiter on windows
2019-05-05 17:50:15 +08:00
wangmengyang
38ec1b9a86
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-05-05 11:42:27 +08:00
David Cermak
af48977f21
mdns: fixed mdns crashing on reception of txt packet without a corresponding service
...
closes #2866
2019-05-03 16:37:43 +02:00
David Cermak
c050a75616
mdns: use const char* for mdns txt items types to remove warning when assigning
2019-05-03 16:31:32 +02:00
David Cermak
a851aac255
mdns: updated doxygen comments documenting mdns api
...
Closes https://github.com/espressif/esp-idf/issues/1718
2019-05-03 16:29:12 +02:00
David Cermak
eddd5c4f2c
mdns: update mdns_out_question_s to be in line with mdns_parsed_question_s struct
...
Closes https://github.com/espressif/esp-idf/issues/1568
2019-05-03 14:54:59 +02:00
Tim Nordell
7892cf6a03
partition: Fix "encrypted" read/write when encryption is disabled
...
According to the documentation[1][2] for partitions, setting the encrypted
flag for partitions should be a no-op when system level encryption isn't
enabled. The current implementation, however, does not actually match
the documentation and it ends up with an unreadable partition via the
partition API if a partition flag is marked as encrypted without
system-level encryption enabled. (This is because the writes go through
the encryption block, and reads do not go through the encryption block
when this situation occurs causing unreadable data to the application
running.) This fixes up the read-back of the partition table to match
whether or not the partition is currently encrypted under the hood.
This should not affect the bootloader's code for reading/writing encrypted
partitions as the bootloader directly invokes the spi_flash_write*(...)
APIs.
[1] https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/partition-tables.html#flags
[2] https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html#encrypted-partition-flag
Closes https://github.com/espressif/esp-idf/pull/3328
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-05-03 15:03:04 +05:30
Jitin George
4e6d39f009
esp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT
...
Closes https://github.com/espressif/esp-idf/issues/3095
2019-05-02 16:15:59 +05:30
Anurag Kar
ffad8b27a3
esp_http_server : Allow binding to same address and port upon restarting server without delay
...
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket
Closes https://github.com/espressif/esp-idf/issues/3381
2019-05-02 05:29:38 +00:00
Tim Nordell
c3fa2497b9
nvs: Check if an item is modified before writing out an identical copy
...
This prevents wear and tear on the flash, and it also is faster in some
cases since the read-out of flash is a cheaper operation than the erasure
of flash. Some library modules (such as the esp_wifi) write out to NVS
upon every initialization without checking first that the existing value
is the same, and this speeds up initialization of modules that make
these design choices and moves it into a centralized place.
The comparison functions are based on the read-out functions of the same
name, and changes out the memcpy(...) operations for memcmp(...)
operations.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-04-30 11:39:58 -05:00
Jitin George
f49e91f744
esp_https_ota: Add support for URL redirection, basic auth and more control with new APIs
...
Bugfixes:
- Fix http url redirection issue
- Fix basic/digest auth issue with http url
Features:
- Add support for adding custom http header
- Add support for reading firmware image header
- Add support for monitoring upgrade status
- This requires breaking down esp_https_ota API such that it allows finer application level control
- For simpler use-cases previous API is still supported
Closes https://github.com/espressif/esp-idf/issues/3218
Closes https://github.com/espressif/esp-idf/issues/2921
2019-04-29 18:58:07 +05:30
Jitin George
86e1fc564e
esp_http_client: Add API for adding authorization info
...
There was existing support for adding authorization info in esp_http_client
but it was functional only while using `esp_http_client_perform` API. This commit just moves
existing authorization addition logic into publicly exposed API.
2019-04-29 11:44:37 +05:30
michael
0b523c2300
spi_master: fix the dual/quad io issue
...
introduced in f871cc5ffa
The issue is caused by
1. The hal didn't pass the io_mode to LL.
2. The setup_device function overwrite the trans-specific settings.
2019-04-27 01:36:47 +08:00
Konstantin Kondrashov
643d0f2164
freertos/test: Add unit tests for xTaskIncrementTick
2019-04-26 22:36:12 +08:00
Angus Gratton
fe2565f5d7
Merge branch 'feature/make_bootloader_support_target_dependent' into 'master'
...
make bootloader_support depend on IDF_TARGET
See merge request idf/esp-idf!4798
2019-04-26 15:36:48 +08:00
Angus Gratton
df9113e0e1
Merge branch 'feature/kconfig_backward_comp' into 'master'
...
Rename deprecated Kconfig options in a backward compatible way
Closes IDF-155
See merge request idf/esp-idf!4551
2019-04-26 10:09:29 +08:00
Angus Gratton
207e87932b
Merge branch 'fix/fix_soc_dram_low_addr' into 'master'
...
fix the dram low addr defined in the soc.h header
See merge request idf/esp-idf!4882
2019-04-26 08:43:22 +08:00
Jiang Jiang Jian
b5bbd42b9a
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4859
2019-04-25 20:38:37 +08:00
Jiang Jiang Jian
9c7fb51d7d
Merge branch 'feature/btdm_add_ble_link_timeout_config' into 'master'
...
Component/bt: add ble link timeout config in menuconfig
See merge request idf/esp-idf!4786
2019-04-25 20:04:53 +08:00
Ivan Grokhotkov
89798b328b
Merge branch 'bugfix/select_init_sem' into 'master'
...
VFS: Allocate socket select semaphore outside ISR
See merge request idf/esp-idf!4591
2019-04-25 19:10:08 +08:00
Michael (XIAO Xufeng)
9a00b7706e
fix the dram low addr defined in the soc.h header
2019-04-25 17:29:48 +08:00
Jiang Jiang Jian
7724a2e1a0
Merge branch 'bugfix/wifi_fix_wps_fail_when_ap_is_encrypted' into 'master'
...
esp_wifi: fix the bug that WPS fails when AP is encrypted
Closes IDF-623
See merge request idf/esp-idf!4827
2019-04-25 17:05:48 +08:00
Konstantin Kondrashov
8e434c1bf0
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-04-25 13:03:01 +08:00
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
XiaXiaotian
e1f743c8eb
esp_wifi: fix the bug that WPS fails when AP is encrypted
2019-04-24 13:57:14 +08:00
baohongde
db6b210a5f
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:17:54 +08:00
Vikram Dattu
e0d796bf33
Add a esp_http_client_set_redirection
function When using direct operations instead of esp_http_client_perform
, we need a way to set redirection URL when we get 30x response codes. Added the function for the same. User can now check status code and call esp_http_client_set_redirection
function to enable redirection. Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-23 19:29:49 +05:30
zhiweijian
0ae4eb4f09
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 09:16:19 +00:00
zhangyanjiao
513353c641
wifi: fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-22 11:59:40 +08:00
He Yin Ling
9549ae4c12
test: sync integration test cases
2019-04-19 16:44:00 +08:00
Angus Gratton
4b9a38d883
Merge branch 'feature/freemodbus_master_support_upd_arch' into 'master'
...
examples: freemodbus port common master and slave interface implementation
See merge request idf/esp-idf!3707
2019-04-18 12:42:05 +08:00
He Yin Ling
dd9de16100
Merge branch 'test/modify_mesh_ci_master' into 'master'
...
test: update mesh test cases for ci test
See merge request idf/esp-idf!4647
2019-04-18 11:28:50 +08:00
Ivan Grokhotkov
912c8e31fc
Merge branch 'bugfix/pm_isr_exit_lock' into 'master'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook
See merge request idf/esp-idf!4775
2019-04-18 11:16:26 +08:00
Angus Gratton
a20d02b7f1
Merge branch 'feature/remove_dependency_to_soc' into 'master'
...
global: remove dependency to soc everywhere except driver and kernel components
See merge request idf/esp-idf!4678
2019-04-18 08:08:41 +08:00
chenyudong
801e2cdaa3
test: update mesh test cases for ci
...
add mesh cases in files:
TC_IT_MESH_EST.yml, TC_IT_MESH_COMM.yml and TC_IT_MESH_MISC.yml
2019-04-17 17:05:33 +08:00
liu zhifu
4c50e51305
esp_wifi: fix a bug caused by signal test code
...
Fix a bug caused by signal test code.
2019-04-17 16:32:15 +08:00
Ivan Grokhotkov
48109e1f5d
Merge branch 'bugfix/adjtime_ut' into 'master'
...
newlib: Fix adjtime
See merge request idf/esp-idf!4676
2019-04-17 15:15:31 +08:00
Ivan Grokhotkov
d31ee806be
pm: prevent interrupt nesting during esp_pm_impl_isr_hook
...
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110 ,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.
Closes https://github.com/espressif/esp-idf/issues/3057
2019-04-17 07:13:52 +00:00
Ivan Grokhotkov
92989b5718
Merge branch 'bugfix/esp_tls_closing_fd0' into 'master'
...
esp_tls: fix incorrect closing of fd 0 on connection failure
See merge request idf/esp-idf!4726
2019-04-17 15:10:20 +08:00
Ivan Grokhotkov
8edc995ad6
Merge branch 'bugfix/pr_3250' into 'master'
...
Fix: Lost username when setting new URL with a path.
Closes IDFGH-904
See merge request idf/esp-idf!4755
2019-04-17 15:08:26 +08:00
Ivan Grokhotkov
327963e0cc
Merge branch 'bugfix/ut_leaks_tags' into 'master'
...
test: clean up "leaks" tags from most unit tests
See merge request idf/esp-idf!4779
2019-04-17 14:52:34 +08:00
Ivan Grokhotkov
bb4f5617ab
test: clean up "leaks" tags from most unit tests
2019-04-16 20:07:40 +08:00
suda-morris
3f2d6a0891
make bootloader_support depend on IDF_TARGET
...
1. move chip-specific code(e.g. encryption) into IDF_TARGET directory
2. splict app-only code to idf directory which won't be compiled into bootloader
2019-04-16 17:37:56 +08:00
Alex Lisitsyn
449d2a6367
freemodbus: Fix bug with incorrect coils read mask
...
Contains two different component folders per each implementation (serial_master and serial_slave) with concrete ports.
Added common public api for master and slave and common interface for master and slave implementation.
Add support of cmake system (added cmake files).
Added sdkconfig.defaults files for slave and master modbus examples.
Updated make file and KConfig for freemodbus component
Update according to review and fix doxygen warnings
Fix Doxyfile to pass documentation build
Update headers and change interface file names as per review comments
Merge branch feature/freemodbus_move_rs485_mode_control
Update after review:
The stack modbus folder updated to support master and slave ports together and moved into freemodbus/modbus
Stack and port files updated to remove duplicated simbols
Make file, KConfig and CMakeLists.txt updated to compile master and slave stacks, common interface and concrete implementations of ports
Stack callback functions execute callbacks using interface pointer from concrete port implementation
User can instantiate any of concrete port using common API (only one concrete port at a time) and it does not require to select port by KConfig
Port pins and mode configuration moved into example files from port files to allow user select pins and port mode (customer request)
Changes tested using pymodbus, ModbusPoll and communication between two boards
Updated DoxyFile according to public include path
Fix maximum instance size for slave (merge from master of customer issue)
Fix critical section issue TW#28622 (change spin lock based critical section to semaphore)
Move serial port files into component port folder for master and slave accordingly
Fix example issue showed in the log when IO slave is not configured correctly
Fix conflicts while merging from origin/master
Fix errors handling in modbus controller interface + some final corrections according to review
Update maximum allowed number of slaves in the network segment
Fix bug with incorrect coils read mask
Closes https://github.com/espressif/esp-idf/issues/858
2019-04-16 10:21:20 +02:00
Anurag Kar
86e9acc2c9
Protocomm : Added new APIs for opening and closing secure sessions
...
New APIs:
* protocomm_open_session()
* protocomm_close_session()
This allows external applications using protocomm to manually create and close sessions.
These internally call the new_transport_session() and close_transport_session() APIs implemented by the security scheme in use.
Updated unit tests with usage of new APIs
2019-04-16 13:50:01 +05:30
Anurag Kar
cccf829366
Protocomm : Session security now supports multiple instances of the same type
...
List of changes:
* Security APIs accept handle to instance created during initialization
* Protocomm internally stores the security instance handle and calls security APIs with this handle as first parameter
2019-04-16 13:47:13 +05:30
Roland Dobai
74dd9b4f5f
esp_http_client: fix CI issues & return value
2019-04-16 09:03:14 +02:00
Nguyễn Hồng Quân
4a6c5032f4
Fix: Lost username when setting new URL with a path.
...
Closes https://github.com/espressif/esp-idf/pull/3250
2019-04-16 08:58:36 +02:00
Michael (XIAO Xufeng)
562af8f65e
global: move the soc component out of the common list
...
This MR removes the common dependency from every IDF components to the SOC component.
Currently, in the ``idf_functions.cmake`` script, we include the header path of SOC component by default for all components.
But for better code organization (or maybe also benifits to the compiling speed), we may remove the dependency to SOC components for most components except the driver and kernel related components.
In CMAKE, we have two kinds of header visibilities (set by include path visibility):
(Assume component A --(depends on)--> B, B is the current component)
1. public (``COMPONENT_ADD_INCLUDEDIRS``): means this path is visible to other depending components (A) (visible to A and B)
2. private (``COMPONENT_PRIV_INCLUDEDIRS``): means this path is only visible to source files inside the component (visible to B only)
and we have two kinds of depending ways:
(Assume component A --(depends on)--> B --(depends on)--> C, B is the current component)
1. public (```COMPONENT_REQUIRES```): means B can access to public include path of C. All other components rely on you (A) will also be available for the public headers. (visible to A, B)
2. private (``COMPONENT_PRIV_REQUIRES``): means B can access to public include path of C, but don't propagate this relation to other components (A). (visible to B)
1. remove the common requirement in ``idf_functions.cmake``, this makes the SOC components invisible to all other components by default.
2. if a component (for example, DRIVER) really needs the dependency to SOC, add a private dependency to SOC for it.
3. some other components that don't really depends on the SOC may still meet some errors saying "can't find header soc/...", this is because it's depended component (DRIVER) incorrectly include the header of SOC in its public headers. Moving all this kind of #include into source files, or private headers
4. Fix the include requirements for some file which miss sufficient #include directives. (Previously they include some headers by the long long long header include link)
This is a breaking change. Previous code may depends on the long include chain.
You may need to include the following headers for some files after this commit:
- soc/soc.h
- soc/soc_memory_layout.h
- driver/gpio.h
- esp_sleep.h
The major broken include chain includes:
1. esp_system.h no longer includes esp_sleep.h. The latter includes driver/gpio.h and driver/touch_pad.h.
2. ets_sys.h no longer includes soc/soc.h
3. freertos/portmacro.h no longer includes soc/soc_memory_layout.h
some peripheral headers no longer includes their hw related headers, e.g. rom/gpio.h no longer includes soc/gpio_pins.h and soc/gpio_reg.h
BREAKING CHANGE
2019-04-16 13:21:15 +08:00
zhangyanjiao
7097e5b0d0
wifi: fix the set config bug for bssid_set
2019-04-16 10:57:00 +08:00
Angus Gratton
936ee2884b
Merge branch 'bugfix/esp_efuse_get_pkg_ver' into 'master'
...
efuse: Fix excess data coming from uninitialized variable
Closes IDFGH-976
See merge request idf/esp-idf!4778
2019-04-16 08:10:53 +08:00
Angus Gratton
652302bd06
Merge branch 'feature/sntp_cb_function' into 'master'
...
sntp: Add some modes for time synchronization
Closes IDF-236
See merge request idf/esp-idf!4472
2019-04-16 07:28:04 +08:00
GOPTIONS\pfrost
0e69a7efc2
efuse: Fix excess data coming from uninitialized variable
...
Fixed esp_efuse_get_pkg_ver() function
Closes: https://github.com/espressif/esp-idf/pull/3309
Closes: IDFGH-976
2019-04-15 12:32:26 +00:00
Ivan Grokhotkov
1c21bc5c81
Merge branch 'bugfix/freemodbus_fix_incorrect_read_coil_event' into 'master'
...
freemodbus: fix incorrectly set coils read event in modbus controller
See merge request idf/esp-idf!4749
2019-04-15 19:41:49 +08:00
Jiang Jiang Jian
603d293365
Merge branch 'feature/btdm_AVRCP_TG' into 'master'
...
component/bt: implement AVRCP Target APIs
See merge request idf/esp-idf!3899
2019-04-15 18:53:51 +08:00
Konstantin Kondrashov
7e5be1b58c
sntp/lwip: Add some modes for time synchronization
...
Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
2019-04-15 18:11:47 +08:00
Jiang Jiang Jian
8b2128ce07
Merge branch 'feature/add_support_for_signal_test' into 'master'
...
esp_wifi: add support for signal test
Closes WIFI-324
See merge request idf/esp-idf!4717
2019-04-15 17:45:01 +08:00
Ivan Grokhotkov
d359d4c77c
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config' into 'master'
...
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
See merge request idf/esp-idf!4761
2019-04-15 15:57:49 +08:00
Jitin George
77645472ae
esp_tls: fix incorrect closing of fd 0 on connection failure
...
Closes https://github.com/espressif/esp-idf/issues/3149
2019-04-15 10:59:50 +05:30
Ivan Grokhotkov
f935294c48
Merge branch 'doc/move_WiFi_Kconfig' into 'master'
...
move WiFi-specific Kconfig to esp-wifi component
See merge request idf/esp-idf!4736
2019-04-15 12:00:59 +08:00
aleks
eebbced5b6
freemodbus: fix incorrectly set coils read event
...
incorrect set of the MB_EVENT_COILS_WR event is changed while read coils in mbcontroller.c file
added read/write handling for appropriate registers in freemodbus.c example file
Closes https://github.com/espressif/esp-idf/issues/3289
2019-04-15 03:30:31 +00:00
Mahavir Jain
f4328e5346
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
...
Closes https://github.com/espressif/esp-idf/issues/3297
2019-04-15 03:08:26 +00:00
liu zhifu
2e129ca31d
esp_wifi: add support for signal test
...
Add support for WiFi signal test
2019-04-15 10:14:31 +08:00
Angus Gratton
f871cc5ffa
Merge branch 'feat/spi_hal_support' into 'master'
...
spi_master: refactor and add HAL support
See merge request idf/esp-idf!4159
2019-04-15 07:57:11 +08:00
Jiang Jiang Jian
6a323a6d7c
Merge branch 'feature/wifi_refactor_softap_power_save' into 'master'
...
refactor softap power save
Closes WIFI-415 and IDF-81
See merge request idf/esp-idf!1905
2019-04-12 23:48:11 +08:00
Jiang Jiang Jian
0e1a39f813
Merge branch 'bugfix/nvs_fix_erase_any' into 'master'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
See merge request idf/esp-idf!4634
2019-04-12 23:04:10 +08:00
Jiang Jiang Jian
ab672a5ee7
Merge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr' into 'master'
...
component/bt: fix memory leak when settig tx power
See merge request idf/esp-idf!4712
2019-04-12 23:00:44 +08:00
Jiang Jiang Jian
91eb59f543
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash' into 'master'
...
bugfix(psram): improve spi cs timing settings for psram
See merge request idf/esp-idf!4641
2019-04-12 22:57:04 +08:00
Ivan Grokhotkov
7728f8755e
Merge branch 'feat/example_sdio_over_spi' into 'master'
...
sdio: support SDIO over spi
See merge request idf/esp-idf!3069
2019-04-12 16:12:57 +08:00
Angus Gratton
65664f8e99
Merge branch 'feature/move_aws_iot_to_independent_repository' into 'master'
...
aws_iot: moving AWS IoT to independent repository
See merge request idf/esp-idf!4624
2019-04-12 16:06:38 +08:00
Ivan Grokhotkov
0bca9d20d8
Merge branch 'feature/esp_event_loop_library_compat_base' into 'master'
...
Implement Wi-Fi, Ethernet, IP event handling based on esp_event library
Closes IDF-37 and IDF-267
See merge request idf/esp-idf!3635
2019-04-12 13:54:18 +08:00
Mahavir Jain
1cfa09d4e8
aws_iot: moving AWS IoT to independent repository
...
Like other cloud frameworks, AWS IoT will also be supported through
independent repository, https://github.com/espressif/esp-aws-iot
2019-04-12 05:36:05 +00:00
Angus Gratton
f2ce4fc81b
Merge branch 'bugfix/enb_secboot_post_flash_enc' into 'master'
...
Enable secure boot only after encrypting flash
Closes IDF-234
See merge request idf/esp-idf!4709
2019-04-12 13:33:50 +08:00
Konstantin Kondrashov
5021129e71
Add support a [leaks] tag for UT
2019-04-12 09:31:23 +08:00
michael
8a364b4bdf
sdmmc: support SDIO over SPI
2019-04-12 02:24:28 +08:00
XiaXiaotian
b576bf25a7
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing
when the associated stations enable IEEE80211 legacy power
save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power
save.
2019-04-11 20:16:58 +08:00
Kirill Chalov
a01ec59f74
Review log.rst and index.rst files in api-reference/system
2019-04-11 15:33:38 +08:00
suda-morris
c0df805ded
make esp_wifi component depend on CONFIG_NO_BLOBS
...
If CONFIG_NO_BLOBS is enabled, esp_wifi won't link wifi library.
2019-04-11 14:07:52 +08:00
suda-morris
958c2792e3
move WiFi-specific Kconfig to esp-wifi component
...
1. separate Kconfig from esp32 component
2. modify component.mk for esp_wifi a little bit to make it depend on IDF_TARGET
2019-04-11 12:33:15 +08:00
Ivan Grokhotkov
70eda3d221
Merge branch 'feature/gcc8_use_bundled_newlib' into 'master'
...
Use newlib headers and libraries from toolchain when compiling with GCC 8.2
See merge request idf/esp-idf!4450
2019-04-11 12:19:29 +08:00
Ivan Grokhotkov
25784ba87a
wifi: don’t disable event handling for SoftAP
...
Events are needed to initialise the tcpip_adapter and start the DHCP server
2019-04-11 12:05:27 +08:00
Ivan Grokhotkov
74cd8dac9d
esp_event: don’t warn if no handlers are present for specific event
2019-04-11 12:05:27 +08:00
Ivan Grokhotkov
198d7d4754
tcpip_adapter: unregister shutdown handlers, don’t fail on repeated registration
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
b1a722b2ca
system_api: return error on repeated registration of shutdown handler
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
bd309a133f
system_api: add esp_unregister_shutdown_handler
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
b94fcb192e
event: re-add wifi disconnect reason logging ( e621e0af
)
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
6890ea09cd
docs: add event handling API guide
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
a2d59525e5
mdns: use esp_event library to handle events
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
b1d1e37f87
event loop: re-implement based on esp_event library
...
Includes ds2ds unit test fix, iperf example test fix
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
1872e34115
tcpip_adapter: add event declarations
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
c001553027
ethernet: add event declarations
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
8b57fe9515
wifi: add event declarations
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
e37b0ad648
esp_event: move trailing semicolons out of defines
2019-04-11 12:04:58 +08:00
Jiang Jiang Jian
76b39403ad
Merge branch 'bugfix/wifi_spike_power' into 'master'
...
esp32: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist
See merge request idf/esp-idf!4611
2019-04-11 11:49:26 +08:00
Anton Maklakov
a567b6c1f6
pthread: Use a definition only if we have the old toolchain
2019-04-10 21:07:10 +07:00
Anurag Kar
62b0d51c02
Enable secure boot only after encrypting flash
...
This prevents a device from being bricked in case when both secure boot & flash encryption are enabled and encryption gets interrupted during first boot. After interruption, all partitions on the device need to be reflashed (including the bootloader).
List of changes:
* Secure boot key generation and bootloader digest generation logic, implemented inside function esp_secure_boot_permanently_enable(), has been pulled out into new API esp_secure_boot_generate_digest(). The enabling of R/W protection of secure boot key on EFUSE still happens inside esp_secure_boot_permanently_enable()
* Now esp_secure_boot_permanently_enable() is called only after flash encryption process completes
* esp_secure_boot_generate_digest() is called before flash encryption process starts
2019-04-10 18:17:58 +05:30
negativekelvin
9a319772e1
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-04-10 11:45:29 +00:00
Renz Christian Bagaporo
659f1a1253
esp_event: test posting from interrupt handler
2019-04-10 18:06:05 +08:00
Renz Christian Bagaporo
2b914f2d22
esp_event: allow posting events from ISRs
2019-04-10 18:06:05 +08:00
wangmengyang
61bd453c15
component/bt: implement AVRCP Target APIs
...
1. Add more notification events to the enum according to the event list in AVRCP specification.
2. Add API and callback events for basic AVRCP target functionalities to do init, deinit, callback-registration, connection status indication.
3. Implement API to set/get supported PASSTHROUGH command on local AVRCP TG, implement callback events for remote passthrough command indication.
4. Implement API to set/get supported notification eventIDs on local AVRCP TG, implement API to send event notifications to remote CT. \
Currently supported event in TG only includes ESP_AVRC_RN_VOLUME_CHANGE(0xd), which can be extended in later commits.
5. Implement callback events for SetAbsoluteVolume command indication on TG.
6. Add limitation of event_ids supported in RegisterNotification command in CT. The supported event_ids include: \
ESP_AVRC_RN_PLAY_STATUS_CHANGE(0x1), ESP_AVRC_RN_TRACK_CHANGE(0x2), ESP_AVRC_RN_PLAY_POS_CHANGE(0x5), ESP_AVRC_RN_VOLUME_CHANGE(0xd).
7. Add feature bit mask in parameter of callback event ESP_AVRC_CT_REMOTE_FEATURES_EVT for peer feature information got from SDP.
8. Add API and callback event to AVRCP CT to retrieve remote TG's supported notification event capabilities.
9. Modify data type for parameter of callback event ESP_AVRC_CT_CHANGE_NOTIFY_EVT.
10. Change AVRCP version from 1.3 to 1.4 for compatibility cause in using AbsoluteVolume feature.
11. Modify local AVRCP device to be category 1 as CT and category 2 as TG that applies to bluetooth headphones or speakers.
12. Update the use of AVRCP APIs and events in the two examples: a2dp_sink and a2dp_gatts_coex, which include the demo of volume control and notification.
2019-04-10 16:34:13 +08:00
Ivan Grokhotkov
5719cd6fac
newlib: when compiling with GCC8, use newlib headers and libraries from toolchain
2019-04-10 13:52:30 +08:00
Ivan Grokhotkov
05aab5c0b9
newlib: force including IDF locks implementation
2019-04-10 13:52:30 +08:00
Ivan Grokhotkov
898b4bdf4d
newlib: when compiling with GCC8, use newlib headers and libraries from toolchain
2019-04-10 13:52:30 +08:00
Ivan Grokhotkov
8c2f2867d8
esp_rom: don’t include locale functions when compiling with newlib 3
2019-04-10 13:52:30 +08:00
Ivan Grokhotkov
e84b26f531
esp_rom: export newlib functions as strong symbols
2019-04-10 13:52:30 +08:00
Ivan Grokhotkov
31b4fc8eb8
pthread: add dummy implementation of pthread_setcancelstate
...
Used by new versions of newlib in stdio functions.
2019-04-10 13:48:57 +08:00
Ivan Grokhotkov
d15e18aa5d
newlib: fixes for compatibility with newlib 3.0
2019-04-10 13:48:57 +08:00
Ivan Grokhotkov
4770acf1cb
newlib: add missing tzset() to the time test
2019-04-10 13:48:57 +08:00
Ivan Grokhotkov
7027d2dfe8
spi_master: compile as C11 due to use of stdatomic.h
...
stdatomic.h is available both in newlib and GCC include directories.
Normally (if you invoke the compiler without any flags) GCC include
directories are first on the list, so GCC’s stdatomic.h is used. In
IDF, we used to pass newlib include path as an extra include
directory, so newlib’s stdint.h got included instead.
Newlib 2.2.0 stdatomic implementation is compatible with -std=gnu99
but incompatible with -std=gnu11. And GCC doesn’t support atomic_load
with -std=gnu99 (it’s a C11 feature). So when we used atomic_load
with -std=gnu99, it worked due to newlib’s header.
Since we are no longer going to be including newlib headers into IDF,
GCC stdatomic will be used instead. Hence, add -std=gnu11 for source
files which use atomic features.
2019-04-10 13:48:57 +08:00
Vikram Dattu
a875505546
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-10 05:40:16 +00:00
Angus Gratton
c064e00842
Merge branch 'bugfix/make_bootloader_depends_on_target' into 'master'
...
make bootloader depend on IDF_TARGET
See merge request idf/esp-idf!4704
2019-04-10 13:07:52 +08:00
Konstantin Kondrashov
62a9eacced
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-10 04:33:44 +00:00
XiaXiaotian
c580eecf89
esp32_wifi: fix the issue that the spike transmit power of WiFi is higher
...
than configured when WiFi and Bluetooth coexist
2019-04-10 10:19:55 +08:00
Jiang Jiang Jian
83d2ff07c6
Merge branch 'bugfix/increase_block_scan_timeout_value' into 'master'
...
esp_wifi: increase block scan timeout value
Closes WIFI-396
See merge request idf/esp-idf!4695
2019-04-09 20:45:21 +08:00
Wangjialin
448d32bc53
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-09 11:24:10 +08:00
Angus Gratton
2cf4a69f9b
Merge branch 'bugfix/ws_transport_crash_on_connect_fail' into 'master'
...
transport_ws: Stop connecting when the parent's connect call has failed
See merge request idf/esp-idf!4701
2019-04-09 10:19:47 +08:00
Angus Gratton
911e503a36
Merge branch 'bugfix/prov_fix_conn_id' into 'master'
...
Unified Provisioning: Miscellaneous fixes in BLE
See merge request idf/esp-idf!4691
2019-04-09 09:28:18 +08:00
liu zhifu
005f95e3f3
esp_wifi: increase WiFi block scan timeout value
...
Increase WiFi block scan internal timeout value.
2019-04-09 09:24:34 +08:00
Angus Gratton
8e91677701
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff' into 'master'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits
See merge request idf/esp-idf!4642
2019-04-09 08:10:06 +08:00
suda-morris
78034879a8
make bootloader depend on IDF_TARGET
2019-04-08 11:08:06 +08:00
XiaXiaotian
5d43ec64bd
esp_wifi: fix the bug that no TBTT will be generated anymore after receiving
...
wrong beacon when WiFi and BT coexist.
2019-04-08 10:36:29 +08:00
Hrishikesh Dhayagude
a717825b7e
Unified Provisioning: Miscellaneous fixes in BLE
...
1. Pass the correct conn_id to protocomm_req_handle
In transport_simple_ble_write(), passing param->exec_write.conn_id would
be invalid. Instead param->write.conn_id should be passed
Similar change in transport_simple_ble_exec_write() to use
param->exec_write.conn_id
2. simple_ble_start() assumes that the mode is BLE only and enables
Bluetooth controller accordingly. For, cases having BT + BLE like Alexa
(Provisioning over BLE + Audio over classic BT), this assumption should
be removed.
2019-04-05 14:27:24 +05:30