]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agosoc: fix compiling unit tests with CMake
Ivan Grokhotkov [Tue, 19 Mar 2019 03:42:51 +0000 (11:42 +0800)]
soc: fix compiling unit tests with CMake

soc unit tests have not been included when compiling with CMake,
because ../${SOC_NAME}/test was not evaluated relative to the
CMakeLists.txt directory.

Also call register_components() regardless of the presence of test
directory for particular target.

5 years agoMerge branch 'bugfix/coredump_fixes' into 'master'
Ivan Grokhotkov [Mon, 18 Mar 2019 10:23:25 +0000 (18:23 +0800)]
Merge branch 'bugfix/coredump_fixes' into 'master'

espcoredump fixes for GCC 8.2

See merge request idf/esp-idf!4528

5 years agoMerge branch 'bugfix/fix_the_bug_cal_PMK_too_long' into 'master'
Jiang Jiang Jian [Mon, 18 Mar 2019 06:26:48 +0000 (14:26 +0800)]
Merge branch 'bugfix/fix_the_bug_cal_PMK_too_long' into 'master'

wifi: fix the bug that calculate PMK too long

Closes IDFGH-524

See merge request idf/esp-idf!4349

5 years agoespcoredump: fix test with esp32-2018r1 toolchain
Ivan Grokhotkov [Fri, 15 Mar 2019 12:16:37 +0000 (20:16 +0800)]
espcoredump: fix test with esp32-2018r1 toolchain

5 years agoespcoredump: fix test compilation error with GCC 8
Ivan Grokhotkov [Mon, 11 Mar 2019 04:13:01 +0000 (12:13 +0800)]
espcoredump: fix test compilation error with GCC 8

5 years agoMerge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
Jiang Jiang Jian [Sun, 17 Mar 2019 06:19:11 +0000 (14:19 +0800)]
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'

Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes

See merge request idf/esp-idf!2208

5 years agoMerge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'
Jiang Jiang Jian [Sun, 17 Mar 2019 06:12:58 +0000 (14:12 +0800)]
Merge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'

dhcpserver: suppress send_nak debug output

Closes IDFGH-557

See merge request idf/esp-idf!4491

5 years agoMerge branch 'bugfix/esp_prov_ble_rw_except' into 'master'
Angus Gratton [Fri, 15 Mar 2019 13:10:53 +0000 (21:10 +0800)]
Merge branch 'bugfix/esp_prov_ble_rw_except' into 'master'

esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic

See merge request idf/esp-idf!4503

5 years agowifi: fix the bug that when call set_config before connecting to an encrypted AP...
zhangyanjiao [Fri, 15 Mar 2019 08:28:41 +0000 (16:28 +0800)]
wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated

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

5 years agoMerge branch 'bugfix/bb_watchdog_reset' into 'master'
Jiang Jiang Jian [Fri, 15 Mar 2019 08:12:30 +0000 (16:12 +0800)]
Merge branch 'bugfix/bb_watchdog_reset' into 'master'

esp32: add WiFi baseband watchdog reset

See merge request idf/esp-idf!4409

5 years agoMerge branch 'feature/confserver_v2' into 'master'
Angus Gratton [Fri, 15 Mar 2019 06:49:05 +0000 (14:49 +0800)]
Merge branch 'feature/confserver_v2' into 'master'

confserver: Add v2 confserver protocol with separate visibility info

See merge request idf/esp-idf!4162

5 years agoMerge branch 'bugfix/esp_sha_signing_sha256' into 'master'
Angus Gratton [Fri, 15 Mar 2019 06:35:38 +0000 (14:35 +0800)]
Merge branch 'bugfix/esp_sha_signing_sha256' into 'master'

secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API

Closes IDFGH-681

See merge request idf/esp-idf!4440

5 years agoMerge branch 'bugfix/make_gcc_version_evaluation' into 'master'
Angus Gratton [Fri, 15 Mar 2019 06:30:48 +0000 (14:30 +0800)]
Merge branch 'bugfix/make_gcc_version_evaluation' into 'master'

make: Ensure that component_project_vars.mk not generated before config

See merge request idf/esp-idf!4474

5 years agoMerge branch 'bugfix/esp-http-client-event-fixes' into 'master'
Ivan Grokhotkov [Fri, 15 Mar 2019 03:45:40 +0000 (11:45 +0800)]
Merge branch 'bugfix/esp-http-client-event-fixes' into 'master'

Minor bugfixes in esp_http_client and tcp_transport

See merge request idf/esp-idf!4467

5 years agoMerge branch 'bugfix/name_conflict_esp32_project_ld' into 'master'
Ivan Grokhotkov [Fri, 15 Mar 2019 03:42:20 +0000 (11:42 +0800)]
Merge branch 'bugfix/name_conflict_esp32_project_ld' into 'master'

esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading

See merge request idf/esp-idf!4484

5 years agoconfserver: Send an error response if JSON request is malformatted
Angus Gratton [Fri, 15 Mar 2019 01:17:14 +0000 (12:17 +1100)]
confserver: Send an error response if JSON request is malformatted

5 years agoconfserver: In protocol V2, a "load" should only send back changes not all items
Angus Gratton [Thu, 14 Mar 2019 06:47:08 +0000 (17:47 +1100)]
confserver: In protocol V2, a "load" should only send back changes not all items

5 years agoconfserver: Add support for new V2 protocol
Angus Gratton [Fri, 25 Jan 2019 04:16:51 +0000 (12:16 +0800)]
confserver: Add support for new V2 protocol

V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json

Still backwards compatible with V1, with some small changes (menu items now listed in results).

Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings

5 years agoMerge branch 'bugfix/idf_py_windows_relpath' into 'master'
Angus Gratton [Fri, 15 Mar 2019 01:36:25 +0000 (09:36 +0800)]
Merge branch 'bugfix/idf_py_windows_relpath' into 'master'

idf.py: Fix Windows issue if project and IDF are on different drives

Closes IDFGH-478

See merge request idf/esp-idf!4404

5 years agoesp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
Anurag Kar [Thu, 14 Mar 2019 11:58:26 +0000 (17:28 +0530)]
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic

This is useful in the context of provisioning when server initiates disconnection if secure session establishment fails.

5 years agoMerge branch 'bugfix/ble_assert_8192' into 'master'
Jiang Jiang Jian [Thu, 14 Mar 2019 12:24:33 +0000 (20:24 +0800)]
Merge branch 'bugfix/ble_assert_8192' into 'master'

fix the bug assert(8192 0) in rwble.c 234

See merge request idf/esp-idf!4461

5 years agoesp_http_client: Fix header sent event bug
Jitin George [Thu, 14 Mar 2019 05:50:02 +0000 (11:20 +0530)]
esp_http_client: Fix header sent event bug

5 years agotcp_transport: Fix case sensitive header comparison
Jitin George [Tue, 12 Mar 2019 13:16:04 +0000 (18:46 +0530)]
tcp_transport: Fix case sensitive header comparison

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

5 years agoMerge branch 'bugfix/console_allow_buffered' into 'master'
Ivan Grokhotkov [Thu, 14 Mar 2019 07:40:42 +0000 (15:40 +0800)]
Merge branch 'bugfix/console_allow_buffered' into 'master'

console example: use buffered stdout by default

See merge request idf/esp-idf!4476

5 years agoMerge branch 'feature/trim_idf_ver_to_fit_32bit_field' into 'master'
Ivan Grokhotkov [Thu, 14 Mar 2019 07:39:20 +0000 (15:39 +0800)]
Merge branch 'feature/trim_idf_ver_to_fit_32bit_field' into 'master'

tools/test_build_system: Trim IDF_VER to fit a 32-bit field

Closes IDFGH-682

See merge request idf/esp-idf!4477

5 years agofix the bug assert(8192 0) in rwble.c 234
Tian Hao [Tue, 12 Mar 2019 03:21:47 +0000 (11:21 +0800)]
fix the bug assert(8192 0) in rwble.c 234

5 years agoMerge branch 'bugfix/spi_flash_mmap_stale_data_issue' into 'master'
Angus Gratton [Thu, 14 Mar 2019 06:56:12 +0000 (14:56 +0800)]
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue' into 'master'

spi_flash: fix stale read issue for memory mapped partition

See merge request idf/esp-idf!4437

5 years agodhcpserver: suppress send_nak debug output
zhangyanjiao [Thu, 14 Mar 2019 03:47:21 +0000 (11:47 +0800)]
dhcpserver: suppress send_nak debug output

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

5 years agoesp32: Chunk input blocks for esp_sha() function performance, add perf test
Angus Gratton [Mon, 11 Mar 2019 07:24:32 +0000 (18:24 +1100)]
esp32: Chunk input blocks for esp_sha() function performance, add perf test

5 years agosecure boot: Use mbedtls_sha256() not esp_sha()
Angus Gratton [Fri, 8 Mar 2019 05:16:55 +0000 (16:16 +1100)]
secure boot: Use mbedtls_sha256() not esp_sha()

Latter is probably compiled into most firmwares already, saves some size.

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

5 years agoesp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
Angus Gratton [Fri, 8 Mar 2019 05:14:15 +0000 (16:14 +1100)]
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period

* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681

Also reported at https://esp32.com/viewtopic.php?f=13&t=9506

5 years agoMerge branch 'feature/github_sync_prs_jira' into 'master'
Angus Gratton [Thu, 14 Mar 2019 05:53:10 +0000 (13:53 +0800)]
Merge branch 'feature/github_sync_prs_jira' into 'master'

github: Sync PRs to JIRA as well

See merge request idf/esp-idf!4487

5 years agoMerge branch 'ci/print_error_label_check' into 'master'
Angus Gratton [Thu, 14 Mar 2019 03:37:20 +0000 (11:37 +0800)]
Merge branch 'ci/print_error_label_check' into 'master'

ci: Print an error in the log if the label check fails

See merge request idf/esp-idf!4485

5 years agogithub: Sync PRs to JIRA as well
Angus Gratton [Thu, 14 Mar 2019 02:05:50 +0000 (13:05 +1100)]
github: Sync PRs to JIRA as well

Currently the GitHub sync half-syncs these (as it will create a JIRA issue as soon as the first
comment is made on the PR).

5 years agoMerge branch 'bugfix/mdns_add_remove_multiple_srv_master' into 'master'
Angus Gratton [Thu, 14 Mar 2019 00:10:23 +0000 (08:10 +0800)]
Merge branch 'bugfix/mdns_add_remove_multiple_srv_master' into 'master'

mdns: fix possible crash if tx packet contained answer to removed service

Closes IDF-498 and IDF-504

See merge request idf/esp-idf!4348

5 years agomake: Ensure that component_project_vars.mk not generated before config
Angus Gratton [Wed, 13 Mar 2019 11:03:41 +0000 (22:03 +1100)]
make: Ensure that component_project_vars.mk not generated before config

* Fix the situation where component_project_vars.mk is generated before config exists
* Does not fix situation where config is changed and component_project_vars.mk contents should be
  changed. This may still require a rebuild.

5 years agoci: Print an error in the log if the label check fails
Angus Gratton [Wed, 13 Mar 2019 23:15:49 +0000 (10:15 +1100)]
ci: Print an error in the log if the label check fails

One less step for a developer to figure out why this failed.

5 years agoMerge branch 'bugfix/remove_malloc_ble_prov' into 'master'
Angus Gratton [Wed, 13 Mar 2019 23:08:50 +0000 (07:08 +0800)]
Merge branch 'bugfix/remove_malloc_ble_prov' into 'master'

Protocomm BLE: Make changes in handling BLE read/write requests

See merge request idf/esp-idf!4444

5 years agoesp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
Angus Gratton [Wed, 13 Mar 2019 22:59:31 +0000 (09:59 +1100)]
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading

Linker script generator produces build/esp32/esp32.common.ld from
components/esp32/ld/esp32.common.ld.in

This works fine until IDF is downgraded to V3.1 which uses components/esp32/ld/esp32.common.ld and
doesn't track build/esp32/esp32.common.ld at all.

At this point, the linker runs in the build/esp32 directory and "-T esp32.common.ld" picks up the
linker script generated .ld file, which causes mis-builds.

As reported on forums: https://esp32.com/viewtopic.php?f=13&t=9684&p=40105

5 years agoMerge branch 'doc/review_get_started' into 'master'
Krzysztof Budzynski [Wed, 13 Mar 2019 16:10:26 +0000 (00:10 +0800)]
Merge branch 'doc/review_get_started' into 'master'

Update IDF getting started sections for make and cmake as well as IDF monitor…

See merge request idf/esp-idf!4331

5 years agoUpdate IDF getting started sections for make and cmake as well as IDF monitor…
Kirill Chalov [Wed, 13 Mar 2019 16:10:26 +0000 (00:10 +0800)]
Update IDF getting started sections for make and cmake as well as IDF monitor…

5 years agotools/test_build_system: Add tests with long IDF_VER
KonstantinKondrashov [Wed, 13 Mar 2019 12:43:33 +0000 (20:43 +0800)]
tools/test_build_system: Add tests with long IDF_VER

5 years agoMerge branch 'test/fix_some_ut_not_assigned' into 'master'
Ivan Grokhotkov [Wed, 13 Mar 2019 12:42:24 +0000 (20:42 +0800)]
Merge branch 'test/fix_some_ut_not_assigned' into 'master'

test: fix some ut case not assigned

See merge request idf/esp-idf!4449

5 years agoexamples: don't enable buffering on stdout in console examples
Ivan Grokhotkov [Wed, 13 Mar 2019 12:19:55 +0000 (20:19 +0800)]
examples: don't enable buffering on stdout in console examples

newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.

5 years agoconsole/linenoise: support buffered stdout
Ivan Grokhotkov [Wed, 13 Mar 2019 12:17:25 +0000 (20:17 +0800)]
console/linenoise: support buffered stdout

5 years agocmake: Trim IDF_VER to fit a 32-bit field
Konstantin Kondrashov [Wed, 13 Mar 2019 12:04:43 +0000 (20:04 +0800)]
cmake: Trim IDF_VER to fit a 32-bit field

5 years agomake: Trim IDF_VER to fit a 32-bit field
Konstantin Kondrashov [Wed, 13 Mar 2019 12:01:28 +0000 (20:01 +0800)]
make: Trim IDF_VER to fit a 32-bit field

Closes: https://github.com/espressif/esp-idf/issues/3131
5 years agomdns: fix possible crash when probing on particular interface with duplicated service...
David Cermak [Mon, 11 Mar 2019 10:49:29 +0000 (11:49 +0100)]
mdns: fix possible crash when probing on particular interface with duplicated service instances due to naming conflicts on network

Issue: MDNS server initially sends probing packets to resolve naming confilicts with already registered service instances. In case of a conflict, instance name is altered and probing restarts. Original instance however wasnnot removed from the structure and upon service removal only one entry was removed and a dangling service might have been kept in the structure to bring about a crash.
Resolution: Keep only one instance of a service in the probing structure.

Closes IDF-498

5 years agomdns: enable pcbs before starting service thread to avoid updating pcb's internal...
David Cermak [Mon, 4 Mar 2019 11:32:10 +0000 (12:32 +0100)]
mdns: enable pcbs before starting service thread to avoid updating pcb's internal variables from concurent tasks

possible race condition: user task runs mdns_init, which enables pcbs while mdns-task already created could execute enable/disable of the same pcbs if an appropriate system event received

5 years agomdns: fix possible deadlock on mdns deinit calling mdns_free()
David Cermak [Mon, 4 Mar 2019 10:13:52 +0000 (11:13 +0100)]
mdns: fix possible deadlock on mdns deinit calling mdns_free()

mnds_free() initiates stop and delete timer tasks, which after locking the mutex could lead to a dead lock in case timer task executed before deleting the task, as it would wait indefinitelly for unlocking the mutex. This condition is fixed by calling _mdns_stop_timer without locking the mutex, because there's no need to protect any data when stopping and deleting the timer task

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

5 years agomdsn: fix race condition in updating packet data from user task when failed to alloca...
David Cermak [Fri, 1 Mar 2019 15:59:38 +0000 (16:59 +0100)]
mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service

Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.

5 years agomdns: fix possible crash when packet scheduled to transmit contained service which...
David Cermak [Mon, 25 Feb 2019 13:29:39 +0000 (14:29 +0100)]
mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed

packets scheduled to transmit are pushed to action queue and removed from tx_queue_head structure, which is searched for all remaining services and while service is removed, then service questions/asnwers are also removed from this structure. This update fixes possible crash when packet is pushed to action queue, and when service is removed, its answers are removed from tx_queue_head, but not from action queue. this could lead to a crash when the packet is poped from action queue containing questions/answers to already removed (freed) service

Closes IDF-504

5 years agoMerge branch 'feature/btdm_add_adv_report_flow_control' into 'master'
Jiang Jiang Jian [Wed, 13 Mar 2019 08:58:07 +0000 (16:58 +0800)]
Merge branch 'feature/btdm_add_adv_report_flow_control' into 'master'

Component/bt: add BLE adv report flow control

See merge request idf/esp-idf!4423

5 years agoMerge branch 'feat/spi_master_variable_dummy' into 'master'
Ivan Grokhotkov [Wed, 13 Mar 2019 07:15:58 +0000 (15:15 +0800)]
Merge branch 'feat/spi_master_variable_dummy' into 'master'

spi_master: add support for variable dummy length in a same device

See merge request idf/esp-idf!4360

5 years agoMerge branch 'test/spi_sio_test' into 'master'
Ivan Grokhotkov [Wed, 13 Mar 2019 07:15:43 +0000 (15:15 +0800)]
Merge branch 'test/spi_sio_test' into 'master'

spi: add test for sio mode

See merge request idf/esp-idf!3416

5 years agoMerge branch 'bugfix/confgen_expr_value' into 'master'
Angus Gratton [Wed, 13 Mar 2019 05:54:17 +0000 (13:54 +0800)]
Merge branch 'bugfix/confgen_expr_value' into 'master'

confgen: Fix bug with JSON metadata conditional range generation

See merge request idf/esp-idf!4402

5 years agoModify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as disco...
Hrishikesh Dhayagude [Mon, 9 Apr 2018 10:30:48 +0000 (16:00 +0530)]
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes

The current API is insufficient to allow the users to set different combinations of connection and discoverable mode

Users should be able to choose the device modes independently:
1. Connectable-
  i. Non-connectable mode
  ii. Connectable mode

2. Discoverable-
  i. Non-discoverable mode
  ii. Limited discoverable mode
  iii. General discoverable mode

5 years agospi_flash: add test case for stale read issue on memory mapped partition
Mahavir Jain [Fri, 8 Mar 2019 05:37:10 +0000 (11:07 +0530)]
spi_flash: add test case for stale read issue on memory mapped partition

5 years agospi_flash: fix stale read issue for memory mapped partition
Mahavir Jain [Fri, 8 Mar 2019 05:30:49 +0000 (11:00 +0530)]
spi_flash: fix stale read issue for memory mapped partition

On flash program operation (either erase or write), if corresponding address has
cache mapping present then cache is explicitly flushed (for both pro and app cpu)

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

5 years agoMerge branch 'bugfix/ssid_passwords_null_terminated' into 'master'
Angus Gratton [Wed, 13 Mar 2019 05:29:09 +0000 (13:29 +0800)]
Merge branch 'bugfix/ssid_passwords_null_terminated' into 'master'

wifi: Specify that SSID & Password fields should be NULL terminated strings

See merge request idf/esp-idf!4468

5 years agoMerge branch 'feature/freertos_check_mutex_owner' into 'master'
Angus Gratton [Wed, 13 Mar 2019 05:15:34 +0000 (13:15 +0800)]
Merge branch 'feature/freertos_check_mutex_owner' into 'master'

freertos: check that mutex is released by owner task

See merge request idf/esp-idf!4012

5 years agoMerge branch 'bugfix/spi_flash_exclude_encrypted' into 'master'
Angus Gratton [Wed, 13 Mar 2019 05:15:24 +0000 (13:15 +0800)]
Merge branch 'bugfix/spi_flash_exclude_encrypted' into 'master'

esp_partition: disable encrypted reads/writes if flash encryption is disabled

See merge request idf/esp-idf!4099

5 years agoMerge branch 'bugfix/macros_trailing_semicolon' into 'master' v4.0-dev
Angus Gratton [Wed, 13 Mar 2019 05:15:12 +0000 (13:15 +0800)]
Merge branch 'bugfix/macros_trailing_semicolon' into 'master'

Remove trialing semicolon from function-like macros

See merge request idf/esp-idf!4397

5 years agoMerge branch 'bugfix/mdns_incorrect_semaphore_use' into 'master'
Angus Gratton [Wed, 13 Mar 2019 05:11:45 +0000 (13:11 +0800)]
Merge branch 'bugfix/mdns_incorrect_semaphore_use' into 'master'

mdns: use binary semaphore instead of mutex when searching

See merge request idf/esp-idf!4464

5 years agoMerge branch 'bugfix/modify_dhcpserver_and_tcpip_adapter' into 'master'
Angus Gratton [Wed, 13 Mar 2019 04:54:55 +0000 (12:54 +0800)]
Merge branch 'bugfix/modify_dhcpserver_and_tcpip_adapter' into 'master'

modify the behavior for dhcpserver and tcpip_adapter

Closes IDFGH-557 and IDFGH-563

See merge request idf/esp-idf!4453

5 years agoesp32: add WiFi baseband watchdog reset
Liu Zhi Fu [Wed, 6 Mar 2019 11:02:55 +0000 (19:02 +0800)]
esp32: add WiFi baseband watchdog reset

When WiFi enter into a special status (11b weak mode), then reset
Wifi baseband to recover to normal mode.

5 years agowifi: Specify that SSID & Password fields should be NULL terminated strings
Angus Gratton [Wed, 13 Mar 2019 00:43:22 +0000 (11:43 +1100)]
wifi: Specify that SSID & Password fields should be NULL terminated strings

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

5 years agoMerge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts' into 'master'
Angus Gratton [Tue, 12 Mar 2019 23:47:27 +0000 (07:47 +0800)]
Merge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts' into 'master'

Fix issues with CMake builds when python scripts are associated with an editor

See merge request idf/esp-idf!4459

5 years agoMerge branch 'bugfix/blink-increase-task-size' into 'master'
Angus Gratton [Tue, 12 Mar 2019 23:44:48 +0000 (07:44 +0800)]
Merge branch 'bugfix/blink-increase-task-size' into 'master'

examples: Increase task size for blink demo

See merge request idf/esp-idf!4342

5 years agoci: test full build never runs '/usr/bin/env python' or similar
Renz Christian Bagaporo [Tue, 12 Mar 2019 05:28:06 +0000 (13:28 +0800)]
ci: test full build never runs '/usr/bin/env python' or similar

5 years agomdns: use binary semaphore instead of mutex when searching
Ivan Grokhotkov [Mon, 4 Mar 2019 08:59:09 +0000 (16:59 +0800)]
mdns: use binary semaphore instead of mutex when searching

mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.

5 years agocmake: Fix for Python files executed directly, not via PYTHON variable
Renz Christian Bagaporo [Tue, 12 Mar 2019 05:31:44 +0000 (13:31 +0800)]
cmake: Fix for Python files executed directly, not via PYTHON variable

A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).

Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936

Adds build system test to catch any future direct execution of Python in
the standard build process.

5 years agoComponent/bt: add BLE adv report flow control
zhiweijian [Fri, 1 Mar 2019 13:59:55 +0000 (21:59 +0800)]
Component/bt: add BLE adv report flow control

5 years agoMerge branch 'feature/sync_issues_to_jira' into 'master'
Angus Gratton [Mon, 11 Mar 2019 22:31:48 +0000 (06:31 +0800)]
Merge branch 'feature/sync_issues_to_jira' into 'master'

github: Add workflow file to sync issues to JIRA

See merge request idf/esp-idf!4443

5 years agoMerge branch 'bugfix/freemodbus_remove_critical_section' into 'master'
Angus Gratton [Mon, 11 Mar 2019 22:30:50 +0000 (06:30 +0800)]
Merge branch 'bugfix/freemodbus_remove_critical_section' into 'master'

freemodbus: Fix remove critical_sections

See merge request idf/esp-idf!4289

5 years agoci: add one more unit test job
Ivan Grokhotkov [Mon, 4 Mar 2019 10:51:46 +0000 (18:51 +0800)]
ci: add one more unit test job

5 years agomdns: use binary semaphore instead of mutex when searching
Ivan Grokhotkov [Mon, 4 Mar 2019 08:59:09 +0000 (16:59 +0800)]
mdns: use binary semaphore instead of mutex when searching

mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.

5 years agoesp32: use binary semaphore instead of mutex in dport tests
Ivan Grokhotkov [Thu, 24 Jan 2019 03:08:32 +0000 (11:08 +0800)]
esp32: use binary semaphore instead of mutex in dport tests

5 years agofreertos: check that mutex is released by owner task
Ivan Grokhotkov [Fri, 21 Dec 2018 04:49:33 +0000 (12:49 +0800)]
freertos: check that mutex is released by owner task

Mutex type semaphores should be acquired and released by the same task.
Add a check to xQueueGenericSend for this condition.

5 years agoProtocomm BLE: Make changes in handling BLE read/write requests
Hrishikesh Dhayagude [Fri, 8 Mar 2019 06:48:40 +0000 (12:18 +0530)]
Protocomm BLE: Make changes in handling BLE read/write requests

1. Remove unwanted malloc during BLE send response
2. Populate the missing parameters in the response - handle, offset, auth_req

5 years agoMerge branch 'bugfix/coredump_improvements_refactoring_delete_include' into 'master'
Ivan Grokhotkov [Mon, 11 Mar 2019 11:00:39 +0000 (19:00 +0800)]
Merge branch 'bugfix/coredump_improvements_refactoring_delete_include' into 'master'

esp32: coredump refactoring fix bug (remove duplicated include)

See merge request idf/esp-idf!4328

5 years agotest: fix some ut case not assigned:
He Yin Ling [Sun, 10 Mar 2019 06:15:43 +0000 (14:15 +0800)]
test: fix some ut case not assigned:

we didn't remove UT case file correctly for cmake build. even we use
artifact from make jobs, cmake case file will be used to assign test.

5 years agoMerge branch 'doc/jtag_debug_zh_CN' into 'master'
Angus Gratton [Mon, 11 Mar 2019 08:35:04 +0000 (16:35 +0800)]
Merge branch 'doc/jtag_debug_zh_CN' into 'master'

zh_CN translation of JTAG debugging

See merge request idf/esp-idf!3709

5 years agoMerge branch 'bugfix/efuse_virtual_mode' into 'master'
Angus Gratton [Mon, 11 Mar 2019 08:33:32 +0000 (16:33 +0800)]
Merge branch 'bugfix/efuse_virtual_mode' into 'master'

efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code

Closes WIFI-338

See merge request idf/esp-idf!4454

5 years agoMerge branch 'bugfix/doc_ubuntu_packages' into 'master'
Angus Gratton [Mon, 11 Mar 2019 07:53:57 +0000 (15:53 +0800)]
Merge branch 'bugfix/doc_ubuntu_packages' into 'master'

docs: Update package dependencies

Closes IDFGH-360

See merge request idf/esp-idf!4406

5 years agoidf.py: Fix Windows issue if project and IDF are on different drives
Angus Gratton [Fri, 1 Mar 2019 05:12:03 +0000 (16:12 +1100)]
idf.py: Fix Windows issue if project and IDF are on different drives

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

5 years agoMerge branch 'bugfix/msys_cancel_idfpy' into 'master'
Angus Gratton [Mon, 11 Mar 2019 04:27:36 +0000 (12:27 +0800)]
Merge branch 'bugfix/msys_cancel_idfpy' into 'master'

tools: re-run idf.py in MSYS with winpty

Closes #67

See merge request idf/esp-idf!4341

5 years agoefuse: When Virtual eFuses are enabled, seed the virtual values as part of startup...
Angus Gratton [Mon, 11 Mar 2019 04:15:16 +0000 (15:15 +1100)]
efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code

5 years agomodify the behavior for dhcpserver and tcpip_adapter:
zhangyanjiao [Mon, 11 Mar 2019 03:03:48 +0000 (11:03 +0800)]
modify the behavior for dhcpserver and tcpip_adapter:
1. dhcp_server: suppress send_offer debug output
2. tcpip_adapter: zero-initialize system_event_t structures
3. tcpip_adapter: pass client IP address along with SYSTEM_EVENT_AP_STAIPASSIGNED

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

5 years agoMerge branch 'test/fix_unit_test_job_pass_even_no_test_executed' into 'master'
He Yin Ling [Mon, 11 Mar 2019 02:19:15 +0000 (10:19 +0800)]
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed' into 'master'

test: fix CI UT job pass even ut app bootup fail

See merge request idf/esp-idf!4208

5 years agotest: temp disable spi master slave mode test
He Yin Ling [Wed, 27 Feb 2019 06:32:24 +0000 (14:32 +0800)]
test: temp disable spi master slave mode test

5 years agounit-test-app: increase factory partition size
He Yin Ling [Thu, 31 Jan 2019 07:12:31 +0000 (15:12 +0800)]
unit-test-app: increase factory partition size

5 years agotest: fix CI UT job pass even ut app bootup fail
He Yin Ling [Thu, 31 Jan 2019 02:12:17 +0000 (10:12 +0800)]
test: fix CI UT job pass even ut app bootup fail

5 years agoMerge branch 'bugfix/autoip_memoey_leak_debug' into 'master'
Jiang Jiang Jian [Fri, 8 Mar 2019 11:54:25 +0000 (19:54 +0800)]
Merge branch 'bugfix/autoip_memoey_leak_debug' into 'master'

fix the bug in auto Ip memory leak

See merge request idf/esp-idf!4395

5 years agoesp32: coredump header (fix linker.lf)
aleks [Thu, 21 Feb 2019 08:10:21 +0000 (09:10 +0100)]
esp32: coredump header (fix linker.lf)

remove duplicated include from components/esp32/incliude/esp_core_dump.h
espcoredump/incliude/esp_core_dump.h:
fix signature of the functions esp_core_dump_to_uart() and esp_core_dump_to_uart();
add espcoredump into COMPONENT_PRIV_REQUIRES list
fix linker.lf file

5 years agogithub: Add workflow file to sync issues to JIRA
Angus Gratton [Fri, 8 Mar 2019 07:39:00 +0000 (18:39 +1100)]
github: Add workflow file to sync issues to JIRA

5 years agoMerge branch 'bugfix/console_join_example' into 'master'
Angus Gratton [Fri, 8 Mar 2019 04:02:57 +0000 (12:02 +0800)]
Merge branch 'bugfix/console_join_example' into 'master'

console: fix wrong timeout settiing in join command

Closes IDF-168

See merge request idf/esp-idf!4366

5 years agoMerge branch 'bugfix/httpd_sess_ctx' into 'master'
Angus Gratton [Thu, 7 Mar 2019 22:55:44 +0000 (06:55 +0800)]
Merge branch 'bugfix/httpd_sess_ctx' into 'master'

esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes

See merge request idf/esp-idf!4417

5 years agotools: re-run idf.py in MSYS with winpty
Roland Dobai [Fri, 22 Feb 2019 15:07:26 +0000 (16:07 +0100)]
tools: re-run idf.py in MSYS with winpty

This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).

5 years agodocs: Update package dependencies
Roland Dobai [Fri, 1 Mar 2019 09:50:16 +0000 (10:50 +0100)]
docs: Update package dependencies

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