Ivan Grokhotkov
a25eb825e1
Merge branch 'bugfix/dport_protect_crypto' into 'master'
...
add protection for crypto registers in DPORT
See merge request !928
2017-08-30 11:45:35 +08:00
Ivan Grokhotkov
547ef83020
Merge branch 'feature/disable_some_perip_clk_when_cpu_start' into 'master'
...
Disable some peripheral clocks when cpu starts
See merge request !1089
2017-08-30 11:43:38 +08:00
zhiweijian
1a9b02ccbc
component/bt: fix connection parameters update
...
- update connection parameters timeout due to master update illegal connection parameters
- slave returns error status when slave check the connection parameters
- slave connection parameters update callback get that interval_max is equal to interval_min
2017-08-30 11:29:25 +08:00
Quentin Thérond
b6b36bd9dd
mdns: fix leak after _mdns_create_service if we have a malloc error.
2017-08-30 12:11:57 +10:00
Quentin Thérond
88e71a680e
vfs: fix double free.
2017-08-30 12:11:57 +10:00
Quentin Thérond
36eccee213
i2s: fix leak in i2s_create_dma_queue if we have a malloc issue.
2017-08-30 12:11:03 +10:00
Jeroen Domburg
a1b5813049
Merge branch 'feature/adc_calibration' into 'master'
...
esp_adc_cal component
See merge request !1084
2017-08-30 10:00:19 +08:00
Angus Gratton
8bd6feedd4
Merge branch 'bugfix/docs_updates' into 'master'
...
Removed redundant 'Logging to Host' and docs cleaning
See merge request !1158
2017-08-30 09:43:00 +08:00
Angus Gratton
b4eda4c4f7
Merge branch 'feature/disable_rom_console' into 'master'
...
esp32: Add KConfig option to disable BASIC ROM Console fallback on first boot
See merge request !1134
2017-08-30 07:56:00 +08:00
krzychb
8c3169b6be
Removed redundant 'Logging to Host' and docs cleaning
2017-08-29 20:47:10 +02:00
He Yin Ling
9fa2a9a270
CI: remove build at from CI:
...
AT is a standalone application. It will not keep up with latest IDF. If
IDF changes APIs which AT used, CI will fail. Therefore remove AT job.
2017-08-29 23:09:02 +08:00
xiewenxiang
2b0893d8a8
component/bt: add example for ble spp client
...
- refactory spp client code for modification suggestion.
2017-08-29 22:35:33 +08:00
Darian Leung
88b05f9391
esp_adc_cal: Added ADC calibration component
...
Added component containg API that is able to correct raw ADC readings
into a voltage in mV. Also provided a helper function that combines
the process of getting the raw ADC1 reading then converting it to a
voltage in mV. In doing so, the adc1_get_voltage() function of the ADC
driver has been deprecated. Instead there is now adc1_get_raw to obtain
the raw ADC1 reading, and adc1_to_voltage() that gets the raw reading
and converts all in one function. Functions using the deprecated
adc1_get_voltage() have also been updated to use adc1_get_raw().
Conversion is based on ADC characteristics. The characteristics are based
on the ADC's v_ref, herefore the appropriate structure and functions have
been provided to obtain the ADC characteristics.
The existing ADC driver has also been modified by adding a function to
route the internal ADC reference voltage to a GPIO allowing users to measure
it manually.
Relevant documentation has also been updated
2017-08-29 18:43:14 +08:00
michael
9ec3757349
fix(i2s_dac): fix the disable function which only disables DAC_CHANNEL_1.
2017-08-29 15:31:39 +08:00
xiewenxiang
e6f0ff7209
component/bt: add example for ble spp server
...
- refactory spp server code for modification suggestion.
2017-08-29 13:44:58 +08:00
Ivan Grokhotkov
84dec4459b
Merge branch 'bugfix/unity_error_codes_as_hex' into 'master'
...
unity: log error codes as hex
See merge request !1166
2017-08-29 13:32:48 +08:00
Ivan Grokhotkov
9a764f3108
Merge branch 'bugfix/freertos_xportgetcoreid_iram' into 'master'
...
freertos: make sure xPortGetCoreID is placed into IRAM
See merge request !1165
2017-08-29 13:32:37 +08:00
Ivan Grokhotkov
71fa25c560
Merge branch 'bugfix/vfs_uart_read_write_lock' into 'master'
...
vfs_uart: fix write operation blocked by a read
See merge request !1164
2017-08-29 13:32:24 +08:00
Angus Gratton
7a18575af8
flash encryption: Also always disable ROM BASIC console when enabling flash encryption
2017-08-29 14:52:00 +10:00
Angus Gratton
1e22bcdfde
esp32: Add KConfig option to disable ROM Console fallback on first boot
2017-08-29 14:52:00 +10:00
Jeroen Domburg
881aa43b69
Merge branch 'bugfix/struct_h_extern_c' into 'master'
...
fix(struct_h): add extern "C" protection to *_struct.h header files.
See merge request !1162
2017-08-29 11:24:34 +08:00
Jeroen Domburg
edbeee8326
Merge branch 'bugfix/spi_def_typo_lsbfirst' into 'master'
...
bugfix(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.
See merge request !1154
2017-08-29 11:24:31 +08:00
XiaXiaotian
4776f73ca4
Disable some peripheral clocks when cpu starts
...
All peripheral clocks are default enabled after chip is powered on.
When CPU starts, if reset reason is CPU reset, disable those clocks
that are not enabled before reset. Otherwise, disable all those
useless clocks.
These peripheral clocks must be enabled when the peripherals are
initialized and disabled when they are deinitialized.
2017-08-29 11:18:42 +08:00
Jeroen Domburg
4da7ee1295
Merge branch 'bugfix/ringbuf_fix_assert_0byte_payload' into 'master'
...
Fix faulty ringbuffer assert
See merge request !1163
2017-08-29 11:15:34 +08:00
Ivan Grokhotkov
99a4b6b2db
freertos: introduce CONFIG_FREERTOS_INTERRUPT_BACKTRACE
...
The code in xtensa_vectors.S did not handle XT_DEBUG_BACKTRACE
consistently: #if was used in one case, and #ifdef in another. This makes
the checks consistent, and also introduces a Kconfig option to enable
backtrace.
2017-08-29 08:54:26 +08:00
Angus Gratton
3c992f872f
Merge branch 'bugfix/secure_boot_enable' into 'master'
...
Fix regression when enabling secure boot
See merge request !1120
2017-08-29 08:44:13 +08:00
Ivan Grokhotkov
80486240c6
unity: log error codes as hex
...
Error codes are normally defined as hex numbers in header files, so
changing the assert macro to print them as hex as well.
2017-08-29 08:35:23 +08:00
Ivan Grokhotkov
eb1b4f971b
freertos: make sure xPortGetCoreID is placed into IRAM
...
In some cases, xPortGetCoreID was not inlined, and ended up in flash.
Since this function is used in many situations when cache is disabled,
that caused exceptions. Adding IRAM attribute to fix that.
2017-08-29 08:31:36 +08:00
Ivan Grokhotkov
13ef3938a6
vfs_uart: fix write operation blocked by a read
...
vfs_uart used same locks for read and write operations on a single UART.
If read operation was blocking (i.e. carried out via UART driver), the
lock was held by reading task until it received a line. During this time,
other tasks trying to write to the same UART would get blocked.
This change introduces separate read/write locks, and adds a test.
Another vfs_uart test if fixed (it was disabled since the
CONFIG_NEWLIB_STDOUT_ADDCR option was removed).
2017-08-29 08:27:36 +08:00
Jeroen Domburg
d0bf9e61da
Fix an assert that erroneously triggered when popping a zero-byte payload from the end of the ringbuffer
2017-08-28 19:31:26 +08:00
michael
c7173e0d08
fix(struct_h): add extern "C" protection to *_struct.h header files.
2017-08-28 18:10:46 +08:00
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
michael
cfd95b62cb
feat(log): add tags only when no one exist, otherwise refresh linked list and cache.
2017-08-28 16:25:40 +08:00
michael
940f5fcb89
refactor(log): replace the tag uncached list with standard SLIST.
...
NOTE: split the header modify outside.
2017-08-28 16:25:39 +08:00
michael
28c4ba1288
doc(log): document the log macros.
2017-08-28 16:25:39 +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
2554f61f05
doc(spi master): documents updated for several limitations.
2017-08-26 02:15:32 +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
michael
dd1e6ea296
typo(spi_master): fix the definition of `SPI_DEVICE_BIT_LSBFIRST
`.
...
also fix the documentation of spi_device_transmit.
2017-08-26 02:04:37 +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
zhiweijian
e14509b1ed
Component/bt: optimize gatt security server demo
...
- optimize gatt security server demo
- change the adv public address to a private address
2017-08-25 15:33:35 +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