]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agodriver(touch): fix bug and add more features
Wangjialin [Tue, 18 Jul 2017 11:57:28 +0000 (19:57 +0800)]
driver(touch): fix bug and add more features

1. add sens_struct.h
2. add definition of RTCCNTL and RTCIO
3. modify touch pad examples
4. update example code.
5. add comments add option in menuconfig
6. fix issue that pad index 8 and 9 are mismatched
7. add touch_pad_read_filtered() api to get value filtered by iir filter
8. modify touch pad isr func
9. Make the items in perihperal.ld in the sequence of address
10. delete Kconfig for touch pad
11. add touchpad filter APIs to adjust the filter
12. add touch_pad into index.rst
13. add touch_pad in Doxyfile
14. add touch_pad.rst

7 years agoMerge branch 'feature/TW14048_optimize_tcp_perf_example' into 'master'
Ivan Grokhotkov [Thu, 10 Aug 2017 13:43:18 +0000 (21:43 +0800)]
Merge branch 'feature/TW14048_optimize_tcp_perf_example' into 'master'

feature/TW14048_optimize_tcp_perf_example

See merge request !1041

7 years agoMerge branch 'feature/docs_setup_sphinx' into 'master'
Ivan Grokhotkov [Thu, 10 Aug 2017 13:39:13 +0000 (21:39 +0800)]
Merge branch 'feature/docs_setup_sphinx' into 'master'

Instructions how to setup tools and  build documentation locally

See merge request !1063

7 years agoexample: optimize the robust of TCP connect
zhangyanjiao [Fri, 21 Jul 2017 03:40:30 +0000 (11:40 +0800)]
example: optimize the robust of TCP connect

7 years agoFixed Breathe release because 'latest' introduces errors
krzychb [Wed, 9 Aug 2017 17:09:59 +0000 (19:09 +0200)]
Fixed Breathe release because 'latest' introduces errors

7 years agoMerge branch 'master' of https://gitlab.espressif.cn:6688/idf/esp-idf into feature...
krzychb [Wed, 9 Aug 2017 16:46:43 +0000 (18:46 +0200)]
Merge branch 'master' of https://gitlab.espressif.cn:6688/idf/esp-idf into feature/docs_setup_sphinx

7 years agoMerge branch 'feature/fast_crypto_used_in_supplicant' into 'master'
Ivan Grokhotkov [Wed, 9 Aug 2017 13:55:05 +0000 (21:55 +0800)]
Merge branch 'feature/fast_crypto_used_in_supplicant' into 'master'

Add the fast crypto function in supplicant, relate to the task tw13712

See merge request !1075

7 years agoAdd the fast crypto function in supplicant
Deng Xin [Tue, 1 Aug 2017 14:29:16 +0000 (22:29 +0800)]
Add the fast crypto function in supplicant
optimize the speed when do wifi connect

7 years agoMerge branch 'feature/docs_build_openocd_windows' into 'master'
Ivan Grokhotkov [Wed, 9 Aug 2017 05:17:35 +0000 (13:17 +0800)]
Merge branch 'feature/docs_build_openocd_windows' into 'master'

Provided instruction to build OpenOCD from sources using MSYS2

See merge request !1062

7 years agoMerge branch 'feature/docs_wrover_kit_description' into 'master'
Ivan Grokhotkov [Wed, 9 Aug 2017 05:17:19 +0000 (13:17 +0800)]
Merge branch 'feature/docs_wrover_kit_description' into 'master'

Updated desription of ESP-WROVER-KIT features in getting started guide, changed …

See merge request !1064

7 years agoMerge branch 'bugfix/wl_test_fail' into 'master'
Ivan Grokhotkov [Tue, 8 Aug 2017 08:32:11 +0000 (16:32 +0800)]
Merge branch 'bugfix/wl_test_fail' into 'master'

unit test fixes

See merge request !1085

7 years agosdmmc: mark new unit test as ignored
Ivan Grokhotkov [Mon, 7 Aug 2017 19:51:54 +0000 (03:51 +0800)]
sdmmc: mark new unit test as ignored

7 years agowear_levelling: temporarily disable 512 byte sectors
Ivan Grokhotkov [Mon, 7 Aug 2017 19:22:42 +0000 (03:22 +0800)]
wear_levelling: temporarily disable 512 byte sectors

Unit tests are failing with the new 512 byte sector option. Disabling
this option to let the tests pass.

7 years agowear_levelling: clean up Kconfig
Ivan Grokhotkov [Mon, 7 Aug 2017 19:20:02 +0000 (03:20 +0800)]
wear_levelling: clean up Kconfig

7 years agoMerge branch 'bugfix/sdmmc_unaligned_write' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 18:55:13 +0000 (02:55 +0800)]
Merge branch 'bugfix/sdmmc_unaligned_write' into 'master'

sdmmc: fix reads/writes to/from unaligned buffers

See merge request !1071

7 years agoMerge branch 'feature/aws_iot_menuconfig' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:22:48 +0000 (17:22 +0800)]
Merge branch 'feature/aws_iot_menuconfig' into 'master'

aws_iot: Expose common SDK compile-time configuration in menuconfig

See merge request !1030

7 years agoMerge branch 'feature/add_gpio_drive_capability' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:21:42 +0000 (17:21 +0800)]
Merge branch 'feature/add_gpio_drive_capability' into 'master'

feature(gpio): add APIs to set and get pad drive capability.

See merge request !1010

7 years agoMerge branch 'bugfix/nghttp_build_port' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:21:15 +0000 (17:21 +0800)]
Merge branch 'bugfix/nghttp_build_port' into 'master'

nghttp: build port directory

See merge request !1057

7 years agoMerge branch 'feature/wl_ext_sector_size' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:20:34 +0000 (17:20 +0800)]
Merge branch 'feature/wl_ext_sector_size' into 'master'

Feature/wl ext sector size

See merge request !1038

7 years agoMerge branch 'bugfix/windows_build' into 'master'
Ivan Grokhotkov [Mon, 7 Aug 2017 09:19:16 +0000 (17:19 +0800)]
Merge branch 'bugfix/windows_build' into 'master'

Disable link time optimisation for bootloader

See merge request !1044

7 years agoMerge branch 'bugfix/tw14130_fix_buf_err' into 'master'
Jiang Jiang Jian [Fri, 4 Aug 2017 07:17:33 +0000 (15:17 +0800)]
Merge branch 'bugfix/tw14130_fix_buf_err' into 'master'

emac:fix rx buf err

See merge request !1073

7 years agochange copy right
shangke [Fri, 4 Aug 2017 06:56:58 +0000 (14:56 +0800)]
change copy right

7 years agoMerge branch 'bugfix/btdm_add_set_local_privacy_callback' into 'master'
Jiang Jiang Jian [Fri, 4 Aug 2017 06:52:02 +0000 (14:52 +0800)]
Merge branch 'bugfix/btdm_add_set_local_privacy_callback' into 'master'

component/bt: add set local privacy func callback

See merge request !1026

7 years agoMerge branch 'bugfix/btdm_fix_esp_ble_gatts_set_attr_value_memory_leak' into 'master'
Jiang Jiang Jian [Fri, 4 Aug 2017 06:40:54 +0000 (14:40 +0800)]
Merge branch 'bugfix/btdm_fix_esp_ble_gatts_set_attr_value_memory_leak' into 'master'

component/bt: fix esp_ble_gatts_set_attr_value() memory leak

See merge request !1068

7 years agobeautify the code
shangke [Fri, 4 Aug 2017 06:24:44 +0000 (14:24 +0800)]
beautify the code

7 years agoadd comments for rx list
shangke [Thu, 3 Aug 2017 06:44:22 +0000 (14:44 +0800)]
add comments for rx list

7 years agoMerge branch 'bugfix/btdm_Wrong_return_code_type_for_esp_ble_gattc_register_for_notif...
Jiang Jiang Jian [Thu, 3 Aug 2017 02:49:47 +0000 (10:49 +0800)]
Merge branch 'bugfix/btdm_Wrong_return_code_type_for_esp_ble_gattc_register_for_notify_and_unregister_for_notify_func' into 'master'

component/bt: fix wrong return code type for notify functions

See merge request !1070

7 years agoMerge branch 'feature/apptrace_api_ext' into 'master'
Ivan Grokhotkov [Wed, 2 Aug 2017 06:34:42 +0000 (14:34 +0800)]
Merge branch 'feature/apptrace_api_ext' into 'master'

esp32: Apptrace API enhancement

See merge request !1021

7 years agoUpdated desription of ESP-WROVER-KIT features in getting started guide, changed link...
krzychb [Mon, 31 Jul 2017 05:06:25 +0000 (07:06 +0200)]
Updated desription of ESP-WROVER-KIT features in getting started guide, changed link to JTAG Debugging

7 years agoInstructions how to setup tools and build documentation locally
krzychb [Sat, 29 Jul 2017 13:25:00 +0000 (15:25 +0200)]
Instructions how to setup tools and  build documentation locally

7 years agoProvided instruction to build OpenOCD from sources using MSYS2
krzychb [Sun, 30 Jul 2017 19:40:26 +0000 (21:40 +0200)]
Provided instruction to build OpenOCD from sources using MSYS2

7 years agoMerge branch 'bugfix/btdm_remove_fixqueue' into 'master'
Jiang Jiang Jian [Wed, 2 Aug 2017 03:02:05 +0000 (11:02 +0800)]
Merge branch 'bugfix/btdm_remove_fixqueue' into 'master'

component/bt : remove fixed queue from btu

See merge request !1072

7 years agofix rx buf
shangke [Tue, 1 Aug 2017 03:59:57 +0000 (11:59 +0800)]
fix rx buf

7 years agocomponent/bt : remove fixed queue from btu
Tian Hao [Mon, 23 Jan 2017 08:11:27 +0000 (16:11 +0800)]
component/bt : remove fixed queue from btu

7 years agoMerge branch 'bugfix/btdm_optimize_controller_task' into 'master'
Jiang Jiang Jian [Tue, 1 Aug 2017 03:10:56 +0000 (11:10 +0800)]
Merge branch 'bugfix/btdm_optimize_controller_task' into 'master'

component/bt : fix a bug and optimize controller task handler

See merge request !1066

7 years agosdmmc: fix reads/writes to/from unaligned buffers
Ivan Grokhotkov [Mon, 31 Jul 2017 18:24:25 +0000 (02:24 +0800)]
sdmmc: fix reads/writes to/from unaligned buffers

SDMMC hardware treats all buffers as aligned, and ignores 2 LSBs of
addresses written into DMA descriptors. Previously SDMMC host driver
assumed that data buffers passed from SDDMC command layer would be
aligned. However alignment checks were never implemented in the command
layer, as were the checks that the buffer coming from the application
would be in DMA capable memory. Most of the time this was indeed true.
However in some cases FATFS library can pass buffers offset by 2 bytes
from word boundary. “DMA capable” restriction may be broken if pSRAM
support is used.

This change adds buffer checks to the SDMMC host driver (alignment and
DMA capability), so that the host layer will error out for incompatible
buffers. In SDMMC command layer, a check is added to read and write
functions. If an incompatible buffer is passed from the application, new
buffer (512 bytes size) is allocated, and the transfer is performed
using {READ,WRITE}_SINGLE_BLOCK commands.

7 years agoMerge branch 'bugfix/spi_change_host' into 'master'
Jeroen Domburg [Mon, 31 Jul 2017 10:33:36 +0000 (18:33 +0800)]
Merge branch 'bugfix/spi_change_host' into 'master'

fix(spi_master): fix the bug that VSPI no respond when host changed from HSPI to VSPI, and vice versa.

See merge request !997

7 years agoTypos correction.
Dmitry Yakovlev [Mon, 31 Jul 2017 04:50:20 +0000 (07:50 +0300)]
Typos correction.

7 years agoSome typos corrected in readme.
Dmitry Yakovlev [Mon, 24 Jul 2017 05:47:34 +0000 (08:47 +0300)]
Some typos corrected in readme.

7 years agoAdded component to change standard size of the flash device. Now the sector size...
Dmitry Yakovlev [Thu, 20 Jul 2017 10:09:39 +0000 (13:09 +0300)]
Added component to change standard size of the flash device. Now the sector size could be less. The configuration supports it.

7 years agoComponent/bt: wrong return code type for notify func
zhiweijian [Mon, 31 Jul 2017 09:52:38 +0000 (17:52 +0800)]
Component/bt: wrong return code type for notify func
- fix  esp_ble_gattc_register_for_notify()  returen wrong code type
- fix  esp_ble_gattc_unregister_for_notify()  returen wrong code type

7 years agoComponent/bt: fix esp_ble_gatts_set_attr_value( ) memory leak
zhiweijian [Mon, 31 Jul 2017 09:24:07 +0000 (17:24 +0800)]
Component/bt: fix esp_ble_gatts_set_attr_value( ) memory leak

7 years agocomponent/bt : fix a bug and optimize controller task handler
Tian Hao [Mon, 31 Jul 2017 06:48:39 +0000 (14:48 +0800)]
component/bt : fix a bug and optimize controller task handler

1. fix controller task printf in ISR may cause exception.
2. optimize task handler process.

7 years agoMerge branch 'bugfix/sdspi_docs' into 'master'
Ivan Grokhotkov [Fri, 28 Jul 2017 08:03:45 +0000 (16:03 +0800)]
Merge branch 'bugfix/sdspi_docs' into 'master'

Fix SD SPI docs

See merge request !1058

7 years agoMerge branch 'feature/add_get_and_set_wifi_max_tx_power_api' into 'master'
Jiang Jiang Jian [Fri, 28 Jul 2017 07:47:50 +0000 (15:47 +0800)]
Merge branch 'feature/add_get_and_set_wifi_max_tx_power_api' into 'master'

add get and set wifi maximum transmit power API

See merge request !1053

7 years agoadd get and set wifi maximum transmit power API
XiaXiaotian [Tue, 25 Jul 2017 07:22:18 +0000 (15:22 +0800)]
add get and set wifi maximum transmit power API

7 years agoMerge branch 'bugfix/btdm_osi' into 'master'
Jiang Jiang Jian [Fri, 28 Jul 2017 03:35:04 +0000 (11:35 +0800)]
Merge branch 'bugfix/btdm_osi' into 'master'

component/bt : add osi_is_in_isr && fix vhci delay

See merge request !1054

7 years agoMerge branch 'feature/tw13968_optimize_for_tcp_close' into 'master'
Jiang Jiang Jian [Fri, 28 Jul 2017 03:34:12 +0000 (11:34 +0800)]
Merge branch 'feature/tw13968_optimize_for_tcp_close' into 'master'

lwip: optimize TCP close

See merge request !1022

7 years agoMerge branch 'feature/docs_jtag_debugging' into 'master'
Ivan Grokhotkov [Thu, 27 Jul 2017 14:03:45 +0000 (22:03 +0800)]
Merge branch 'feature/docs_jtag_debugging' into 'master'

Update and extension of Debugging documentation

See merge request !850

7 years agodocs: fix warnings related to SD SPI documentation
Ivan Grokhotkov [Wed, 26 Jul 2017 08:26:13 +0000 (16:26 +0800)]
docs: fix warnings related to SD SPI documentation

7 years agodocs: temporary downgrade Sphinx to 1.5.6 to work around Breathe issue
Ivan Grokhotkov [Wed, 26 Jul 2017 08:26:57 +0000 (16:26 +0800)]
docs: temporary downgrade Sphinx to 1.5.6 to work around Breathe issue

7 years agodocs: add OpenOCD/JTAG instructions for macOS
Ivan Grokhotkov [Wed, 26 Jul 2017 08:09:36 +0000 (16:09 +0800)]
docs: add OpenOCD/JTAG instructions for macOS

7 years agolwip: optimize TCP close
Liu Zhi Fu [Wed, 19 Jul 2017 01:15:11 +0000 (09:15 +0800)]
lwip: optimize TCP close

Optimize TCP close:
1. Not remove TCP pcb when IP address is changed since the lwip netconn still need the pcb
2. If the TCP connection is in TCP_FIN_WAIT_1 for too long time, remove it

7 years agoMerge branch 'feature/add_menuconfig_option_for_ba_window' into 'master'
Jiang Jiang Jian [Thu, 27 Jul 2017 02:46:04 +0000 (10:46 +0800)]
Merge branch 'feature/add_menuconfig_option_for_ba_window' into 'master'

esp32: add menuconfig options to configure BA window

See merge request !915

7 years agoComponent/bt: add set local privacy func callback
zhiweijian [Wed, 19 Jul 2017 06:50:40 +0000 (14:50 +0800)]
Component/bt: add set local privacy func callback

7 years agoMerge branch 'feature/esp-wrover-kit-rvb_note' into 'master'
Jeroen Domburg [Wed, 26 Jul 2017 08:12:58 +0000 (16:12 +0800)]
Merge branch 'feature/esp-wrover-kit-rvb_note' into 'master'

Add a note what is different about ESP-WROVER-KIT RVB

See merge request !1008

7 years agoUpdated links to binary distributions of OpenOCD
krzychb [Tue, 25 Jul 2017 19:07:20 +0000 (21:07 +0200)]
Updated links to binary distributions of OpenOCD

7 years agodocs: Flashing over JTAG was added
Alexey Gerenkov [Sat, 15 Jul 2017 14:59:11 +0000 (17:59 +0300)]
docs: Flashing over JTAG was added

7 years agoJTAG Debugging - revamping of Debugging documentation
krzychb [Sun, 11 Jun 2017 19:12:30 +0000 (21:12 +0200)]
JTAG Debugging - revamping of Debugging documentation

7 years agonghttp: build port directory
Ivan Grokhotkov [Wed, 26 Jul 2017 06:21:07 +0000 (14:21 +0800)]
nghttp: build port directory

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

7 years agoMerge branch 'feature/sdspi_driver' into 'master'
Ivan Grokhotkov [Wed, 26 Jul 2017 05:51:37 +0000 (13:51 +0800)]
Merge branch 'feature/sdspi_driver' into 'master'

SD SPI mode driver

This MR adds functionality to support SD cards connected via SPI interface.
Additionally, two bugs are fixed:
- Definition of `SPI_TRANS_MODE_DIOQIO_ADDR` in spi_master driver
- SD card probing frequency was 4000kHz instead of 400kHz as required by the standard

See merge request !727

7 years agoMerge branch 'feature/make_tcp_udp_receive_mbox_configurable' into 'master'
Jiang Jiang Jian [Tue, 25 Jul 2017 12:45:38 +0000 (20:45 +0800)]
Merge branch 'feature/make_tcp_udp_receive_mbox_configurable' into 'master'

lwip: Make UDP/TCP receive mail box configurable

See merge request !1051

7 years agoMerge branch 'bugfix/tw14130_fix_emac_rx_buf_err' into 'master'
Jiang Jiang Jian [Tue, 25 Jul 2017 12:41:22 +0000 (20:41 +0800)]
Merge branch 'bugfix/tw14130_fix_emac_rx_buf_err' into 'master'

lwip/ethernet: fix emac rx buf err

See merge request !1037

7 years agocomponent/bt : add osi_is_in_isr && fix vhci delay
Tian Hao [Tue, 25 Jul 2017 11:58:39 +0000 (19:58 +0800)]
component/bt : add osi_is_in_isr && fix vhci delay

7 years agolwip: Make UDP/TCP receive mail box configurable
Liu Zhi Fu [Tue, 25 Jul 2017 01:13:01 +0000 (09:13 +0800)]
lwip: Make UDP/TCP receive mail box configurable

Different application may require different TCP/UDP receiv mail box size,
so make them configurable.

7 years agoesp32: add menuconfig options to configure BA window
Liu Zhi Fu [Fri, 23 Jun 2017 14:46:10 +0000 (22:46 +0800)]
esp32: add menuconfig options to configure BA window

Make AMPDU Block Ack Window configurable in menuconfig because we need to configure it
in some special cases, such as iperf test etc

7 years agolwip/ethernet: fix emac rx buf err
Liu Zhi Fu [Thu, 20 Jul 2017 10:09:06 +0000 (18:09 +0800)]
lwip/ethernet: fix emac rx buf err

1. Lwip not free the ethernet buf in lwip layer
2. Fix emac counter error

7 years agoUpdated acc to comments
Alexey Gerenkov [Mon, 24 Jul 2017 17:07:21 +0000 (20:07 +0300)]
Updated acc to comments

7 years agoesp32: Apptrace API enhancement
Alexey Gerenkov [Mon, 24 Jul 2017 16:57:44 +0000 (19:57 +0300)]
esp32: Apptrace API enhancement

 - User down buffer configuration support
 - bugfix: ring buf - avalable write size undeflow
 - SysView down buf support updated

7 years agoMerge branch 'bugfix/uart_tx_glitch' into 'master'
Ivan Grokhotkov [Mon, 24 Jul 2017 11:43:25 +0000 (19:43 +0800)]
Merge branch 'bugfix/uart_tx_glitch' into 'master'

bugfix(uart): fix signal glitch on tx pin

See merge request !1032

7 years agoMerge branch 'feature/tw12244_add_more_comments_for_wifi_api' into 'master'
Jiang Jiang Jian [Mon, 24 Jul 2017 06:11:24 +0000 (14:11 +0800)]
Merge branch 'feature/tw12244_add_more_comments_for_wifi_api' into 'master'

docs: add wifi.rst

See merge request !880

7 years agoMerge branch 'bugfix/btdm_blufi_aes_cfb128' into 'master'
Jiang Jiang Jian [Mon, 24 Jul 2017 06:08:11 +0000 (14:08 +0800)]
Merge branch 'bugfix/btdm_blufi_aes_cfb128' into 'master'

component/bt : comment out set_key_dec for res cfb128(software crypt)

See merge request !971

7 years agoMerge branch 'bugfix/btdm_rx_losing' into 'master'
Jiang Jiang Jian [Mon, 24 Jul 2017 06:05:36 +0000 (14:05 +0800)]
Merge branch 'bugfix/btdm_rx_losing' into 'master'

Bugfix/btdm rx losing

See merge request !1034

7 years agodocs: add wifi.rst
Liu Zhi Fu [Wed, 3 May 2017 11:21:08 +0000 (19:21 +0800)]
docs: add wifi.rst

Add more documents about WiFi API/Event Mechanism/State Machine etc

7 years agoRevert "bootloader: Add option to build with Link Time Optimisation enabled"
Ivan Grokhotkov [Sun, 23 Jul 2017 21:14:31 +0000 (05:14 +0800)]
Revert "bootloader: Add option to build with Link Time Optimisation enabled"

This reverts commit d1b66a08c1d9838b139e9fef6cc2d38e5d5ee57d.

7 years agofix(spi_master): fix the bug that VSPI no respond when host changed
michael [Thu, 13 Jul 2017 09:40:57 +0000 (17:40 +0800)]
fix(spi_master): fix the bug that VSPI no respond when host changed
 from HSPI to VSPI, and vice versa.

fix the SPI control bits written wrong in the headers.

TW#12123, Github#477

7 years agoMerge branch 'bugfix/ci_examples_list_order' into 'master'
Anton Maklakov [Thu, 20 Jul 2017 10:32:56 +0000 (18:32 +0800)]
Merge branch 'bugfix/ci_examples_list_order' into 'master'

Make the list of examples permanent between jobs
because the results of the 'find' command are not sorted by name.

Fix the identified problem on master

See merge request !1036

7 years agoexamples: add missing nvs_flash.h include
Ivan Grokhotkov [Thu, 20 Jul 2017 08:40:03 +0000 (16:40 +0800)]
examples: add missing nvs_flash.h include

7 years agoCI: Make the list of examples permanent between jobs
Anton Maklakov [Thu, 20 Jul 2017 08:46:30 +0000 (16:46 +0800)]
CI: Make the list of examples permanent between jobs

Because the results of the 'find' command are not sorted by name.

7 years agocomponent/bt : fix RX packets losing bug
Tian Hao [Thu, 20 Jul 2017 07:53:01 +0000 (15:53 +0800)]
component/bt : fix RX packets losing bug

7 years agoMerge branch 'feature/btdm_ble_tx_power_new' into 'master'
Jiang Jiang Jian [Thu, 20 Jul 2017 07:16:13 +0000 (15:16 +0800)]
Merge branch 'feature/btdm_ble_tx_power_new' into 'master'

component/bt : add ble tx power && fix controller deinit mem leak

See merge request !1018

7 years agobugfix(uart): fix signal glitch on tx pin
Wangjialin [Thu, 20 Jul 2017 06:34:11 +0000 (14:34 +0800)]
bugfix(uart): fix signal glitch on tx pin

gpio_matrix_out function will set output enable for GPIO, seems in gpio_matrix_out there will be a short moment that the chip will output GPIO level.
So we can set GPIO as high before gpio_matrix_out function.

7 years agoMerge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
Ivan Grokhotkov [Thu, 20 Jul 2017 06:25:49 +0000 (14:25 +0800)]
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'

bt: call nvs_flash_init in examples, show error if NVS is not initialized

See merge request !1003

7 years agodriver: SD protocol driver for SPI peripheral
Dmitry Yakovlev [Tue, 4 Jul 2017 05:58:36 +0000 (13:58 +0800)]
driver: SD protocol driver for SPI peripheral

7 years agosdmmc: add support for SPI protocol commands
Ivan Grokhotkov [Tue, 4 Jul 2017 04:52:40 +0000 (12:52 +0800)]
sdmmc: add support for SPI protocol commands

7 years agosdmmc: fix probing clock frequency
Ivan Grokhotkov [Tue, 4 Jul 2017 04:50:22 +0000 (12:50 +0800)]
sdmmc: fix probing clock frequency

Probing clock frequency should be 400kHz, not 4MHz.

7 years agospi_master: fix duplicate bit mask for SPI_TRANS_MODE_DIOQIO_ADDR
Ivan Grokhotkov [Tue, 4 Jul 2017 04:49:20 +0000 (12:49 +0800)]
spi_master: fix duplicate bit mask for SPI_TRANS_MODE_DIOQIO_ADDR

7 years agoaws_iot: Expose common SDK compile-time configuration in menuconfig
Angus Gratton [Thu, 20 Jul 2017 05:28:29 +0000 (15:28 +1000)]
aws_iot: Expose common SDK compile-time configuration in menuconfig

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

7 years agoMerge branch 'bugfix/example_adc_pin' into 'master'
Ivan Grokhotkov [Thu, 20 Jul 2017 04:15:43 +0000 (12:15 +0800)]
Merge branch 'bugfix/example_adc_pin' into 'master'

Changed adc GPIO pin 32, that is not jumped to header in ESP-WROVER-KIT,
to 34

See merge request !1020

7 years agoMerge branch 'bugfix/exception_lomem_heap_init' into 'master'
Ivan Grokhotkov [Thu, 20 Jul 2017 04:13:12 +0000 (12:13 +0800)]
Merge branch 'bugfix/exception_lomem_heap_init' into 'master'

heap_caps: Allow for possibility a region is too small to register a heap

See merge request !1024

7 years agoMerge branch 'bugfix/project_makefile_recompile' into 'master'
Angus Gratton [Thu, 20 Jul 2017 02:10:00 +0000 (10:10 +0800)]
Merge branch 'bugfix/project_makefile_recompile' into 'master'

build system: Updating project Makefile should trigger a full rebuild

See merge request !990

7 years agoMerge branch 'feature/boot_time_optimisation' into 'master'
Angus Gratton [Thu, 20 Jul 2017 02:00:19 +0000 (10:00 +0800)]
Merge branch 'feature/boot_time_optimisation' into 'master'

Optimise boot times, calculate SHA-256 hash of image during boot

See merge request !939

7 years agobootloader: Remove unnecessary KEEP on data/bss sections, save static RAM
Angus Gratton [Mon, 17 Jul 2017 04:37:06 +0000 (14:37 +1000)]
bootloader: Remove unnecessary KEEP on data/bss sections, save static RAM

7 years agobootloader: Add option to build with Link Time Optimisation enabled
Angus Gratton [Fri, 30 Jun 2017 07:14:50 +0000 (17:14 +1000)]
bootloader: Add option to build with Link Time Optimisation enabled

7 years agobootloader: Calculate SHA256 hash of image on every boot
Angus Gratton [Wed, 28 Jun 2017 06:46:34 +0000 (16:46 +1000)]
bootloader: Calculate SHA256 hash of image on every boot

Makes app image booting more reliable (256-bit rather than 8-bit verification.)

Some measurements, time to boot a 655KB app.bin file and run to app_main() execution.

(All for rev 1 silicon, ie no 340ms spurious WDT delay.)

80MHz QIO mode:
before = 300ms
after = 140ms

40MHz DIO mode:
before = 712ms
after = 577ms

40MHz DIO mode, secure boot enabled
before = 1380ms
after = 934ms

(Secure boot involves two ECC signature verifications (partition table, app) that take approx 300ms each with 80MHz CPU.)

7 years agoesp_image_format: ESP32 additional header does not contain an encrypt flag
Angus Gratton [Tue, 27 Jun 2017 07:25:44 +0000 (17:25 +1000)]
esp_image_format: ESP32 additional header does not contain an encrypt flag

7 years agobootloader: Calculate SHA-256 of image while loading/verifying
Angus Gratton [Tue, 27 Jun 2017 07:25:30 +0000 (17:25 +1000)]
bootloader: Calculate SHA-256 of image while loading/verifying

7 years agobootloader: Obfuscate loaded memory until verification is complete
Angus Gratton [Wed, 21 Jun 2017 07:39:15 +0000 (17:39 +1000)]
bootloader: Obfuscate loaded memory until verification is complete

7 years agobootloader: Combine loading from flash & verifying to save boot time
Angus Gratton [Fri, 16 Jun 2017 06:30:21 +0000 (16:30 +1000)]
bootloader: Combine loading from flash & verifying to save boot time

Still needs updating to account for secure boot.

7 years agoMerge branch 'feature/esptool_image_padding' into 'master'
Angus Gratton [Wed, 19 Jul 2017 07:52:22 +0000 (15:52 +0800)]
Merge branch 'feature/esptool_image_padding' into 'master'

esptool: Optimise app image size by using RAM-loaded data for padding

See merge request !1017