]> granicus.if.org Git - esp-idf/log
esp-idf
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 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 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

5 years agoAdd support for input custom partition size
Shivani Tipnis [Fri, 20 Jul 2018 11:43:28 +0000 (17:13 +0530)]
Add support for input custom partition size

5 years agoAdd nvs part gen utility multi page blob support update
Shivani Tipnis [Thu, 9 Aug 2018 10:19:07 +0000 (15:49 +0530)]
Add nvs part gen utility multi page blob support update

5 years agoapp_update: Add unit tt pests for ota, factory, test partitions
Konstantin Kondrashov [Fri, 15 Jun 2018 11:08:44 +0000 (16:08 +0500)]
app_update: Add unit tt pests for ota, factory, test partitions

5 years agoMerge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'
Angus Gratton [Thu, 16 Aug 2018 03:19:39 +0000 (11:19 +0800)]
Merge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'

esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory

See merge request idf/esp-idf!2891

5 years agotools: fix ci example build report reassign warnning
Tian Hao [Wed, 8 Aug 2018 11:46:53 +0000 (19:46 +0800)]
tools: fix ci example build report reassign warnning

5 years agoMerge branch 'feature/rtc_wdt_api' into 'master'
Angus Gratton [Thu, 16 Aug 2018 00:19:12 +0000 (08:19 +0800)]
Merge branch 'feature/rtc_wdt_api' into 'master'

soc/rtc_wdt: Add API functions for rtc_wdt

See merge request idf/esp-idf!2837

5 years agoMerge branch 'feature/what_driver_for_my_board' into 'master'
Ivan Grokhotkov [Wed, 15 Aug 2018 21:24:40 +0000 (05:24 +0800)]
Merge branch 'feature/what_driver_for_my_board' into 'master'

Provided a table with development boards by Espressif together with USB-to-serial driver names

See merge request idf/esp-idf!2792

5 years agoProvided a table with development boards by Espressif together with USB-to-serial...
Krzysztof Budzynski [Wed, 15 Aug 2018 21:24:40 +0000 (05:24 +0800)]
Provided a table with development boards by Espressif together with USB-to-serial driver names

5 years agoMerge branch 'docs/simplified_rtd_theme_configuration' into 'master'
Ivan Grokhotkov [Wed, 15 Aug 2018 21:23:54 +0000 (05:23 +0800)]
Merge branch 'docs/simplified_rtd_theme_configuration' into 'master'

Removed redundant code to configure 'sphinx-rtd-theme' for documentation

See merge request idf/esp-idf!2921

5 years agosoc: fix trace memory region for single core mode
Mahavir Jain [Wed, 15 Aug 2018 15:22:39 +0000 (20:52 +0530)]
soc: fix trace memory region for single core mode

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
5 years agoMerge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'
Jiang Jiang Jian [Wed, 15 Aug 2018 03:47:13 +0000 (11:47 +0800)]
Merge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'

fix the bug for Android phone getting IP fail when STA+AP mode

See merge request idf/esp-idf!3006

5 years agoMerge branch 'doc/unit_test_zh_CN' into 'master'
Angus Gratton [Wed, 15 Aug 2018 01:05:17 +0000 (09:05 +0800)]
Merge branch 'doc/unit_test_zh_CN' into 'master'

doc: translate the unit-tests.rst into Chinese

See merge request idf/esp-idf!2998

5 years agoFix small parameter issue in bt_a2dp_sink example. Merges https://github.com/espressi...
Piocky [Fri, 3 Aug 2018 12:43:38 +0000 (14:43 +0200)]
Fix small parameter issue in bt_a2dp_sink example. Merges https://github.com/espressif/esp-idf/pull/2261

The wrong parameter was used to print the error if something failed during the bt init.

5 years agoMerge branch 'bugfix/mdns_any_type_share' into 'master'
Jiang Jiang Jian [Tue, 14 Aug 2018 16:52:21 +0000 (00:52 +0800)]
Merge branch 'bugfix/mdns_any_type_share' into 'master'

mdns: Fix a portion of the queries are issued with the wildcard query type

See merge request idf/esp-idf!2886

5 years agosoc/rtc_wdt: Add API functions for rtc_wdt
Konstantin Kondrashov [Mon, 23 Jul 2018 10:59:37 +0000 (15:59 +0500)]
soc/rtc_wdt: Add API functions for rtc_wdt

Added functions:
rtc_wdt_protect_off/on
rtc_wdt_set_length_of_reset_signal
rtc_wdt_set_stage
rtc_wdt_set_time
rtc_wdt_feed
rtc_wdt_disable/enable

5 years agodoc/unit-tests:translate the unit-tests into zh_CN
morris [Mon, 13 Aug 2018 12:39:22 +0000 (20:39 +0800)]
doc/unit-tests:translate the unit-tests into zh_CN

5 years agomdns: Fix a portion of the queries are issued with the wildcard query type
Liu Han [Tue, 31 Jul 2018 02:00:02 +0000 (10:00 +0800)]
mdns: Fix a portion of the queries are issued with the wildcard query type

5 years agofix the bug for Android phone getting IP fail when STA+AP mode
zhangyanjiao [Tue, 14 Aug 2018 02:53:26 +0000 (10:53 +0800)]
fix the bug for Android phone getting IP fail when STA+AP mode

5 years agoMerge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'
Jiang Jiang Jian [Tue, 14 Aug 2018 06:16:53 +0000 (14:16 +0800)]
Merge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'

examples/bluetooth: Fix incorrect end handle print in the GATT client applications

See merge request idf/esp-idf!2880

5 years agodocs: Added more wordings to capture secure boot and flash encryption dependency.
Sagar Bijwe [Tue, 7 Aug 2018 11:59:11 +0000 (17:29 +0530)]
docs: Added more wordings to capture secure boot and flash encryption dependency.

5 years agoMerge branch 'feature/ota_get_sha-256_of_partition' into 'master'
Angus Gratton [Tue, 14 Aug 2018 03:32:39 +0000 (11:32 +0800)]
Merge branch 'feature/ota_get_sha-256_of_partition' into 'master'

bootloader_support: Add API for getting sha256_of_partition

See merge request idf/esp-idf!2479

5 years agocomponent/bt : decrease memory consumption by conn number
Tian Hao [Fri, 15 Jun 2018 13:40:51 +0000 (21:40 +0800)]
component/bt : decrease memory consumption by conn number

1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig

5 years agoMerge branch 'bugfix/ulp_jumps_flags' into 'master'
Ivan Grokhotkov [Mon, 13 Aug 2018 17:14:12 +0000 (01:14 +0800)]
Merge branch 'bugfix/ulp_jumps_flags' into 'master'

ULP: document JUMPS instruction flags, add tests

See merge request idf/esp-idf!2949

5 years agoci: only apply BOT_DOCKER_IMAGE_TAG to esp32-ci-env
Ivan Grokhotkov [Sun, 12 Aug 2018 22:33:18 +0000 (01:33 +0300)]
ci: only apply BOT_DOCKER_IMAGE_TAG to esp32-ci-env

5 years agodocs: update esp32ulp-binutils download link
Ivan Grokhotkov [Sun, 12 Aug 2018 20:36:19 +0000 (23:36 +0300)]
docs: update esp32ulp-binutils download link

5 years agoulp: add documentation for JUMPS instruction conditions
Ivan Grokhotkov [Tue, 7 Aug 2018 13:57:19 +0000 (16:57 +0300)]
ulp: add documentation for JUMPS instruction conditions

Hardware implements conditions LE, LT, GE, and conditions EQ and GT
are implemented in the assembler by emitting two JUMPS instructions
with other conditions.

5 years agoulp: add tests for jumps instruction
Ivan Grokhotkov [Tue, 7 Aug 2018 13:13:26 +0000 (16:13 +0300)]
ulp: add tests for jumps instruction

5 years agobt: build unit tests only when CONFIG_BT_ENABLED=1
Ivan Grokhotkov [Mon, 13 Aug 2018 14:38:37 +0000 (17:38 +0300)]
bt: build unit tests only when CONFIG_BT_ENABLED=1

5 years agoapp_update: Add API for getting sha256_of_partition
Konstantin Kondrashov [Wed, 30 May 2018 09:08:00 +0000 (14:08 +0500)]
app_update: Add API for getting sha256_of_partition

Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256
digest for app and data partitions.
Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest
Added esp_partition_check_identity() - compares two partitions by SHA-256 digest

Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and
bootloader_load_image(). Old name function esp_image_load is deprecated
and will remove in V4.0 version.

spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs

5 years agoMerge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
Jiang Jiang Jian [Mon, 13 Aug 2018 07:44:13 +0000 (15:44 +0800)]
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'

component/bt: Fixed the vulnerability released by Bluetooth org when using…

See merge request idf/esp-idf!2933

5 years agocomponent/bt: Fixed the vulnerability released by Bluetooth org when using public...
yulong [Sun, 5 Aug 2018 13:18:31 +0000 (21:18 +0800)]
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.

1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.

5 years agocomponent/bt: Some timer oneshot will timeout twice
baohongde [Fri, 10 Aug 2018 09:21:01 +0000 (17:21 +0800)]
component/bt: Some timer oneshot will timeout twice

Find when BQB

5 years agoMerge branch 'bugfix/doc_generated_sections' into 'master'
Angus Gratton [Mon, 13 Aug 2018 05:57:42 +0000 (13:57 +0800)]
Merge branch 'bugfix/doc_generated_sections' into 'master'

docs: Move version-related includes to run in sphinx-build not make

See merge request idf/esp-idf!2985

5 years agoReplaced Espressif logo with a new, consistent, modern and neutral typeface design.
krzychb [Mon, 13 Aug 2018 05:20:31 +0000 (07:20 +0200)]
Replaced Espressif logo with a new, consistent, modern and neutral typeface design.

5 years agodocs: Add gen-version-specific-includes.py to executables list
Angus Gratton [Mon, 13 Aug 2018 02:28:54 +0000 (12:28 +1000)]
docs: Add gen-version-specific-includes.py to executables list

5 years agodocs: Move version-related includes to run in sphinx-build not make
Angus Gratton [Mon, 13 Aug 2018 02:24:55 +0000 (12:24 +1000)]
docs: Move version-related includes to run in sphinx-build not make

Means they show up on ReadTheDocs(!)

5 years agoMerge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond' into...
Jiang Jiang Jian [Fri, 10 Aug 2018 12:46:34 +0000 (20:46 +0800)]
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond' into 'master'

Component/bt: fix get bond list error when connection with no bond

See merge request idf/esp-idf!2957

5 years agoMerge branch 'bugfix/gpio_reset_bitmask' into 'master'
Ivan Grokhotkov [Fri, 10 Aug 2018 09:35:26 +0000 (17:35 +0800)]
Merge branch 'bugfix/gpio_reset_bitmask' into 'master'

gpio: Bitmask overflow fix in gpio_reset_pin

See merge request idf/esp-idf!2966

5 years agoMerge branch 'doc/heap_tracing' into 'master'
Angus Gratton [Fri, 10 Aug 2018 08:46:52 +0000 (16:46 +0800)]
Merge branch 'doc/heap_tracing' into 'master'

heap docs: Fix some bad links & errors in the heap docs

See merge request idf/esp-idf!2942

5 years agoheap docs: Fix some bad links & errors in the heap docs
Angus Gratton [Tue, 7 Aug 2018 01:37:57 +0000 (11:37 +1000)]
heap docs: Fix some bad links & errors in the heap docs

Also add a note about printf() sometimes causing on-demand allocations.

5 years agoMerge branch 'bugfix/http_client_null_auth_header' into 'master'
Angus Gratton [Fri, 10 Aug 2018 05:44:55 +0000 (13:44 +0800)]
Merge branch 'bugfix/http_client_null_auth_header' into 'master'

esp_http_client: Fixed exception on 401 without Www-Authenticate header

See merge request idf/esp-idf!2900

5 years agoMerge branch 'mesh/bugfix_parent_switch' into 'master'
Jiang Jiang Jian [Fri, 10 Aug 2018 03:31:50 +0000 (11:31 +0800)]
Merge branch 'mesh/bugfix_parent_switch' into 'master'

mesh: modify parent switch mechanism

See merge request idf/esp-idf!2803