]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoesp_partition: disable encrypted reads/writes if flash encryption is disabled
Ivan Grokhotkov [Thu, 10 Jan 2019 13:51:09 +0000 (21:51 +0800)]
esp_partition: disable encrypted reads/writes if flash encryption is disabled

Saves 400 bytes of IRAM.

5 years agoMerge branch 'bugfix/python_virtualenv_detection' into 'master'
Ivan Grokhotkov [Thu, 10 Jan 2019 07:52:54 +0000 (15:52 +0800)]
Merge branch 'bugfix/python_virtualenv_detection' into 'master'

python:  Add check if current python is inside virtual environment

See merge request idf/esp-idf!4088

5 years agoMerge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'
Jiang Jiang Jian [Wed, 9 Jan 2019 07:54:05 +0000 (15:54 +0800)]
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'

esp32: do defragmentation only for data and management frame

See merge request idf/esp-idf!4072

5 years agoMerge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'
Jiang Jiang Jian [Wed, 9 Jan 2019 02:20:50 +0000 (10:20 +0800)]
Merge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'

tcpip: fix mbox thread-safe issue

See merge request idf/esp-idf!4002

5 years agopython: Add check if current python is inside virtual environment
Sergei Silnov [Tue, 8 Jan 2019 10:40:49 +0000 (11:40 +0100)]
python:  Add check if current python is inside virtual environment

5 years agoMerge branch 'bugfix/timer_delete_dispatch_race' into 'master'
Ivan Grokhotkov [Tue, 8 Jan 2019 06:06:46 +0000 (14:06 +0800)]
Merge branch 'bugfix/timer_delete_dispatch_race' into 'master'

esp_timer: fix race between deleting the timer and executing the callback

See merge request idf/esp-idf!3992

5 years agoesp32: do defragmentation only for data and management frame
XiaXiaotian [Fri, 4 Jan 2019 03:17:53 +0000 (11:17 +0800)]
esp32: do defragmentation only for data and management frame

    Check frame type before defragmentation. Only data and management frame can do
    defragmentation.

5 years agoMerge branch 'bugfix/esp-http-client-fixes' into 'master'
Ivan Grokhotkov [Mon, 7 Jan 2019 08:33:41 +0000 (16:33 +0800)]
Merge branch 'bugfix/esp-http-client-fixes' into 'master'

Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example

See merge request idf/esp-idf!4023

5 years agoMinor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
Jitin George [Mon, 7 Jan 2019 08:33:41 +0000 (16:33 +0800)]
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example

5 years agolwip: fix mbox thread-safe issue
Liu Zhi Fu [Thu, 20 Dec 2018 06:03:11 +0000 (14:03 +0800)]
lwip: fix mbox thread-safe issue

Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.

5 years agoMerge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'
Jiang Jiang Jian [Mon, 7 Jan 2019 05:03:20 +0000 (13:03 +0800)]
Merge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'

Bugfix/tw26890 update wifi api guide

See merge request idf/esp-idf!3630

5 years agoMerge branch 'bugfix/fix_the_country_code_bug' into 'master'
Wu Jian Gang [Fri, 4 Jan 2019 03:57:29 +0000 (11:57 +0800)]
Merge branch 'bugfix/fix_the_country_code_bug' into 'master'

wifi: fix the bug that STA can scan the channel out of the country regdomain range

See merge request idf/esp-idf!4065

5 years agowifi: fix the bug that STA can scan the channel out of the country regdomain range
zhangyanjiao [Thu, 3 Jan 2019 09:55:06 +0000 (17:55 +0800)]
wifi: fix the bug that STA can scan the channel out of the country regdomain range

5 years agoesp_timer: do not allow deleting timers while callbacks are dispatched
Ivan Grokhotkov [Wed, 19 Dec 2018 07:53:50 +0000 (15:53 +0800)]
esp_timer: do not allow deleting timers while callbacks are dispatched

timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.

To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.

5 years agoMerge branch 'test/fix_failed_to_download_in_example_test' into 'master'
Angus Gratton [Thu, 3 Jan 2019 07:14:22 +0000 (15:14 +0800)]
Merge branch 'test/fix_failed_to_download_in_example_test' into 'master'

test: fix failed to download in example test

See merge request idf/esp-idf!4061

5 years agodocs: udpate wifi document
Liu Zhi Fu [Wed, 7 Nov 2018 14:08:29 +0000 (22:08 +0800)]
docs: udpate wifi document

Update WiFi document

5 years agotest: get bin path from `dut.app.flash_files` instead of `dut.download_config`
He Yin Ling [Thu, 3 Jan 2019 01:57:47 +0000 (09:57 +0800)]
test: get bin path from `dut.app.flash_files` instead of `dut.download_config`

5 years agoMerge branch 'doc/wifi_disclaimer' into 'master'
Angus Gratton [Wed, 2 Jan 2019 23:45:26 +0000 (07:45 +0800)]
Merge branch 'doc/wifi_disclaimer' into 'master'

doc: wifi: Remove disclaimers

See merge request idf/esp-idf!4059

5 years agoMerge branch 'bugfix/esp_attr_sdkconfig' into 'master'
Ivan Grokhotkov [Wed, 2 Jan 2019 19:07:52 +0000 (03:07 +0800)]
Merge branch 'bugfix/esp_attr_sdkconfig' into 'master'

esp32: esp_attr.h should include sdkconfig.h

See merge request idf/esp-idf!4058

5 years agoMerge branch 'bugfix/pthread_detach' into 'master'
Ivan Grokhotkov [Wed, 2 Jan 2019 19:05:16 +0000 (03:05 +0800)]
Merge branch 'bugfix/pthread_detach' into 'master'

Bugfix in pthread_detach() implementation

See merge request idf/esp-idf!4038

5 years agotest: fix failed to download in example test:
He Yin Ling [Wed, 2 Jan 2019 06:51:36 +0000 (14:51 +0800)]
test: fix failed to download in example test:

1. example test uses auto detect flash size. we need to call
`detect_flash_size` before write flash
2. fix incorrect baudrate used: when using WROVER-Kits, it's likely that download with baudrate 921600
will fail. If we don't reset serial setting in decorator, 921600 will
become the default baudrate. This causes all the subsequent
communication fails
3. do hw reset after used esptool function

5 years agoMerge branch 'bugfix/check_dependencies_msys' into 'master'
Angus Gratton [Wed, 2 Jan 2019 08:47:31 +0000 (16:47 +0800)]
Merge branch 'bugfix/check_dependencies_msys' into 'master'

tools: Be more helpful to MSYS32 users with package installation

See merge request idf/esp-idf!3998

5 years agotools: Be more helpful to MSYS32 users with package installation
Roland Dobai [Wed, 19 Dec 2018 13:04:57 +0000 (14:04 +0100)]
tools: Be more helpful to MSYS32 users with package installation

5 years agodoc: wifi: Remove disclaimers
Angus Gratton [Wed, 2 Jan 2019 06:43:11 +0000 (17:43 +1100)]
doc: wifi: Remove disclaimers

5 years agoesp32: esp_attr.h should include sdkconfig.h
Angus Gratton [Wed, 2 Jan 2019 06:04:53 +0000 (17:04 +1100)]
esp32: esp_attr.h should include sdkconfig.h

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

5 years agoMerge branch 'bugfix/btdm_miscellaneous_modifications' into 'master'
Jiang Jiang Jian [Wed, 2 Jan 2019 06:04:44 +0000 (14:04 +0800)]
Merge branch 'bugfix/btdm_miscellaneous_modifications' into 'master'

component/bt: some miscellaneous modifications for BLE

See merge request idf/esp-idf!4032

5 years agoMerge branch 'feature/esp_platform_cmake_pr2601' into 'master'
Angus Gratton [Wed, 2 Jan 2019 06:03:52 +0000 (14:03 +0800)]
Merge branch 'feature/esp_platform_cmake_pr2601' into 'master'

cmake: Add ESP_PLATFORM in CMake build (PR 2601)

See merge request idf/esp-idf!3823

5 years agoMerge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'
Jiang Jiang Jian [Wed, 2 Jan 2019 06:02:58 +0000 (14:02 +0800)]
Merge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'

component/bt: modify the BLE example to make it run with "numeric comparison" mode

See merge request idf/esp-idf!3500

5 years agoMerge branch 'bugfix/fix_ci_example_test_not_executed' into 'master'
Angus Gratton [Wed, 2 Jan 2019 05:59:47 +0000 (13:59 +0800)]
Merge branch 'bugfix/fix_ci_example_test_not_executed' into 'master'

ci: init submodule in assign_test job

See merge request idf/esp-idf!4046

5 years agoMerge branch 'bugfix/https_server_cpp_support' into 'master'
Angus Gratton [Wed, 2 Jan 2019 05:58:37 +0000 (13:58 +0800)]
Merge branch 'bugfix/https_server_cpp_support' into 'master'

esp_https_server : add extern C directive for C++ support

See merge request idf/esp-idf!4054

5 years agoMerge branch 'bugfix/remove_gatts_warning' into 'master'
Jiang Jiang Jian [Wed, 2 Jan 2019 04:00:10 +0000 (12:00 +0800)]
Merge branch 'bugfix/remove_gatts_warning' into 'master'

components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing

See merge request idf/esp-idf!4008

5 years agoMerge branch 'feature/coex_unforce_wifi_if_no_data_buffered_in_beacon' into 'master'
Jiang Jiang Jian [Wed, 2 Jan 2019 03:56:15 +0000 (11:56 +0800)]
Merge branch 'feature/coex_unforce_wifi_if_no_data_buffered_in_beacon' into 'master'

esp32: unforce wifi if receiving beacon with no data buffered in dream state and reduce force receiving broadcast data time

See merge request idf/esp-idf!3963

5 years agohttps_server : add extern C directive and other minor changes for C++ support
Anurag Kar [Mon, 31 Dec 2018 05:52:42 +0000 (11:22 +0530)]
https_server : add extern C directive and other minor changes for C++ support

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

5 years agoMerge branch 'doc/btdm_modem_sleep_EVED_mode' into 'master'
Jiang Jiang Jian [Sat, 29 Dec 2018 02:27:28 +0000 (10:27 +0800)]
Merge branch 'doc/btdm_modem_sleep_EVED_mode' into 'master'

doc/btdm_modem_sleep_EVED_mode

See merge request idf/esp-idf!4017

5 years agoMerge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover' into 'master'
Jiang Jiang Jian [Fri, 28 Dec 2018 12:26:11 +0000 (20:26 +0800)]
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover' into 'master'

add hostname option in dhcp discover

See merge request idf/esp-idf!3937

5 years agoci: init submodule in assign_test job:
He Yin Ling [Fri, 28 Dec 2018 09:40:21 +0000 (17:40 +0800)]
ci: init submodule in assign_test job:

esptool is used by example test, we need to init submodule

5 years agopthread tests : test case added for detach functionality
Anurag Kar [Fri, 28 Dec 2018 09:11:24 +0000 (14:41 +0530)]
pthread tests : test case added for detach functionality

5 years agoesp32: unforce wifi if receiving beacon with no data buffered in dream
XiaXiaotian [Thu, 13 Dec 2018 12:54:27 +0000 (20:54 +0800)]
esp32: unforce wifi if receiving beacon with no data buffered in dream
state and reduce force receiving broadcast data time

    1. If receiving beacon which indicates that there is no data buffered,
    do not force to receive WiFi data.
    2. If receiving beacon which indicates that there is broadcast data
    buffered, reduce the time to force receiving broadcast data.

5 years agoMerge branch 'mesh/bugfix_v3.3_cont' into 'master'
Jiang Jiang Jian [Fri, 28 Dec 2018 06:08:18 +0000 (14:08 +0800)]
Merge branch 'mesh/bugfix_v3.3_cont' into 'master'

mesh: bugfix

See merge request idf/esp-idf!4009

5 years agobugfix/pthread : pthread_detach implementation fixed to correctly delete pthread...
Anurag Kar [Thu, 27 Dec 2018 13:02:14 +0000 (18:32 +0530)]
bugfix/pthread : pthread_detach implementation fixed to correctly delete pthread object when invoked after task completion

5 years agocomponent/bt: some miscellaneous modifications for BLE
Tree [Wed, 26 Dec 2018 12:36:33 +0000 (20:36 +0800)]
component/bt: some miscellaneous modifications for BLE

5 years agomesh: update libs
qiyueixa [Wed, 26 Dec 2018 08:10:55 +0000 (16:10 +0800)]
mesh: update libs

1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.

5 years agoMerge branch 'bugfix/confserver_on_windows' into 'master'
Ivan Grokhotkov [Tue, 25 Dec 2018 13:00:39 +0000 (21:00 +0800)]
Merge branch 'bugfix/confserver_on_windows' into 'master'

Fix unable to start confserver on windows

See merge request idf/esp-idf!4022

5 years agocmake: fix unable to start confserver on windows
Renz Christian Bagaporo [Sun, 23 Dec 2018 11:52:58 +0000 (19:52 +0800)]
cmake: fix unable to start confserver on windows

5 years agocomponent/bt: add more information and description for bluetooth modem sleep
wangmengyang [Fri, 21 Dec 2018 11:30:20 +0000 (19:30 +0800)]
component/bt: add more information and description for bluetooth modem sleep

Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test

5 years agoMerge branch 'doc/cmake_branch' into 'master'
Angus Gratton [Fri, 21 Dec 2018 09:36:48 +0000 (17:36 +0800)]
Merge branch 'doc/cmake_branch' into 'master'

Make CMake Getting Started guides version-aware

See merge request idf/esp-idf!3984

5 years agoMerge branch 'mesh/bugfix_v3.3' into 'master'
Jiang Jiang Jian [Fri, 21 Dec 2018 09:27:11 +0000 (17:27 +0800)]
Merge branch 'mesh/bugfix_v3.3' into 'master'

wifi: fix STAs can not detect disconnection from AP when encrypt transmission is used

See merge request idf/esp-idf!3907

5 years agodocs: Make Getting Started (CMake) guides version-aware
Angus Gratton [Tue, 18 Dec 2018 06:22:40 +0000 (17:22 +1100)]
docs: Make Getting Started (CMake) guides version-aware

Also clean up some changes in Chinese CMake guide which were not propagated from the English guide.

5 years agodoc: cmake: Add description of ESP_PLATFORM variable
Angus Gratton [Thu, 29 Nov 2018 00:04:35 +0000 (11:04 +1100)]
doc: cmake: Add description of ESP_PLATFORM variable

Ref: https://github.com/espressif/esp-idf/pull/2601

5 years agocmake: Fail CMake if expand_requirements.cmake fails
Angus Gratton [Wed, 28 Nov 2018 23:52:23 +0000 (10:52 +1100)]
cmake: Fail CMake if expand_requirements.cmake fails

5 years agocmake: Add ESP_PLATFORM in idf_set_variables() as well
Angus Gratton [Wed, 28 Nov 2018 23:39:11 +0000 (10:39 +1100)]
cmake: Add ESP_PLATFORM in idf_set_variables() as well

(Handles case where idf.py is not being used.)

Ref https://github.com/espressif/esp-idf/pull/2601

5 years agoAdd ESP_PLATFORM to build environment.
Per Malmberg [Sun, 21 Oct 2018 13:34:53 +0000 (15:34 +0200)]
Add ESP_PLATFORM to build environment.

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

5 years agoMerge branch 'feature/example_defconfig_ci' into 'master'
Ivan Grokhotkov [Fri, 21 Dec 2018 04:14:57 +0000 (12:14 +0800)]
Merge branch 'feature/example_defconfig_ci' into 'master'

ci, examples: use sdkconfig.ci as an extra defaults file, if present

See merge request idf/esp-idf!3934

5 years agoMerge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'
Ivan Grokhotkov [Fri, 21 Dec 2018 04:13:28 +0000 (12:13 +0800)]
Merge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'

examples: freemodbus port serial slave move uart mode settings into example

See merge request idf/esp-idf!3870

5 years agoMerge branch 'bugfix/bbpll_wakeup_reset_2' into 'master'
Ivan Grokhotkov [Fri, 21 Dec 2018 04:09:18 +0000 (12:09 +0800)]
Merge branch 'bugfix/bbpll_wakeup_reset_2' into 'master'

soc/rtc: reset another BBPLL related register

See merge request idf/esp-idf!3947

5 years agoMerge branch 'bugfix/ext_ram_bss_align' into 'master'
Ivan Grokhotkov [Fri, 21 Dec 2018 04:06:58 +0000 (12:06 +0800)]
Merge branch 'bugfix/ext_ram_bss_align' into 'master'

Fix crash if ext_ram_bss is unaligned length

See merge request idf/esp-idf!4000

5 years agoMerge branch 'bugfix/mdns_crash_when_query' into 'master'
Ivan Grokhotkov [Fri, 21 Dec 2018 03:57:56 +0000 (11:57 +0800)]
Merge branch 'bugfix/mdns_crash_when_query' into 'master'

mdns issues when query

See merge request idf/esp-idf!3910

5 years agoMerge branch 'bugfix/cmake_list_component_config_alphabetically' into 'master'
Angus Gratton [Thu, 20 Dec 2018 23:50:31 +0000 (07:50 +0800)]
Merge branch 'bugfix/cmake_list_component_config_alphabetically' into 'master'

List menuconfig component config items alphabetically via component name

See merge request idf/esp-idf!3939

5 years agoMerge branch 'feature/cut_len_for_header_struct' into 'master'
Angus Gratton [Thu, 20 Dec 2018 23:45:22 +0000 (07:45 +0800)]
Merge branch 'feature/cut_len_for_header_struct' into 'master'

build: Add trimming PROJECT_VER and PROJECT_NAME vars

See merge request idf/esp-idf!3927

5 years agoMerge branch 'bugfix/py_imp_deprecated' into 'master'
Angus Gratton [Thu, 20 Dec 2018 23:44:22 +0000 (07:44 +0800)]
Merge branch 'bugfix/py_imp_deprecated' into 'master'

Fix Python3 deprecation warning for the imp module & run multi-device tests only under Python 2

See merge request idf/esp-idf!3972

5 years agodocs: list kconfig components alphabetically via component name
Renz Christian Bagaporo [Thu, 20 Dec 2018 11:57:46 +0000 (19:57 +0800)]
docs: list kconfig components alphabetically via component name

5 years agoci: Multi-device tests cannot run under Python 3
Roland Dobai [Mon, 17 Dec 2018 12:54:14 +0000 (13:54 +0100)]
ci: Multi-device tests cannot run under Python 3

5 years agoexamples, tools: Fix Python3 deprecation warning for the imp module
Roland Dobai [Fri, 14 Dec 2018 16:37:43 +0000 (17:37 +0100)]
examples, tools: Fix Python3 deprecation warning for the imp module

5 years agocmake: list items in component config via alphabetical component name
Renz Christian Bagaporo [Tue, 11 Dec 2018 02:33:09 +0000 (10:33 +0800)]
cmake: list items in component config via alphabetical component name

5 years agocomponents/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
Hrishikesh Dhayagude [Thu, 20 Dec 2018 08:47:20 +0000 (14:17 +0530)]
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing

Fixes: https://github.com/espressif/esp-idf/issues/2811
The warning print "NULL value" is only kept for event
BTC_GATTS_ACT_SET_ATTR_VALUE as this can be useful in case user forgets
to set attribute value

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
5 years agoMerge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
Jiang Jiang Jian [Thu, 20 Dec 2018 07:31:08 +0000 (15:31 +0800)]
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'

components/bt: Configure SSP in menuconfig and fix two bugs

See merge request idf/esp-idf!3892

5 years agoMerge branch 'docs/watchpoints_config_gdbinit' into 'master'
Ivan Grokhotkov [Thu, 20 Dec 2018 07:13:56 +0000 (15:13 +0800)]
Merge branch 'docs/watchpoints_config_gdbinit' into 'master'

docs: Adds watchpoints limit configuration to example gdbinit

See merge request idf/esp-idf!3502

5 years agoMerge branch 'bugfix/btdm_fix_crash_adv_scan_coex' into 'master'
Jiang Jiang Jian [Thu, 20 Dec 2018 06:59:20 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex' into 'master'

component/bt: fix crash when adv and scan coex and optimize duplicate scan

See merge request idf/esp-idf!3975

5 years agodocs: Adds watchpoints limit configuration to example gdbinit
Alexey Gerenkov [Wed, 17 Oct 2018 10:11:34 +0000 (13:11 +0300)]
docs: Adds watchpoints limit configuration to example gdbinit

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

5 years agomesh: update libs
qiyueixa [Thu, 20 Dec 2018 04:11:30 +0000 (12:11 +0800)]
mesh: update libs

1. fix STAs can not detect disconnection from AP when encrypt transmission is used.
2. fix can not find hidden APs.
3. for root, modify the active scan time to 120ms.
4. remove all rc when clear parent Wi-Fi configuration.
5. fix error in checking Wi-Fi commit ID.

5 years agocomponents/bt: Fix two bugs about pairing
baohongde [Tue, 11 Dec 2018 11:39:04 +0000 (19:39 +0800)]
components/bt: Fix two bugs about pairing

1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP

5 years agocomponents/bt: Configure SSP in menuconfig
baohongde [Fri, 7 Dec 2018 06:19:47 +0000 (14:19 +0800)]
components/bt: Configure SSP in menuconfig

5 years agoMerge branch 'feature/pystyle_tools' into 'master'
Angus Gratton [Thu, 20 Dec 2018 02:36:01 +0000 (10:36 +0800)]
Merge branch 'feature/pystyle_tools' into 'master'

tools: Fix the Python coding style

See merge request idf/esp-idf!3901

5 years agopsram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end
Angus Gratton [Wed, 19 Dec 2018 22:34:42 +0000 (09:34 +1100)]
psram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end

Fixes pointer arithmetic when printing size of remaining heap

5 years agomulti_heap: Fix bug when start of heap is unaligned
Angus Gratton [Wed, 19 Dec 2018 22:34:24 +0000 (09:34 +1100)]
multi_heap: Fix bug when start of heap is unaligned

Alignment was accounted for in one place only.

TW27954

5 years agolinker external bss: Align end of ext bss to word boundary
Angus Gratton [Wed, 19 Dec 2018 08:22:47 +0000 (19:22 +1100)]
linker external bss: Align end of ext bss to word boundary

TW27954

5 years agoMerge branch 'bugfix/windows_install_prerequisites_idf_path' into 'master'
Angus Gratton [Thu, 20 Dec 2018 01:19:03 +0000 (09:19 +0800)]
Merge branch 'bugfix/windows_install_prerequisites_idf_path' into 'master'

windows_install_prerequisites: Fix bug if IDF_PATH is not set

See merge request idf/esp-idf!3874

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

wifi: fix wifi rx fails

See merge request idf/esp-idf!3976

5 years agotools: Fix the Python coding style
Roland Dobai [Tue, 4 Dec 2018 12:46:48 +0000 (13:46 +0100)]
tools: Fix the Python coding style

5 years agoexamples: freemodbus port serial slave move uart mode settings into example
aleks [Mon, 3 Dec 2018 13:16:36 +0000 (14:16 +0100)]
examples: freemodbus port serial slave move uart mode settings into example

Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file

TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157

5 years agoMerge branch 'bugfix/individual_custom_sections' into 'master'
Angus Gratton [Wed, 19 Dec 2018 07:18:26 +0000 (15:18 +0800)]
Merge branch 'bugfix/individual_custom_sections' into 'master'

linker: When using section type attributes, create unique sections

See merge request idf/esp-idf!3920

5 years agoMerge branch 'feature/app_rollback_example' into 'master'
Angus Gratton [Wed, 19 Dec 2018 06:41:54 +0000 (14:41 +0800)]
Merge branch 'feature/app_rollback_example' into 'master'

example: App rollback example

See merge request idf/esp-idf!3561

5 years agoMerge branch 'feature/add_rollback_flags' into 'master'
Angus Gratton [Wed, 19 Dec 2018 06:28:11 +0000 (14:28 +0800)]
Merge branch 'feature/add_rollback_flags' into 'master'

bootloader/app_update: Add a support of an app rollback.

See merge request idf/esp-idf!3547

5 years agolinker: When using section type attributes, create unique sections
Angus Gratton [Fri, 7 Dec 2018 04:14:58 +0000 (15:14 +1100)]
linker: When using section type attributes, create unique sections

* Prevents section type conflict errors if (say) const & non-const data
  is put into the same section (ie with DRAM_ATTR)

* Allows linker --gc-sections to remove unused custom sections

5 years agoMerge branch 'bugfix/unit_test_keep_serial_port_open' into 'master'
Angus Gratton [Tue, 18 Dec 2018 23:06:17 +0000 (07:06 +0800)]
Merge branch 'bugfix/unit_test_keep_serial_port_open' into 'master'

unit test: Keep serial port open when running esptool

See merge request idf/esp-idf!3889

5 years agowifi: fix wifi rx fails
qiyueixa [Tue, 18 Dec 2018 15:39:54 +0000 (23:39 +0800)]
wifi: fix wifi rx fails

1. add MAC reset.
2. update libphy.a from 4000 to 4006.

5 years agoapp_update: Add EXCLUDE option
Konstantin Kondrashov [Thu, 13 Dec 2018 07:45:27 +0000 (15:45 +0800)]
app_update: Add EXCLUDE option

Added two options for PROJECT_NAME and PROJECT_VER variables to exclude them from the firmware image.

Closes: https://github.com/espressif/esp-idf/issues/2803
5 years agobuild: Fix a warning from git describe
Konstantin Kondrashov [Thu, 13 Dec 2018 05:48:34 +0000 (13:48 +0800)]
build: Fix a warning from git describe

Fixed a fatal message when run `git describe`.

5 years agoMerge branch 'bugfix/clear_intr_status_when_init_hwtimer' into 'master'
Wang Jia Lin [Tue, 18 Dec 2018 07:21:23 +0000 (15:21 +0800)]
Merge branch 'bugfix/clear_intr_status_when_init_hwtimer' into 'master'

bugfix(timer_group):  fixed bug that init hw_timer caused cresh after system soft reset

See merge request idf/esp-idf!3945

5 years agoMerge branch 'bugfix/fix_aws_iot_example_root_ca' into 'master'
Angus Gratton [Tue, 18 Dec 2018 06:47:44 +0000 (14:47 +0800)]
Merge branch 'bugfix/fix_aws_iot_example_root_ca' into 'master'

examples: update default root-ca for aws_iot demos

See merge request idf/esp-idf!3929

5 years agoexamples: update default root-ca for aws_iot demos
Mahavir Jain [Sun, 9 Dec 2018 14:44:41 +0000 (20:14 +0530)]
examples: update default root-ca for aws_iot demos

5 years agoMerge branch 'doc/network' into 'master'
Angus Gratton [Tue, 18 Dec 2018 05:15:05 +0000 (13:15 +0800)]
Merge branch 'doc/network' into 'master'

docs: Rearrange wifi & ethernet docs under "Networking", add tcpip_adapter docs

See merge request idf/esp-idf!3890

5 years agodriver(timer_group): fixed bug that init hw_timer caused cresh after system soft...
kooho [Thu, 6 Dec 2018 11:27:52 +0000 (19:27 +0800)]
driver(timer_group): fixed bug that init hw_timer caused cresh after system soft reset

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

5 years agodoc zh_CN: Remove redundant --branch feature/cmake
Angus Gratton [Tue, 18 Dec 2018 04:51:37 +0000 (15:51 +1100)]
doc zh_CN: Remove redundant --branch feature/cmake

Forgot to remove when updating the English version.

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

5 years agoMerge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled' into ...
Jiang Jiang Jian [Tue, 18 Dec 2018 03:44:38 +0000 (11:44 +0800)]
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled' into 'master'

Component/bt: fix receive adv pkt when enable duplicate scan

See merge request idf/esp-idf!3783

5 years agoMerge branch 'bugfix/tw27963_fix_wifi_stop_bug' into 'master'
Jiang Jiang Jian [Tue, 18 Dec 2018 03:40:28 +0000 (11:40 +0800)]
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug' into 'master'

esp32: fix WiFi stop bug in WiFi/BT coexist mode

See merge request idf/esp-idf!3979

5 years agoMerge branch 'bugfix/btdm_prevent_light_sleep' into 'master'
Jiang Jiang Jian [Tue, 18 Dec 2018 03:34:50 +0000 (11:34 +0800)]
Merge branch 'bugfix/btdm_prevent_light_sleep' into 'master'

bugfix/btdm_prevent_light_sleep

See merge request idf/esp-idf!3980

5 years agounit tests: Fix retrying with a new baud rate in IDFDUT.start_app()
Angus Gratton [Thu, 6 Dec 2018 04:44:27 +0000 (15:44 +1100)]
unit tests: Fix retrying with a new baud rate in IDFDUT.start_app()

5 years agounit tests: Keep serial port open when running esptool
Angus Gratton [Wed, 5 Dec 2018 00:13:33 +0000 (11:13 +1100)]
unit tests: Keep serial port open when running esptool

* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members

5 years agounit_test.py: Allow importing tiny-test-fw from IDF_PATH as well as TEST_FW_PATH
Angus Gratton [Wed, 5 Dec 2018 00:13:46 +0000 (11:13 +1100)]
unit_test.py: Allow importing tiny-test-fw from IDF_PATH as well as TEST_FW_PATH