Commit graph

13609 commits

Author SHA1 Message Date
Angus Gratton 8b156a9095 Merge branch 'feature/switch_from_external_to_interanl_ram' into 'master'
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack

Closes IDFGH-3086

See merge request espressif/esp-idf!8785
2020-06-01 14:39:22 +08:00
lly e41eae1b07 ble_mesh: correct the return type [Zephyr] 2020-06-01 14:08:21 +08:00
lly 1e29d86dd3 ble_mesh: Add net_buf_simple_init_with_data [Zephyr] 2020-06-01 13:57:41 +08:00
lly 8a8caebf51 ble_mesh: Optimize model recv operations [Zephyr]
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-01 13:57:33 +08:00
Fu Hanxi b76df30915 don't overwrite special cases dut 2020-06-01 13:39:09 +08:00
Michael (XIAO Xufeng) a7e0cd656c Merge branch 'bugfix/fix_uart_module_enable_issue' into 'master'
Bugfix (uart): fix uart module reset issue

Closes IDFGH-3370

See merge request espressif/esp-idf!8591
2020-06-01 12:13:31 +08:00
Fu Hanxi 3b17b9e393 panic_test contains some reassign dut cases 2020-06-01 12:08:57 +08:00
Fu Hanxi 377d3eaaa5 Move local target detection to ttfw_idf
rename upper_list to upper_list_or_str
minor fix for `unit_test.py` `is 'name'` -> `== 'name`
2020-06-01 12:08:57 +08:00
Michael (XIAO Xufeng) 507a5e51f5 Merge branch 'bugfix/freemodbus_fix_event_processing_after_destroy' into 'master'
freemodbus: fix event processing failure after destroy

Closes IDFGH-3283

See merge request espressif/esp-idf!8731
2020-06-01 11:40:58 +08:00
houwenxiang 46713a5275 driver(uart): fix uart module reset issue
On ESP32, due to fifo reset issue, UART2 will work incorrectly if reset the fifo of UART1(TX fifo and RX fifo). The software can workaround the RX fifo reset issue,

        while the TX fifo reset issue can not. When UART2 is used and UART1 is used as the log output port, a software reset can reproduce this issue. So we should reset the UART memory

        before the software reset to solve this problem.
2020-06-01 11:01:26 +08:00
lly 55c5d2953d ble_mesh: Add nvs operations for examples
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info

Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-01 10:00:49 +08:00
houwenxiang 73384adfbe driver(Ledc): fix the bug that ledc low-sleep channel can not work when chip in light-sleep mode
`esp_light_sleep_start` will disable the RTC8M_CLK, which will cause the LEDC low-speed channel to not work in light-sleep mode
2020-06-01 09:51:32 +08:00
lly c5226f8286 ble_mesh: Add mesh example common nvs operations 2020-06-01 09:34:13 +08:00
Ivan Grokhotkov 754d631247 partition_table: fix generation of signed partition table
Fixes the issue that signed partition table was not generated when
CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES was on, because
partition_table_bin depended on unsigned_partition_bin twice.
Regression from acb7a211.

Also use final_partition_bin variable in esptool_py_flash_target_image
arguments, to avoid issues in the future if final_partition_bin is
changed.
2020-05-31 18:39:30 +02:00
Ivan Grokhotkov 07bf1e23db bootloader_support: don't check signature when JTAG is attached
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.

Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-05-31 18:14:09 +02:00
Sylvio Alves 1fdc7afeb8 coredump: Limit coredump SHA256 support for ESP32 only 2020-05-29 15:25:29 -03:00
Alexey Gerenkov cfd65df78a coredump: Fixes size of memory region used by espcoredump.py 2020-05-29 20:53:15 +03:00
lly 9063821f01 ble_mesh: Config and health client btc fixes
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-05-29 21:10:13 +08:00
lly 409ea309f9 ble_mesh: Add more checks of net_idx & app_idx 2020-05-29 21:10:13 +08:00
lly 47609970db ble_mesh: Optimize some send & recv logs 2020-05-29 21:10:13 +08:00
Krzysztof Budzynski b52ed2d2a5 Merge branch 'doc/check_docs_multi_builder' into 'master'
docs: fix check_docs not working for multiple builders

Closes IDF-1659

See merge request espressif/esp-idf!8627
2020-05-29 20:10:18 +08:00
Marius Vikhammer 67ea59d605 docs: fix check_docs not working for multiple builders
When building docs with multiple builders the warning logs are now checked after
each run. Solves the issue where the logs would be overwritten by next builder before checking.

Closes IDF-1659
2020-05-29 20:10:18 +08:00
Island 35caf57919 Merge branch 'bugfix/ble_mesh_local_model_sub' into 'master'
Bugfix/ble mesh local model sub

Closes BLEMESH-212 and BMCI-4

See merge request espressif/esp-idf!8886
2020-05-29 19:42:17 +08:00
morris 1184366387 ethernet: support pin emac task to core 2020-05-29 17:51:37 +08:00
lly 9aae4d3ba3 ble_mesh: Local model (un)subscribes group address 2020-05-29 09:40:19 +00:00
lly 2190c2c368 ble_mesh: Define a macro for invalid company id 2020-05-29 09:40:19 +00:00
Jiang Jiang Jian e783f148f0 Merge branch 'bugfix/wpa3_auth_coex_issue' into 'master'
Fix WPA3 Auth issue in coex scenario

See merge request espressif/esp-idf!8837
2020-05-29 15:19:59 +08:00
Angus Gratton baedfab382 Merge branch 'feature/dis_uart_dl_mode' into 'master'
feature: Disable UART download mode

Closes IDF-1386

See merge request espressif/esp-idf!8590
2020-05-29 14:09:54 +08:00
Angus Gratton d15e9c0710 Merge branch 'bugfix/no_pyc_files' into 'master'
tools: Don't generate pyc files

See merge request espressif/esp-idf!8815
2020-05-29 14:07:24 +08:00
Angus Gratton 59f29cbca8 Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
Add RTC Fast Memory to Dynamic Memory Pool

See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
morris 0fcb447707 add pppos client restart in example
Closes https://github.com/espressif/esp-idf/issues/4268
2020-05-29 13:09:53 +08:00
morris 6d70b7c352 fix esp_modem switch mode timeout
Closes https://github.com/espressif/esp-idf/issues/3506
Closes https://github.com/espressif/esp-idf/issues/4324
2020-05-29 13:03:15 +08:00
Angus Gratton 7cbdc3ea66 Merge branch 'bugfix/ci_push_to_github_on_label' into 'master'
ci: Don't push to Github or deploy docs on customized pipelines

See merge request espressif/esp-idf!8870
2020-05-29 12:43:00 +08:00
Fu Hanxi e99172fbac make upper_list do not make str into list 2020-05-29 12:42:57 +08:00
Fu Hanxi d06d2a2b9f remove typing as a dependency.
return None if the input is None
2020-05-29 12:42:56 +08:00
Fu Hanxi 5c92d36078 Add list support for ttfw_idf test decorators. Only replicate supported keys 2020-05-29 12:42:56 +08:00
Fu Hanxi e553092d62 move ci_target_check to ttfw_idf, move ci_target_filter to AssignTest
mark `supported_in_ci` for AssignTest filter.
2020-05-29 12:42:56 +08:00
Fu Hanxi 38c288bc0e Add BOT_TARGET_FILTER to _apply_bot_filter
fix the bug that will calculate twice if ci_target is a list.
2020-05-29 12:42:56 +08:00
Fu Hanxi bc026133c5 add ci_target filter for target and local target check 2020-05-29 12:42:56 +08:00
Fu Hanxi 9f8b63da38 Pass current target to test_method **overwrite. 2020-05-29 12:42:56 +08:00
Fu Hanxi 6c98d7e4bd Add multi target support for search examples
drop keyword `dut`, use `target` instead to assign`dut_class` to `Env`
2020-05-29 12:42:56 +08:00
Mahavir Jain e8035c3eff Merge branch 'feature/app_update_add_api' into 'master'
Add API to write data in a non-contiguous manner

See merge request espressif/esp-idf!8650
2020-05-29 12:25:54 +08:00
Jiang Jiang Jian ba48120931 Merge branch 'bugfix/add_so_linger_to_menuconfig' into 'master'
lw-ip:add LINGER to menuconfig

Closes WIFI-2342

See merge request espressif/esp-idf!8746
2020-05-29 11:11:03 +08:00
Ivan Grokhotkov 4e70efac64 Merge branch 'bugfix/missing_doc_preview_comment' into 'master'
add some prefix for doc urls to make BOT recognize the preview doc url

See merge request espressif/esp-idf!8554
2020-05-29 04:50:25 +08:00
Ivan Grokhotkov ac686ccd00 Merge branch 'feature/make_support_in_find_build_apps' into 'master'
ci: make supported in find_apps/build_apps

Closes IDF-1587

See merge request espressif/esp-idf!8429
2020-05-29 04:48:30 +08:00
Angus Gratton f4edc52fa0 efuse: Have support for secure DL mode depend on a soc_caps flag 2020-05-28 18:02:02 +10:00
Angus Gratton d45eabe676 esptool: Add support for ESP32-S2 Secure Download Mode
* Pass --no-stub from build system if configured to enable ESP32-S2 Secure Download Mode
* Update esptool submodule
2020-05-28 17:52:15 +10:00
Angus Gratton f64ae4fa99 efuse: Add 'disable Download Mode' & ESP32-S2 'Secure Download Mode' functionality 2020-05-28 17:50:45 +10:00
Angus Gratton 48d9c14c28 efuse: Add new esp_efuse_read_field_bit() convenience function 2020-05-28 17:45:09 +10:00
Angus Gratton 1dd5a4dba4 efuse: Add new esp_efuse_write_field_bit() convenience function 2020-05-28 17:45:09 +10:00