]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/generic_cmake_gc_sections' into 'master'
Angus Gratton [Tue, 4 Dec 2018 03:01:51 +0000 (11:01 +0800)]
Merge branch 'bugfix/generic_cmake_gc_sections' into 'master'

generic cmake: Always use gc-sections when linking IDF libraries

See merge request idf/esp-idf!3873

5 years agoMerge branch 'bugfix/ldgen_cmd_args_too_long' into 'master'
Angus Gratton [Tue, 4 Dec 2018 02:42:58 +0000 (10:42 +0800)]
Merge branch 'bugfix/ldgen_cmd_args_too_long' into 'master'

Fix issue with generating linker script using Windows command line

See merge request idf/esp-idf!3865

5 years agogeneric cmake: Always use gc-sections when linking IDF libraries
Angus Gratton [Mon, 3 Dec 2018 23:47:00 +0000 (10:47 +1100)]
generic cmake: Always use gc-sections when linking IDF libraries

Required for some IDF binary libraries

Reported on forum: https://esp32.com/viewtopic.php?f=13&t=7535&p=34863#p34852

TW27733

5 years agocmake, make: fix long cmd line args for ldgen
Renz Christian Bagaporo [Sat, 1 Dec 2018 14:22:45 +0000 (22:22 +0800)]
cmake, make: fix long cmd line args for ldgen

5 years agoMerge branch 'bugfix/partitions_tools_style_check' into 'master'
Angus Gratton [Mon, 3 Dec 2018 04:25:39 +0000 (12:25 +0800)]
Merge branch 'bugfix/partitions_tools_style_check' into 'master'

Remove parttool exemption from style check

See merge request idf/esp-idf!3847

5 years agoMerge branch 'ci/combine_unit_test_and_integration_test' into 'master'
Angus Gratton [Mon, 3 Dec 2018 03:39:26 +0000 (11:39 +0800)]
Merge branch 'ci/combine_unit_test_and_integration_test' into 'master'

ci: combine unit_test and integration_test stage

See merge request idf/esp-idf!3792

5 years agoMerge branch 'bugfix/convert_to_cmake' into 'master'
Angus Gratton [Mon, 3 Dec 2018 03:39:12 +0000 (11:39 +0800)]
Merge branch 'bugfix/convert_to_cmake' into 'master'

Fix minor issue with convert_to_cmake script

See merge request idf/esp-idf!3666

5 years agoMerge branch 'feature/docs_more_on_shared_pins_of_esp-wrover-kit' into 'master'
Angus Gratton [Sun, 2 Dec 2018 23:02:40 +0000 (07:02 +0800)]
Merge branch 'feature/docs_more_on_shared_pins_of_esp-wrover-kit' into 'master'

Extended information on using pins of ESP-WROVER-KIT that are shared among…

See merge request idf/esp-idf!3841

5 years agoMerge branch 'feature/docs_hw_reference_cn' into 'master'
Angus Gratton [Sun, 2 Dec 2018 23:02:33 +0000 (07:02 +0800)]
Merge branch 'feature/docs_hw_reference_cn' into 'master'

Provided translation of 'Hardware Reference' into Chinese

See merge request idf/esp-idf!3555

5 years agoProvided translation of 'Hardware Reference' into Chinese
Krzysztof Budzynski [Sun, 2 Dec 2018 23:02:33 +0000 (07:02 +0800)]
Provided translation of 'Hardware Reference' into Chinese

5 years agoMerge branch 'feature/btdm_ble_full_scan_support' into 'master'
Jiang Jiang Jian [Fri, 30 Nov 2018 13:53:21 +0000 (21:53 +0800)]
Merge branch 'feature/btdm_ble_full_scan_support' into 'master'

component/bt: Added the ble full scan supported feature.

See merge request idf/esp-idf!3820

5 years agoMerge branch 'doc/RF_calibration' into 'master'
Jiang Jiang Jian [Fri, 30 Nov 2018 13:50:29 +0000 (21:50 +0800)]
Merge branch 'doc/RF_calibration' into 'master'

doc: add documentation for RF calibration

See merge request idf/esp-idf!3828

5 years agoMerge branch 'feature/optimize_wifi_log' into 'master'
Jiang Jiang Jian [Fri, 30 Nov 2018 13:42:57 +0000 (21:42 +0800)]
Merge branch 'feature/optimize_wifi_log' into 'master'

wifi: add code for setting wifi log level and module

See merge request idf/esp-idf!3710

5 years agocomponent/bt: Added the ble full scan supported feature.
yulong [Wed, 28 Nov 2018 12:00:40 +0000 (20:00 +0800)]
component/bt: Added the ble full scan supported feature.

1. Add the full scan swith in the menuconfig;
2. Change the bt lib in order to support ble full scan

5 years agoparttool: remove exemption from style check
Renz Christian Bagaporo [Fri, 30 Nov 2018 08:39:55 +0000 (16:39 +0800)]
parttool: remove exemption from style check

5 years agodoc: add documentation for RF calibration
Xia Xiaotian [Thu, 29 Nov 2018 08:07:28 +0000 (16:07 +0800)]
doc: add documentation for RF calibration

Add an API to erase phy namespace of NVS

5 years agowifi: add code for setting wifi log level and module
zhangyanjiao [Mon, 29 Oct 2018 09:12:08 +0000 (17:12 +0800)]
wifi: add code for setting wifi log level and module

5 years agoMerge branch 'feature/ulp-assembler-version-check' into 'master'
Angus Gratton [Fri, 30 Nov 2018 06:57:01 +0000 (14:57 +0800)]
Merge branch 'feature/ulp-assembler-version-check' into 'master'

Check assembler version

See merge request idf/esp-idf!3156

5 years agoMerge branch 'doc/ledc_example_doc_improve' into 'master'
Angus Gratton [Fri, 30 Nov 2018 06:48:25 +0000 (14:48 +0800)]
Merge branch 'doc/ledc_example_doc_improve' into 'master'

doc(ledc): Update LEDC example README.md file

See merge request idf/esp-idf!2673

5 years agoMerge branch 'feature/partition_tools' into 'master'
Angus Gratton [Fri, 30 Nov 2018 06:15:51 +0000 (14:15 +0800)]
Merge branch 'feature/partition_tools' into 'master'

Partition level tools

See merge request idf/esp-idf!3355

5 years agoMerge branch 'bugfix/ldgen_error_messages' into 'master'
Angus Gratton [Fri, 30 Nov 2018 03:15:23 +0000 (11:15 +0800)]
Merge branch 'bugfix/ldgen_error_messages' into 'master'

ldgen: Improve error output when linker input is invalid

See merge request idf/esp-idf!3824

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

cmake: fix error on building idf as lib when env IDF_PATH is not set

See merge request idf/esp-idf!3832

5 years agoMerge branch 'bugfix/i2c_master_clear_bus' into 'master'
Angus Gratton [Fri, 30 Nov 2018 02:53:39 +0000 (10:53 +0800)]
Merge branch 'bugfix/i2c_master_clear_bus' into 'master'

fix i2c_master_clear_bus && add i2c_tool example test

See merge request idf/esp-idf!3509

5 years agoMerge branch 'doc/heap_basics' into 'master'
Angus Gratton [Fri, 30 Nov 2018 02:24:51 +0000 (10:24 +0800)]
Merge branch 'doc/heap_basics' into 'master'

docs: Add some more explanation about heap, memory types

See merge request idf/esp-idf!3810

5 years agoexample_test: using try block to pass the python style check
morris [Thu, 29 Nov 2018 12:34:57 +0000 (20:34 +0800)]
example_test: using try block to pass the python style check

5 years agobugfix(i2c): reduce speed of I2C master bus reset routine and release SDA
Wangjialin [Wed, 28 Nov 2018 07:41:46 +0000 (15:41 +0800)]
bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA

closes https://github.com/espressif/esp-idf/issues/2494
closes https://github.com/espressif/esp-idf/pull/2493
closes https://github.com/espressif/esp-idf/pull/2496

1. Change bus reset to handle interrupted READ sequences.
2. Slow down I2C to 100khz during reset
3. If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH. So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.

5 years ago1. Slow down I2C to 100khz During Reset
chuck todd [Sun, 30 Sep 2018 20:47:05 +0000 (14:47 -0600)]
1. Slow down I2C to 100khz During Reset

I am stealing this delay coding from @jeremyherbert #2493 pr.

2. Change Bus Reset to handle interrupted READ sequences.

The current code does not handle interrupted READ cycles.

 If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.

The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.

If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH.

So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.

3. fix typo

correct `sda_id` to `sda_io` in `i2c_master_clear_bus()` @ryan-ma found it.  This typo was generated when I manually edited this patch on GitHub, I should have done a Copy/Paste operation!

5 years agoreduce speed of i2c master bus reset routine and release sda
jeremy [Sun, 30 Sep 2018 09:26:09 +0000 (19:26 +1000)]
reduce speed of i2c master bus reset routine and release sda

5 years agoi2c_tool: add i2c_tool example test
morris [Thu, 18 Oct 2018 03:25:22 +0000 (11:25 +0800)]
i2c_tool: add i2c_tool example test

1. add example test for i2c-tools
2. make command line arguments number configurable

5 years agoMerge branch 'bugfix/flake8' into 'master'
Angus Gratton [Fri, 30 Nov 2018 01:32:43 +0000 (09:32 +0800)]
Merge branch 'bugfix/flake8' into 'master'

Make the flake8 configuration work regardless of installed plugins

See merge request idf/esp-idf!3838

5 years agodoc: translate part of build-system
morris [Wed, 28 Nov 2018 08:30:16 +0000 (16:30 +0800)]
doc: translate part of build-system

Translate the make_size part in build system.

5 years agodocs: Add some more explanation about heap, memory types
Angus Gratton [Mon, 26 Nov 2018 22:35:42 +0000 (09:35 +1100)]
docs: Add some more explanation about heap, memory types

5 years agoExtended information on using pins of ESP-WROVER-KIT that are shared among peripheral...
krzychb [Thu, 29 Nov 2018 15:56:49 +0000 (16:56 +0100)]
Extended information on using pins of ESP-WROVER-KIT that are shared among peripherals. Inspired by https://esp32.com/viewtopic.php?f=12&t=6856.

5 years agoMerge branch 'feature/fatfs_alloc_extram_option' into 'master'
Ivan Grokhotkov [Thu, 29 Nov 2018 14:59:01 +0000 (22:59 +0800)]
Merge branch 'feature/fatfs_alloc_extram_option' into 'master'

fatfs: add option to prefer ext. RAM for internal buffers

See merge request idf/esp-idf!3821

5 years agoMerge branch 'test/driver_i2c' into 'master'
He Yin Ling [Thu, 29 Nov 2018 14:53:06 +0000 (22:53 +0800)]
Merge branch 'test/driver_i2c' into 'master'

add i2c case

See merge request idf/esp-idf!1937

5 years agoMake the flake8 configuration work regardless of installed plugins
Roland Dobai [Thu, 29 Nov 2018 12:40:36 +0000 (13:40 +0100)]
Make the flake8 configuration work regardless of installed plugins

5 years agofatfs: add option to prefer ext. RAM for internal buffers
Ivan Grokhotkov [Wed, 28 Nov 2018 17:08:59 +0000 (01:08 +0800)]
fatfs: add option to prefer ext. RAM for internal buffers

5 years agombedtls: align CMake build with corresponding component.mk
Mahavir Jain [Thu, 8 Nov 2018 05:56:33 +0000 (11:26 +0530)]
mbedtls: align CMake build with corresponding component.mk

5 years agotest: components/driver: i2c case
houchenyao [Sun, 17 Dec 2017 02:21:14 +0000 (10:21 +0800)]
test: components/driver: i2c case

5 years agotools/ci: add test case for convert_to_cmake script
Mahavir Jain [Mon, 5 Nov 2018 10:30:50 +0000 (16:00 +0530)]
tools/ci: add test case for convert_to_cmake script

Following issue was already fixed with earlier commit-id f4cfca4353da66be88d04adf059d8d37f1c95b11
Here additional build test case is added and marking issue as closed.

Closes: https://github.com/espressif/esp-idf/issues/2660
5 years agoMerge branch 'bugfix/menuconfig_fails_on_cmake' into 'master'
Ivan Grokhotkov [Thu, 29 Nov 2018 08:10:21 +0000 (16:10 +0800)]
Merge branch 'bugfix/menuconfig_fails_on_cmake' into 'master'

Fix menuconfig fail on cmake

Closes #48

See merge request idf/esp-idf!3826

5 years agocmake: fix error on building idf as lib when env IDF_PATH is not set
Renz Christian Bagaporo [Thu, 29 Nov 2018 06:51:21 +0000 (14:51 +0800)]
cmake: fix error on building idf as lib when env IDF_PATH is not set

5 years agoMerge branch 'test/driver_i2s' into 'master'
He Yin Ling [Thu, 29 Nov 2018 06:41:09 +0000 (14:41 +0800)]
Merge branch 'test/driver_i2s' into 'master'

component/driver:add i2s case

See merge request idf/esp-idf!2117

5 years agokconfig: pass env variable to menuconfig invocation
Renz Christian Bagaporo [Thu, 29 Nov 2018 05:22:10 +0000 (13:22 +0800)]
kconfig: pass env variable to menuconfig invocation

5 years agomake, ldgen: remove uncessary passed target env variable
Renz Christian Bagaporo [Thu, 29 Nov 2018 05:21:31 +0000 (13:21 +0800)]
make, ldgen: remove uncessary passed target env variable

5 years agokconfig: specify full path of built mconf
Renz Christian Bagaporo [Thu, 29 Nov 2018 04:43:25 +0000 (12:43 +0800)]
kconfig: specify full path of built mconf

5 years agoMerge branch 'feature/rmt_add_api_get_free_channel' into 'master'
Wang Jia Lin [Thu, 29 Nov 2018 03:59:39 +0000 (11:59 +0800)]
Merge branch 'feature/rmt_add_api_get_free_channel' into 'master'

feature(rmt):   Add API get rmt channel's status.

See merge request idf/esp-idf!2440

5 years agotest: components/driver: i2s case
houchenyao [Sat, 7 Jul 2018 08:04:12 +0000 (16:04 +0800)]
test: components/driver: i2s case

5 years agoMerge branch 'bugfix/idf_monitor_tests' into 'master'
Angus Gratton [Thu, 29 Nov 2018 03:03:25 +0000 (11:03 +0800)]
Merge branch 'bugfix/idf_monitor_tests' into 'master'

Adjust the timeout of the idf_monitor tests

See merge request idf/esp-idf!3802

5 years agoMerge branch 'bugfix/bt_ut_build_all' into 'master'
Angus Gratton [Thu, 29 Nov 2018 01:52:55 +0000 (09:52 +0800)]
Merge branch 'bugfix/bt_ut_build_all' into 'master'

Fix unit test cmake build for BT

See merge request idf/esp-idf!3767

5 years agoldgen: Improve error output when linker input is invalid, don't create output file...
Angus Gratton [Thu, 29 Nov 2018 00:46:54 +0000 (11:46 +1100)]
ldgen: Improve error output when linker input is invalid, don't create output file until end of process

5 years agoMerge branch 'bugfix/vfs_open_write_close_perf_test' into 'master'
Ivan Grokhotkov [Thu, 29 Nov 2018 01:40:54 +0000 (09:40 +0800)]
Merge branch 'bugfix/vfs_open_write_close_perf_test' into 'master'

Fix VFS unit test failure ("Open & write & close through VFS passes performance test")

Closes #44

See merge request idf/esp-idf!3759

5 years agoMerge branch 'bugfix/uart_select_buffer' into 'master'
Ivan Grokhotkov [Thu, 29 Nov 2018 01:30:19 +0000 (09:30 +0800)]
Merge branch 'bugfix/uart_select_buffer' into 'master'

VFS: select() on UART should return immediately when data is buffered

See merge request idf/esp-idf!3803

5 years agoFix VFS_OPEN_WRITE_CLOSE_TIME unit test issue
Roland Dobai [Fri, 23 Nov 2018 07:07:59 +0000 (08:07 +0100)]
Fix VFS_OPEN_WRITE_CLOSE_TIME unit test issue

Closes idf/esp-idf#44

5 years agoMerge branch 'bugfix/various_ldgen_fixes' into 'master'
Ivan Grokhotkov [Wed, 28 Nov 2018 17:46:02 +0000 (01:46 +0800)]
Merge branch 'bugfix/various_ldgen_fixes' into 'master'

Fix multiple ldgen issues

Closes #47

See merge request idf/esp-idf!3799

5 years agoMerge branch 'bugfix/sysview_trace_taskid' into 'master'
Ivan Grokhotkov [Wed, 28 Nov 2018 17:45:36 +0000 (01:45 +0800)]
Merge branch 'bugfix/sysview_trace_taskid' into 'master'

freertos: fix task ID sent to the trace

See merge request idf/esp-idf!3807

5 years agoMerge branch 'bugfix/btdm_rf_reg' into 'master'
Jiang Jiang Jian [Wed, 28 Nov 2018 13:21:20 +0000 (21:21 +0800)]
Merge branch 'bugfix/btdm_rf_reg' into 'master'

fix bug to unsupport rf reg access from hci cmd

See merge request idf/esp-idf!3787

5 years agoMerge branch 'mesh/feature_channel_switch' into 'master'
Jiang Jiang Jian [Wed, 28 Nov 2018 12:11:38 +0000 (20:11 +0800)]
Merge branch 'mesh/feature_channel_switch' into 'master'

mesh: add channel switch function

See merge request idf/esp-idf!3772

5 years agoexamples: add otatool and parttool examples
Renz Christian Bagaporo [Thu, 15 Nov 2018 21:02:34 +0000 (05:02 +0800)]
examples: add otatool and parttool examples

5 years agoMerge branch 'bugfix/fix_uart_read_bug_when_using_dual_core' into 'master'
Wang Jia Lin [Wed, 28 Nov 2018 08:17:13 +0000 (16:17 +0800)]
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core' into 'master'

bugfix(uart): fix uart read error bug when using dual core.

See merge request idf/esp-idf!3521

5 years agomake: use otatool and parttool for build
Renz Christian Bagaporo [Thu, 15 Nov 2018 21:01:41 +0000 (05:01 +0800)]
make: use otatool and parttool for build

5 years agocmake: use otatool and parttool for build
Renz Christian Bagaporo [Thu, 15 Nov 2018 21:01:15 +0000 (05:01 +0800)]
cmake: use otatool and parttool for build

5 years agoota: implement otatool functionality
Renz Christian Bagaporo [Thu, 15 Nov 2018 21:00:27 +0000 (05:00 +0800)]
ota: implement otatool functionality

5 years agopartition_table: implement new parttool functionality
Renz Christian Bagaporo [Thu, 15 Nov 2018 20:59:37 +0000 (04:59 +0800)]
partition_table: implement new parttool functionality

5 years agoMerge branch 'bugfix/ignore_windows_conf_tools' into 'master'
Angus Gratton [Wed, 28 Nov 2018 07:46:15 +0000 (15:46 +0800)]
Merge branch 'bugfix/ignore_windows_conf_tools' into 'master'

gitignore: Add mconf-idf.exe and conf-idf.exe

See merge request idf/esp-idf!3806

5 years agodriver(rmt): Add API get rmt channel's status.
kooho [Wed, 23 May 2018 09:01:22 +0000 (17:01 +0800)]
driver(rmt): Add API get rmt channel's status.

closes https://github.com/espressif/esp-idf/issues/1175
closes https://github.com/espressif/esp-idf/issues/2599
closes https://github.com/espressif/esp-idf/issues/2452

5 years agobt: Fix unit tests build with CMake
Anton Maklakov [Mon, 19 Nov 2018 11:04:42 +0000 (19:04 +0800)]
bt: Fix unit tests build with CMake

5 years agomodbus: Fix a typo in the docs
Anton Maklakov [Mon, 19 Nov 2018 12:54:03 +0000 (20:54 +0800)]
modbus: Fix a typo in the docs

5 years agodoc(ledc): Update LEDC example README.md file.
hou wen xiang [Fri, 29 Jun 2018 13:46:51 +0000 (21:46 +0800)]
doc(ledc): Update LEDC example README.md file.

5 years agocmake: generate sections info for all static libs as in make
Renz Christian Bagaporo [Tue, 27 Nov 2018 05:26:15 +0000 (13:26 +0800)]
cmake: generate sections info for all static libs as in make

5 years agoldgen: fix error on parsing archive from sections info
Renz Christian Bagaporo [Tue, 27 Nov 2018 02:50:51 +0000 (10:50 +0800)]
ldgen: fix error on parsing archive from sections info

5 years agoldgen: add traceback in case of exception
Renz Christian Bagaporo [Tue, 27 Nov 2018 01:45:21 +0000 (09:45 +0800)]
ldgen: add traceback in case of exception

5 years agoMerge branch 'test/driver_mcpwm' into 'master'
He Yin Ling [Wed, 28 Nov 2018 05:56:05 +0000 (13:56 +0800)]
Merge branch 'test/driver_mcpwm' into 'master'

test/mcpwm_case

See merge request idf/esp-idf!1831

5 years agofreertos: pass TCB rather than the array to trace functions
Ivan Grokhotkov [Wed, 28 Nov 2018 04:19:18 +0000 (12:19 +0800)]
freertos: pass TCB rather than the array to trace functions

5 years agoMerge branch 'doc/uart_lightsleep_wakeup_doc' into 'master'
Wang Jia Lin [Wed, 28 Nov 2018 03:35:56 +0000 (11:35 +0800)]
Merge branch 'doc/uart_lightsleep_wakeup_doc' into 'master'

doc(uart):  update the comment of uart_set_wakeup_threshold

See merge request idf/esp-idf!3556

5 years agoMerge branch 'feature/generic_cmake_support' into 'master'
Angus Gratton [Wed, 28 Nov 2018 02:42:47 +0000 (10:42 +0800)]
Merge branch 'feature/generic_cmake_support' into 'master'

Generic CMake Support

See merge request idf/esp-idf!3543

5 years agotest: components/driver: pwm case
houchenyao [Wed, 27 Dec 2017 09:42:41 +0000 (17:42 +0800)]
test: components/driver: pwm case

5 years agoMerge branch 'bugfix/windows_install_prerequisites' into 'master'
Angus Gratton [Wed, 28 Nov 2018 01:11:08 +0000 (09:11 +0800)]
Merge branch 'bugfix/windows_install_prerequisites' into 'master'

windows_install_prerequisites: Fix generation of PATH command

See merge request idf/esp-idf!3798

5 years agogitignore: Add mconf-idf.exe and conf-idf.exe
Angus Gratton [Wed, 28 Nov 2018 01:05:29 +0000 (12:05 +1100)]
gitignore: Add mconf-idf.exe and conf-idf.exe

Problem since f6cd55d2ac

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

5 years agoadd_path.sh: Fix reuse the script
Anton Maklakov [Tue, 27 Nov 2018 05:23:40 +0000 (13:23 +0800)]
add_path.sh: Fix reuse the script

5 years agomesh: add channel switch function
qiyuexia [Wed, 21 Nov 2018 16:57:59 +0000 (00:57 +0800)]
mesh: add channel switch function

1. add network channel switch function.
   - users can obtain the new channel through the event MESH_EVENT_CHANNEL_SWITCH.
   - the entire network will be moved to the same channel as the router without user intervention.
   - if no router is in the network, users can call esp_mesh_switch_channel() on the root side to
     move the entire network to their desired channel.
2. support not configuring the network channel.
3. support not configuring the router BSSID even if the router is hidden.
4. add allow_channel_switch to mesh configuration.
   - if the channel is not specified, this value will be ignored.
   - if the channel is specified and this value is set, when "fail" (mesh_attempts_t) times of parent selection
     or look for networks are reached, device will change to perform a full channel scan for networks that could join.
   - if the channel is specified and this value is set to 0, when a root is not elected, channel switch is not allowed.
     but when a root appears, the root performs a full channel scan during the process of connecting to the router,
     so even allow_channel_switch is set to 0, the root may still switch channel and eventually the entire network
    changes channel.
5. add allow_router_switch to mesh router configuration.
   - if the BSSID of router is not specified, this value will be ignored.
   - if the BSSID of router is specified and this value is set, when the router of this specified BSSID fails to be found
     after "fail" (mesh_attempts_t) times, the entire network is allowed to switch to another router with the same SSID.
6. modify the root to perform a full channel scan when esp_wifi_connect().
7. support handling beacon without DS Paramter Set.

5 years agodriver(uart): fixed uart read error bug when using dual core.
kooho [Fri, 19 Oct 2018 06:51:28 +0000 (14:51 +0800)]
driver(uart): fixed uart read error bug when using dual core.

closes https://github.com/espressif/esp-idf/issues/2204

5 years agoVFS: select() on UART should return immediately when data is buffered
Roland Dobai [Tue, 27 Nov 2018 11:53:19 +0000 (12:53 +0100)]
VFS: select() on UART should return immediately when data is buffered

5 years agodocs: generic cmake support
Renz Bagaporo [Tue, 23 Oct 2018 01:12:06 +0000 (09:12 +0800)]
docs: generic cmake support

5 years agoci: update for running cmake examples
Renz Christian Bagaporo [Wed, 7 Nov 2018 07:19:56 +0000 (15:19 +0800)]
ci: update for running cmake examples

5 years agomake, cmake: display ulp assembler version
Renz Christian Bagaporo [Tue, 27 Nov 2018 11:31:46 +0000 (19:31 +0800)]
make, cmake: display ulp assembler version

5 years agoulp: check assembler version
Renz Bagaporo [Fri, 31 Aug 2018 09:32:24 +0000 (17:32 +0800)]
ulp: check assembler version

5 years agoAdjust the timeout of the idf_monitor tests
Roland Dobai [Tue, 27 Nov 2018 08:41:40 +0000 (09:41 +0100)]
Adjust the timeout of the idf_monitor tests

5 years agoexamples: generic cmake support examples
Renz Christian Bagaporo [Sun, 11 Nov 2018 07:36:24 +0000 (15:36 +0800)]
examples: generic cmake support examples

5 years agombedtls: import mbedtls project w/o modification
Renz Christian Bagaporo [Sun, 11 Nov 2018 07:44:54 +0000 (15:44 +0800)]
mbedtls: import mbedtls project w/o modification

5 years agocmake: separate app from idf lib project
Renz Christian Bagaporo [Sun, 11 Nov 2018 07:36:10 +0000 (15:36 +0800)]
cmake: separate app from idf lib project

mbedtls: import mbedtls using unmodified cmake file

5 years agoMerge branch 'feature/i2s_tx_descriptor_auto_clear' into 'master'
Angus Gratton [Tue, 27 Nov 2018 05:45:51 +0000 (13:45 +0800)]
Merge branch 'feature/i2s_tx_descriptor_auto_clear' into 'master'

i2s: add (optional) support to clear tx descriptor in underflow case

See merge request idf/esp-idf!2397

5 years agoMerge branch 'feature/pystyle' into 'master'
Angus Gratton [Tue, 27 Nov 2018 04:41:17 +0000 (12:41 +0800)]
Merge branch 'feature/pystyle' into 'master'

Check the Python coding style

See merge request idf/esp-idf!3748

5 years agofix bug to unsupport rf reg access from hci cmd
Tian Hao [Sat, 24 Nov 2018 06:24:32 +0000 (14:24 +0800)]
fix bug to unsupport rf reg access from hci cmd

Always return 0 when read rf register and do nothing when write rf register

5 years agowindows_install_prerequisites: Fix generation of PATH command
Angus Gratton [Mon, 26 Nov 2018 22:36:43 +0000 (09:36 +1100)]
windows_install_prerequisites: Fix generation of PATH command

Accidental regression in 7c8d5d2782b2966ef93b5d0078a5006c4a46cecd - escape
character didn't move with PATH.

Reported on forum https://esp32.com/viewtopic.php?f=13&t=8201

5 years agotools: Correct coding style of idf_monitor
Roland Dobai [Tue, 20 Nov 2018 13:10:35 +0000 (14:10 +0100)]
tools: Correct coding style of idf_monitor

5 years agoCheck the Python coding style
Roland Dobai [Tue, 20 Nov 2018 07:45:22 +0000 (08:45 +0100)]
Check the Python coding style

Closes https://github.com/espressif/esp-idf/pull/2747

5 years agoMerge branch 'feature/add_long_range_code' into 'master'
Jiang Jiang Jian [Mon, 26 Nov 2018 09:03:09 +0000 (17:03 +0800)]
Merge branch 'feature/add_long_range_code' into 'master'

example: add long range code

See merge request idf/esp-idf!3552

5 years agoMerge branch 'feature/btdm_add_ble_compatibility_test_demo' into 'master'
Jiang Jiang Jian [Mon, 26 Nov 2018 09:00:55 +0000 (17:00 +0800)]
Merge branch 'feature/btdm_add_ble_compatibility_test_demo' into 'master'

Component/bt: add BLE Compatibility Test demo

See merge request idf/esp-idf!3749

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.