]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'
Jiang Jiang Jian [Tue, 28 Aug 2018 02:42:36 +0000 (10:42 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'

bugfix/btdm_a2dp_sink_pcm_buffer_size

See merge request idf/esp-idf!3052

5 years agoMerge branch 'bugfix/idf_app_assert_print' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 02:00:44 +0000 (10:00 +0800)]
Merge branch 'bugfix/idf_app_assert_print' into 'master'

tiny-test-fw: Print more useful info when download.config doesn't exist

See merge request idf/esp-idf!3112

5 years agoMerge branch 'doc/custom_app_flash_map_off' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 01:59:36 +0000 (09:59 +0800)]
Merge branch 'doc/custom_app_flash_map_off' into 'master'

docs: Adds description of OpenOCD command to configure custom app image location

See merge request idf/esp-idf!3030

5 years agoMerge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'
He Yin Ling [Mon, 27 Aug 2018 14:28:44 +0000 (22:28 +0800)]
Merge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'

CI: disable fuzzer host test by default

See merge request idf/esp-idf!3115

5 years agoCI: disable fuzzer host test by default:
He Yin Ling [Mon, 27 Aug 2018 13:41:52 +0000 (21:41 +0800)]
CI: disable fuzzer host test by default:

Same key in YAML file will overwrite the key introduced by anchor

5 years agodocs: Adds description of OpenOCD command to configure custom app image location
Alexey Gerenkov [Thu, 16 Aug 2018 18:33:23 +0000 (21:33 +0300)]
docs: Adds description of OpenOCD command to configure custom app image location

5 years agotiny-test-fw: Print more useful info when download.config doesn't exist
Roland Dobai [Mon, 27 Aug 2018 10:43:37 +0000 (12:43 +0200)]
tiny-test-fw: Print more useful info when download.config doesn't exist

5 years agoMerge branch 'feature/ci_fuzzer_tests_lwip' into 'master'
Angus Gratton [Mon, 27 Aug 2018 08:25:21 +0000 (16:25 +0800)]
Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master'

ci jobs running fuzz tests on dns, dhcp, dhcps + removed unnecessary references (libexpat)

See merge request idf/esp-idf!2866

5 years agoMerge branch 'bugfix/fix_several_wifi_bugs' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 06:24:04 +0000 (14:24 +0800)]
Merge branch 'bugfix/fix_several_wifi_bugs' into 'master'

esp32: update wifi lib to fix several WiFi bugs

See merge request idf/esp-idf!3095

5 years agoMerge branch 'bugfix/fix_probable_mem_leak' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 06:10:22 +0000 (14:10 +0800)]
Merge branch 'bugfix/fix_probable_mem_leak' into 'master'

components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event

See merge request idf/esp-idf!2962

5 years agoMerge branch 'feature/py3_idf_monitor' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:29:38 +0000 (12:29 +0800)]
Merge branch 'feature/py3_idf_monitor' into 'master'

tools: Support Python3 in idf_monitor

See merge request idf/esp-idf!2930

5 years agoMerge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:29:03 +0000 (12:29 +0800)]
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'

tools: support python3 in gen_esp_err_to_name.py

See merge request idf/esp-idf!2827

5 years agoMerge branch 'doc/addition_translation_in_get_started' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:21:36 +0000 (12:21 +0800)]
Merge branch 'doc/addition_translation_in_get_started' into 'master'

doc: additional translation in get_started

See merge request idf/esp-idf!3087

5 years agoMerge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 04:17:23 +0000 (12:17 +0800)]
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'

Component/bt: fix get error adv packet sometimes

See merge request idf/esp-idf!3035

5 years agocomponent/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
wangmengyang [Tue, 21 Aug 2018 11:27:04 +0000 (19:27 +0800)]
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink

5 years agodoc: additional translation in get_stated
morris [Fri, 24 Aug 2018 08:50:34 +0000 (16:50 +0800)]
doc: additional translation in get_stated

5 years agoMerge branch 'bugfix/btdm_fix_memory_leak_in_security_server' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 02:19:27 +0000 (10:19 +0800)]
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server' into 'master'

component/bt: fix memory leak in security server

See merge request idf/esp-idf!3014

5 years agoMerge branch 'doc/build_system_zh_CN' into 'master'
Angus Gratton [Mon, 27 Aug 2018 01:40:40 +0000 (09:40 +0800)]
Merge branch 'doc/build_system_zh_CN' into 'master'

doc: translate build-system from en to zh_CN

See merge request idf/esp-idf!3067

5 years agoMerge branch 'bugfix/app_update_test' into 'master'
Angus Gratton [Mon, 27 Aug 2018 00:46:02 +0000 (08:46 +0800)]
Merge branch 'bugfix/app_update_test' into 'master'

app_update: Change NUM_PIN_APP_TEST for unit test

See merge request idf/esp-idf!3050

5 years agoMerge branch 'bugfix/btdm_check_slave_feats_before_set_afh' into 'master'
Jiang Jiang Jian [Sun, 26 Aug 2018 08:19:48 +0000 (16:19 +0800)]
Merge branch 'bugfix/btdm_check_slave_feats_before_set_afh' into 'master'

bugfix/btdm_check_slave_feature_before_set_afh

See merge request idf/esp-idf!2972

5 years agoesp32: update wifi lib to fix several WiFi bugs
Liu Zhi Fu [Sun, 26 Aug 2018 04:38:06 +0000 (12:38 +0800)]
esp32: update wifi lib to fix several WiFi bugs

Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame

5 years agocomponents/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
Hrishikesh Dhayagude [Wed, 8 Aug 2018 08:46:03 +0000 (14:16 +0530)]
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event

Multiple modules register their callback BTA_GATTS_AppRegister().

If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.

So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
5 years agoComponent/bt: fix memory leak in security server
zhiweijian [Tue, 14 Aug 2018 12:35:43 +0000 (20:35 +0800)]
Component/bt: fix memory leak in security server

5 years agoMerge branch 'test/fix_test_summary_duplicate' into 'master'
He Yin Ling [Sat, 25 Aug 2018 02:22:40 +0000 (10:22 +0800)]
Merge branch 'test/fix_test_summary_duplicate' into 'master'

fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary

See merge request idf/esp-idf!3079

5 years agoMerge branch 'bugfix/multi_case_test' into 'master'
He Yin Ling [Fri, 24 Aug 2018 11:54:34 +0000 (19:54 +0800)]
Merge branch 'bugfix/multi_case_test' into 'master'

test: fix the multi device stop thread bug

See merge request idf/esp-idf!3039

5 years agocomponent/bt: check support of AFH in remote slave device's LM feature then determine...
wangmengyang [Tue, 21 Aug 2018 11:41:10 +0000 (19:41 +0800)]
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH

5 years agoComponent/bt: fix get error adv packet sometimes
zhiweijian [Fri, 17 Aug 2018 03:54:45 +0000 (11:54 +0800)]
Component/bt: fix get error adv packet sometimes

5 years agoapp_update: Change NUM_PIN_APP_TEST for unit test
Konstantin Kondrashov [Tue, 21 Aug 2018 09:55:49 +0000 (17:55 +0800)]
app_update: Change NUM_PIN_APP_TEST for unit test

Fixed error when `make TESTS_ALL=1`

5 years ago fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
chensheng [Fri, 24 Aug 2018 06:25:24 +0000 (14:25 +0800)]
 fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary

5 years agotools: support python3 in gen_esp_err_to_name.py
Roland Dobai [Thu, 2 Aug 2018 09:01:04 +0000 (11:01 +0200)]
tools: support python3 in gen_esp_err_to_name.py

5 years agotools: Support Python3 in idf_monitor
Roland Dobai [Wed, 1 Aug 2018 09:47:05 +0000 (11:47 +0200)]
tools: Support Python3 in idf_monitor

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

5 years agodoc: translate build_system from en to zh_CN
morris [Thu, 23 Aug 2018 10:06:46 +0000 (18:06 +0800)]
doc: translate build_system from en to zh_CN

5 years agoMerge branch 'feature/python_future' into 'master'
Angus Gratton [Fri, 24 Aug 2018 00:04:18 +0000 (08:04 +0800)]
Merge branch 'feature/python_future' into 'master'

Add python-future by using python requirements file

See merge request idf/esp-idf!2973

5 years agoMerge branch 'fix/spi_dma_config_in_iram' into 'master'
Ivan Grokhotkov [Thu, 23 Aug 2018 14:03:28 +0000 (22:03 +0800)]
Merge branch 'fix/spi_dma_config_in_iram' into 'master'

SPI: put dma config and slave functions into IRAM

See merge request idf/esp-idf!3038

5 years agoMerge branch 'test/add_mesh_recreate_network_case_to_known_issue' into 'master'
He Yin Ling [Thu, 23 Aug 2018 11:12:08 +0000 (19:12 +0800)]
Merge branch 'test/add_mesh_recreate_network_case_to_known_issue' into 'master'

test: add mesh recreate network case as known issue

See merge request idf/esp-idf!3066

5 years agotest: disable mesh recreate network test:
He Yin Ling [Thu, 23 Aug 2018 09:49:59 +0000 (17:49 +0800)]
test: disable mesh recreate network test:

We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.

Temp disable these cases, to let CI pass before bug fixed.

5 years agodocs: make the use of pip install clear
Roland Dobai [Thu, 23 Aug 2018 09:16:56 +0000 (11:16 +0200)]
docs: make the use of pip install clear

5 years agobootloader: Don't use check_python_dependencies in the bootloader command
Roland Dobai [Mon, 20 Aug 2018 09:07:27 +0000 (11:07 +0200)]
bootloader: Don't use check_python_dependencies in the bootloader command

5 years agobugfix:fix the multi device stop thread bug
houchenyao [Mon, 20 Aug 2018 11:21:10 +0000 (19:21 +0800)]
bugfix:fix the multi device stop thread bug

5 years agomake: Don't invoke check_python_dependencies in bootloader subproject
Angus Gratton [Mon, 20 Aug 2018 07:40:14 +0000 (17:40 +1000)]
make: Don't invoke check_python_dependencies in bootloader subproject

5 years agomake: Use order-only prereq to check python dependencies
Angus Gratton [Mon, 20 Aug 2018 07:39:56 +0000 (17:39 +1000)]
make: Use order-only prereq to check python dependencies

5 years agotranslated some parts in get-started section to zh_CN
morris [Thu, 16 Aug 2018 02:31:04 +0000 (10:31 +0800)]
translated some parts in get-started section to zh_CN

1. "install required python packages" in docs/zh_CN/get-started/index.rst
2. docs/zh_CN/get-started/linux-setup-scratch.rst
3. docs/zh_CN/get-started/linux-setup.rst
4. docs/zh_CN/get-started/macos-setup-scratch.rst
5. docs/zh_CN/get-started/macos-setup.rst

5 years agoAdd python-future by using python requirements file
Roland Dobai [Wed, 15 Aug 2018 07:52:07 +0000 (09:52 +0200)]
Add python-future by using python requirements file

5 years agospi_slave: add new menuconfig item to decide whether spi slave should be put into...
Michael (XIAO Xufeng) [Mon, 20 Aug 2018 10:30:40 +0000 (18:30 +0800)]
spi_slave: add new menuconfig item to decide whether spi slave should be put into IRAM

5 years agospi: fix the issue that spi cannot be used when flash is disabled
Michael (XIAO Xufeng) [Mon, 20 Aug 2018 10:27:38 +0000 (18:27 +0800)]
spi: fix the issue that spi cannot be used when flash is disabled

The dma configuration function called in the ISR should be put into the IRAM.

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

5 years agoMerge branch 'feature/rtc_slowclk_extra_options' into 'master'
Ivan Grokhotkov [Thu, 23 Aug 2018 03:27:14 +0000 (11:27 +0800)]
Merge branch 'feature/rtc_slowclk_extra_options' into 'master'

Add more RTC_SLOW_CLK options

See merge request idf/esp-idf!2984

5 years agoMerge branch 'bugfix/esp_bt_controller_mem_release' into 'master'
Jiang Jiang Jian [Thu, 23 Aug 2018 03:02:17 +0000 (11:02 +0800)]
Merge branch 'bugfix/esp_bt_controller_mem_release' into 'master'

BT/BTDM memory release might fail if any of the memory regions is empty

See merge request idf/esp-idf!3031

5 years agoMerge branch 'bugfix/timer_oneshot_timeout_twice' into 'master'
Jiang Jiang Jian [Thu, 23 Aug 2018 02:41:53 +0000 (10:41 +0800)]
Merge branch 'bugfix/timer_oneshot_timeout_twice' into 'master'

component/bt: Some timer oneshot will timeout twice

See merge request idf/esp-idf!2979

5 years agoMerge branch 'bugfix/nvs_set_blob_bug' into 'master'
Ivan Grokhotkov [Thu, 23 Aug 2018 02:27:20 +0000 (10:27 +0800)]
Merge branch 'bugfix/nvs_set_blob_bug' into 'master'

nvs_flash: Fix nvs_set_blob hang when partition is near to FULL

See merge request idf/esp-idf!3051

5 years agoMerge branch 'bugfix/wrover-kit-camera-socket-pinout' into 'master'
Angus Gratton [Thu, 23 Aug 2018 01:06:04 +0000 (09:06 +0800)]
Merge branch 'bugfix/wrover-kit-camera-socket-pinout' into 'master'

Corrected pinout of the Camera / J4 connector

See merge request idf/esp-idf!3054

5 years agoMerge branch 'bugfix/freertos_task_delete' into 'master'
Angus Gratton [Wed, 22 Aug 2018 11:39:21 +0000 (19:39 +0800)]
Merge branch 'bugfix/freertos_task_delete' into 'master'

freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test

See merge request idf/esp-idf!3040

5 years agolwip: removed ASSERT in dhcp as the error might occur in runtime if packet is altered
David Cermak [Wed, 22 Aug 2018 06:52:41 +0000 (08:52 +0200)]
lwip: removed ASSERT in dhcp as the error might occur in runtime if packet is altered

5 years agolwip: supported ci jobs running fuzz tests on dns, dhcp, dhcps
David Cermak [Fri, 27 Jul 2018 07:26:51 +0000 (09:26 +0200)]
lwip: supported ci jobs running fuzz tests on dns, dhcp, dhcps

5 years agoMerge branch 'bugfix/trace_mem_layout_pro_cpu' into 'master'
Ivan Grokhotkov [Wed, 22 Aug 2018 08:51:43 +0000 (16:51 +0800)]
Merge branch 'bugfix/trace_mem_layout_pro_cpu' into 'master'

soc: fix trace memory region for single core mode

See merge request idf/esp-idf!3029

5 years agoMerge branch 'feature/make-otadata' into 'master'
Ivan Grokhotkov [Wed, 22 Aug 2018 08:51:36 +0000 (16:51 +0800)]
Merge branch 'feature/make-otadata' into 'master'

make dump_otadata: Displays app ota_seq and crc on console

See merge request idf/esp-idf!2901

5 years agomake dump_otadata: Displays app ota_seq and crc on console
Sachin Parekh [Wed, 22 Aug 2018 08:51:36 +0000 (16:51 +0800)]
make dump_otadata: Displays app ota_seq and crc on console

5 years agoMerge branch 'bugfix/http_write_data' into 'master'
Ivan Grokhotkov [Wed, 22 Aug 2018 08:49:29 +0000 (16:49 +0800)]
Merge branch 'bugfix/http_write_data' into 'master'

esp_http_client: Fix minor bugs in `esp_http_client_write` and `esp_http_client_open` APIs

See merge request idf/esp-idf!2924

5 years agoMerge branch 'feature/esp_http_client_add_esp_tls' into 'master'
Ivan Grokhotkov [Wed, 22 Aug 2018 08:48:35 +0000 (16:48 +0800)]
Merge branch 'feature/esp_http_client_add_esp_tls' into 'master'

esp_http_client: Add esp-tls in esp_http_client

See merge request idf/esp-idf!2740

5 years agoesp32: add support for 8MD256 and external 32k as slow clock options
Ivan Grokhotkov [Sun, 12 Aug 2018 22:12:01 +0000 (01:12 +0300)]
esp32: add support for 8MD256 and external 32k as slow clock options

5 years agosoc/rtc: Force power on 8M clock if it is used to derive RTC slow clock
Ivan Grokhotkov [Sun, 12 Aug 2018 22:11:32 +0000 (01:11 +0300)]
soc/rtc: Force power on 8M clock if it is used to derive RTC slow clock

5 years agosoc/rtc: add support for external 32k oscillator
Ivan Grokhotkov [Sun, 12 Aug 2018 22:10:29 +0000 (01:10 +0300)]
soc/rtc: add support for external 32k oscillator

Compared to external 32k XTAL, when active oscillator is used as input,
some parameters need to be set differently.

5 years agoesp32/clk: remove unused code
Ivan Grokhotkov [Sun, 12 Aug 2018 22:09:06 +0000 (01:09 +0300)]
esp32/clk: remove unused code

When 32k XTAL was selected as clock source, if the first calibration
attempt failed, the code would fall back to 150kHz internal clock.
Calibration with the internal clock will always succeed.
Therefore `wait` would always be either 0 or 1. Based on this, some
code in this routine can be eliminated.

5 years agoMerge branch 'feature/rtc_cpu_freq_config' into 'master'
Ivan Grokhotkov [Wed, 22 Aug 2018 03:32:08 +0000 (11:32 +0800)]
Merge branch 'feature/rtc_cpu_freq_config' into 'master'

soc/rtc: Refactoring, support CPU frequencies lower than XTAL

See merge request idf/esp-idf!2856

5 years agoCorrected pinout of the Camera / J4 connector
krzychb [Tue, 21 Aug 2018 20:01:28 +0000 (22:01 +0200)]
Corrected pinout of the Camera / J4 connector

5 years agonvs_flash: Fix nvs_set_blob hang when partition is near to FULL
Sagar Bijwe [Tue, 21 Aug 2018 11:36:17 +0000 (17:06 +0530)]
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL

Marking a page full does not skip it from page selection process and the
same page might get returned if there is no other page with more unused
entries. Added a check for the same while storing blobs.

Fixes: https://github.com/espressif/esp-idf/issues/2313
5 years agoesp_http_client: Add esp-tls APIs in SSL transport of esp_http_client
Jitin George [Fri, 27 Jul 2018 12:48:26 +0000 (18:18 +0530)]
esp_http_client: Add esp-tls APIs in SSL transport of esp_http_client

esp-tls APIs and SSL transport layer of esp_http_client try to
achieve similar things, so this is an effort to remove code redundancy.

5 years agoesp-tls: Add support for network timeout
Jitin George [Fri, 27 Jul 2018 12:45:55 +0000 (18:15 +0530)]
esp-tls: Add support for network timeout

5 years agoMerge branch 'feature/spi_burst_desc' into 'master'
Jeroen Domburg [Tue, 21 Aug 2018 08:54:38 +0000 (16:54 +0800)]
Merge branch 'feature/spi_burst_desc' into 'master'

spi_master: change to DMA burst mode when access descriptors

See merge request idf/esp-idf!2824

5 years agoMerge branch 'feat/spi_non_dma_64byte' into 'master'
Jeroen Domburg [Tue, 21 Aug 2018 08:53:37 +0000 (16:53 +0800)]
Merge branch 'feat/spi_non_dma_64byte' into 'master'

spi_master: change high part config to allow transactions of 64 bytes

See merge request idf/esp-idf!3025

5 years agodocs: update power management section on esp_pm_configure
Ivan Grokhotkov [Sun, 29 Jul 2018 06:36:07 +0000 (09:36 +0300)]
docs: update power management section on esp_pm_configure

5 years agosoc/rtc_clk: reduce data size by disabling CSWTCH generation
Ivan Grokhotkov [Sun, 29 Jul 2018 05:27:06 +0000 (08:27 +0300)]
soc/rtc_clk: reduce data size by disabling CSWTCH generation

Saves about 200 bytes of DRAM at the expense of 4 bytes in IRAM.

5 years agosoc/rtc_clk: split rtc_clk_init into separate object file
Ivan Grokhotkov [Sun, 29 Jul 2018 05:24:20 +0000 (08:24 +0300)]
soc/rtc_clk: split rtc_clk_init into separate object file

rtc_clk_init and related functions don’t need to be in IRAM/DRAM.

5 years agoexamples/power_save: set CPU frequencies in sdkconfig
Ivan Grokhotkov [Wed, 25 Jul 2018 23:02:31 +0000 (02:02 +0300)]
examples/power_save: set CPU frequencies in sdkconfig

5 years agotests: use new CPU frequency setting API
Ivan Grokhotkov [Sun, 29 Jul 2018 07:51:19 +0000 (10:51 +0300)]
tests: use new CPU frequency setting API

5 years agobootloader: use new CPU frequency setting API
Ivan Grokhotkov [Sun, 29 Jul 2018 07:51:02 +0000 (10:51 +0300)]
bootloader: use new CPU frequency setting API

5 years agoesp32: use new CPU frequency setting API
Ivan Grokhotkov [Sun, 29 Jul 2018 07:50:49 +0000 (10:50 +0300)]
esp32: use new CPU frequency setting API

5 years agosoc/rtc: CPU frequency settings refactoring
Ivan Grokhotkov [Sun, 29 Jul 2018 07:47:58 +0000 (10:47 +0300)]
soc/rtc: CPU frequency settings refactoring

Previous APIs used to set CPU frequency used CPU frequencies listed in
rtc_cpu_freq_t enumeration. This was problematic for two reasons.
First, supporting many possible frequency values obtained by dividing
XTAL frequency was hard, as every value would have to be listed in
the enumeration. Since different base XTAL frequencies are supported,
this further complicated things, since not all of these divided
frequencies would be valid for any given XTAL frequency. Second,
having to deal with enumeration values often involved switch
statements to convert between enumeration and MHz values, handle
PLL/XTAL frequencies separately, etc.

This change introduces rtc_cpu_freq_config_t structure, which contains
CPU frequency (in MHz) and information on how this frequency has to
be generated: clock source (XTAL/PLL), source frequency, clock
divider value. More fields can be added to this structure in the
future. This structure simplifies many parts of the code, since both
frequency value and frequency generation settings can be accessed in
any place in code without the need for conversions.

Additionally, this change adds setting of REF_TICK dividers to support
frequencies lower then XTAL with DFS.

5 years agoesp_clk.h: add esp_clk_xtal_freq
Ivan Grokhotkov [Sun, 29 Jul 2018 06:34:49 +0000 (09:34 +0300)]
esp_clk.h: add esp_clk_xtal_freq

This adds a user API for getting the XTAL frequency

5 years agoMerge branch 'feature/move_CONFIG_TCPIP_LWIP_to_menuconfig' into 'master'
Ivan Grokhotkov [Tue, 21 Aug 2018 03:37:15 +0000 (11:37 +0800)]
Merge branch 'feature/move_CONFIG_TCPIP_LWIP_to_menuconfig' into 'master'

tcpip_adapter: optimise tcpip_adapter and fix a bug in emac_dev.c

See merge request idf/esp-idf!3017

5 years agoMerge branch 'feature/reset_reason' into 'master'
Ivan Grokhotkov [Tue, 21 Aug 2018 03:34:12 +0000 (11:34 +0800)]
Merge branch 'feature/reset_reason' into 'master'

Add API to get reset reason

See merge request idf/esp-idf!2871

5 years agofreertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
Angus Gratton [Mon, 20 Aug 2018 06:11:35 +0000 (16:11 +1000)]
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test

Test was failing if task was allocating TCB & Stack memory from DMA only pool
which is not MALLOC_CAP_DEFAULT.

5 years agoMerge branch 'bugfix/bluetooth_demo_sdkconfig' into 'master'
Jiang Jiang Jian [Mon, 20 Aug 2018 12:33:35 +0000 (20:33 +0800)]
Merge branch 'bugfix/bluetooth_demo_sdkconfig' into 'master'

Fix bluetooth example sdkconfig.defaults

See merge request idf/esp-idf!3032

5 years agoemac:optimise tcpip_adapter and fix emac_dev.c
morris [Wed, 15 Aug 2018 08:33:32 +0000 (16:33 +0800)]
emac:optimise tcpip_adapter and fix emac_dev.c

1. move CONFIG_xx macros to Kconfig
2. fix a bug that make EMAC_DMAOPERATION_MODE_ERG mess

5 years agoesp_http_client: Fix minor bugs in esp_http_client_write and esp_http_client_open...
Jitin George [Thu, 2 Aug 2018 11:51:35 +0000 (17:21 +0530)]
esp_http_client: Fix minor bugs in esp_http_client_write and esp_http_client_open APIs

`esp_http_client_write` API puts a constraint on the maximum length of the data that can be
written, which is equal to client handle buffer size, but the data to be sent can be more
than that, so in this case, this API has to be called multiple times.

In `esp_http_client_open` API, the return value of `transport_write` API, used to send HTTP
request, is not checked, and in rare cases, data written will be less than expected which will
cause a problem. So there are fixes for these minor issues in this MR.

5 years agodocs: add API reference section for esp_system.h
Ivan Grokhotkov [Mon, 30 Jul 2018 13:19:20 +0000 (16:19 +0300)]
docs: add API reference section for esp_system.h

5 years agoesp32/test: add tests for reset reasons
Ivan Grokhotkov [Sun, 29 Jul 2018 11:17:09 +0000 (14:17 +0300)]
esp32/test: add tests for reset reasons

5 years agoesp32: add API to get reset reason
Ivan Grokhotkov [Sun, 29 Jul 2018 09:57:59 +0000 (12:57 +0300)]
esp32: add API to get reset reason

5 years agotiny-test-fw: invoke expect callbacks in order of appearance
Ivan Grokhotkov [Wed, 8 Aug 2018 12:55:33 +0000 (15:55 +0300)]
tiny-test-fw: invoke expect callbacks in order of appearance

Previously the callbacks were invoked in the same order as the list of
patterns to be matched.

5 years agounit test: fix regex for detecting abort
Ivan Grokhotkov [Tue, 7 Aug 2018 05:37:43 +0000 (08:37 +0300)]
unit test: fix regex for detecting abort

5 years agoMerge branch 'feature/docs_new_logo_typeface' into 'master'
Angus Gratton [Mon, 20 Aug 2018 00:22:02 +0000 (08:22 +0800)]
Merge branch 'feature/docs_new_logo_typeface' into 'master'

Replaced Espressif logo with a new, consistent, modern and neutral typeface design.

See merge request idf/esp-idf!2988

5 years agoMerge branch 'bugfix/err_variable_issue' into 'master'
Angus Gratton [Sun, 19 Aug 2018 23:59:24 +0000 (07:59 +0800)]
Merge branch 'bugfix/err_variable_issue' into 'master'

Fix small parameter issue in bt_a2dp_sink example. Merges…

See merge request idf/esp-idf!3012

5 years agoFix bluetooth example sdkconfig.defaults
Tian Hao [Sun, 19 Aug 2018 03:35:28 +0000 (11:35 +0800)]
Fix bluetooth example sdkconfig.defaults

1. a2dp_gatts_coex
2. blufi BT_RESERVE_DRAM

5 years agoprevent heap_caps_add_region exception if region is empty
me-no-dev [Fri, 17 Aug 2018 06:49:48 +0000 (08:49 +0200)]
prevent heap_caps_add_region exception if region is empty

Calling `esp_bt_controller_mem_release` or `esp_bt_mem_release` might result in exception if any of the regions returned to heap are empty. This happens usually if BT/BLE is enabled, but not used/linked in the final firmware.

5 years agoMerge branch 'feature/bootloader_unit_tests' into 'master'
Ivan Grokhotkov [Fri, 17 Aug 2018 06:39:50 +0000 (14:39 +0800)]
Merge branch 'feature/bootloader_unit_tests' into 'master'

app_update: Add unit tests for ota, factory, test partitions

See merge request idf/esp-idf!2565

5 years agoMerge branch 'bugfix/ut_bt_build_fix' into 'master'
Jiang Jiang Jian [Thu, 16 Aug 2018 11:49:14 +0000 (19:49 +0800)]
Merge branch 'bugfix/ut_bt_build_fix' into 'master'

bt: build unit tests only when CONFIG_BT_ENABLED=1

See merge request idf/esp-idf!3000

5 years agoMerge branch 'docs/security' into 'master'
Jiang Jiang Jian [Thu, 16 Aug 2018 11:31:36 +0000 (19:31 +0800)]
Merge branch 'docs/security' into 'master'

docs: Added more wordings to capture secure boot and flash encryption dependency.

See merge request idf/esp-idf!2947

5 years agoMerge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'
Jiang Jiang Jian [Thu, 16 Aug 2018 11:12:44 +0000 (19:12 +0800)]
Merge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'

decrease bt contrller memory with new mem reserved

See merge request idf/esp-idf!2791

5 years agospi_master: change high part config to allow transactions of 64 bytes
michael [Thu, 16 Aug 2018 07:44:06 +0000 (15:44 +0800)]
spi_master: change high part config to allow transactions of 64 bytes

5 years agoMerge branch 'feature/nvs_multi_page_util' into 'master'
Angus Gratton [Thu, 16 Aug 2018 07:23:11 +0000 (15:23 +0800)]
Merge branch 'feature/nvs_multi_page_util' into 'master'

Bugfix: multi page blob creation was failing if only one entry was left in page

See merge request idf/esp-idf!2971

5 years agoMerge branch 'feature/nvs_part_gen_util_file_size' into 'master'
Angus Gratton [Thu, 16 Aug 2018 07:22:24 +0000 (15:22 +0800)]
Merge branch 'feature/nvs_part_gen_util_file_size' into 'master'

Add support for input custom partition size

See merge request idf/esp-idf!2828