]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/clang_compatibility' into 'master'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:03:05 +0000 (14:03 +0800)]
Merge branch 'bugfix/clang_compatibility' into 'master'

clang compatibility fixes

See merge request idf/esp-idf!3912

5 years agoMerge branch 'bugfix/btdm_assert_ble_32768' into 'master'
Jiang Jiang Jian [Fri, 7 Dec 2018 05:54:11 +0000 (13:54 +0800)]
Merge branch 'bugfix/btdm_assert_ble_32768' into 'master'

fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222

See merge request idf/esp-idf!3915

5 years agoMerge branch 'docs/mesh_channel_switch' into 'master'
Angus Gratton [Fri, 7 Dec 2018 01:24:51 +0000 (09:24 +0800)]
Merge branch 'docs/mesh_channel_switch' into 'master'

docs: Add documentation about ESP-MESH channel switching and self organized behavior

See merge request idf/esp-idf!3854

5 years agoMerge branch 'feature/pystyle_examples' into 'master'
Angus Gratton [Fri, 7 Dec 2018 01:12:56 +0000 (09:12 +0800)]
Merge branch 'feature/pystyle_examples' into 'master'

examples: Fix Python coding style

See merge request idf/esp-idf!3881

5 years agoMerge branch 'bugfix/ci_tag_for_cmake_linter' into 'master'
Anton Maklakov [Thu, 6 Dec 2018 18:39:51 +0000 (02:39 +0800)]
Merge branch 'bugfix/ci_tag_for_cmake_linter' into 'master'

ci: A small CI stabilizing fix

See merge request idf/esp-idf!3801

5 years agoci: Fix the choice of runner for the CMake verification, and change .check_job_templa...
Anton Maklakov [Tue, 27 Nov 2018 08:31:37 +0000 (16:31 +0800)]
ci: Fix the choice of runner for the CMake verification, and change .check_job_template tag to host_test

5 years agoMerge branch 'bugfix/shell_exit' into 'master'
Anton Maklakov [Thu, 6 Dec 2018 16:49:52 +0000 (00:49 +0800)]
Merge branch 'bugfix/shell_exit' into 'master'

scripts: Fix shell exit

See merge request idf/esp-idf!3908

5 years agofix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
Tian Hao [Thu, 6 Dec 2018 08:54:14 +0000 (16:54 +0800)]
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222

5 years agoexamples: Fix Python coding style
Roland Dobai [Tue, 4 Dec 2018 07:32:48 +0000 (08:32 +0100)]
examples: Fix Python coding style

5 years agoheap: __builtin_return_address argument has to be a literal value
Ivan Grokhotkov [Thu, 6 Dec 2018 07:12:17 +0000 (15:12 +0800)]
heap: __builtin_return_address argument has to be a literal value

Clang does not accept const int as an argument of __builtin_return_address.

Ref LLVM-14

5 years agoexamples/console: don’t use raw string literals in C code
Ivan Grokhotkov [Thu, 6 Dec 2018 07:01:32 +0000 (15:01 +0800)]
examples/console: don’t use raw string literals in C code

Raw string literals are a C++ feature, and GCC supports them for C as
an extension. Clang doesn’t support them.

Ref LLVM-11

5 years agoconsole, ulp: don’t use nested functions
Ivan Grokhotkov [Thu, 6 Dec 2018 07:08:05 +0000 (15:08 +0800)]
console, ulp: don’t use nested functions

These are not supported by clang

Ref LLVM-12

5 years agoMerge branch 'doc/adc_example_doc_improve' into 'master'
Wang Jia Lin [Thu, 6 Dec 2018 07:22:50 +0000 (15:22 +0800)]
Merge branch 'doc/adc_example_doc_improve' into 'master'

doc(adc): Update README.md file of adc example.

See merge request idf/esp-idf!2665

5 years agoMerge branch 'doc/pcnt_example_doc_improve' into 'master'
Wang Jia Lin [Thu, 6 Dec 2018 07:20:46 +0000 (15:20 +0800)]
Merge branch 'doc/pcnt_example_doc_improve' into 'master'

doc(pcnt): Update pcnt example README.md file.

See merge request idf/esp-idf!2666

5 years agoMerge branch 'bugfix/ldgen_make_escaping' into 'master'
Angus Gratton [Thu, 6 Dec 2018 05:27:36 +0000 (13:27 +0800)]
Merge branch 'bugfix/ldgen_make_escaping' into 'master'

make/ldgen: Fix generation of ldgen.section_infos file when shell is bash

See merge request idf/esp-idf!3893

5 years agobuild example tests: Use portable "sed -i" form
Angus Gratton [Thu, 6 Dec 2018 04:14:59 +0000 (15:14 +1100)]
build example tests: Use portable "sed -i" form

5 years agoldgen make: Use "sed -E" for extended POSIX regular expression syntax w/ BSD sed
Angus Gratton [Thu, 6 Dec 2018 04:07:24 +0000 (15:07 +1100)]
ldgen make: Use "sed -E" for extended POSIX regular expression syntax w/ BSD sed

5 years agodoc(adc): Update README.md file of adc example.
hou wen xiang [Fri, 29 Jun 2018 08:39:03 +0000 (16:39 +0800)]
doc(adc): Update README.md file of adc example.

5 years agodoc(pcnt): Update pcnt example README.md file.
hou wen xiang [Fri, 29 Jun 2018 10:48:57 +0000 (18:48 +0800)]
doc(pcnt): Update pcnt example README.md file.

5 years agomake/ldgen: Fix generation of ldgen.section_infos file when shell is bash
Angus Gratton [Wed, 5 Dec 2018 07:29:44 +0000 (18:29 +1100)]
make/ldgen: Fix generation of ldgen.section_infos file when shell is bash

bash doesn't escape by default from "echo", so use "printf"

Closes https://github.com/espressif/esp-idf/pull/2797
Closes https://github.com/espressif/esp-idf/issues/2796

5 years agoMerge branch 'bugfix/win_path_print' into 'master'
Angus Gratton [Wed, 5 Dec 2018 23:18:32 +0000 (07:18 +0800)]
Merge branch 'bugfix/win_path_print' into 'master'

tools: correct printed path on MS Win

See merge request idf/esp-idf!3853

5 years agoscripts: Fix shell exit. Really exit from current process, not from child process
Anton Maklakov [Wed, 5 Dec 2018 13:00:36 +0000 (21:00 +0800)]
scripts: Fix shell exit. Really exit from current process, not from child process

5 years agoMerge branch 'bugfix/docs_pystyle' into 'master'
Angus Gratton [Wed, 5 Dec 2018 09:43:20 +0000 (17:43 +0800)]
Merge branch 'bugfix/docs_pystyle' into 'master'

docs: Correct Python coding style

See merge request idf/esp-idf!3859

5 years agoMerge branch 'bugfix/idfpy_monitor_msys' into 'master'
Angus Gratton [Wed, 5 Dec 2018 09:39:36 +0000 (17:39 +0800)]
Merge branch 'bugfix/idfpy_monitor_msys' into 'master'

tools: fix idf.py monitor for MSYS

Closes #51

See merge request idf/esp-idf!3839

5 years agoMerge branch 'bugfix/ethernet_enable_second_failure' into 'master'
Jiang Jiang Jian [Wed, 5 Dec 2018 08:12:19 +0000 (16:12 +0800)]
Merge branch 'bugfix/ethernet_enable_second_failure' into 'master'

fix ethernet phy init timeout

See merge request idf/esp-idf!3879

5 years agoldgen: Fix crash if --sections argument not supplied
Angus Gratton [Wed, 5 Dec 2018 07:29:28 +0000 (18:29 +1100)]
ldgen: Fix crash if --sections argument not supplied

5 years agodocs: Correct Python coding style
Roland Dobai [Sat, 1 Dec 2018 08:25:08 +0000 (09:25 +0100)]
docs: Correct Python coding style

5 years agotools: fix idf.py monitor for MSYS
Roland Dobai [Thu, 29 Nov 2018 14:52:09 +0000 (15:52 +0100)]
tools: fix idf.py monitor for MSYS

5 years agoMerge branch 'bugfix/btdm_bugs_caused_by_coex' into 'master'
Jiang Jiang Jian [Wed, 5 Dec 2018 06:17:14 +0000 (14:17 +0800)]
Merge branch 'bugfix/btdm_bugs_caused_by_coex' into 'master'

component/bt and esp32:  fix two bluetooth bugs that caused by coexist module

See merge request idf/esp-idf!3860

5 years agoMerge branch 'feature/sdio_example_gpio_doc' into 'master'
Ivan Grokhotkov [Wed, 5 Dec 2018 05:46:33 +0000 (13:46 +0800)]
Merge branch 'feature/sdio_example_gpio_doc' into 'master'

Enhanced readability in README.md (port from Github PR)

See merge request idf/esp-idf!3883

5 years agoMerge branch 'feature/pthread_name_affinity_config' into 'master'
Ivan Grokhotkov [Wed, 5 Dec 2018 05:46:05 +0000 (13:46 +0800)]
Merge branch 'feature/pthread_name_affinity_config' into 'master'

pthread: make affinity and task name configurable

See merge request idf/esp-idf!3878

5 years agoMerge branch 'feature/refactoring_ota_part' into 'master'
Ivan Grokhotkov [Wed, 5 Dec 2018 04:59:34 +0000 (12:59 +0800)]
Merge branch 'feature/refactoring_ota_part' into 'master'

bootloader/app_update: Refactoring otadata part

See merge request idf/esp-idf!3544

5 years agoMerge branch 'bugfix/no_tests_for_unit_test_example' into 'master'
Angus Gratton [Wed, 5 Dec 2018 04:58:42 +0000 (12:58 +0800)]
Merge branch 'bugfix/no_tests_for_unit_test_example' into 'master'

cmake: fix error in converting project variables to namespaced ones

See merge request idf/esp-idf!3887

5 years agoMerge branch 'bugfix/fix_menuconfig_for_windows' into 'master'
Angus Gratton [Wed, 5 Dec 2018 03:34:49 +0000 (11:34 +0800)]
Merge branch 'bugfix/fix_menuconfig_for_windows' into 'master'

Fix various errors for menuconfig on Windows

Closes #50

See merge request idf/esp-idf!3848

5 years agobootloader app_update: Refactoring otadata part
Konstantin Kondrashov [Mon, 22 Oct 2018 15:11:10 +0000 (23:11 +0800)]
bootloader app_update: Refactoring otadata part

5 years agoMerge branch 'feature/anti_rollback_exp' into 'master'
Ivan Grokhotkov [Wed, 5 Dec 2018 03:10:04 +0000 (11:10 +0800)]
Merge branch 'feature/anti_rollback_exp' into 'master'

esp32: Add firmware version to app

See merge request idf/esp-idf!3461

5 years agoci: add test for setting EXTRA_COMPONENT_DIRS
Renz Christian Bagaporo [Wed, 5 Dec 2018 02:44:14 +0000 (10:44 +0800)]
ci: add test for setting EXTRA_COMPONENT_DIRS

5 years agocmake: fix error in converting project variables to namespaced ones
Renz Christian Bagaporo [Tue, 4 Dec 2018 14:04:00 +0000 (22:04 +0800)]
cmake: fix error in converting project variables to namespaced ones

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

5 years agoMerge branch 'doc/security_features_small_fixes' into 'master'
Angus Gratton [Wed, 5 Dec 2018 01:03:30 +0000 (09:03 +0800)]
Merge branch 'doc/security_features_small_fixes' into 'master'

doc: Small secure boot & flash encryption corrections

See merge request idf/esp-idf!3876

5 years agodocs: flash encryption: Fix description of behaviour when all bits of FLASH_CRYPT_CNT...
Angus Gratton [Tue, 4 Dec 2018 01:38:28 +0000 (12:38 +1100)]
docs: flash encryption: Fix description of behaviour when all bits of FLASH_CRYPT_CNT are set

Correct behaviour is described in section 25.3.3 Flash Decryption Block of the ESP32 TRM

5 years agoMerge branch 'bugfix/register_structs_stdint' into 'master'
Angus Gratton [Wed, 5 Dec 2018 00:05:56 +0000 (08:05 +0800)]
Merge branch 'bugfix/register_structs_stdint' into 'master'

soc: Add "#include <stdint.h>" to all register structs

See merge request idf/esp-idf!3875

5 years agomake: fix unexpected operator warning
Anton Maklakov [Mon, 3 Dec 2018 10:11:13 +0000 (18:11 +0800)]
make: fix unexpected operator warning

5 years agombedtls, cmake: set host as unix when building in msys
Renz Christian Bagaporo [Fri, 30 Nov 2018 11:48:05 +0000 (19:48 +0800)]
mbedtls, cmake: set host as unix when building in msys

5 years agocmake: fix mconf path for existing mconf
Renz Christian Bagaporo [Fri, 30 Nov 2018 08:07:09 +0000 (16:07 +0800)]
cmake: fix mconf path for existing mconf

Fixes https://github.com/espressif/esp-idf/issues/2771
Fixes https://github.com/espressif/esp-idf/issues/2722

5 years agoEnhanced readability in README.md
ThisNameIsNotAllowed [Tue, 27 Nov 2018 07:25:20 +0000 (08:25 +0100)]
Enhanced readability in README.md

Changed text based GPIO-list to some table based version.
This should enhance the readability.

Resolves https://github.com/espressif/esp-idf/pull/2749

5 years agoethernet: phy init timeout
morris [Tue, 4 Dec 2018 09:13:48 +0000 (17:13 +0800)]
ethernet: phy init timeout

When ethernet enable again after disable it before, phy init will report timeout.
The cause of this problem is that the enabling of emac clock is too late, and should be placed before phy init.

5 years agoMerge branch 'feat/spi_check_length_buffer' into 'master'
Jeroen Domburg [Tue, 4 Dec 2018 03:48:32 +0000 (11:48 +0800)]
Merge branch 'feat/spi_check_length_buffer' into 'master'

spi: add checks for slave buffer valid and master length

See merge request idf/esp-idf!3744

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 agodoc: secure boot: Explain output of digest_secure_bootloader command
Angus Gratton [Tue, 4 Dec 2018 01:34:59 +0000 (12:34 +1100)]
doc: secure boot: Explain output of digest_secure_bootloader command

Mentioned on forum https://esp32.com/viewtopic.php?f=13&t=8162&start=10#p34714

5 years agodoc: security: Use less ambiguous language about using bot flash encryption & secure...
Angus Gratton [Tue, 4 Dec 2018 01:34:38 +0000 (12:34 +1100)]
doc: security: Use less ambiguous language about using bot flash encryption & secure boot together

5 years agosoc: Add "#include <stdint.h>" to all register structs
Angus Gratton [Tue, 4 Dec 2018 00:17:38 +0000 (11:17 +1100)]
soc: Add "#include <stdint.h>" to all register structs

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

TW24912

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 ago component/bt and esp32: fix two bluetooth bugs that caused by coexist module
Tian Hao [Sat, 1 Dec 2018 10:10:19 +0000 (18:10 +0800)]
 component/bt and esp32:  fix two bluetooth bugs that caused by coexist module

    1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
    2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222
    3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222

    The #1 and #2 occurs random.
    The #3 bug occurs in certain scenario:
     1. If Wifi start softap and BLE is working
     2. If wifi start station, but do not use normal station operation, such
     as just use espnow, while BLE is working
     3. Any other scenario, that wifi works without use software coexist
     operation, while BLE is working(such as do advertising and ...)

    4. update libcoexist.a version to v1.1.2

5 years agoesp32: Add firmware version to app
Konstantin Kondrashov [Fri, 5 Oct 2018 12:29:07 +0000 (20:29 +0800)]
esp32: Add firmware version to app

Added a new structure esp_app_desc_t. It has info about firmware:
version, secure_version, project_name, time/date build and IDF version.
Added the ability to add a custom structure with a description of the firmware.

The esp_app_desc_t is located in fixed place in start of ROM secotor. It is located after structures esp_image_header_t and esp_image_segment_header_t.

app_version is filed from PROJECT_VER variable (if set in custom make file) or PROJECT_PATH/version.txt or git repo (git describe).

Add API to get app_desc from partition.

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 agodoc: Add mesh channel switching and self organized networking documentation
Darian Leung [Thu, 29 Nov 2018 07:12:11 +0000 (15:12 +0800)]
doc: Add mesh channel switching and self organized networking documentation

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 agodocs: Fix mesh doc line wrapping
Darian Leung [Mon, 26 Nov 2018 07:21:49 +0000 (15:21 +0800)]
docs: Fix mesh doc line wrapping

This commit fixes mesh doc line wrapping by making every
paragraph into a single line.

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 agotools: correct the coding style of check_python_dependencies.py
Roland Dobai [Fri, 30 Nov 2018 12:31:44 +0000 (13:31 +0100)]
tools: correct the coding style of check_python_dependencies.py

5 years agotools: correct printed path on MS Win
Roland Dobai [Fri, 30 Nov 2018 12:22:31 +0000 (13:22 +0100)]
tools: correct printed path on MS Win

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