]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS' into 'master'
Jiang Jiang Jian [Fri, 14 Dec 2018 06:03:56 +0000 (14:03 +0800)]
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS' into 'master'

bugfix/btdm_modem_sleep_cowork_with_DFS

See merge request idf/esp-idf!3797

5 years agocomponent/bt: add DRAM_ATTR attribute to global variables(bss segment) in bt.c which...
wangmengyang [Fri, 14 Dec 2018 03:29:00 +0000 (11:29 +0800)]
component/bt: add DRAM_ATTR attribute to global variables(bss segment) in bt.c which can be accessed in ISR

5 years agoMerge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond' into 'master'
Jiang Jiang Jian [Fri, 14 Dec 2018 02:35:14 +0000 (10:35 +0800)]
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond' into 'master'

Component/bt: fix save keys when auth mode without bond

See merge request idf/esp-idf!3782

5 years agoMerge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp' into 'master'
Jiang Jiang Jian [Thu, 13 Dec 2018 09:04:12 +0000 (17:04 +0800)]
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp' into 'master'

Component/bt: fix auth_mode error when reconnection in SMP

See merge request idf/esp-idf!3856

5 years agoComponent/bt: fix save keys when auth mode without bond
zhiweijian [Fri, 23 Nov 2018 10:06:02 +0000 (18:06 +0800)]
Component/bt: fix save keys when auth mode without bond

5 years agoMerge branch 'docs/btdm_ble_ibeacon_example' into 'master'
Jiang Jiang Jian [Thu, 13 Dec 2018 07:31:30 +0000 (15:31 +0800)]
Merge branch 'docs/btdm_ble_ibeacon_example' into 'master'

docs: refactor BLE iBeacon demo readme

See merge request idf/esp-idf!2905

5 years agoMerge branch 'doc/add_coap_readme' into 'master'
Jiang Jiang Jian [Thu, 13 Dec 2018 07:22:50 +0000 (15:22 +0800)]
Merge branch 'doc/add_coap_readme' into 'master'

doc: add CoAP README.md

See merge request idf/esp-idf!2643

5 years agoMerge branch 'test/add_case_to_detect_ds2ds_issue' into 'master'
Jiang Jiang Jian [Thu, 13 Dec 2018 06:49:30 +0000 (14:49 +0800)]
Merge branch 'test/add_case_to_detect_ds2ds_issue' into 'master'

test: add case to detect ds2ds issue

See merge request idf/esp-idf!3834

5 years agoMerge branch 'bugfix/gcc8_compatibility' into 'master'
Anton Maklakov [Thu, 13 Dec 2018 04:57:00 +0000 (12:57 +0800)]
Merge branch 'bugfix/gcc8_compatibility' into 'master'

Support for GCC8 compatibility - 2

See merge request idf/esp-idf!3677

5 years agoexample: Avoid a fallthrough
Anton Maklakov [Mon, 10 Dec 2018 08:17:51 +0000 (16:17 +0800)]
example: Avoid a fallthrough

5 years agocmake: Put a variable to the cache to have access one in other cmake files
Anton Maklakov [Wed, 5 Dec 2018 12:03:25 +0000 (20:03 +0800)]
cmake: Put a variable to the cache to have access one in other cmake files

5 years agoexample: Fix unused identifier warnings
Anton Maklakov [Wed, 28 Nov 2018 04:32:13 +0000 (12:32 +0800)]
example: Fix unused identifier warnings

5 years agoexample: Fix a truncation warning
Anton Maklakov [Sun, 11 Nov 2018 05:48:34 +0000 (13:48 +0800)]
example: Fix a truncation warning

5 years agoMerge branch 'bugfix/btdm_fix_accept_specified_sec_auth' into 'master'
Jiang Jiang Jian [Thu, 13 Dec 2018 03:19:53 +0000 (11:19 +0800)]
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth' into 'master'

Component/bt: fix accept specified sec auth error

See merge request idf/esp-idf!3770

5 years agoMerge branch 'bugfix/idf_monitor_without_toolchain' into 'master'
Anton Maklakov [Wed, 12 Dec 2018 08:20:14 +0000 (16:20 +0800)]
Merge branch 'bugfix/idf_monitor_without_toolchain' into 'master'

tools: Print useful error message from idf_monitor when toolchain isn't available

See merge request idf/esp-idf!3862

5 years agotools: Print useful error message from idf_monitor when toolchain isn't available
Roland Dobai [Sat, 1 Dec 2018 15:16:49 +0000 (16:16 +0100)]
tools: Print useful error message from idf_monitor when toolchain isn't available

5 years agocomponent/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic...
wangmengyang [Tue, 11 Dec 2018 08:49:01 +0000 (16:49 +0800)]
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling

1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation

5 years agoMerge branch 'bugfix/issues_from_github' into 'master'
Ivan Grokhotkov [Tue, 11 Dec 2018 03:22:33 +0000 (11:22 +0800)]
Merge branch 'bugfix/issues_from_github' into 'master'

Docs: Minor PRs from GitHub

See merge request idf/esp-idf!3930

5 years agoTypo fix in mqtt.rst.
Noeël Moeskops [Sun, 2 Dec 2018 15:37:27 +0000 (16:37 +0100)]
Typo fix in mqtt.rst.

changed 'defalut' to 'default'

Merges https://github.com/espressif/esp-idf/pull/2780

5 years agoAdd missing dependency.
Stephen Bird [Mon, 3 Dec 2018 02:42:50 +0000 (18:42 -0800)]
Add missing dependency.

Merges https://github.com/espressif/esp-idf/pull/2781

5 years agoMerge branch 'bugfix/nvs_test_compile_err' into 'master'
Ivan Grokhotkov [Mon, 10 Dec 2018 09:42:43 +0000 (17:42 +0800)]
Merge branch 'bugfix/nvs_test_compile_err' into 'master'

nvs_flash: Fix compilation of host testcases when g++-8.x is used.

See merge request idf/esp-idf!3699

5 years agoMerge branch 'bugfix/extra_cflags' into 'master'
Anton Maklakov [Mon, 10 Dec 2018 05:28:12 +0000 (13:28 +0800)]
Merge branch 'bugfix/extra_cflags' into 'master'

cmake: add EXTRA_CFLAGS and clean warnings

See merge request idf/esp-idf!3805

5 years agotest: Fix some unused identifier warnings
Anton Maklakov [Wed, 5 Dec 2018 12:22:25 +0000 (20:22 +0800)]
test: Fix some unused identifier warnings

5 years agoci: Use more pedantic checking for examples and ut
Anton Maklakov [Tue, 27 Nov 2018 11:16:18 +0000 (19:16 +0800)]
ci: Use more pedantic checking for examples and ut

5 years agocmake: Add support for EXTRA_CFLAGS and EXTRA_CXXFLAGS
Anton Maklakov [Tue, 27 Nov 2018 14:46:50 +0000 (22:46 +0800)]
cmake: Add support for EXTRA_CFLAGS and EXTRA_CXXFLAGS

5 years agoMerge branch 'feature/unity_set_test_from_gdb' into 'master'
Ivan Grokhotkov [Mon, 10 Dec 2018 04:25:39 +0000 (12:25 +0800)]
Merge branch 'feature/unity_set_test_from_gdb' into 'master'

unity: add a hook to run test from gdb session

See merge request idf/esp-idf!3916

5 years agoMerge branch 'feature/illegal_instruction_panic_info' into 'master'
Ivan Grokhotkov [Mon, 10 Dec 2018 04:24:26 +0000 (12:24 +0800)]
Merge branch 'feature/illegal_instruction_panic_info' into 'master'

panic: dump some instruction memory on IllegalInstruction exception

See merge request idf/esp-idf!3924

5 years agoMerge branch 'doc/i2s_example_doc_improve' into 'master'
Wang Jia Lin [Mon, 10 Dec 2018 03:23:11 +0000 (11:23 +0800)]
Merge branch 'doc/i2s_example_doc_improve' into 'master'

doc(i2s): update README.md file of i2s related examples.

See merge request idf/esp-idf!2664

5 years agodoc(i2s): update README.md file of i2s related examples.
hou wen xiang [Fri, 29 Jun 2018 08:21:31 +0000 (16:21 +0800)]
doc(i2s): update README.md file of i2s related examples.

5 years agonvs_flash: Fix compilation of host testcases when g++-8.x is used.
Sagar Bijwe [Wed, 14 Nov 2018 12:40:24 +0000 (18:10 +0530)]
nvs_flash: Fix compilation of host testcases when g++-8.x is used.

When std::bind is used, it requires inclusion of <functional> header.
This was not mandatory with earlier versions of g++ (4.x), may be because they
had experimental support for c++11.

5 years agopanic: dump some instruction memory on IllegalInstruction exception
Ivan Grokhotkov [Sun, 2 Dec 2018 22:57:26 +0000 (06:57 +0800)]
panic: dump some instruction memory on IllegalInstruction exception

5 years agoMerge branch 'feature/nmea-parser' into 'master' v3.3-beta1
Ivan Grokhotkov [Fri, 7 Dec 2018 06:32:04 +0000 (14:32 +0800)]
Merge branch 'feature/nmea-parser' into 'master'

NMEA0183 Parser

See merge request idf/esp-idf!3866

5 years agoMerge branch 'bugfix/bbpll_wakeup_reset' into 'master'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:21:59 +0000 (14:21 +0800)]
Merge branch 'bugfix/bbpll_wakeup_reset' into 'master'

soc/rtc: reset BBPLL config when enabling it

See merge request idf/esp-idf!3911

5 years agoMerge branch 'docs/add_note_for_ulp_set_wakeup_period' into 'master'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:07:14 +0000 (14:07 +0800)]
Merge branch 'docs/add_note_for_ulp_set_wakeup_period' into 'master'

ulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode

See merge request idf/esp-idf!3796

5 years agoMerge branch 'bugfix/app_version' into 'master'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:06:17 +0000 (14:06 +0800)]
Merge branch 'bugfix/app_version' into 'master'

app_update: Fix esp_app_desc unused var for Cmake

See merge request idf/esp-idf!3891

5 years agoMerge branch 'bugfix/sysview_cache_err' into 'master'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:04:28 +0000 (14:04 +0800)]
Merge branch 'bugfix/sysview_cache_err' into 'master'

app_trace: linker fragment fixes

See merge request idf/esp-idf!3835

5 years agoMerge branch 'bugfix/vfs_unregister_nested' into 'master'
Ivan Grokhotkov [Fri, 7 Dec 2018 06:03:34 +0000 (14:03 +0800)]
Merge branch 'bugfix/vfs_unregister_nested' into 'master'

vfs: fix unregister removing top level VFS instead of nested

See merge request idf/esp-idf!3917

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 agoapp_update: Fix esp_app_desc unused var for Cmake
Konstantin Kondrashov [Wed, 5 Dec 2018 06:07:41 +0000 (14:07 +0800)]
app_update: Fix esp_app_desc unused var for Cmake

5 years agoexample: add nmea0183 parser example
morris [Wed, 28 Nov 2018 10:49:18 +0000 (18:49 +0800)]
example: add nmea0183 parser example

Add NMEA0183 Parser example to illustrate how to use uart event driver together with esp event library to get GPS information.

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 agovfs: fix unregister removing top level VFS instead of nested
Ivan Grokhotkov [Thu, 6 Dec 2018 11:30:05 +0000 (19:30 +0800)]
vfs: fix unregister removing top level VFS instead of nested

Credits @neoniousTR.

Fixes https://github.com/espressif/esp-idf/pull/2770

5 years agounity: add a hook to run test from gdb session
Ivan Grokhotkov [Thu, 6 Dec 2018 11:28:45 +0000 (19:28 +0800)]
unity: add a hook to run test from gdb session

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 agosoc/rtc: reset BBPLL configuration after enabling it
Ivan Grokhotkov [Thu, 6 Dec 2018 06:43:24 +0000 (14:43 +0800)]
soc/rtc: reset BBPLL configuration after enabling it

A workaround to reset BBPLL configuration after light sleep. Fixes the
issue that Wi-Fi can not receive packets after waking up from light
sleep.

Ref. https://github.com/espressif/esp-idf/issues/2711

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 agoComponent/bt: fix auth_mode error when reconnection in SMP
zhiweijian [Fri, 30 Nov 2018 13:47:17 +0000 (21:47 +0800)]
Component/bt: fix auth_mode error when reconnection in SMP

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 agoulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode
Mahavir Jain [Mon, 26 Nov 2018 11:02:41 +0000 (16:32 +0530)]
ulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode

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