Konstantin Kondrashov
9c715d7946
bootloader_support: Fix enable rtc_wdt for resolve issue with varying supply
...
Eliminates the issue with the lock up in the bootloader due to a power drawdown during its operation.
Closes https://github.com/espressif/esp-idf/issues/1814
2018-09-03 05:43:01 +00:00
Angus Gratton
83a179abb0
esp32: Add esp_fill_random() function
...
Convenience function to fill a buffer with random bytes.
Add some unit tests (only sanity checks, really.)
2018-09-03 04:39:45 +00:00
Angus Gratton
767ec27350
bootloader_support: Move bootloader_random.h to public header directory
2018-09-03 04:39:45 +00:00
Angus Gratton
ae4efeb3dc
mconf: Don't include system headers in dependency files
...
Fixes issue where build gets stuck because of .d files in the
tools/kconfig directory.
Closes https://github.com/espressif/esp-idf/issues/712
2018-09-03 03:45:15 +00:00
Angus Gratton
5f1844a0c8
Merge branch 'bugfix/heap_poison_swap_check' into 'master'
...
heap: When verifying & swapping a fill pattern, stop swapping if verification fails
See merge request idf/esp-idf!2890
2018-09-03 11:19:16 +08:00
Angus Gratton
084ca82f96
Merge branch 'feature/bootloader_minor_enhancements' into 'master'
...
Feature/bootloader minor enhancements
See merge request idf/esp-idf!3111
2018-09-03 10:56:30 +08:00
Angus Gratton
27a1758908
Merge branch 'mesh/rewrite_docs' into 'master'
...
docs/rewrite_mesh_docs
See merge request idf/esp-idf!2990
2018-09-03 10:52:33 +08:00
Darian Leung
f4c3917712
docs/rewrite_mesh_docs
...
The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.
2018-09-02 21:34:21 +08:00
Darian Leung
dc3fa14a26
CAN: Add pm_lock, fix gpio bug, update docs
...
This commit does the following
- Add power management lock to CAN driver so that APB frequency does not change
whilst CAN driver is in use
- Fix incorrect flag in can_transmit()
- Refactor can_driver_install() and can_driver_uninstall() so that critical sections
are shorter
- Fix CAN gpio configuration bug on RX pin. Closes #2302
- Add docs about multiple ID configuration and fix example links
2018-09-01 02:46:05 +08:00
Hrishikesh Dhayagude
4abe47437f
components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
...
Problem:
The new API esp_bt_mem_release() that was added freed BTDM data to heap from esp_bt_controller_mem_release().
Now with the BT memory optimization commit ee787085f9
,
the BTDM data is optimized and reduced to only 32 bytes which is not sufficient amount to be added to heap.
So, using the API leads to assert saying that the region is too small.
Solution:
Modify heap_caps_add_region_with_caps to return ESP_ERR_INVALID_SIZE in case the range is too small to create a new heap.
Do not assert if return value is ESP_ERR_INVALID_SIZE
This also fixes using API esp_bt_controller_mem_release() with ESP_BT_MODE_BTDM
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-31 14:28:23 +00:00
Jiang Jiang Jian
a557e8cc14
Merge branch 'bugfix/fix_bt_hdr_files' into 'master'
...
components/bt: Make a pass through Bluetooth header files
See merge request idf/esp-idf!3093
2018-08-31 22:04:39 +08:00
Jiang Jiang Jian
2d0124698e
Merge branch 'bugfix/btdm_update_private_address' into 'master'
...
component/bt: Update BLE private address after it's private address interval
See merge request idf/esp-idf!2987
2018-08-31 21:33:54 +08:00
Jiang Jiang Jian
4542bf19f7
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'
...
component/bt: Fix bug rfcomm test command cause crash
See merge request idf/esp-idf!3080
2018-08-31 21:33:39 +08:00
Jiang Jiang Jian
e3778d7bd9
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into 'master'
...
component/bt: Fix bug of SDP find services by uuid always return success
See merge request idf/esp-idf!3036
2018-08-31 21:27:21 +08:00
Jiang Jiang Jian
da1a439153
Merge branch 'feature/modify_smart_config' into 'master'
...
modify smart config example
See merge request idf/esp-idf!3142
2018-08-31 21:01:57 +08:00
Jiang Jiang Jian
430eeef5a2
Merge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'
...
update wifi lib to fix two bugs
See merge request idf/esp-idf!3125
2018-08-31 21:01:12 +08:00
Jiang Jiang Jian
76413309a5
Merge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'
...
when brownout reset occurs, set the phy TX Power to the lowest
See merge request idf/esp-idf!2854
2018-08-31 20:37:18 +08:00
zhangyanjiao
6daecf73ce
modify espnow example
2018-08-31 19:21:15 +08:00
Roland Dobai
276cba1103
idf_monitor: Fix Unicode decoding on Windows
...
Closes https://github.com/espressif/esp-idf/issues/2348
2018-08-31 12:20:55 +02:00
Angus Gratton
38c0626090
cmake app_update: Add "flash blank otadata" functionality to cmake
2018-08-31 12:30:14 +08:00
Angus Gratton
a6282e3e5e
cmake idf.py: Print flasher file arguments in order of file offset
...
Previously, order was random
2018-08-31 12:29:38 +08:00
Angus Gratton
c921f14128
cmake: Generate list of components with dependent items first, use deterministic ordering
...
Guarantees that a component's project_include.cmake will be called after its dependent components'
project_include.cmake. Because of cycles in the dependency graph, this is less useful than you'd
think but it gives a strong guarantee for any component which is not part of a cycle.
Also applies deterministic ordering (ordering is initialised as COMPONENT_REQUIRES_COMMON then all
COMPONENTS in alphabetical order, but then the sorting by dependencies is applied.)
2018-08-31 12:29:13 +08:00
zhangyanjiao
b952031947
fix the esp_wifi_disconnect() err when wifi is not started or inited
...
Closes: https://github.com/espressif/esp-idf/issues/2336
2018-08-31 10:49:52 +08:00
Angus Gratton
6de75e03ac
Merge branch 'ci/add_check_stage' into 'master'
...
ci: Add 'check' stage, move all check-related jobs to this stage
See merge request idf/esp-idf!2986
2018-08-31 10:08:59 +08:00
Dennis Damen
d8cf8074ec
Updated command to get compiler specs.
...
Eclipse was unable to resolve the std::mutex type eventhough the mutex header file was succesfully included. By adding this modification, the issues was resolved.
2018-08-30 22:00:47 +02:00
Jiang Jiang Jian
4cd1643006
Merge branch 'bugfix/btdm_security_vulnerability' into 'master'
...
fix bluetooth security vulnerability of ECDH public key checking
See merge request idf/esp-idf!3089
2018-08-31 02:02:59 +08:00
Jiang Jiang Jian
cda3eff3a2
Merge branch 'bugfix/wifi_reorder_mpdu_as_ampdu' into 'master'
...
esp32: reorder MPDU as AMPDU
See merge request idf/esp-idf!3108
2018-08-31 01:59:50 +08:00
XiaXiaotian
cfaf6c2729
esp32: reorder MPDU as AMPDU
...
Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
receive both AMPDU and MPDU in order, MPDU must be reordered with
AMPDU.
2018-08-30 17:18:48 +00:00
Roland Dobai
5395435816
Add basic support for termios.h
...
Closes https://github.com/espressif/esp-idf/issues/2063
2018-08-30 14:29:20 +02:00
Ivan Grokhotkov
499d06746b
Merge branch 'bugfix/py3_error_code_generator_from_docs' into 'master'
...
Docs: Check Python packages
See merge request idf/esp-idf!3135
2018-08-30 20:25:09 +08:00
zhangyanjiao
98cf74d1b7
modify static variables and README file
2018-08-30 19:52:10 +08:00
Roland Dobai
7cfef29eb8
Docs: Check Python packages
2018-08-30 13:20:42 +02:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
31cbd1b251
Merge branch 'feature/emmc_ddr' into 'master'
...
sdmmc: eMMC support, command layer refactoring
See merge request idf/esp-idf!3062
2018-08-30 18:14:35 +08:00
Angus Gratton
7440d5f920
Merge branch 'feature/py3_idf_size' into 'master'
...
tools: Support Python 3 in idf_size.py
See merge request idf/esp-idf!2849
2018-08-30 18:12:17 +08:00
zhangyanjiao
5425979932
when brownout reset occurs,set the phy TX Power to the lowest
2018-08-30 14:22:03 +08:00
Angus Gratton
c4ed9d15f7
heap: Drop priority of DMA reserved memory pool
...
Ensures that non-reserved memory should be used up first, before allocating from this pool.
2018-08-30 06:18:18 +00:00
Angus Gratton
776c57e0ac
heap: When adding a new heap, allocate its metadata block from internal memory only
2018-08-30 06:18:18 +00:00
Angus Gratton
fafe532f35
ci: Add 'check' stage, move all check-related jobs to this stage
...
Allows us to prevent pushing to GitHub if a check fails on master/release branch.
2018-08-30 14:14:48 +08:00
Ivan Grokhotkov
da34e3eb68
sdmmc: document eMMC support, host features
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
b7e5b28f49
sdmmc: update unit tests for ESP_eMMC_TestBoard_V1
...
1. New tests for SD card on slot 0. Currently frequency for 4-bit mode
has to be reduced in the test.
2. Change pin for CD/WP tests, re-enable CD tests.
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
78fab8a0f9
sdmmc: implement partial DDR support
...
Works for 3.3V eMMC in 4 line mode.
Not implemented:
- DDR mode for SD cards (UHS-I) also need voltage to be switched to 1.8V.
- 8-line DDR mode for eMMC to be implemented later.
2018-08-30 13:11:54 +08:00
Ivan Grokhotkov
de42d99b1d
sdmmc: command layer refactoring
2018-08-30 13:11:54 +08:00
Angus Gratton
1806a69abf
Merge branch 'bugfix/http_server_example_tests' into 'master'
...
http_server : Fix and enable example tests
See merge request idf/esp-idf!2960
2018-08-30 12:46:29 +08:00
Tian Hao
5a8917c337
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:39:19 +08:00
sergiu2014
383464749a
eMMC/MMC support for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/1941
Previous work in https://github.com/espressif/esp-idf/pull/590
2018-08-30 11:36:28 +08:00
Ivan Grokhotkov
80e47a005d
sdmmc host: minor cleanup
...
Code style, comments
2018-08-30 11:36:28 +08:00
Angus Gratton
100a325129
Merge branch 'fix/spi_example_wait_gpio' into 'master'
...
spi: fix the misleading example, letting the master wait until slave is ready
See merge request idf/esp-idf!3136
2018-08-30 11:29:38 +08:00
He Yin Ling
b01e87bbaf
Merge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'
...
test: fix bug of BTSTK_GATT_25007
See merge request idf/esp-idf!3096
2018-08-30 11:19:04 +08:00