Ivan Grokhotkov
3161854efb
Merge branch 'bugfix/spi_hd_rx' into 'master'
...
fix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI and MISO phases.
See merge request !1111
2017-08-28 17:36:58 +08:00
Ivan Grokhotkov
82763a02af
Merge branch 'feature/ets_timer' into 'master'
...
esp_timer: add high-resolution timer api
See merge request !1090
2017-08-28 16:38:11 +08:00
Jeroen Domburg
a589411a3c
Place uart_tx_wait_idle in IRAM
2017-08-28 11:35:27 +08:00
Ivan Grokhotkov
d8b66e5088
soc: release interrupts which are not reserved by timers any more
2017-08-28 11:35:27 +08:00
Ivan Grokhotkov
42e9d49bb1
newlib: implement gettimeofday using of esp_timer
2017-08-28 11:35:27 +08:00
Ivan Grokhotkov
857a29872d
esp_timer: add high resolution software timer API
2017-08-28 11:35:26 +08:00
Ivan Grokhotkov
a4fe12cb6d
Merge branch 'bugfix/sdmmc_test' into 'master'
...
sdmmc: don't use high speed mode with SD over SPI
See merge request !1149
2017-08-28 11:32:20 +08:00
Jeroen Domburg
ce03879300
Merge branch 'bugfix/uart_wait_idle_iram' into 'master'
...
Place uart_tx_wait_idle in IRAM
See merge request !1157
2017-08-28 10:55:58 +08:00
Ivan Grokhotkov
b636f81619
Merge branch 'bugfix/spi_command' into 'master'
...
fix(spi_master): fix the command field to make it more intuitive to use.
See merge request !1119
2017-08-28 10:29:56 +08:00
michael
0cb14f1648
fix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI and MISO phases.
2017-08-26 02:15:30 +08:00
Jeroen Domburg
3e4627479b
Place uart_tx_wait_idle in IRAM
2017-08-25 17:46:28 +08:00
Jiang Jiang Jian
4654278b1b
Merge branch 'bugfix/btdm_controller_hci_fc' into 'master'
...
component/bt: bugfix for hci acl flow control
See merge request !1151
2017-08-25 16:16:47 +08:00
Ivan Grokhotkov
631f552489
sdmmc: don't use high speed mode with SD over SPI
...
Disabling due to limitation of SPI driver (max 26MHz for full-duplex
mode over GPIO matrix)
2017-08-25 14:33:19 +08:00
wangmengyang
d532f33bdb
component/bt: bugfix for hci acl flow control
...
1. trigger hci data transmission upon reception of hci_host_nb_of_cmpl_pkts when hci acl flow control is in effect
2017-08-24 20:59:32 +08:00
Wu Jian Gang
791daea835
Merge branch 'bugfix/xtal_freq_40' into 'master'
...
esp32: by default, set 40MHz crystal frequency
See merge request !1140
2017-08-24 20:40:22 +08:00
Ivan Grokhotkov
a66df0826e
soc: fix/update definitions related to FRC timers
...
1. BIT(8) of CTRL is actually read-only bit indicating interrupt status
2. BIT(0) or CTRL had inverted meaning: 1 is “level”, 0 is “edge”
3. Add definitions of prescaler values
2017-08-24 16:33:12 +08:00
Ivan Grokhotkov
0420c4ec82
Merge branch 'feature/multipart_nvs_support' into 'master'
...
Multiple partition support in NVS
See merge request !1129
2017-08-24 14:42:14 +08:00
Ivan Grokhotkov
b9cdbfea87
Merge branch 'test/UT_SDMMC' into 'master'
...
Enable SDMMC driver test cases
See merge request !1106
2017-08-24 14:41:39 +08:00
Ivan Grokhotkov
922c584de6
Merge branch 'feature/libsodium_use_mbedtls' into 'master'
...
libsodium: Use mbedTLS implementations for SHA256 & SHA512
See merge request !1121
2017-08-24 14:40:52 +08:00
Ivan Grokhotkov
87a0ec77b5
Merge branch 'bugfix/mbedtls_config_mismatch' into 'master'
...
mbedtls: Add a shim header to account for including "mbedtls/config.h" directly in program
See merge request !1125
2017-08-24 14:40:39 +08:00
Ivan Grokhotkov
d02e850785
Merge branch 'bugfix/nghttp2_v124' into 'master'
...
nghttp: Restore nghttp2 v1.24
See merge request !1132
2017-08-24 14:40:24 +08:00
Ivan Grokhotkov
e0e1c07bd1
Merge branch 'bugfix/console_cmd_register' into 'master'
...
console: initialize buf_size before calling open_memstream
See merge request !1138
2017-08-24 14:35:29 +08:00
Ivan Grokhotkov
0ead095512
Merge branch 'bugfix/dport_stall_in_esp32_component' into 'master'
...
Also do dport stalling in esp32 component
See merge request !1141
2017-08-24 14:35:16 +08:00
Ivan Grokhotkov
327f0b6225
Merge branch 'bugfix/menuconfig_phy' into 'master'
...
component/esp32 : move Phy out of Wifi section
See merge request !1145
2017-08-24 14:34:56 +08:00
Jiang Jiang Jian
72a6b26244
Merge branch 'bugfix/tw14823_lwip_assert_err' into 'master'
...
assert when close a connecting socket
See merge request !1136
2017-08-24 11:29:32 +08:00
Jiang Jiang Jian
d42208ffe8
Merge branch 'bugfix/ampdu_default_wifi_settings' into 'master'
...
wifi: Fix compilation error in WIFI_INIT_CONFIG_DEFAULT() if AMPDU disabled
See merge request !1139
2017-08-24 11:02:54 +08:00
Jiang Jiang Jian
258480822b
Merge branch 'bugfix/btdm_config_local_privacy_func' into 'master'
...
component/bt: bugfix config local privacy
See merge request !1137
2017-08-24 10:48:57 +08:00
Jiang Jiang Jian
8b4229fcd6
Merge branch 'bugfix/btdm_fix_set_rand_addr_func' into 'master'
...
component/bt: fixbug_set_rand_addr()
See merge request !1123
2017-08-24 10:48:20 +08:00
Wang Jia Lin
f1ecffb46c
Merge branch 'bugfix/touch_pad_driver' into 'master'
...
driver(touch): fix bug and add more features
See merge request !1056
2017-08-23 19:12:39 +08:00
Ivan Grokhotkov
de10032717
Merge branch 'feature/btdm_remove_gki' into 'master'
...
component/bt : remove all GKI reference
See merge request !1122
2017-08-23 18:01:54 +08:00
Tian Hao
08221589fc
component/esp32 : move Phy outof Wifi section
...
1. move Phy out of Wifi section
2. lowercase the Ethernet and Phy from 2nd letter.
2017-08-23 17:51:31 +08:00
zhiweijian
19bf8cef1f
Component/bt: bugifx config local privacy
2017-08-23 17:42:38 +08:00
Jeroen Domburg
123966deea
Also do dport stalling in esp32 component
2017-08-23 16:43:57 +08:00
Ivan Grokhotkov
9a8c0392f5
esp32: by default, set 40MHz crystal frequency
2017-08-23 16:33:26 +08:00
Tian Hao
e4f63819a1
component/bt : remove all GKI reference
...
1. remove GKI(not use osi_free_and_reset)
2. modify mutex/semaphore to individual directory
3. set osi_malloc as malloc(previously use calloc)
4. change osi allocator debug osi_free
5. fix rebase of remove GKI
2017-08-23 15:29:30 +08:00
Angus Gratton
83a3241341
wifi: Fix compilation error in WIFI_INIT_CONFIG_DEFAULT() if AMPDU disabled
2017-08-23 09:33:47 +10:00
Ivan Grokhotkov
0ed64da963
console: initialize buf_size before calling open_memstream
...
POSIX open_memstream documentation [1] does not mention that it may use
the value supplied in buf_size before the call.
newlib implementation of open_memstream does use it as a hint of the
buffer size [2]. To avoid using potential garbage in this variable,
newlib caps the size to 64kB (!).
If the allocation of this initial buffer fails, NULL file pointer is
returned. Previous code did not check returned file pointer and crashed
when it was used.
Initialize size to zero (in which case newlib allocates a 64 byte
buffer), and check the returned file pointer.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/open_memstream.html
[2] https://github.com/espressif/newlib-esp32/blob/23c0f21/newlib/libc/stdio/open_memstream.c#L26-L29
https://github.com/espressif/newlib-esp32/blob/23c0f21/newlib/libc/stdio/open_memstream.c#L324-L336
2017-08-23 01:10:30 +08:00
Ivan Grokhotkov
2861f3e88e
Merge branch 'bugfix/spi_dma_align' into 'master'
...
fix(spi_dma): fix the receive error with RX DMA start with non-aligned address.
See merge request !1112
2017-08-22 23:39:53 +08:00
Wangjialin
842caaab21
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
2017-08-22 21:21:39 +08:00
houchenyao
cf64c7e9a6
unit test: add sd env and spi env for sdmmc
2017-08-22 21:01:34 +08:00
zhangyanjiao
61f64e38d9
assert when close a connecting socket
2017-08-22 20:36:35 +08:00
Ivan Grokhotkov
4f4808445f
Merge branch 'feature/sdmmc_highspeed_mode' into 'master'
...
SDMMC: add support for high-speed mode
See merge request !1108
2017-08-22 19:31:10 +08:00
Ivan Grokhotkov
0532d37373
Merge branch 'feature/esptool-v2.1' into 'master'
...
esptool: Update to v2.1 final release
See merge request !1131
2017-08-22 19:30:48 +08:00
Amey Inamdar
a2dcf7faa8
nvs: Support for handling multiple NVS partitions
...
This commit adds support for multiple NVS partitions. This provides application a flexibility to have multiple NVS
partitions such as separate partition with read-only manufacturing data and read-write partition with configuration.
Application can also use this to separate out application's configuration storage from system configuration.
This feature does not change any of the basic property of NVS subsystem. The same-named namespaces across partitions are
considered to be different namespaces. The original NVS API available for the applications remains unchanged. The only
difference is that instead of first NVS partition in the partition table, it now operates on the partition with label
"nvs" (which is default in the IDF provided partition table files). Additional APIs are provided to open a handle and
erase NVS with partition name as a parameter.
A test case is added in the host tests and it is made sure that all the host tests pass. nvs_rw_value app is also tested
with multiple partitions.
Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
2017-08-22 13:48:14 +05:30
Amey Inamdar
3e4e4dd07a
nvs_flash: Reduced visibility of handle counter
...
Monotonically increasing handle counter need not be visible outside the HandleEntry class.
Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
2017-08-22 12:58:56 +05:30
Ivan Grokhotkov
08e787dc4d
mbedtls: remove duplicate Kconfig options
2017-08-22 15:12:35 +08:00
Ivan Grokhotkov
fb43948413
Update several Kconfig files to make help texts compatible with ReST
2017-08-22 14:34:19 +08:00
zhiweijian
974cff4773
Component/bt: fixbug_set_rand_addr()
...
- The two most significant bits of the address shall be equal to 1
- All bits of the random part of the address shall not be equal to 1
- All bits of the random part of the address shall not be equal to 0
2017-08-22 14:25:10 +08:00
Jiang Jiang Jian
9b18625d29
Merge branch 'bugfix/memory_leak_when_run_wpa2' into 'master'
...
wpa2: fix memory leak when run wpa2
See merge request !1126
2017-08-22 14:18:17 +08:00
Jiang Jiang Jian
9f24f06a65
Merge branch 'bugfix/btdm_security_section_remove_bug' into 'master'
...
component/bt: Change the remove section error && SMP_INCLUDE marco
See merge request !1133
2017-08-22 14:13:29 +08:00