]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoci: combine unit_test and integration_test stage:
He Yin Ling [Mon, 26 Nov 2018 08:40:32 +0000 (16:40 +0800)]
ci: combine unit_test and integration_test stage:

The number of runners of integration test is not bottleneck to CI
pipeline performance now. Combine these 2 stages will make integration
test executed even unit test fails. This could help us to collect more
info about test history.

5 years agoMerge branch 'test/enhanced_junit_test_result' into 'master'
He Yin Ling [Mon, 26 Nov 2018 08:35:08 +0000 (16:35 +0800)]
Merge branch 'test/enhanced_junit_test_result' into 'master'

test: enhanced junit test result

See merge request idf/esp-idf!2766

5 years agoMerge branch 'bugfix/test_idf_monitor_hangs' into 'master'
Angus Gratton [Mon, 26 Nov 2018 07:29:55 +0000 (15:29 +0800)]
Merge branch 'bugfix/test_idf_monitor_hangs' into 'master'

tools: Fix idf_monitor test case occasional hangup or failure

Closes #39

See merge request idf/esp-idf!3651

5 years agoMerge branch 'update/nvs_part_gen' into 'master'
Angus Gratton [Mon, 26 Nov 2018 06:26:08 +0000 (14:26 +0800)]
Merge branch 'update/nvs_part_gen' into 'master'

nvs_util: Add changes to nvs part gen util

See merge request idf/esp-idf!3531

5 years agoci: split build unit test job:
He Yin Ling [Wed, 21 Nov 2018 02:21:20 +0000 (10:21 +0800)]
ci: split build unit test job:

it takes long time to build with both make and cmake

5 years agoci: use artifacts:reports feature of Gitlab CI
He Yin Ling [Tue, 13 Nov 2018 13:26:58 +0000 (21:26 +0800)]
ci: use artifacts:reports feature of Gitlab CI

5 years agoci: assign unit test cases in sequence of config and name
He Yin Ling [Mon, 16 Jul 2018 09:44:38 +0000 (17:44 +0800)]
ci: assign unit test cases in sequence of config and name

5 years agotest: fix unit test script code style warnings
He Yin Ling [Tue, 20 Nov 2018 14:18:04 +0000 (22:18 +0800)]
test: fix unit test script code style warnings

5 years agotest: generate junit test report according to executed cases
He Yin Ling [Fri, 13 Jul 2018 08:48:43 +0000 (16:48 +0800)]
test: generate junit test report according to executed cases

5 years agotiny-test-fw: support capture raw data in DUT:
He Yin Ling [Tue, 20 Nov 2018 15:11:04 +0000 (23:11 +0800)]
tiny-test-fw: support capture raw data in DUT:

test cases might want to use `expect` and get raw data from DUT at the same time. New added capture method provides a way to do that.

5 years agoMerge branch 'bugfix/fix_cmake_args_issue' into 'master'
Angus Gratton [Sun, 25 Nov 2018 23:58:09 +0000 (07:58 +0800)]
Merge branch 'bugfix/fix_cmake_args_issue' into 'master'

Fix CMAKE_ARGS issue for ULP build

See merge request idf/esp-idf!3776

5 years agoMerge branch 'bugfix/spiram_80m_clk_config' into 'master'
Ivan Grokhotkov [Sun, 25 Nov 2018 14:25:19 +0000 (22:25 +0800)]
Merge branch 'bugfix/spiram_80m_clk_config' into 'master'

clk: fix regression in clock setting for SPIRAM with 80MHz config

See merge request idf/esp-idf!3724

5 years agoMerge branch 'feature/btdm_add_update_duplicate_scan_exceptional_list_apis' into...
Jiang Jiang Jian [Sun, 25 Nov 2018 10:58:53 +0000 (18:58 +0800)]
Merge branch 'feature/btdm_add_update_duplicate_scan_exceptional_list_apis' into 'master'

Component/bt: add update duplicate scan exceptional list APIs

See merge request idf/esp-idf!3763

5 years agotools: Fix idf_monitor test case occasional hangup or failure
Roland Dobai [Tue, 6 Nov 2018 10:36:46 +0000 (11:36 +0100)]
tools: Fix idf_monitor test case occasional hangup or failure

Closes idf/esp-idf#39

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1121' into 'master'
Jiang Jiang Jian [Fri, 23 Nov 2018 09:08:25 +0000 (17:08 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1121' into 'master'

esp32: fix some wifi bugs

See merge request idf/esp-idf!3756

5 years agoComponent/bt: add update duplicate scan exceptional list APIs
zhiweijian [Wed, 21 Nov 2018 07:45:48 +0000 (15:45 +0800)]
Component/bt: add update duplicate scan exceptional list APIs

5 years agocmake: remove unecessary info passed to bootloader build
Renz Christian Bagaporo [Thu, 22 Nov 2018 10:46:44 +0000 (18:46 +0800)]
cmake: remove unecessary info passed to bootloader build

5 years agoulp: fix passing ulp srcs due to cmake_args bug
Renz Christian Bagaporo [Fri, 23 Nov 2018 08:08:41 +0000 (16:08 +0800)]
ulp: fix passing ulp srcs due to cmake_args bug

5 years agoMerge branch 'bugfix/i2c_hardware_filter_default_enable' into 'master'
Wang Jia Lin [Fri, 23 Nov 2018 06:23:37 +0000 (14:23 +0800)]
Merge branch 'bugfix/i2c_hardware_filter_default_enable' into 'master'

driver:  Enable I2C master hardware filter by default.

See merge request idf/esp-idf!3715

5 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Wed, 21 Nov 2018 04:53:04 +0000 (12:53 +0800)]
esp32: fix some wifi bugs

Fix some WiFi bugs:
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID

5 years agoMerge branch 'bugfix/docs_what-you-need' into 'master'
Angus Gratton [Fri, 23 Nov 2018 03:16:28 +0000 (11:16 +0800)]
Merge branch 'bugfix/docs_what-you-need' into 'master'

Updated 'What you need' picture

See merge request idf/esp-idf!3725

5 years agoMerge branch 'bugfix/docs_https_server' into 'master'
Angus Gratton [Fri, 23 Nov 2018 02:44:55 +0000 (10:44 +0800)]
Merge branch 'bugfix/docs_https_server' into 'master'

Docs : esp_https_server API references corrected

See merge request idf/esp-idf!3775

5 years agoMerge branch 'bugfix/fix_ldgen_pyparsing_new_version' into 'master'
Angus Gratton [Fri, 23 Nov 2018 02:38:18 +0000 (10:38 +0800)]
Merge branch 'bugfix/fix_ldgen_pyparsing_new_version' into 'master'

ldgen: fix issues when using pyparsing 2.3.0

See merge request idf/esp-idf!3739

5 years agodriver(i2c): enable I2C master hardware filter by default.
kooho [Thu, 15 Nov 2018 12:21:49 +0000 (20:21 +0800)]
driver(i2c): enable I2C master hardware filter by default.

5 years agodocs: add pyparsing install to setup guide
Renz Christian Bagaporo [Thu, 22 Nov 2018 14:03:35 +0000 (22:03 +0800)]
docs: add pyparsing install to setup guide

5 years agoldgen: catch exception with python3 compatible style
Renz Christian Bagaporo [Wed, 21 Nov 2018 08:58:22 +0000 (16:58 +0800)]
ldgen: catch exception with python3 compatible style

Closes https://github.com/espressif/esp-idf/issues/2720

5 years agotiny-test-fw: enhanced junit test report support:
He Yin Ling [Fri, 13 Jul 2018 08:47:42 +0000 (16:47 +0800)]
tiny-test-fw: enhanced junit test report support:

1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag

5 years agoMerge branch 'bugfix/btdm_move_func_into_iram' into 'master'
Jiang Jiang Jian [Thu, 22 Nov 2018 11:17:37 +0000 (19:17 +0800)]
Merge branch 'bugfix/btdm_move_func_into_iram' into 'master'

components/bt: Move function in interrupt into IRAM

See merge request idf/esp-idf!3757

5 years agoDocs : esp_https_server API references corrected
Anurag Kar [Thu, 22 Nov 2018 10:27:05 +0000 (15:57 +0530)]
Docs : esp_https_server API references corrected

5 years agocomponents/bt: Move function in interrupt into IRAM
baohongde [Thu, 22 Nov 2018 07:59:53 +0000 (15:59 +0800)]
components/bt: Move function in interrupt into IRAM

1. Move function in interrupt into IRAM
2. Delete unused code, saving 240B DRAM and some code size

5 years agoMerge branch 'bugfix/calloc_recursive' into 'master'
Ivan Grokhotkov [Thu, 22 Nov 2018 07:24:17 +0000 (15:24 +0800)]
Merge branch 'bugfix/calloc_recursive' into 'master'

newlib: disable some optimizations for syscalls.c

See merge request idf/esp-idf!3774

5 years agonewlib: disable some optimizations for syscalls.c
Ivan Grokhotkov [Thu, 22 Nov 2018 04:19:49 +0000 (12:19 +0800)]
newlib: disable some optimizations for syscalls.c

Don’t allow the compiler to convert malloc + memset into calloc,
causing a recursive call in _calloc_r. Fixes crash when building with
-O2 optimization level.

5 years agoMerge branch 'mesh/bugfix_v3.2' into 'master'
Jiang Jiang Jian [Thu, 22 Nov 2018 02:22:06 +0000 (10:22 +0800)]
Merge branch 'mesh/bugfix_v3.2' into 'master'

mesh: bugfix

See merge request idf/esp-idf!3740

5 years agotools: install pyparsing using pip
Renz Christian Bagaporo [Tue, 20 Nov 2018 00:08:54 +0000 (08:08 +0800)]
tools: install pyparsing using pip

5 years agoldgen: fix issues when using pyparsing 2.3.0
Renz Christian Bagaporo [Mon, 19 Nov 2018 10:30:24 +0000 (18:30 +0800)]
ldgen: fix issues when using pyparsing 2.3.0

5 years agoutest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000
qiyueixa [Wed, 21 Nov 2018 07:46:25 +0000 (15:46 +0800)]
utest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000

5 years agomesh: bugfix
qiyueixa [Wed, 21 Nov 2018 03:59:36 +0000 (11:59 +0800)]
mesh: bugfix

1. fix failture of mesh stop caused by block-sending.
2. fix when FIXED_ROOT is set, 2nd layer devices can not receive mesh event ESP_ERR_MESH_NO_PARENT_FOUND.
3. fix when FIXED_ROOT is set and the root turns off mesh function, 2nd layer devices do not look for new parents.
4. add APIs esp_mesh_disconnect() and esp_mesh_connect().
5. disconnect from parent/router when the DSSS channel in received beacon is different from the home channel.
6. remove nvs task to release 3k bytes memory.

5 years agonvs_util: update test case
Shivani Tipnis [Wed, 21 Nov 2018 08:10:24 +0000 (13:40 +0530)]
nvs_util: update test case

5 years agoUpdate README
Shivani Tipnis [Mon, 19 Nov 2018 06:19:54 +0000 (11:49 +0530)]
Update README

5 years agoCloses https://github.com/espressif/esp-idf/issues/2472
Shivani Tipnis [Tue, 13 Nov 2018 11:37:14 +0000 (17:07 +0530)]
Closes https://github.com/espressif/esp-idf/issues/2472

5 years agonvs_util: Add changes to nvs part gen util
Shivani Tipnis [Wed, 17 Oct 2018 11:38:32 +0000 (17:08 +0530)]
nvs_util: Add changes to nvs part gen util

nvs_util: Add changes to nvs part gen util

nvs_host_test: Add test case for keygen and keyfile paratmeters

5 years agoMerge branch 'feature/btdm_add_set_long_adv_data_api' into 'master'
Jiang Jiang Jian [Wed, 21 Nov 2018 03:31:13 +0000 (11:31 +0800)]
Merge branch 'feature/btdm_add_set_long_adv_data_api' into 'master'

Component/bt: add set long adv data api

See merge request idf/esp-idf!3722

5 years agoci: add unit test job
Mahavir Jain [Tue, 20 Nov 2018 05:44:11 +0000 (11:14 +0530)]
ci: add unit test job

5 years agounit-test-app: keep CONFIG_SPIRAM_BANKSWITCH_ENABLE enabled only for psram_8m config
Mahavir Jain [Mon, 19 Nov 2018 16:52:24 +0000 (22:22 +0530)]
unit-test-app: keep CONFIG_SPIRAM_BANKSWITCH_ENABLE enabled only for psram_8m config

5 years agoMerge branch 'bugfix/add_connected_event_after_softap_finish_4_way' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 12:04:12 +0000 (20:04 +0800)]
Merge branch 'bugfix/add_connected_event_after_softap_finish_4_way' into 'master'

wifi: add connected event after softap finish 4 way

See merge request idf/esp-idf!3661

5 years agoMerge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 12:02:13 +0000 (20:02 +0800)]
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params' into 'master'

Component/bt: add check peer addr type in set adv params

See merge request idf/esp-idf!3732

5 years agoMerge branch 'bugfix/ldgen_windows_kconfig_paths' into 'master'
Angus Gratton [Tue, 20 Nov 2018 09:21:11 +0000 (17:21 +0800)]
Merge branch 'bugfix/ldgen_windows_kconfig_paths' into 'master'

ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make

See merge request idf/esp-idf!3746

5 years agoMerge branch 'bugfix/doc_builds_windows' into 'master'
Angus Gratton [Tue, 20 Nov 2018 09:20:40 +0000 (17:20 +0800)]
Merge branch 'bugfix/doc_builds_windows' into 'master'

doc: Fix doc builds on Windows MINGW32, add some doc build documentation

See merge request idf/esp-idf!3550

5 years agoMerge branch 'fix/spi_callback_in_iram' into 'master'
Angus Gratton [Tue, 20 Nov 2018 08:25:08 +0000 (16:25 +0800)]
Merge branch 'fix/spi_callback_in_iram' into 'master'

spi: fix the crash when callbacks are not in the IRAM

See merge request idf/esp-idf!3498

5 years agoMerge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:40:50 +0000 (14:40 +0800)]
Merge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'

Component/bt: add BLE Blocking APIs

See merge request idf/esp-idf!3513

5 years agoMerge branch 'bugfix/btdm_errors_in_comment' into 'master'
Jiang Jiang Jian [Tue, 20 Nov 2018 06:26:12 +0000 (14:26 +0800)]
Merge branch 'bugfix/btdm_errors_in_comment' into 'master'

components/bt: Some errors in comment

See merge request idf/esp-idf!3703

5 years agoldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
Angus Gratton [Tue, 20 Nov 2018 06:25:20 +0000 (17:25 +1100)]
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make

5 years agoMerge branch 'feature/esp_https_server' into 'master'
Angus Gratton [Tue, 20 Nov 2018 05:58:26 +0000 (13:58 +0800)]
Merge branch 'feature/esp_https_server' into 'master'

Add HTTPS Server component

See merge request idf/esp-idf!3608

5 years agoMerge branch 'example/sysview_tracing' into 'master'
Ivan Grokhotkov [Tue, 20 Nov 2018 05:10:19 +0000 (13:10 +0800)]
Merge branch 'example/sysview_tracing' into 'master'

SystemView tracing example

See merge request idf/esp-idf!3514

5 years agospi: fix the crash when callbacks are not in the IRAM
Michael (XIAO Xufeng) [Tue, 23 Oct 2018 08:57:32 +0000 (16:57 +0800)]
spi: fix the crash when callbacks are not in the IRAM

Introduced in 9c23b8e5 and 4f87a62f. To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM.  The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.

Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations.  New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations).  It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.

5 years agoexample: Adds SystemView tracing example app
Alexey Gerenkov [Thu, 18 Oct 2018 16:14:44 +0000 (19:14 +0300)]
example: Adds SystemView tracing example app

5 years agoesp32: Fixes SystemView lock's IRQ state restore
Alexey Gerenkov [Thu, 18 Oct 2018 16:10:33 +0000 (19:10 +0300)]
esp32: Fixes SystemView lock's IRQ state restore

5 years agoComponent/bt: add set long adv data api
zhiweijian [Fri, 9 Nov 2018 08:11:45 +0000 (16:11 +0800)]
Component/bt: add set long adv data api

5 years agoMerge branch 'bugfix/ut_building_test_check' into 'master'
Angus Gratton [Mon, 19 Nov 2018 22:13:58 +0000 (06:13 +0800)]
Merge branch 'bugfix/ut_building_test_check' into 'master'

esp32, mbedtls: check component name when enabling test flags

See merge request idf/esp-idf!3742

5 years agomake/ldgen: fix line continuation
Ivan Grokhotkov [Mon, 19 Nov 2018 17:09:38 +0000 (01:09 +0800)]
make/ldgen: fix line continuation

5 years agoesp32, mbedtls: check component name when enabling test flags
Ivan Grokhotkov [Mon, 19 Nov 2018 16:49:38 +0000 (00:49 +0800)]
esp32, mbedtls: check component name when enabling test flags

Otherwise flags get enabled even when building tests for other components.

5 years agotest: spiram: fix and enable test cases for default configuration
Mahavir Jain [Mon, 19 Nov 2018 16:50:52 +0000 (22:20 +0530)]
test: spiram: fix and enable test cases for default configuration

5 years agoMerge branch 'bugfix/init_memctl' into 'master'
Ivan Grokhotkov [Mon, 19 Nov 2018 10:36:47 +0000 (18:36 +0800)]
Merge branch 'bugfix/init_memctl' into 'master'

bootloader, esp32: add workaround for Tensilica erratum 572

See merge request idf/esp-idf!3605

5 years agoMerge branch 'feature/unit_test_example' into 'master'
Ivan Grokhotkov [Mon, 19 Nov 2018 10:35:54 +0000 (18:35 +0800)]
Merge branch 'feature/unit_test_example' into 'master'

Move Unity into components, add unit test example

See merge request idf/esp-idf!3562

5 years agoComponent/bt: add check peer addr type in set adv params
zhiweijian [Mon, 19 Nov 2018 09:04:48 +0000 (17:04 +0800)]
Component/bt: add check peer addr type in set adv params

5 years agoMerge branch 'fix/cryptography_version' into 'master'
Angus Gratton [Mon, 19 Nov 2018 07:27:45 +0000 (15:27 +0800)]
Merge branch 'fix/cryptography_version' into 'master'

Update minimum version for cryptography package required

See merge request idf/esp-idf!3712

5 years agoMerge branch 'doc/translation_eclipse-setup_wangfang' into 'master'
Angus Gratton [Mon, 19 Nov 2018 06:04:04 +0000 (14:04 +0800)]
Merge branch 'doc/translation_eclipse-setup_wangfang' into 'master'

Doc/translation eclipse setup wangfang

See merge request idf/esp-idf!3681

5 years agoMerge branch 'fix/spi_freq_limit_check' into 'master'
Angus Gratton [Mon, 19 Nov 2018 06:02:40 +0000 (14:02 +0800)]
Merge branch 'fix/spi_freq_limit_check' into 'master'

spi: modify some docs about the freq limit and the ISR

See merge request idf/esp-idf!3686

5 years agoUpdate minimum version for cryptography package required
Shivani Tipnis [Fri, 16 Nov 2018 05:57:00 +0000 (11:27 +0530)]
Update minimum version for cryptography package required

5 years agoMerge branch 'doc/add_cmake_translation' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:53:06 +0000 (12:53 +0800)]
Merge branch 'doc/add_cmake_translation' into 'master'

doc/add_translation_for_cmake_documents

See merge request idf/esp-idf!3636

5 years agoMerge branch 'feature/linker_script_generator' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:43:27 +0000 (12:43 +0800)]
Merge branch 'feature/linker_script_generator' into 'master'

Linker script generator

See merge request idf/esp-idf!2286

5 years agobootloader, esp32: add workaround for Tensilica erratum 572
Ivan Grokhotkov [Thu, 1 Nov 2018 03:30:48 +0000 (11:30 +0800)]
bootloader, esp32: add workaround for Tensilica erratum 572

If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.

5 years agoexamples: add unit testing example
Ivan Grokhotkov [Thu, 25 Oct 2018 12:31:35 +0000 (20:31 +0800)]
examples: add unit testing example

5 years agounity: don't use stdio in runner, fix code style
Ivan Grokhotkov [Thu, 25 Oct 2018 07:44:50 +0000 (15:44 +0800)]
unity: don't use stdio in runner, fix code style

5 years agounity: separate common and IDF specific functionality
Ivan Grokhotkov [Thu, 25 Oct 2018 04:52:32 +0000 (12:52 +0800)]
unity: separate common and IDF specific functionality

New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.

5 years agoci: support building examples with external components
Ivan Grokhotkov [Fri, 26 Oct 2018 05:44:14 +0000 (13:44 +0800)]
ci: support building examples with external components

5 years agovfs: implement fsync for UART VFS
Ivan Grokhotkov [Thu, 25 Oct 2018 04:54:53 +0000 (12:54 +0800)]
vfs: implement fsync for UART VFS

5 years agoesp32: fix typos in rom/uart.h
Ivan Grokhotkov [Thu, 25 Oct 2018 04:56:56 +0000 (12:56 +0800)]
esp32: fix typos in rom/uart.h

5 years agoMerge branch 'docs/fix-eclipse-windows-steps' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:15:53 +0000 (12:15 +0800)]
Merge branch 'docs/fix-eclipse-windows-steps' into 'master'

Docs: Change makes Eclipse setup inline with Mac OS and Linux.

See merge request idf/esp-idf!3486

5 years agoDocs: Change makes Eclipse setup inline with Mac OS and Linux.
Prasad Alatkar [Mon, 19 Nov 2018 04:15:53 +0000 (12:15 +0800)]
Docs: Change makes Eclipse setup inline with Mac OS and Linux.

5 years agoMerge branch 'doc/translation_linux-setup-scratch_wangfang' into 'master'
Angus Gratton [Mon, 19 Nov 2018 04:14:45 +0000 (12:14 +0800)]
Merge branch 'doc/translation_linux-setup-scratch_wangfang' into 'master'

Doc/translation linux setup scratch wangfang

See merge request idf/esp-idf!3679

5 years agoDoc/translation linux setup scratch wangfang
Wang Fang [Mon, 19 Nov 2018 04:14:45 +0000 (12:14 +0800)]
Doc/translation linux setup scratch wangfang

5 years agoesp_https_server : change config option secure_enable to transport_mode and some...
Anurag Kar [Mon, 12 Nov 2018 08:49:20 +0000 (14:19 +0530)]
esp_https_server : change config option secure_enable to transport_mode and some minor changes

transport_mode accepts enum httpd_ssl_transport_t instead of true/false.
This will allow for extension to dual mode (server running on both secure and insecure ports) in the future.

5 years agoesp_http_server : APIs renamed and context get/set implementations fixed
Anurag Kar [Fri, 2 Nov 2018 18:25:40 +0000 (23:55 +0530)]
esp_http_server : APIs renamed and context get/set implementations fixed

* http_sess_set_*_override APIs are now the only ones available to set custom recv/send/pending functions
* Fixed side effects to using http_sess_set/get_context inside URI handlers

5 years agoesp_http_server example tests : updated advanced_tests as per API changes
Anurag Kar [Fri, 2 Nov 2018 18:05:38 +0000 (23:35 +0530)]
esp_http_server example tests : updated advanced_tests as per API changes

5 years agoesp_https_server : Docs and API references fixed
Anurag Kar [Thu, 1 Nov 2018 12:54:19 +0000 (18:24 +0530)]
esp_https_server : Docs and API references fixed

5 years agoAdd a 'esp_https_server' component allowing to use http_server with OpenSSL
Ondřej Hruška [Wed, 31 Oct 2018 22:17:00 +0000 (23:17 +0100)]
Add a 'esp_https_server' component allowing to use http_server with OpenSSL

5 years agoesp_http_server improvements to allow adding transport layer encryption
Ondřej Hruška [Wed, 31 Oct 2018 21:59:57 +0000 (22:59 +0100)]
esp_http_server improvements to allow adding transport layer encryption

Changes:
- renamed `httpd_free_sess_ctx_fn_t` to `httpd_free_ctx_fn_t`
- added a `httpd_handle_t` argument to `httpd_send_func_t` and `httpd_recv_func_t`
- internal function `httpd_sess_get()` is no longer static, as it's used in other
  files besides httpd_sess.c

Bug fixes:
- removed a trailing semicolon from `HTTPD_DEFAULT_CONFIG()`
- fixed issue with failed `select()`, now it automatically closes invalid sockets
  instead of shutting down the entire server

New features:
- `httpd_resp_send()` and `httpd_resp_send_chunk()` now accept -1 as length to use
  `strlen()` internally
- added `httpd_sess_set_ctx()` to accompany `httpd_sess_get_ctx()`
- added a "transport context" to the session structure (next to user context)
- added `httpd_sess_{get,set}_transport_ctx()` to work with this transport context
- added "global user context" and "global transport context" stored in the server
  config (and then the handle); supports a user-provided free_fn
- added a "pending func" to e.g. check for data in the transport layer receive
  buffer
- added functions `httpd_set_sess_{send,recv,pending}_override()` that target
  a session by ID (i.e. not using a request object)
- added `httpd_set_pending_override()`
- added a "open_fn" and "close_fn" - functions called when creating and closing
  a session. These may be used to set up transport layer encryption or some other
  session-wide feature

5 years agowifi: add connected event after softap finish 4 way
Deng Xin [Wed, 7 Nov 2018 13:19:11 +0000 (21:19 +0800)]
wifi: add connected event after softap finish 4 way

Background

Softap will send connected event after receive assoc request as before, however, STA didn't connect to softAP if need security. As our mesh design, it will send data packet after receive connected event, so change the current behavior, softAP will send connected event if have encryption

5 years agoMerge branch 'bugfix/wifi_sta_sniffer_phy_config_bug' into 'master'
Jiang Jiang Jian [Mon, 19 Nov 2018 02:11:23 +0000 (10:11 +0800)]
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug' into 'master'

wifi: fix wifi sta and sniffer phy config bug

See merge request idf/esp-idf!3566

5 years agoUpdated 'What you need' picture
krzychb [Fri, 16 Nov 2018 21:18:31 +0000 (22:18 +0100)]
Updated 'What you need' picture

5 years agoclk: fix regression in clock setting for SPIRAM with 80MHz config
Mahavir Jain [Fri, 16 Nov 2018 18:35:56 +0000 (00:05 +0530)]
clk: fix regression in clock setting for SPIRAM with 80MHz config

Support for HSPI to output clock for 4M SPIRAM introduced regression
in clock configuration affecting SPIRAM access with 80MHz clock. This
commit fixes the issue.

5 years agoMerge branch 'bugfix/cmake_ut_parsing' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 14:11:14 +0000 (22:11 +0800)]
Merge branch 'bugfix/cmake_ut_parsing' into 'master'

cmake: fix for parsing unit test config

See merge request idf/esp-idf!3696

5 years agoMerge branch 'bugfix/fat_lock_log' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 13:29:56 +0000 (21:29 +0800)]
Merge branch 'bugfix/fat_lock_log' into 'master'

fatfs: Do not log from critical sections

See merge request idf/esp-idf!3683

5 years agocmake: fix for parsing unit test config
Renz Christian Bagaporo [Tue, 13 Nov 2018 14:27:53 +0000 (22:27 +0800)]
cmake: fix for parsing unit test config

5 years agoesp_timer: improve unit test robustness
Ivan Grokhotkov [Thu, 15 Nov 2018 12:03:13 +0000 (20:03 +0800)]
esp_timer: improve unit test robustness

1. call esp_timer_get_time and ref_clock_get in the same order on
   start and in the loop

2. disable interrupts when calculating delta between ref_clock
   and esp_timer

3. ensure both functions are in cache before calculating the delta

5 years agoMerge branch 'feature/ut_filter_test_groups' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 11:31:47 +0000 (19:31 +0800)]
Merge branch 'feature/ut_filter_test_groups' into 'master'

unit test: allow filtering tests using TEST_GROUPS

See merge request idf/esp-idf!3695

5 years agoMerge branch 'bugfix/adjtime_test2' into 'master'
Ivan Grokhotkov [Fri, 16 Nov 2018 11:21:45 +0000 (19:21 +0800)]
Merge branch 'bugfix/adjtime_test2' into 'master'

Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"

Closes #37

See merge request idf/esp-idf!3657

5 years agofatfs: Do not log from critical sections
Roland Dobai [Fri, 9 Nov 2018 13:15:00 +0000 (14:15 +0100)]
fatfs: Do not log from critical sections

Logging in the critical section can result in a deadlock when the logger
is redirected to FATFS.

Closes https://github.com/espressif/esp-idf/issues/1693

5 years agowifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the...
zhangyanjiao [Wed, 14 Nov 2018 06:46:49 +0000 (14:46 +0800)]
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
when disable sniffer, station will never enable phy and rf again.

Closes: https://github.com/espressif/esp-idf/issues/2545