Angus Gratton
e54f3d9616
Merge branch 'bugfix/bootloader_random_in_app' into 'master'
...
esp32: Allow bootloader_random.h use in app, add esp_fill_random() function
See merge request idf/esp-idf!3124
2018-09-04 10:39:12 +08:00
Angus Gratton
49656656c3
Merge branch 'bugfix/lock_up_if_supply_is_varying' into 'master'
...
bootloader_support: Fix enable wdt for resolve issue with varying supply
See merge request idf/esp-idf!2769
2018-09-04 00:37:52 +08:00
Roland Dobai
f755a0371d
Use check_python_dependencies everywhere as order-only-prerequisite
2018-09-03 11:42:10 +02:00
Angus Gratton
6976f5671c
Merge branch 'bugfix/heap_dma_pool_fixes' into 'master'
...
heap: Fixes around DMA reserved pool
See merge request idf/esp-idf!3034
2018-09-03 15:43:01 +08:00
Angus Gratton
1a0b39a1b3
Merge branch 'bugfix/add_core_id_to_idle_task_name' into 'master'
...
freertos: Add core ID to idle task names
See merge request idf/esp-idf!3159
2018-09-03 14:40:37 +08:00
Konstantin Kondrashov
26ee0f5203
esp32/task_wdt: Add timestamp to message isr_twdt
...
Closes https://github.com/espressif/esp-idf/issues/2270
2018-09-03 14:31:22 +08:00
Konstantin Kondrashov
4fc84306a2
esp32/task_wdt: Add esp_task_wdt_isr_user_handler function
...
Added esp_task_wdt_isr_user_handler function to receive twdt events in
the user code.
Closes https://github.com/espressif/esp-idf/issues/2270
2018-09-03 14:31:20 +08:00
Darian Leung
977619f23c
freertos: Add core ID to idle task names
...
This commit adds the core number to the name of each idle task.
2018-09-03 13:50:05 +08:00
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
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
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
Angus Gratton
38c0626090
cmake app_update: Add "flash blank otadata" functionality to cmake
2018-08-31 12:30:14 +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
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
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
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
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
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
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
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
Jiang Jiang Jian
9be09692b1
Merge branch 'bugfix/btdm_get_acl_num' into 'master'
...
component/bt : fix get acl number incorrect due to memory release
See merge request idf/esp-idf!3090
2018-08-30 11:12:46 +08:00
Angus Gratton
ff54bfcde1
Merge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'
...
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
See merge request idf/esp-idf!3041
2018-08-30 10:00:07 +08:00
Jiang Jiang Jian
ba17648aea
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
...
mesh: bugfix and add two APIs
See merge request idf/esp-idf!3107
2018-08-29 23:05:32 +08:00
Angus Gratton
49a910adfb
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-29 20:22:55 +08:00
Angus Gratton
cb158f1194
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-29 20:22:55 +08:00
Angus Gratton
7f06543817
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-29 20:22:55 +08:00
Mahavir Jain
8227db4f5e
spi_flash: fix erase_range for block erase check
...
Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Mahavir Jain
62746e414e
bootloader: add API for erasing flash region
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Mahavir Jain
4a987dacca
bootloader: keep bootloader_common code to retention region
...
It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Angus Gratton
393c29b656
cmake: Fix bt component dependencies
2018-08-29 19:37:25 +08:00
Angus Gratton
068a3e2f6a
cmake: Fix flasher argument generation
2018-08-29 19:37:19 +08:00
Angus Gratton
b364f23e17
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-08-29 17:05:29 +08:00
Anton Maklakov
8c040e749f
bluetooth: fix format overflow warnings
2018-08-29 14:40:28 +08:00
Anton Maklakov
779bce7681
bluetooth: fix incorrect memset size
2018-08-29 14:40:28 +08:00
Anton Maklakov
e8eb8cb2a4
bluetooth: fix missing braces and indentation
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
ed546797d0
heap: test: don’t warn about oversized mallocs
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
033b694128
bt/a2dp: fix incorrect return type
...
res was declared as “bool” so expression
((count == 0) ? A2D_SET_ONE_BIT : A2D_SET_MULTL_BIT)
always evaluated to “true”, and was implicitly converted to
A2D_SET_ONE_BIT.
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
9fbe42c0f1
bt/bta: fix returning value from function returning void
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
536df958ad
bt/btm: fix misplaced debug statement
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
324004f7b3
spiffs: test: check for truncation in snprintf call
2018-08-29 12:49:15 +08:00
Ivan Grokhotkov
9ba5896d86
driver, ethernet: fix non-static inline functions
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81734
2018-08-29 12:49:15 +08:00
Ivan Grokhotkov
fc0c110efd
driver: test: fix memset out of bounds in spi_master test
2018-08-29 12:49:15 +08:00
Ivan Grokhotkov
946a823ccb
syscalls: fix type conversion for _raise_r stub
2018-08-29 12:49:15 +08:00
Alexey Gerenkov
7e5c235b9d
app_trace: Fix tmo initialization
2018-08-29 10:55:39 +08:00
Angus Gratton
669c5ac538
Merge branch 'feature/add_deinit_to_emac_driver' into 'master'
...
ethernet: support esp_eth_deinit
See merge request idf/esp-idf!3059
2018-08-28 18:09:55 +08:00
Angus Gratton
961f59ff57
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
...
Avoids growing the result of hardware bignum operations
(particularly for multiplication)
Fixes bugs where some Elliptic Curve operations fail or corrupt memory,
as they assume length of the number is never greater than the number of
non-zero limbs.
Includes some general refactoring to standardize terminology.
Closes https://github.com/espressif/esp-idf/issues/1556
Fixes TW12984
Adds test cases for both these issues.
2018-08-28 09:08:43 +00:00
Tian Hao
eb3f280cd3
component/bt : fix get acl number incorrect due to memory release
...
1. after memory release MR merged, due to the get acl number condition is not completed, it will cause get acl number value incorrect
2. It may cause set Security Mode (BR/EDR) enable failed
2018-08-28 15:35:40 +08:00
Jiang Jiang Jian
26850880b2
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test' into 'master'
...
component/bt: fix crash when BLE do SMP connect and disconnect stress test
See merge request idf/esp-idf!3077
2018-08-28 13:40:20 +08:00
morris
ec07112f5b
ethernet: support esp_eth_deinit
...
1. change static emac-dma memory to dynamic
2. add esp_eth_deinit
3. modify ethernet example
4. add testcase for ethernet deinit function
5. GPIO0 could not output the 50MHz clock to PHY, so remove this configuration
2018-08-28 12:18:48 +08:00
Angus Gratton
1eaf112589
Merge branch 'bugfix/rtc_wdt_interval_overflow' into 'master'
...
rtc_wdt: fix overflow issue with setting wdt interval
See merge request idf/esp-idf!3110
2018-08-28 12:12:21 +08:00
chensheng
d04c101c96
test: fix bug of BTSTK_GATT_25007
2018-08-28 12:00:15 +08:00
Ivan Grokhotkov
cc8ad721f9
Merge branch 'bugfix/deep_sleep_stub_ptr_check' into 'master'
...
reset_reason: fix setting wake stub entry point to 0x80000000
See merge request idf/esp-idf!3101
2018-08-28 11:01:22 +08:00
Jiang Jiang Jian
f5b699cee7
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size
See merge request idf/esp-idf!3052
2018-08-28 10:42:36 +08:00
qiyuexia
91dd05662d
mesh: bugfix and add two APIs
...
1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.
2018-08-27 19:12:40 +08:00
Ivan Grokhotkov
6dae5b206f
reset_reason: fix setting wake stub entry point to 0x80000000
...
esp_reset_reason_init would check for reset reason hint, and
unconditionally set RTC_RESET_CAUSE_REG (which is also
RTC_ENTRY_ADDR_REG) to hint value 0, i.e. 0x80000000. However the ROM
code treats this value as valid deep sleep wake stub entry point, and
tries to jump to it.
Clear RTC_RESET_CAUSE_REG only if it contained a valid reset reason
hint, and simply set the register value to 0 when doing so. Also add
a check to esp_get_deep_sleep_wake_stub function that deep sleep wake
stub entry address must be in IRAM.
Reported in https://esp32.com/viewtopic.php?f=13&t=6919 .
2018-08-27 19:01:03 +08:00
Angus Gratton
414b84c041
Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master'
...
ci jobs running fuzz tests on dns, dhcp, dhcps + removed unnecessary references (libexpat)
See merge request idf/esp-idf!2866
2018-08-27 16:25:21 +08:00
Jiang Jiang Jian
147b349799
Merge branch 'bugfix/fix_several_wifi_bugs' into 'master'
...
esp32: update wifi lib to fix several WiFi bugs
See merge request idf/esp-idf!3095
2018-08-27 14:24:04 +08:00
Jiang Jiang Jian
6519f1833a
Merge branch 'bugfix/fix_probable_mem_leak' into 'master'
...
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
See merge request idf/esp-idf!2962
2018-08-27 14:10:22 +08:00
Angus Gratton
2c8c210a66
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
...
tools: support python3 in gen_esp_err_to_name.py
See merge request idf/esp-idf!2827
2018-08-27 12:29:03 +08:00
Jiang Jiang Jian
1c676300f0
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'
...
Component/bt: fix get error adv packet sometimes
See merge request idf/esp-idf!3035
2018-08-27 12:17:23 +08:00
zwj
430d3da089
component/bt: fix crash when BLE do SMP connect and disconnect stress test
2018-08-27 11:09:29 +08:00
wangmengyang
3faee500bb
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-27 02:53:59 +00:00
Jiang Jiang Jian
df78612896
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server' into 'master'
...
component/bt: fix memory leak in security server
See merge request idf/esp-idf!3014
2018-08-27 10:19:27 +08:00
baohongde
588e006256
component/bt: Fix bug of SDP find services by uuid always return success
2018-08-27 02:14:45 +00:00
Angus Gratton
6c95285bdb
Merge branch 'bugfix/app_update_test' into 'master'
...
app_update: Change NUM_PIN_APP_TEST for unit test
See merge request idf/esp-idf!3050
2018-08-27 08:46:02 +08:00
Jiang Jiang Jian
51a4b4ba27
Merge branch 'bugfix/btdm_check_slave_feats_before_set_afh' into 'master'
...
bugfix/btdm_check_slave_feature_before_set_afh
See merge request idf/esp-idf!2972
2018-08-26 16:19:48 +08:00
Liu Zhi Fu
6a080febbc
esp32: update wifi lib to fix several WiFi bugs
...
Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame
2018-08-26 12:47:24 +08:00
Hrishikesh Dhayagude
29ec0339f6
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-25 16:26:37 +00:00
Hrishikesh Dhayagude
739b4aadf7
components/bt: Make a pass through Bluetooth header files
...
This is just a quick glance at all the header files exposed to the
users from cleanup point of view.
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-25 21:21:42 +05:30
zhiweijian
f74b041288
Component/bt: fix memory leak in security server
2018-08-25 15:47:47 +00:00
Mahavir Jain
f0fa66a50e
rtc_wdt: fix overflow issue with setting wdt interval
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-24 18:06:39 +05:30
wangmengyang
6b0a1bd700
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH
2018-08-24 11:48:12 +00:00
zhiweijian
1ca5b70803
Component/bt: fix get error adv packet sometimes
2018-08-24 09:24:49 +00:00
Konstantin Kondrashov
4e28799709
app_update: Change NUM_PIN_APP_TEST for unit test
...
Fixed error when `make TESTS_ALL=1`
2018-08-24 16:52:27 +08:00
baohongde
9eefd8c1aa
component/bt: Fix bug rfcomm test command cause crash
...
find when BQB
2018-08-24 14:49:33 +08:00
chensheng
ef0287de7d
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
2018-08-24 14:25:24 +08:00
Roland Dobai
79b9948cdf
tools: support python3 in gen_esp_err_to_name.py
2018-08-24 08:13:01 +02:00
Angus Gratton
c7f4fae8d0
Merge branch 'feature/python_future' into 'master'
...
Add python-future by using python requirements file
See merge request idf/esp-idf!2973
2018-08-24 08:04:18 +08:00
Ivan Grokhotkov
7abed5fc9e
Merge branch 'fix/spi_dma_config_in_iram' into 'master'
...
SPI: put dma config and slave functions into IRAM
See merge request idf/esp-idf!3038
2018-08-23 22:03:28 +08:00
He Yin Ling
32171da525
test: disable mesh recreate network test:
...
We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.
Temp disable these cases, to let CI pass before bug fixed.
2018-08-23 17:49:59 +08:00
Roland Dobai
74fe7c82ae
bootloader: Don't use check_python_dependencies in the bootloader command
2018-08-23 11:41:40 +02:00
Angus Gratton
31ae3fe683
make: Use order-only prereq to check python dependencies
2018-08-23 08:28:57 +02:00
Roland Dobai
62cad3a7d7
Add python-future by using python requirements file
2018-08-23 08:28:57 +02:00
Michael (XIAO Xufeng)
4f87a62f18
spi_slave: add new menuconfig item to decide whether spi slave should be put into IRAM
2018-08-23 05:21:49 +00:00
Michael (XIAO Xufeng)
e3557b57be
spi: fix the issue that spi cannot be used when flash is disabled
...
The dma configuration function called in the ISR should be put into the IRAM.
Fixes https://github.com/espressif/esp-idf/issues/2307 .
2018-08-23 05:21:49 +00:00
Ivan Grokhotkov
88d40e01b4
Merge branch 'feature/rtc_slowclk_extra_options' into 'master'
...
Add more RTC_SLOW_CLK options
See merge request idf/esp-idf!2984
2018-08-23 11:27:14 +08:00
Jiang Jiang Jian
eb18122038
Merge branch 'bugfix/esp_bt_controller_mem_release' into 'master'
...
BT/BTDM memory release might fail if any of the memory regions is empty
See merge request idf/esp-idf!3031
2018-08-23 11:02:17 +08:00
Jiang Jiang Jian
33f0eadac9
Merge branch 'bugfix/timer_oneshot_timeout_twice' into 'master'
...
component/bt: Some timer oneshot will timeout twice
See merge request idf/esp-idf!2979
2018-08-23 10:41:53 +08:00
Ivan Grokhotkov
dda56ff55c
Merge branch 'bugfix/nvs_set_blob_bug' into 'master'
...
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL
See merge request idf/esp-idf!3051
2018-08-23 10:27:20 +08:00
Angus Gratton
8846b5fb64
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
See merge request idf/esp-idf!3040
2018-08-22 19:39:21 +08:00
David Cermak
882ca87442
lwip: removed ASSERT in dhcp as the error might occur in runtime if packet is altered
2018-08-22 12:13:34 +02:00
David Cermak
ebebda9604
lwip: supported ci jobs running fuzz tests on dns, dhcp, dhcps
2018-08-22 12:13:20 +02:00
Ivan Grokhotkov
902344c516
Merge branch 'bugfix/trace_mem_layout_pro_cpu' into 'master'
...
soc: fix trace memory region for single core mode
See merge request idf/esp-idf!3029
2018-08-22 16:51:43 +08:00
Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08:00
Ivan Grokhotkov
9ab70d5379
Merge branch 'bugfix/http_write_data' into 'master'
...
esp_http_client: Fix minor bugs in `esp_http_client_write` and `esp_http_client_open` APIs
See merge request idf/esp-idf!2924
2018-08-22 16:49:29 +08:00
Ivan Grokhotkov
81d6c65379
Merge branch 'feature/esp_http_client_add_esp_tls' into 'master'
...
esp_http_client: Add esp-tls in esp_http_client
See merge request idf/esp-idf!2740
2018-08-22 16:48:35 +08:00
Ivan Grokhotkov
96971e3e9f
esp32: add support for 8MD256 and external 32k as slow clock options
2018-08-22 11:46:24 +08:00
Ivan Grokhotkov
5bf3654637
soc/rtc: Force power on 8M clock if it is used to derive RTC slow clock
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
8365f0f5d2
soc/rtc: add support for external 32k oscillator
...
Compared to external 32k XTAL, when active oscillator is used as input,
some parameters need to be set differently.
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
9efc06be0f
esp32/clk: remove unused code
...
When 32k XTAL was selected as clock source, if the first calibration
attempt failed, the code would fall back to 150kHz internal clock.
Calibration with the internal clock will always succeed.
Therefore `wait` would always be either 0 or 1. Based on this, some
code in this routine can be eliminated.
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
90f5456dba
Merge branch 'feature/rtc_cpu_freq_config' into 'master'
...
soc/rtc: Refactoring, support CPU frequencies lower than XTAL
See merge request idf/esp-idf!2856
2018-08-22 11:32:08 +08:00
Sagar Bijwe
911f96ad21
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL
...
Marking a page full does not skip it from page selection process and the
same page might get returned if there is no other page with more unused
entries. Added a check for the same while storing blobs.
Fixes: https://github.com/espressif/esp-idf/issues/2313
2018-08-21 17:08:46 +05:30
Jitin George
4d6dcb71ce
esp_http_client: Add esp-tls APIs in SSL transport of esp_http_client
...
esp-tls APIs and SSL transport layer of esp_http_client try to
achieve similar things, so this is an effort to remove code redundancy.
2018-08-21 09:07:07 +00:00
Jitin George
7b56ae319d
esp-tls: Add support for network timeout
2018-08-21 09:07:07 +00:00
Jeroen Domburg
4eb28b9ace
Merge branch 'feature/spi_burst_desc' into 'master'
...
spi_master: change to DMA burst mode when access descriptors
See merge request idf/esp-idf!2824
2018-08-21 16:54:38 +08:00
Jeroen Domburg
9de884f586
Merge branch 'feat/spi_non_dma_64byte' into 'master'
...
spi_master: change high part config to allow transactions of 64 bytes
See merge request idf/esp-idf!3025
2018-08-21 16:53:37 +08:00
Ivan Grokhotkov
e59571eece
soc/rtc_clk: reduce data size by disabling CSWTCH generation
...
Saves about 200 bytes of DRAM at the expense of 4 bytes in IRAM.
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
db2f0f45be
soc/rtc_clk: split rtc_clk_init into separate object file
...
rtc_clk_init and related functions don’t need to be in IRAM/DRAM.
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
bcf79e5cf2
tests: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
c722cf3e06
bootloader: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
bec70ce298
esp32: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
2e31cce390
soc/rtc: CPU frequency settings refactoring
...
Previous APIs used to set CPU frequency used CPU frequencies listed in
rtc_cpu_freq_t enumeration. This was problematic for two reasons.
First, supporting many possible frequency values obtained by dividing
XTAL frequency was hard, as every value would have to be listed in
the enumeration. Since different base XTAL frequencies are supported,
this further complicated things, since not all of these divided
frequencies would be valid for any given XTAL frequency. Second,
having to deal with enumeration values often involved switch
statements to convert between enumeration and MHz values, handle
PLL/XTAL frequencies separately, etc.
This change introduces rtc_cpu_freq_config_t structure, which contains
CPU frequency (in MHz) and information on how this frequency has to
be generated: clock source (XTAL/PLL), source frequency, clock
divider value. More fields can be added to this structure in the
future. This structure simplifies many parts of the code, since both
frequency value and frequency generation settings can be accessed in
any place in code without the need for conversions.
Additionally, this change adds setting of REF_TICK dividers to support
frequencies lower then XTAL with DFS.
2018-08-21 13:02:03 +08:00
Ivan Grokhotkov
05a5410033
esp_clk.h: add esp_clk_xtal_freq
...
This adds a user API for getting the XTAL frequency
2018-08-21 13:02:03 +08:00
Ivan Grokhotkov
a6a9484084
Merge branch 'feature/move_CONFIG_TCPIP_LWIP_to_menuconfig' into 'master'
...
tcpip_adapter: optimise tcpip_adapter and fix a bug in emac_dev.c
See merge request idf/esp-idf!3017
2018-08-21 11:37:15 +08:00
Ivan Grokhotkov
4dd7233b20
Merge branch 'feature/reset_reason' into 'master'
...
Add API to get reset reason
See merge request idf/esp-idf!2871
2018-08-21 11:34:12 +08:00
baohongde
4fe04ae14d
component/bt: Update BLE private address after it's private address interval
2018-08-21 11:01:44 +08:00
Angus Gratton
c5d6845c5a
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
...
Test was failing if task was allocating TCB & Stack memory from DMA only pool
which is not MALLOC_CAP_DEFAULT.
2018-08-21 12:19:33 +10:00
morris
b63f6a8a95
emac:optimise tcpip_adapter and fix emac_dev.c
...
1. move CONFIG_xx macros to Kconfig
2. fix a bug that make EMAC_DMAOPERATION_MODE_ERG mess
2018-08-20 19:52:48 +08:00
Jitin George
2122e5f83d
esp_http_client: Fix minor bugs in esp_http_client_write and esp_http_client_open APIs
...
`esp_http_client_write` API puts a constraint on the maximum length of the data that can be
written, which is equal to client handle buffer size, but the data to be sent can be more
than that, so in this case, this API has to be called multiple times.
In `esp_http_client_open` API, the return value of `transport_write` API, used to send HTTP
request, is not checked, and in rare cases, data written will be less than expected which will
cause a problem. So there are fixes for these minor issues in this MR.
2018-08-20 10:41:42 +00:00
Ivan Grokhotkov
8403adf4e0
docs: add API reference section for esp_system.h
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
3ef650cd46
esp32/test: add tests for reset reasons
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
0aa384d40c
esp32: add API to get reset reason
2018-08-20 16:49:20 +08:00
me-no-dev
afa091fe79
prevent heap_caps_add_region exception if region is empty
...
Calling `esp_bt_controller_mem_release` or `esp_bt_mem_release` might result in exception if any of the regions returned to heap are empty. This happens usually if BT/BLE is enabled, but not used/linked in the final firmware.
2018-08-17 08:49:48 +02:00
Ivan Grokhotkov
164e324fe2
Merge branch 'feature/bootloader_unit_tests' into 'master'
...
app_update: Add unit tests for ota, factory, test partitions
See merge request idf/esp-idf!2565
2018-08-17 14:39:50 +08:00
Jiang Jiang Jian
5ba0d6bde6
Merge branch 'bugfix/ut_bt_build_fix' into 'master'
...
bt: build unit tests only when CONFIG_BT_ENABLED=1
See merge request idf/esp-idf!3000
2018-08-16 19:49:14 +08:00
Jiang Jiang Jian
98eaa5c2ec
Merge branch 'docs/security' into 'master'
...
docs: Added more wordings to capture secure boot and flash encryption dependency.
See merge request idf/esp-idf!2947
2018-08-16 19:31:36 +08:00
Jiang Jiang Jian
00ef8bf726
Merge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'
...
decrease bt contrller memory with new mem reserved
See merge request idf/esp-idf!2791
2018-08-16 19:12:44 +08:00
michael
404e99965d
spi_master: change high part config to allow transactions of 64 bytes
2018-08-16 18:55:09 +08:00
Angus Gratton
3012b0f887
Merge branch 'feature/nvs_multi_page_util' into 'master'
...
Bugfix: multi page blob creation was failing if only one entry was left in page
See merge request idf/esp-idf!2971
2018-08-16 15:23:11 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Shivani Tipnis
dfde105f25
Add support for input custom partition size
2018-08-16 11:54:46 +05:30
Shivani Tipnis
5ce40fce0c
Add nvs part gen utility multi page blob support update
2018-08-16 11:46:25 +05:30
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
Angus Gratton
4f227a4ce3
Merge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'
...
esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory
See merge request idf/esp-idf!2891
2018-08-16 11:19:39 +08:00
Tian Hao
ab73e0ff13
tools: fix ci example build report reassign warnning
2018-08-16 11:12:22 +08:00
Angus Gratton
ccd0c61ea1
Merge branch 'feature/rtc_wdt_api' into 'master'
...
soc/rtc_wdt: Add API functions for rtc_wdt
See merge request idf/esp-idf!2837
2018-08-16 08:19:12 +08:00
Mahavir Jain
0075e2f316
soc: fix trace memory region for single core mode
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-15 20:52:39 +05:30
Jiang Jiang Jian
020ade652d
Merge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'
...
fix the bug for Android phone getting IP fail when STA+AP mode
See merge request idf/esp-idf!3006
2018-08-15 11:47:13 +08:00
Konstantin Kondrashov
a8e46775c6
soc/rtc_wdt: Add API functions for rtc_wdt
...
Added functions:
rtc_wdt_protect_off/on
rtc_wdt_set_length_of_reset_signal
rtc_wdt_set_stage
rtc_wdt_set_time
rtc_wdt_feed
rtc_wdt_disable/enable
2018-08-14 17:48:02 +05:00
Liu Han
f3f0445f4d
mdns: Fix a portion of the queries are issued with the wildcard query type
2018-08-14 07:25:08 +00:00
zhangyanjiao
89601e0b9f
fix the bug for Android phone getting IP fail when STA+AP mode
2018-08-14 15:04:47 +08:00
Sagar Bijwe
b27773e87c
docs: Added more wordings to capture secure boot and flash encryption dependency.
2018-08-14 11:27:29 +05:30
Angus Gratton
08ae7ef9dc
Merge branch 'feature/ota_get_sha-256_of_partition' into 'master'
...
bootloader_support: Add API for getting sha256_of_partition
See merge request idf/esp-idf!2479
2018-08-14 11:32:39 +08:00
Tian Hao
ee787085f9
component/bt : decrease memory consumption by conn number
...
1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig
2018-08-14 02:29:17 +00:00
Ivan Grokhotkov
c7fc5b1171
ulp: add tests for jumps instruction
2018-08-13 16:48:27 +00:00
Ivan Grokhotkov
7fca027355
bt: build unit tests only when CONFIG_BT_ENABLED=1
2018-08-13 17:38:37 +03:00
Konstantin Kondrashov
117c79eae5
app_update: Add API for getting sha256_of_partition
...
Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256
digest for app and data partitions.
Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest
Added esp_partition_check_identity() - compares two partitions by SHA-256 digest
Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and
bootloader_load_image(). Old name function esp_image_load is deprecated
and will remove in V4.0 version.
spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs
2018-08-13 13:59:07 +05:00
Jiang Jiang Jian
886bf4b88e
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
...
component/bt: Fixed the vulnerability released by Bluetooth org when using…
See merge request idf/esp-idf!2933
2018-08-13 15:44:13 +08:00
yulong
72eaaff9fe
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 14:08:11 +08:00
baohongde
31c66af560
component/bt: Some timer oneshot will timeout twice
...
Find when BQB
2018-08-13 06:00:11 +00:00
Jiang Jiang Jian
30545f4ccc
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond' into 'master'
...
Component/bt: fix get bond list error when connection with no bond
See merge request idf/esp-idf!2957
2018-08-10 20:46:34 +08:00
Ivan Grokhotkov
8739111218
Merge branch 'bugfix/gpio_reset_bitmask' into 'master'
...
gpio: Bitmask overflow fix in gpio_reset_pin
See merge request idf/esp-idf!2966
2018-08-10 17:35:26 +08:00
Angus Gratton
383a3f788d
Merge branch 'doc/heap_tracing' into 'master'
...
heap docs: Fix some bad links & errors in the heap docs
See merge request idf/esp-idf!2942
2018-08-10 16:46:52 +08:00
Angus Gratton
c9cbc6b30c
heap docs: Fix some bad links & errors in the heap docs
...
Also add a note about printf() sometimes causing on-demand allocations.
2018-08-10 15:54:58 +10:00
Angus Gratton
f4b23d1505
Merge branch 'bugfix/http_client_null_auth_header' into 'master'
...
esp_http_client: Fixed exception on 401 without Www-Authenticate header
See merge request idf/esp-idf!2900
2018-08-10 13:44:55 +08:00
Jiang Jiang Jian
3486ce6898
Merge branch 'mesh/bugfix_parent_switch' into 'master'
...
mesh: modify parent switch mechanism
See merge request idf/esp-idf!2803
2018-08-10 11:31:50 +08:00
Ivan Grokhotkov
5fc6397589
nvs: fix memory leak when writing a blob
...
Introduced in 5a27a63
.
Clear usedPages list in all exit conditions, add test.
2018-08-09 10:35:19 +03:00
Michael (XIAO Xufeng)
203ceed1e7
spi_master: change to DMA burst mode when access descriptors
2018-08-08 13:56:01 +00:00
Ivan Grokhotkov
ee3f64cbad
Merge branch 'feature/http_client_head' into 'master'
...
esp_http_client: add head method support
See merge request idf/esp-idf!2895
2018-08-08 20:58:39 +08:00
Taavi Hein
f7749e18a8
gpio: Bitmask overflow fix in gpio_reset_pin
...
For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.
Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.
2018-08-08 15:31:17 +03:00
Angus Gratton
a53a5eeabd
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis' into 'master'
...
fix(touch): add_mutex_for_some_touchpad_apis
See merge request idf/esp-idf!2714
2018-08-08 16:28:28 +08:00
Ivan Grokhotkov
80c5547b97
Merge branch 'bugfix/ulp_fixes' into 'master'
...
ULP fixes
See merge request idf/esp-idf!2948
2018-08-08 15:37:25 +08:00
zhiweijian
57355d7154
Component/bt: fix get bond list error when connection with no bond
2018-08-08 14:44:22 +08:00
qiyuexia
93c0c8da6b
mesh: modify parent switch mechanism
...
1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.
2018-08-08 13:51:05 +08:00
He Yin Ling
a1a9801f00
Merge branch 'bugfix/remove_check_for_reason_assoc_expire' into 'master'
...
test: remove check for REASON_ASSOC_EXPIRE:
See merge request idf/esp-idf!2904
2018-08-08 12:58:20 +08:00
Angus Gratton
cdc792d72c
Merge branch 'feature/http_firmware_upgrade' into 'master'
...
esp_https_ota: Add esp_https_ota component
See merge request idf/esp-idf!2771
2018-08-08 12:27:05 +08:00
Angus Gratton
f1a4bc7c94
Merge branch 'feature/aws-iot-update-3.0.1' into 'master'
...
Feature/aws iot update 3.0.1
See merge request idf/esp-idf!2936
2018-08-08 07:14:58 +08:00
Ivan Grokhotkov
323caed83b
ulp: fix ULP binary format documentation
...
Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.
Closes https://github.com/espressif/esp-idf/issues/1705 .
2018-08-07 16:14:57 +03:00
Ivan Grokhotkov
22dfb92fe0
ulp: use += instead of := when setting component vars
...
Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.
Fixes https://github.com/espressif/esp-idf/issues/2157 .
2018-08-07 16:14:57 +03:00
Ivan Grokhotkov
33153748ba
ulp: fix missing include in esp32/ulp.h header
...
ulp.h uses some register base addresses, so needs to include soc.h
2018-08-07 16:14:57 +03:00
He Yin Ling
28ab4acb7e
test: update Wi-Fi test cases:
...
1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server
2018-08-07 10:50:05 +00:00
Jiang Jiang Jian
81ac9c1fc7
Merge branch 'bugfix/wrong_connect_in_all_channel_scan' into 'master'
...
Wifi: bug fix of may connect to wrong AP in all channel scan
See merge request idf/esp-idf!2829
2018-08-07 18:31:31 +08:00
Anuj Deshpande
fe357c3617
aws-iot: Update to 3.0.1 release
...
- Fixes https://github.com/espressif/esp-idf/issues/2224
- Fixes https://github.com/espressif/esp-idf/issues/1808
2018-08-07 11:28:54 +05:30
Angus Gratton
5f56f2ca01
Merge branch 'feature/nvs_version_check' into 'master'
...
nvs_flash: Version compatibility check for nvs storage
See merge request idf/esp-idf!2855
2018-08-07 13:31:49 +08:00
Deng Xin
65c441a891
Wifi: bug fix of may connect to wrong AP in all channel scan
...
1. enable threshold in all channel scan
2. bug fix of may connect to an open AP even set password in all channel scan
2018-08-06 19:54:24 +08:00
Jiang Jiang Jian
c22e42d869
Merge branch 'bugfix/station_state_machine_change_and_ap_loss_happen' into 'master'
...
Wifi: station state machine change and fix ap loss
See merge request idf/esp-idf!2911
2018-08-06 18:49:31 +08:00
Jiang Jiang Jian
212e25760b
Merge branch 'bugfix/btdm_spp_crash_on_reset' into 'master'
...
component/bt: Fix bug of SPP crash on reset
See merge request idf/esp-idf!2801
2018-08-06 18:39:21 +08:00
Jiang Jiang Jian
744d703dba
Merge branch 'bugfix/btdm_hfp_invalid_sco_param' into 'master'
...
bugfix/btdm_hfp_invalid_sco_param
See merge request idf/esp-idf!2915
2018-08-06 15:35:27 +08:00
wangmengyang
d4cecc5a04
component/bt: modify the invalid retransmission setting for SCO link in HFP
2018-08-06 06:20:51 +00:00
Angus Gratton
272b95e8ce
linker: Don't link all of 'soc' into IRAM
...
Moves any code in *_perpih.c, memory_layout_utils.c to flash
2018-08-06 01:37:55 +00:00
Angus Gratton
a5ae5ac4b3
soc: Allow components to reserve fixed memory ranges that they need
...
No longer necessary to keep all reserved addresses in 'soc'.
Means 'soc' does not need to know about 'bt', for example.
Also means that Bluetooth can be enabled in config without any memory being reserved for BT
controller. Only if code calling the BT controller is linked in, will this memory be reserved...
2018-08-06 01:37:55 +00:00
Jiang Jiang Jian
f2f2744b29
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer' into 'master'
...
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug
See merge request idf/esp-idf!2823
2018-08-05 23:49:40 +08:00
Jiang Jiang Jian
b85e8e10b9
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones' into 'master'
...
Component/bt: fix SC_MITM_BOND failed in smp for iphones
See merge request idf/esp-idf!2863
2018-08-05 23:48:23 +08:00
kooho
2d0af81ccf
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug.
2018-08-05 06:34:34 +00:00
Tuan PM
9aec055ac2
esp_http_client: Fixed exception on 401 without Www-Authenticate header
...
Closes https://github.com/espressif/esp-idf/issues/2246
2018-08-05 06:24:53 +00:00
Deng Xin
97a41f29b8
Wifi: station state machine change and fix ap loss
...
1. fix ap loss issue
2. change station behavior when receive disassoc and deauth after connect
3. format state machine reason code
2018-08-05 13:44:58 +08:00
baohongde
2cd9eaccc7
component/bt: Fix bug of SPP crash on reset
...
In response to: https://github.com/espressif/esp-idf/issues/1998
2018-08-05 00:36:51 +00:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
Sagar Bijwe
8ef7a49cc3
nvs_flash: Bump up nvs version
2018-08-05 00:00:56 +00:00
zhiweijian
163dbc3200
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 16:52:53 +00:00
Liu Zhi Fu
0fa1fee8e8
esp32: update libphy.a to v3960
...
Update libphy.a to v3960:
1. Decrease phy_init time from 900us to 347us in sleep wakeup
2. Fix RX STBC initialization
3. Modify set_chan function to fix interrupt watchdog issue
2018-08-04 16:21:19 +00:00
Jitin George
2d79af3b13
esp_http_client: Add support for getting transport type
2018-08-03 16:47:08 +05:30
Jitin George
1fecdc3891
esp_https_ota: Add support for HTTPS based ota feature
2018-08-03 16:47:07 +05:30
Jiang Jiang Jian
ad739ee791
Merge branch 'feature/support_64mbit_psram' into 'master'
...
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.
See merge request idf/esp-idf!2696
2018-08-03 17:59:36 +08:00
Jiang Jiang Jian
4f1e8df367
Merge branch 'bugfix/btdm_a2dp_disconnect_reason' into 'master'
...
bugfix/btdm_a2dp_disconnect_reason
See merge request idf/esp-idf!2914
2018-08-03 15:30:30 +08:00
Jiang Jiang Jian
f1d516314b
Merge branch 'bugfix/coex_wifi_pm' into 'master'
...
Bugfix/coex wifi pm
See merge request idf/esp-idf!2883
2018-08-03 15:22:13 +08:00
Angus Gratton
b3ff68a935
Merge branch 'bugfix/hard_error_partition_offset' into 'master'
...
partition_table: Hard error if CSV contains invalid/overlapping offsets
See merge request idf/esp-idf!2755
2018-08-03 14:52:43 +08:00
Tian Hao
d9dc2985e7
fix bug that wifi sleep before receive beacon
...
it will resolve the problem:
1. when bluetooth is running (For example: a2dp sink), wifi station cannot connect to AP easily
2. improve wifi connection success ratio when coexist is working
2018-08-03 05:07:06 +00:00
Angus Gratton
5aff7fd07f
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning' into 'master'
...
Component/bt: fix queue blocking when scanning
See merge request idf/esp-idf!2706
2018-08-03 07:24:08 +08:00
Roland Dobai
ce3cb5c3aa
expat: add source of entropy
2018-08-02 11:02:45 +02:00
Angus Gratton
3c5af26506
Merge branch 'test/spi_region' into 'master'
...
spi_master: improve some tests
See merge request idf/esp-idf!2809
2018-08-02 12:09:44 +08:00
Ivan Grokhotkov
7ab4615757
Merge branch 'bugfix/http_chunked_read' into 'master'
...
bugfix/esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport
See merge request idf/esp-idf!2631
2018-08-02 09:40:39 +08:00
fuzhibo
81c762eb86
fix(touch): add_mutex_for_some_touchpad_apis
2018-08-01 18:06:21 +08:00
Ivan Grokhotkov
20147f951c
Merge branch 'bugfix/heap_caps_alloc_32bit' into 'master'
...
heap: heap_caps_malloc(..., MALLOC_CAP_32_BIT) should always allocate a 32-bit aligned size
See merge request idf/esp-idf!2889
2018-08-01 17:39:14 +08:00
Angus Gratton
6dea5c9546
partition table: Remove hard-coded offsets from default partition tables
...
Makes them compatible with moving the partition table offset
2018-08-01 19:23:38 +10:00
Angus Gratton
28801449e3
partition_table: Hard error if CSV contains invalid/overlapping offsets
...
Based on report on forum here:
https://esp32.com/viewtopic.php?f=13&t=6382&p=27514
Previous versions were much more relaxed about what could be in the partition
table, erroring out avoids unexpected changes on upgrade like different
partition offsets.
2018-08-01 19:23:38 +10:00
wangmengyang
7f7f8a02d0
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
2018-08-01 17:16:52 +08:00
Angus Gratton
7457054c1f
Merge branch 'feature/add_rom_elf' into 'master'
...
Support for ROM functions in core dump backtraces
See merge request idf/esp-idf!2672
2018-08-01 15:21:03 +08:00
Tuan PM
2718a5f674
Add http_buffer description
2018-08-01 07:14:36 +00:00
Tuan
5589954800
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport
...
- A bug of the http client when it downloads a chunked encoding packet is greater than the http_client's buffer, http_parser will call the callback body more than once, and the client will only handle the last
- with ssl_read, need to check before read to avoid timeout blocked when no data for reading
2018-08-01 07:14:36 +00:00
zhiweijian
658668b386
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:06:56 +08:00
Angus Gratton
7ea4db72de
Merge branch 'bugfix/wl_encryption' into 'master'
...
Bugfix: WL works with encrypted flash
See merge request idf/esp-idf!2530
2018-08-01 15:05:47 +08:00
Ivan Grokhotkov
98255f4225
Merge branch 'feature/mbedtls_2_12_0' into 'master'
...
mbedtls: update to 2.12.0
See merge request idf/esp-idf!2879
2018-08-01 14:56:50 +08:00
Ivan Grokhotkov
1898e5fbab
Merge branch 'bugfix/spi_flash_mmap_malloc_internal' into 'master'
...
spi_flash: allocate mmap pages array in internal memory
See merge request idf/esp-idf!2885
2018-08-01 14:56:18 +08:00
Ivan Grokhotkov
2a2f960afa
Merge branch 'feature/mbedtls_platform_memory_pr2237' into 'master'
...
Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it…
See merge request idf/esp-idf!2903
2018-08-01 14:55:54 +08:00
Jiang Jiang Jian
fe09c1cb59
Merge branch 'bugfix/btdm_oob_included' into 'master'
...
Fix undefined reference error by changing BTM_OOB_INCLUDED
See merge request idf/esp-idf!2878
2018-08-01 14:53:37 +08:00
Ivan Grokhotkov
5452e7848d
Merge branch 'bugfix/raise_r_signature' into 'master'
...
syscalls: fix arguments and return type for _raise_r
See merge request idf/esp-idf!2897
2018-08-01 14:50:59 +08:00
Jiang Jiang Jian
f048da2bf7
Merge branch 'feature/wifi_add_internal_api_to_set_fix_rate' into 'master'
...
esp32: add internal API to enable or disable transmitting WiFi MAC frame with fixed rate
See merge request idf/esp-idf!2835
2018-08-01 14:50:15 +08:00
Jiang Jiang Jian
a539754c2e
Merge branch 'doc/wifi_update_channel_state_information_document' into 'master'
...
docs: update channel state information document
See merge request idf/esp-idf!2793
2018-08-01 14:49:14 +08:00
Jiang Jiang Jian
29d7382c2b
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared' into 'master'
...
component/bt: btdm_lmp_transcation_collision_state_uncleared
See merge request idf/esp-idf!2731
2018-08-01 14:47:29 +08:00
Jiang Jiang Jian
b6f52a6455
Merge branch 'bugfix/fix_several_wpa2_issues' into 'master'
...
esp32: fix several wpa2 enterprise issues
See merge request idf/esp-idf!2825
2018-08-01 14:38:15 +08:00
Angus Gratton
6851af3c4b
Merge branch 'bugfix/btdm_fix_gattc_count_invalid' into 'master'
...
Component/bt: fix gattc get count invalid and discover included service error
See merge request idf/esp-idf!2770
2018-08-01 14:06:38 +08:00
Angus Gratton
e6dc0c7bde
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header' into 'master'
...
Bugfix/remove bt dependency on lwip header
See merge request idf/esp-idf!2882
2018-08-01 13:57:35 +08:00
Liu Zhi Fu
343bd32bd8
esp32: fix several wpa2 enterprise issues
...
Fix following issues:
1. Fix heap corrupted bug
2. Fix memory leak bug
3. Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569
2018-08-01 03:43:30 +00:00
XiaXiaotian
149d79f9a1
esp32: add internal API to enable or disable transmitting WiFi MAC frame with
...
fixed rate
2018-08-01 11:19:43 +08:00
Jason von Nieda
d7a17ac941
Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it possible to override the mbedtls allocator with your own.
...
Merges https://github.com/espressif/esp-idf/pull/2237
2018-08-01 11:28:28 +10:00
Roland Dobai
1d1533ee8e
expat: Move libexpat into submodule and update to version 2.2.5
2018-07-31 13:25:00 +02:00
Ivan Grokhotkov
79e7f02286
spi_flash: allocate mmap pages array in internal memory
...
* spi_flash_mmap_pages needs pages array to be in internal memory.
Document and check this.
* Fix a bug that spi_flash_mmap did not allocate pages array in
internal memory.
* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
spaces around operators, mark output arguments with [out].
Closes https://github.com/espressif/esp-idf/issues/2229 .
2018-07-31 13:11:04 +03:00
Michael (XIAO Xufeng)
0aa52057ed
spi_master: enable 2 tests in CI
...
The test is previously disabled for the requirement of external
connection. Now the signals are connected by internal connections.
Also change the failure logic of the test.
2018-07-31 18:04:51 +08:00
Michael (XIAO Xufeng)
fb15f970d2
spi_master: change test to test DMA tx/rx in regions like psram
2018-07-31 18:04:50 +08:00