]>
granicus.if.org Git - esp-idf/log
Hanh Tran [Fri, 8 Mar 2019 00:18:08 +0000 (09:18 +0900)]
Fix comment typos in WiFi types header
Merges https://github.com/espressif/esp-idf/pull/3145
Conrad Meyer [Tue, 12 Mar 2019 16:40:18 +0000 (09:40 -0700)]
check-lxdialog.sh: Support libintl on FreeBSD
To unbreak "make menuconfig."
Merges https://github.com/espressif/esp-idf/pull/3168
Sarena Meas [Tue, 19 Feb 2019 20:39:12 +0000 (12:39 -0800)]
Add another auto-generated file to .gitignore.
* Update tools/kconfig/.gitignore for auto-generated file *.o.
Merges https://github.com/espressif/esp-idf/pull/3073
Akbar Hashim [Wed, 30 Jan 2019 04:25:51 +0000 (09:55 +0530)]
updated buffer size too small for popular carrier in India Airtel -> airtelgprs.com
Merges https://github.com/espressif/esp-idf/pull/3010
fivdi [Sun, 27 Jan 2019 17:01:18 +0000 (18:01 +0100)]
Fix comments in ULP MOVE instruction examples
Merges https://github.com/espressif/esp-idf/pull/2992
Ivan Grokhotkov [Thu, 21 Mar 2019 06:51:12 +0000 (14:51 +0800)]
Merge branch 'feature/ci_use_custom_toolchain' into 'master'
ci: Add an ability to use custom toolchain for testing
See merge request idf/esp-idf!4561
Angus Gratton [Thu, 21 Mar 2019 05:40:40 +0000 (13:40 +0800)]
Merge branch 'feature/merge_flash_data_type-flash_partitions' into 'master'
merge esp_flash_data_types into esp_flash_partitions
See merge request idf/esp-idf!4504
Ivan Grokhotkov [Thu, 21 Mar 2019 05:34:58 +0000 (13:34 +0800)]
Merge branch 'bugfix/cmake_soc_test' into 'master'
soc: fix compiling unit tests with CMake
Closes IDF-499
See merge request idf/esp-idf!4545
Anton Maklakov [Wed, 20 Mar 2019 05:48:44 +0000 (12:48 +0700)]
ci: Add an ability to use custom toolchain for testing
Angus Gratton [Thu, 21 Mar 2019 01:47:38 +0000 (09:47 +0800)]
Merge branch 'bugfix/heap_caps_int_overflows' into 'master'
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
See merge request idf/esp-idf!4451
Angus Gratton [Thu, 21 Mar 2019 01:26:12 +0000 (09:26 +0800)]
Merge branch 'doc/ota_readme_cert_cn' into 'master'
ota example: Mention the certificate needs CN set correctly
See merge request idf/esp-idf!4441
Krzysztof Budzynski [Wed, 20 Mar 2019 18:14:36 +0000 (02:14 +0800)]
Merge branch 'bugfix/sphinx_build_failure_on_rtd' into 'master'
docs: Upgraded sphinx package version to prevent build failures on readthedocs…
See merge request idf/esp-idf!4552
Jiang Jiang Jian [Wed, 20 Mar 2019 14:05:00 +0000 (22:05 +0800)]
Merge branch 'feature/btdm_add_api_to_clean_gattc_cache' into 'master'
Component/bt: add api to clean gattc cache
See merge request idf/esp-idf!3951
Jiang Jiang Jian [Wed, 20 Mar 2019 13:36:23 +0000 (21:36 +0800)]
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable' into 'master'
Component/bt: fix no adv report when scanning with sleep enable
See merge request idf/esp-idf!4535
Jiang Jiang Jian [Wed, 20 Mar 2019 13:09:59 +0000 (21:09 +0800)]
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log' into 'master'
Component/bt: fix build warning when bluedroid disable log
See merge request idf/esp-idf!4524
Jiang Jiang Jian [Wed, 20 Mar 2019 06:57:05 +0000 (14:57 +0800)]
Merge branch 'bugfix/mesh_memory_leak' into 'master'
mesh: fix memory leak and group send
See merge request idf/esp-idf!4438
Angus Gratton [Wed, 20 Mar 2019 06:19:17 +0000 (14:19 +0800)]
Merge branch 'feature/optimized_gpio_intr_service' into 'master'
driver: Add optimization by speed in ISR functions for gpio, rmt, pcnt
Closes IDF-328
See merge request idf/esp-idf!4241
Jiang Jiang Jian [Wed, 20 Mar 2019 03:46:15 +0000 (11:46 +0800)]
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash' into 'master'
Component/bt: fix blufi prepare write crash
See merge request idf/esp-idf!4447
Anton Maklakov [Wed, 20 Mar 2019 03:08:20 +0000 (11:08 +0800)]
Merge branch 'bugfix/newlib_misc_cleanups' into 'master'
newlib: minor cleanup
See merge request idf/esp-idf!4550
Ivan Grokhotkov [Wed, 20 Mar 2019 01:59:17 +0000 (09:59 +0800)]
Merge branch 'feature/separate_eventloop_from_esp32' into 'master'
separate legacy esp_event from esp32 component to esp_event
See merge request idf/esp-idf!4539
Angus Gratton [Tue, 19 Mar 2019 23:28:09 +0000 (07:28 +0800)]
Merge branch 'bugfix/error_in_bootloader_loadprohibited' into 'master'
esp_tool: Exclude elf-sha256 from bootloader
Closes IDFGH-690
See merge request idf/esp-idf!4520
krzychb [Tue, 19 Mar 2019 15:47:39 +0000 (16:47 +0100)]
docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build.
Ivan Grokhotkov [Tue, 19 Mar 2019 11:58:42 +0000 (19:58 +0800)]
lwip, wpa_supplicant: use endianness macros from libc if possible
Ivan Grokhotkov [Tue, 19 Mar 2019 11:57:20 +0000 (19:57 +0800)]
newlib: remove usage of pre-ANSI defines
Ivan Grokhotkov [Fri, 8 Mar 2019 07:16:26 +0000 (15:16 +0800)]
newlib: enable timeradd, timersub, and similar macros
This uses a hack (temporarily defining __rtems__ from a wrapper header
file) to include timeradd, timersub, and similar macros, without
modifying newlib headers.
Ivan Grokhotkov [Fri, 8 Mar 2019 07:26:04 +0000 (15:26 +0800)]
Revert "feat(time): enable the macro timeradd, timersub, timerclear, etc."
This reverts commit
8f994b9dce3fb563370cc0ed4958b907016ccb57 .
Ivan Grokhotkov [Tue, 19 Mar 2019 09:27:59 +0000 (17:27 +0800)]
Merge branch 'power_management/i2s+i2c' into 'master'
Power management/i2s+i2c
See merge request idf/esp-idf!4338
Ivan Grokhotkov [Tue, 19 Mar 2019 09:24:30 +0000 (17:24 +0800)]
Merge branch 'bugfix/fix_minor_make_build_system_issue' into 'master'
make: use `shell` command to extract version string
See merge request idf/esp-idf!4526
Ivan Grokhotkov [Tue, 19 Mar 2019 09:23:55 +0000 (17:23 +0800)]
Merge branch 'test/detect_exception_in_idf_dut' into 'master'
tiny-test-fw: support detect exception in IDFDUT
See merge request idf/esp-idf!4527
Konstantin Kondrashov [Tue, 19 Mar 2019 05:29:07 +0000 (13:29 +0800)]
esptool: Only insert SHA256 if overwriting zero data
Konstantin Kondrashov [Fri, 15 Mar 2019 12:02:16 +0000 (20:02 +0800)]
esp_tool: Exclude elf-sha256 from bootloader
Closes: IDFGH-690
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.
He Yin Ling [Mon, 18 Mar 2019 14:19:30 +0000 (22:19 +0800)]
test: handle exception by unit test script:
unit test script will detect exception, we don't need to let test fail
when exception happened.
He Yin Ling [Mon, 18 Mar 2019 04:16:24 +0000 (12:16 +0800)]
tiny-test-fw: support translate backtrace in IDFDUT
He Yin Ling [Sat, 16 Mar 2019 12:07:52 +0000 (20:07 +0800)]
tiny-test-fw: support detect exception in IDFDUT
Ivan Grokhotkov [Tue, 19 Mar 2019 02:59:21 +0000 (10:59 +0800)]
Merge branch 'bugfix/i2c_driver_release_opt' into 'master'
driver/i2c: write i2c command structure to hardware in one operation
See merge request idf/esp-idf!4538
morris [Mon, 18 Mar 2019 11:58:04 +0000 (19:58 +0800)]
separate legacy esp_event from esp32 component to esp_event
Ivan Grokhotkov [Mon, 18 Mar 2019 10:20:34 +0000 (18:20 +0800)]
driver/i2c: write i2c command structure to hardware in one operation
GCC compiler can generate 8-bit stores when modifying bitfields of
volatile structs (https://github.com/espressif/esp-idf/issues/597).
In the specific case of I2C driver, this resulted in byte_num field
to be written using s8i. However the peripheral requires 32-bit
writes, and ignores 8-bit writes. This change modifies the code to
compose the 32-bit command register value first, and then write the
complete value to the hardware.
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
morris [Thu, 14 Mar 2019 14:03:04 +0000 (22:03 +0800)]
merge esp_flash_data_types into esp_flash_partitions
zhiweijian [Mon, 18 Mar 2019 08:35:50 +0000 (16:35 +0800)]
Component/bt: fix no adv report when scaning with sleep enable
Sachin Parekh [Fri, 22 Feb 2019 14:18:59 +0000 (19:48 +0530)]
PM: I2S and I2C added in the Power Management docs
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
Sachin Parekh [Fri, 22 Feb 2019 12:17:42 +0000 (17:47 +0530)]
I2S: Enable Power Management locks
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
Sachin Parekh [Fri, 22 Feb 2019 12:14:03 +0000 (17:44 +0530)]
I2C: Enable Power Management locks
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
chenyudong [Mon, 18 Mar 2019 06:43:21 +0000 (14:43 +0800)]
mesh: fix memory leak and group send
fix a bug in group send
fix esp_mesh_set_router when router_t not initialized
fix mesh memory leak with invalid option
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
zhiweijian [Fri, 15 Mar 2019 12:59:55 +0000 (20:59 +0800)]
Component/bt: fix build warning when bluedroid disable log
Ivan Grokhotkov [Fri, 15 Mar 2019 12:16:37 +0000 (20:16 +0800)]
espcoredump: fix test with esp32-2018r1 toolchain
Ivan Grokhotkov [Mon, 11 Mar 2019 04:13:01 +0000 (12:13 +0800)]
espcoredump: fix test compilation error with GCC 8
Angus Gratton [Sun, 10 Mar 2019 23:49:51 +0000 (10:49 +1100)]
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
Mahavir Jain [Sun, 17 Mar 2019 13:33:22 +0000 (21:33 +0800)]
make: use `shell` command to extract version string
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
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
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
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
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
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
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
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
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
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
Angus Gratton [Fri, 15 Mar 2019 01:17:14 +0000 (12:17 +1100)]
confserver: Send an error response if JSON request is malformatted
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
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
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
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.
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
Jitin George [Thu, 14 Mar 2019 05:50:02 +0000 (11:20 +0530)]
esp_http_client: Fix header sent event bug
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
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
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
Tian Hao [Tue, 12 Mar 2019 03:21:47 +0000 (11:21 +0800)]
fix the bug assert(8192 0) in rwble.c 234
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
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
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
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
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
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
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
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).
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
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.
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.
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
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
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
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…
Konstantin Kondrashov [Thu, 7 Feb 2019 13:20:39 +0000 (21:20 +0800)]
rmt/driver: Sped the rmt_driver_isr_default ISR
Used __builtin_ctz function to sped ISR.
Konstantin Kondrashov [Thu, 7 Feb 2019 13:18:19 +0000 (21:18 +0800)]
pcnt/driver: Sped the pcnt_intr_service ISR
Used __builtin_ctz function to sped ISR.
Pieter du Preez [Fri, 21 Dec 2018 14:07:51 +0000 (14:07 +0000)]
gpio/driver: Sped the gpio_intr_service ISR up by 1.5 uSeconds (+-50% faster).
Removed as much branching (if statements) from the
gpio_intr_service ISR, as possible and split the while loop into
two. Also forced writing the two status*_w1tc variables only once,
instead of every time after calling the external function hooks.
The measurements below, was done using the following tools:
Toolchain version:
crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Here follows a comparison of the gpio_intr_service ISR's
execution time, using a DS1054 oscilloscope. All the time spent
calling external functions, via the function pointers
gpio_isr_func[gpio_num].fn, were disregarded.
With OPTIMIZATION_FLAGS = -Og, 1.34 uSeconds faster:
3.22 uSec (with this patch)
4.56 uSec (with commit
71c90ac4 )
100 - (100 * 4.56 / 3.22) = 42% faster
With OPTIMIZATION_FLAGS = -Os, 1.65 uSeconds faster:
2.89 uSec (with this patch)
4.54 uSec (with commit
71c90ac4 )
100 - (100 * 4.54 / 2.89) = 57% faster
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2861
KonstantinKondrashov [Wed, 13 Mar 2019 12:43:33 +0000 (20:43 +0800)]
tools/test_build_system: Add tests with long IDF_VER
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
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.
Ivan Grokhotkov [Wed, 13 Mar 2019 12:17:25 +0000 (20:17 +0800)]
console/linenoise: support buffered stdout
Konstantin Kondrashov [Wed, 13 Mar 2019 12:04:43 +0000 (20:04 +0800)]
cmake: 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
zhiweijian [Mon, 25 Feb 2019 06:48:46 +0000 (14:48 +0800)]
Component/bt: fix blufi prepare write crash
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
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
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