]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'feature/psram_in_address_space' into 'master'
Jeroen Domburg [Mon, 4 Sep 2017 06:18:23 +0000 (14:18 +0800)]
Merge branch 'feature/psram_in_address_space' into 'master'

Feature/psram in address space

See merge request !1069

6 years agoMerge branch 'bugfix/uart_5mbaud' into 'master'
Jeroen Domburg [Mon, 4 Sep 2017 04:06:33 +0000 (12:06 +0800)]
Merge branch 'bugfix/uart_5mbaud' into 'master'

Fix off-by-one in 5MBaud arg checking; propagate errors better

See merge request !1184

6 years agoAdd initial SPI RAM support. This adds support for an ESP-PSRAM32 chip connected...
Jeroen Domburg [Thu, 20 Jul 2017 08:26:35 +0000 (16:26 +0800)]
Add initial SPI RAM support. This adds support for an ESP-PSRAM32 chip connected to the default flash pins and GPIO 16 and 17. The RAM is mapped to address 0x3F800000, but otherwise ignored by esp-idf as of yet.

6 years agoMerge branch 'bugfix/btdm_fix_connection_parameters_update' into 'master'
Jiang Jiang Jian [Fri, 1 Sep 2017 12:15:30 +0000 (20:15 +0800)]
Merge branch 'bugfix/btdm_fix_connection_parameters_update' into 'master'

component/bt: fix connection parameters update

See merge request !1099

6 years agoMerge branch 'bugfix/btdm_optimize_gatt_security_server_demo' into 'master'
Jiang Jiang Jian [Fri, 1 Sep 2017 12:13:13 +0000 (20:13 +0800)]
Merge branch 'bugfix/btdm_optimize_gatt_security_server_demo' into 'master'

component/bt: optimize gatt security server demo

See merge request !1047

6 years agoAdd GD chip into qio data, so (at least my) ESP-WROVER uses QIO mode succesfully.
Jeroen Domburg [Mon, 31 Jul 2017 04:05:53 +0000 (12:05 +0800)]
Add GD chip into qio data, so (at least my) ESP-WROVER uses QIO mode succesfully.

6 years agoMerge branch 'feature/esp_timer_improvements' into 'master'
Ivan Grokhotkov [Fri, 1 Sep 2017 08:14:01 +0000 (16:14 +0800)]
Merge branch 'feature/esp_timer_improvements' into 'master'

esp_timer improvements

See merge request !1172

6 years agoFix off-by-one in 5MBaud arg checking; propagate errors better
Jeroen Domburg [Thu, 31 Aug 2017 03:29:12 +0000 (11:29 +0800)]
Fix off-by-one in 5MBaud arg checking; propagate errors better

6 years agoMerge branch 'feature/light_sleep' into 'master'
Ivan Grokhotkov [Fri, 1 Sep 2017 03:10:52 +0000 (11:10 +0800)]
Merge branch 'feature/light_sleep' into 'master'

Rename esp_deep_sleep_ APIs to esp_sleep_, introduce light sleep function

See merge request !1168

6 years agonewlib: rename esp_setup_time_syscalls to esp_set_time_from_rtc
Ivan Grokhotkov [Tue, 29 Aug 2017 03:48:18 +0000 (11:48 +0800)]
newlib: rename esp_setup_time_syscalls to esp_set_time_from_rtc

This function no longer sets up syscalls, and new name reflects its
purpose better.

6 years agosleep: add light sleep, factor out APIs common for deep/light sleep
Ivan Grokhotkov [Fri, 21 Apr 2017 04:32:50 +0000 (12:32 +0800)]
sleep: add light sleep, factor out APIs common for deep/light sleep

6 years agodport access: introduce pause/resume instead of deinit
Ivan Grokhotkov [Thu, 24 Aug 2017 09:48:40 +0000 (17:48 +0800)]
dport access: introduce pause/resume instead of deinit

6 years agosoc/rtc: add sleep flag to control powerdown of VDD_SDIO
Ivan Grokhotkov [Thu, 24 Aug 2017 23:14:29 +0000 (07:14 +0800)]
soc/rtc: add sleep flag to control powerdown of VDD_SDIO

6 years agoesp_timer: return signed timestamp (int64_t)
Ivan Grokhotkov [Wed, 30 Aug 2017 03:15:29 +0000 (11:15 +0800)]
esp_timer: return signed timestamp (int64_t)

Since timestamps are 64-bit, loosing one bit of range due to sign does
not present an issue, however for applications doing calculations on
timestamps, signed return type is more convenient.

6 years agoesp32: use ref_clock in esp_timer and delay tests
Ivan Grokhotkov [Wed, 30 Aug 2017 01:01:37 +0000 (09:01 +0800)]
esp32: use ref_clock in esp_timer and delay tests

6 years agounity: add reference clock for use in unit tests
Ivan Grokhotkov [Mon, 21 Aug 2017 14:33:03 +0000 (22:33 +0800)]
unity: add reference clock for use in unit tests

6 years agoesp_timer: lock-free implementation of esp_timer_get_time
Ivan Grokhotkov [Wed, 30 Aug 2017 00:43:02 +0000 (08:43 +0800)]
esp_timer: lock-free implementation of esp_timer_get_time

The implementation of esp_timer_get_time used a critical section, which
resulted in a call time of ~1.8us. To make esp_timer_get_time more
useable as a high-resolution time source, this change replaces the lock
with polling. Call time is reduced to ~0.7us.

6 years agosoc/rtc: round APB clock frequency to nearest MHz
Ivan Grokhotkov [Mon, 21 Aug 2017 14:33:52 +0000 (22:33 +0800)]
soc/rtc: round APB clock frequency to nearest MHz

6 years agoMerge branch 'bugfix/ci_build_examples' into 'master'
Ivan Grokhotkov [Fri, 1 Sep 2017 02:33:38 +0000 (10:33 +0800)]
Merge branch 'bugfix/ci_build_examples' into 'master'

ci: fix example builds and unit tests

See merge request !1188

6 years agoMerge branch 'feature/cxx_exceptions' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 16:27:41 +0000 (00:27 +0800)]
Merge branch 'feature/cxx_exceptions' into 'master'

Partial support for C++ exceptions

See merge request !930

6 years agoci: disable sd card tests
Ivan Grokhotkov [Thu, 31 Aug 2017 15:50:56 +0000 (23:50 +0800)]
ci: disable sd card tests

7 years agoci: put example log files on the build volume
Ivan Grokhotkov [Thu, 31 Aug 2017 15:00:48 +0000 (23:00 +0800)]
ci: put example log files on the build volume

7 years agoMerge branch 'feature/timeradd' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 05:57:19 +0000 (13:57 +0800)]
Merge branch 'feature/timeradd' into 'master'

feat(time): enable the macro timeradd, timersub, timerclear, etc.

See merge request !1177

7 years agoMerge branch 'bugfix/log_tag_change_level' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 02:45:55 +0000 (10:45 +0800)]
Merge branch 'bugfix/log_tag_change_level' into 'master'

bugfix(log): fix the log tag to update existing rather than add new tag when calling ``esp_log_level_set``

See merge request !1153

7 years agoMerge branch 'bugfix/remove_at_build_from_ci' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 02:45:40 +0000 (10:45 +0800)]
Merge branch 'bugfix/remove_at_build_from_ci' into 'master'

CI: remove build at

See merge request !1171

7 years agoMerge branch 'bugfix/i2s_dac_channel' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 02:45:30 +0000 (10:45 +0800)]
Merge branch 'bugfix/i2s_dac_channel' into 'master'

fix(i2s_dac): fix the disable function which only disables DAC_CHANNEL_1.

See merge request !1169

7 years agoMerge branch 'bugfix/memory_issues_pr838' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 02:45:19 +0000 (10:45 +0800)]
Merge branch 'bugfix/memory_issues_pr838' into 'master'

vfat, i2s, mdns: Fix two memory leaks, one double free (github #838)

See merge request !1173

7 years agoMerge branch 'feature/freertos_interrupt_backtrace_opt' into 'master'
Ivan Grokhotkov [Thu, 31 Aug 2017 02:45:06 +0000 (10:45 +0800)]
Merge branch 'feature/freertos_interrupt_backtrace_opt' into 'master'

freertos: introduce CONFIG_FREERTOS_INTERRUPT_BACKTRACE

See merge request !1167

7 years agoMerge branch 'bugfix/minor_prs_github' into 'master'
Angus Gratton [Wed, 30 Aug 2017 23:11:30 +0000 (07:11 +0800)]
Merge branch 'bugfix/minor_prs_github' into 'master'

Minor bugfixes and corrections from github

See merge request !1181

7 years agoMerge branch 'bugfix/uart_set_dtr_rts' into 'master'
Angus Gratton [Wed, 30 Aug 2017 22:50:24 +0000 (06:50 +0800)]
Merge branch 'bugfix/uart_set_dtr_rts' into 'master'

uart: Fix spinlock bug for uart_set_rts and uart_set_dtr

See merge request !1179

7 years agoMerge branch 'bugfix/timer_group_example' into 'master'
Angus Gratton [Wed, 30 Aug 2017 22:49:26 +0000 (06:49 +0800)]
Merge branch 'bugfix/timer_group_example' into 'master'

bugfix(timer group): remove floating-point in timer isr in example.

See merge request !1080

7 years agobugfix(timer group): remove floating-point in timer isr in example.
Wangjialin [Fri, 4 Aug 2017 16:21:52 +0000 (00:21 +0800)]
bugfix(timer group): remove floating-point in timer isr in example.

7 years agoREADME: Converting URLs from HTTP to HTTPS
Josh Lospinoso [Thu, 18 May 2017 19:33:37 +0000 (14:33 -0500)]
README: Converting URLs from HTTP to HTTPS

Merges https://github.com/espressif/esp-idf/pull/622

7 years agoRemove redundant code line from uart.c
Angus Gratton [Wed, 30 Aug 2017 05:16:11 +0000 (15:16 +1000)]
Remove redundant code line from uart.c

Merges part of https://github.com/espressif/esp-idf/pull/650

7 years agoFixed incorrect value in comments for GPIO_NUM_33.
Simon Werner [Wed, 7 Jun 2017 04:56:05 +0000 (16:56 +1200)]
Fixed incorrect value in comments for GPIO_NUM_33.

Merges https://github.com/espressif/esp-idf/pull/676

7 years agoUsing a 128-bit UUID is not an error
Deomid Ryabkov [Mon, 19 Jun 2017 22:34:36 +0000 (23:34 +0100)]
Using a 128-bit UUID is not an error

Merges https://github.com/espressif/esp-idf/pull/713

7 years agoAdd quotes to PATH declarations
lf [Thu, 13 Jul 2017 05:05:07 +0000 (00:05 -0500)]
Add quotes to PATH declarations

This is necessary in case someone has a space in their PATH variable (which is within the realm of possibility)

Merges https://github.com/espressif/esp-idf/pull/800

7 years agodeep_sleep: RTC-GPIO pin calculation incorrect
Geza Husi [Fri, 18 Aug 2017 07:27:54 +0000 (09:27 +0200)]
deep_sleep: RTC-GPIO pin calculation incorrect

Merges https://github.com/espressif/esp-idf/pull/822

7 years agoTypo fixes
Lacy Rhoades [Mon, 24 Jul 2017 00:33:20 +0000 (20:33 -0400)]
Typo fixes

Merges https://github.com/espressif/esp-idf/pull/831

7 years agoFix distinction between shared and non-shared interrupts in docs
Patrick Hobusch [Thu, 15 Jun 2017 13:21:31 +0000 (15:21 +0200)]
Fix distinction between shared and non-shared interrupts in docs

Merges https://github.com/espressif/esp-idf/pull/701

7 years agoUpdate documentation for esp_avrc_api
phuzi [Thu, 27 Jul 2017 08:54:10 +0000 (09:54 +0100)]
Update documentation for esp_avrc_api

Updated documentation for esp_err_t esp_avrc_ct_send_passthrough_cmd to show both pressed and released key states

Merges https://github.com/espressif/esp-idf/pull/846

7 years agoAdd missing debug log message for out-of-sockets case
Stephen Casner [Fri, 11 Aug 2017 21:06:06 +0000 (14:06 -0700)]
Add missing debug log message for out-of-sockets case

Merges https://github.com/espressif/esp-idf/pull/903

7 years agoProvide a default for CONFIG_BT_RESERVE_DRAM
Deomid Ryabkov [Tue, 15 Aug 2017 13:36:06 +0000 (14:36 +0100)]
Provide a default for CONFIG_BT_RESERVE_DRAM

...when BT is not built

Merges https://github.com/espressif/esp-idf/pull/910

7 years agoopenssl_server: Rename openssl_client_init() to openssl_server_init() to match usage
Chris Morgan [Tue, 22 Aug 2017 18:52:44 +0000 (14:52 -0400)]
openssl_server: Rename openssl_client_init() to openssl_server_init() to match usage

Merges https://github.com/espressif/esp-idf/pull/928

7 years agofeat(time): enable the macro timeradd, timersub, timerclear, etc.
michael [Wed, 30 Aug 2017 04:34:07 +0000 (12:34 +0800)]
feat(time): enable the macro timeradd, timersub, timerclear, etc.

TW#14488

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

7 years agoFix spinlock bug for uart_set_rts and uart_set_dtr
Henrik Maier [Tue, 30 May 2017 07:05:36 +0000 (17:05 +1000)]
Fix spinlock bug for uart_set_rts and uart_set_dtr

Merges https://github.com/espressif/esp-idf/pull/649

7 years agoMerge branch 'bugfix/mdns_tcpip_threadsafe' into 'master'
Angus Gratton [Wed, 30 Aug 2017 05:28:51 +0000 (13:28 +0800)]
Merge branch 'bugfix/mdns_tcpip_threadsafe' into 'master'

mdns: Use LwIP IPC for low-level API calls

See merge request !925

7 years agoMerge branch 'bugfix/dport_protect_crypto' into 'master'
Ivan Grokhotkov [Wed, 30 Aug 2017 03:45:35 +0000 (11:45 +0800)]
Merge branch 'bugfix/dport_protect_crypto' into 'master'

add protection for crypto registers in DPORT

See merge request !928

7 years agoMerge branch 'feature/disable_some_perip_clk_when_cpu_start' into 'master'
Ivan Grokhotkov [Wed, 30 Aug 2017 03:43:38 +0000 (11:43 +0800)]
Merge branch 'feature/disable_some_perip_clk_when_cpu_start' into 'master'

Disable some peripheral clocks when cpu starts

See merge request !1089

7 years agocomponent/bt: fix connection parameters update
zhiweijian [Thu, 24 Aug 2017 12:46:03 +0000 (20:46 +0800)]
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

7 years agomdns: fix leak after _mdns_create_service if we have a malloc error.
Quentin Thérond [Tue, 25 Jul 2017 12:14:35 +0000 (14:14 +0200)]
mdns: fix leak after _mdns_create_service if we have a malloc error.

7 years agovfs: fix double free.
Quentin Thérond [Tue, 25 Jul 2017 12:14:23 +0000 (14:14 +0200)]
vfs: fix double free.

7 years agoi2s: fix leak in i2s_create_dma_queue if we have a malloc issue.
Quentin Thérond [Tue, 25 Jul 2017 12:14:03 +0000 (14:14 +0200)]
i2s: fix leak in i2s_create_dma_queue if we have a malloc issue.

7 years agoMerge branch 'feature/adc_calibration' into 'master'
Jeroen Domburg [Wed, 30 Aug 2017 02:00:19 +0000 (10:00 +0800)]
Merge branch 'feature/adc_calibration' into 'master'

esp_adc_cal component

See merge request !1084

7 years agoMerge branch 'bugfix/docs_updates' into 'master'
Angus Gratton [Wed, 30 Aug 2017 01:43:00 +0000 (09:43 +0800)]
Merge branch 'bugfix/docs_updates' into 'master'

Removed redundant 'Logging to Host' and docs cleaning

See merge request !1158

7 years agoMerge branch 'feature/disable_rom_console' into 'master'
Angus Gratton [Tue, 29 Aug 2017 23:56:00 +0000 (07:56 +0800)]
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

7 years agoRemoved redundant 'Logging to Host' and docs cleaning
krzychb [Fri, 25 Aug 2017 20:35:33 +0000 (22:35 +0200)]
Removed redundant 'Logging to Host' and docs cleaning

7 years agoCI: remove build at from CI:
He Yin Ling [Tue, 29 Aug 2017 15:09:02 +0000 (23:09 +0800)]
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.

7 years agoesp_adc_cal: Added ADC calibration component
Darian Leung [Mon, 7 Aug 2017 13:33:01 +0000 (21:33 +0800)]
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

7 years agofix(i2s_dac): fix the disable function which only disables DAC_CHANNEL_1.
michael [Tue, 29 Aug 2017 07:31:39 +0000 (15:31 +0800)]
fix(i2s_dac): fix the disable function which only disables DAC_CHANNEL_1.

7 years agoMerge branch 'bugfix/unity_error_codes_as_hex' into 'master'
Ivan Grokhotkov [Tue, 29 Aug 2017 05:32:48 +0000 (13:32 +0800)]
Merge branch 'bugfix/unity_error_codes_as_hex' into 'master'

unity: log error codes as hex

See merge request !1166

7 years agoMerge branch 'bugfix/freertos_xportgetcoreid_iram' into 'master'
Ivan Grokhotkov [Tue, 29 Aug 2017 05:32:37 +0000 (13:32 +0800)]
Merge branch 'bugfix/freertos_xportgetcoreid_iram' into 'master'

freertos: make sure xPortGetCoreID is placed into IRAM

See merge request !1165

7 years agoMerge branch 'bugfix/vfs_uart_read_write_lock' into 'master'
Ivan Grokhotkov [Tue, 29 Aug 2017 05:32:24 +0000 (13:32 +0800)]
Merge branch 'bugfix/vfs_uart_read_write_lock' into 'master'

vfs_uart: fix write operation blocked by a read

See merge request !1164

7 years agoflash encryption: Also always disable ROM BASIC console when enabling flash encryption
Angus Gratton [Tue, 22 Aug 2017 05:40:53 +0000 (15:40 +1000)]
flash encryption: Also always disable ROM BASIC console when enabling flash encryption

7 years agoesp32: Add KConfig option to disable ROM Console fallback on first boot
Angus Gratton [Tue, 22 Aug 2017 04:55:23 +0000 (14:55 +1000)]
esp32: Add KConfig option to disable ROM Console fallback on first boot

7 years agoMerge branch 'bugfix/struct_h_extern_c' into 'master'
Jeroen Domburg [Tue, 29 Aug 2017 03:24:34 +0000 (11:24 +0800)]
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

7 years agoMerge branch 'bugfix/spi_def_typo_lsbfirst' into 'master'
Jeroen Domburg [Tue, 29 Aug 2017 03:24:31 +0000 (11:24 +0800)]
Merge branch 'bugfix/spi_def_typo_lsbfirst' into 'master'

bugfix(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.

See merge request !1154

7 years agoDisable some peripheral clocks when cpu starts
XiaXiaotian [Tue, 8 Aug 2017 08:58:58 +0000 (16:58 +0800)]
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.

7 years agoMerge branch 'bugfix/ringbuf_fix_assert_0byte_payload' into 'master'
Jeroen Domburg [Tue, 29 Aug 2017 03:15:34 +0000 (11:15 +0800)]
Merge branch 'bugfix/ringbuf_fix_assert_0byte_payload' into 'master'

Fix faulty ringbuffer assert

See merge request !1163

7 years agofreertos: introduce CONFIG_FREERTOS_INTERRUPT_BACKTRACE
Ivan Grokhotkov [Mon, 21 Aug 2017 14:32:08 +0000 (22:32 +0800)]
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.

7 years agoMerge branch 'bugfix/secure_boot_enable' into 'master'
Angus Gratton [Tue, 29 Aug 2017 00:44:13 +0000 (08:44 +0800)]
Merge branch 'bugfix/secure_boot_enable' into 'master'

Fix regression when enabling secure boot

See merge request !1120

7 years agounity: log error codes as hex
Ivan Grokhotkov [Mon, 21 Aug 2017 14:31:28 +0000 (22:31 +0800)]
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.

7 years agofreertos: make sure xPortGetCoreID is placed into IRAM
Ivan Grokhotkov [Tue, 29 Aug 2017 00:25:41 +0000 (08:25 +0800)]
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.

7 years agovfs_uart: fix write operation blocked by a read
Ivan Grokhotkov [Tue, 29 Aug 2017 00:23:40 +0000 (08:23 +0800)]
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).

7 years agoFix an assert that erroneously triggered when popping a zero-byte payload from the...
Jeroen Domburg [Mon, 28 Aug 2017 11:31:26 +0000 (19:31 +0800)]
Fix an assert that erroneously triggered when popping a zero-byte payload from the end of the ringbuffer

7 years agofix(struct_h): add extern "C" protection to *_struct.h header files.
michael [Mon, 28 Aug 2017 10:10:46 +0000 (18:10 +0800)]
fix(struct_h): add extern "C" protection to *_struct.h header files.

7 years agoMerge branch 'bugfix/spi_hd_rx' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 09:36:58 +0000 (17:36 +0800)]
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

7 years agoMerge branch 'feature/ets_timer' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 08:38:11 +0000 (16:38 +0800)]
Merge branch 'feature/ets_timer' into 'master'

esp_timer: add high-resolution timer api

See merge request !1090

7 years agofeat(log): add tags only when no one exist, otherwise refresh linked list and cache.
michael [Fri, 25 Aug 2017 03:46:55 +0000 (11:46 +0800)]
feat(log): add tags only when no one exist, otherwise refresh linked list and cache.

7 years agorefactor(log): replace the tag uncached list with standard SLIST.
michael [Thu, 24 Aug 2017 12:09:51 +0000 (20:09 +0800)]
refactor(log): replace the tag uncached list with standard SLIST.

NOTE: split the header modify outside.

7 years agodoc(log): document the log macros.
michael [Thu, 24 Aug 2017 08:53:16 +0000 (16:53 +0800)]
doc(log): document the log macros.

7 years agoPlace uart_tx_wait_idle in IRAM
Jeroen Domburg [Fri, 25 Aug 2017 09:46:28 +0000 (17:46 +0800)]
Place uart_tx_wait_idle in IRAM

7 years agosoc: release interrupts which are not reserved by timers any more
Ivan Grokhotkov [Mon, 21 Aug 2017 14:29:50 +0000 (22:29 +0800)]
soc: release interrupts which are not reserved by timers any more

7 years agonewlib: implement gettimeofday using of esp_timer
Ivan Grokhotkov [Mon, 7 Aug 2017 15:28:36 +0000 (23:28 +0800)]
newlib: implement gettimeofday using of esp_timer

7 years agoesp_timer: add high resolution software timer API
Ivan Grokhotkov [Mon, 7 Aug 2017 20:21:19 +0000 (04:21 +0800)]
esp_timer: add high resolution software timer API

7 years agoMerge branch 'bugfix/sdmmc_test' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 03:32:20 +0000 (11:32 +0800)]
Merge branch 'bugfix/sdmmc_test' into 'master'

sdmmc: don't use high speed mode with SD over SPI

See merge request !1149

7 years agoMerge branch 'bugfix/uart_wait_idle_iram' into 'master'
Jeroen Domburg [Mon, 28 Aug 2017 02:55:58 +0000 (10:55 +0800)]
Merge branch 'bugfix/uart_wait_idle_iram' into 'master'

Place uart_tx_wait_idle in IRAM

See merge request !1157

7 years agoMerge branch 'bugfix/spi_command' into 'master'
Ivan Grokhotkov [Mon, 28 Aug 2017 02:29:56 +0000 (10:29 +0800)]
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

7 years agodoc(spi master): documents updated for several limitations.
michael [Mon, 21 Aug 2017 07:30:24 +0000 (15:30 +0800)]
doc(spi master): documents updated for several limitations.

7 years agofix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI...
michael [Tue, 15 Aug 2017 03:00:33 +0000 (11:00 +0800)]
fix(spi_dma_rx): add check to avoid using SPI half-duplex mode DMA with both MOSI and MISO phases.

7 years agotypo(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.
michael [Fri, 25 Aug 2017 07:45:04 +0000 (15:45 +0800)]
typo(spi_master): fix the definition of ``SPI_DEVICE_BIT_LSBFIRST``.

also fix the documentation of spi_device_transmit.

7 years agoPlace uart_tx_wait_idle in IRAM
Jeroen Domburg [Fri, 25 Aug 2017 09:46:28 +0000 (17:46 +0800)]
Place uart_tx_wait_idle in IRAM

7 years agoMerge branch 'bugfix/btdm_controller_hci_fc' into 'master'
Jiang Jiang Jian [Fri, 25 Aug 2017 08:16:47 +0000 (16:16 +0800)]
Merge branch 'bugfix/btdm_controller_hci_fc' into 'master'

component/bt: bugfix for hci acl flow control

See merge request !1151

7 years agoComponent/bt: optimize gatt security server demo
zhiweijian [Mon, 24 Jul 2017 07:21:56 +0000 (15:21 +0800)]
Component/bt: optimize gatt security server demo
- optimize gatt security server demo
- change the adv public address to a private address

7 years agosdmmc: don't use high speed mode with SD over SPI
Ivan Grokhotkov [Thu, 24 Aug 2017 08:28:37 +0000 (16:28 +0800)]
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)

7 years agohwcrypto: Fix bug with concurrent SHA access
Angus Gratton [Thu, 17 Aug 2017 05:48:43 +0000 (15:48 +1000)]
hwcrypto: Fix bug with concurrent SHA access

If two different types of SHA hashes were active in the hardware
concurrently, a race condition meant the SHA unit could be incorrectly
reset leading to all-zero results.

7 years agombedtls: Remove "unsafe" warning, enable AES by default & make SHA/MPI optional
Angus Gratton [Thu, 17 Aug 2017 04:19:03 +0000 (14:19 +1000)]
mbedtls: Remove "unsafe" warning, enable AES by default & make SHA/MPI optional

7 years agodport access: Fix WDT bug (permanent locking) in non-pinned tasks
Angus Gratton [Wed, 16 Aug 2017 06:02:46 +0000 (16:02 +1000)]
dport access: Fix WDT bug (permanent locking) in non-pinned tasks

If scheduler switches cores in narrow window during esp_dport_access_stall_other_cpu_start(), could cause the stall
interrupt to occur on the running CPU - halting the CPU until WDT cleans up.

Related to https://github.com/espressif/esp-idf/issues/630

7 years agoesp32 hwcrypto: Use spinlock instead of lock to protect AES
Angus Gratton [Tue, 15 Aug 2017 23:06:52 +0000 (09:06 +1000)]
esp32 hwcrypto: Use spinlock instead of lock to protect AES

More than doubles performance of mbedTLS AES self-tests.

7 years agoesp32 hwcrypto: Use AES registers directly
Angus Gratton [Tue, 15 Aug 2017 22:58:33 +0000 (08:58 +1000)]
esp32 hwcrypto: Use AES registers directly