]>
granicus.if.org Git - esp-idf/log
Alexey Gerenkov [Wed, 23 Aug 2017 23:53:20 +0000 (02:53 +0300)]
pthread: Initial version of thread API
Jeroen Domburg [Tue, 5 Sep 2017 07:43:30 +0000 (15:43 +0800)]
Merge branch 'bugfix/soft_reboot_psram' into 'master'
Fix rebooting when external RAM is active
See merge request !1207
Angus Gratton [Tue, 5 Sep 2017 07:39:48 +0000 (15:39 +0800)]
Merge branch 'feature/build_warn_undefined_vars' into 'master'
Add --warn-undefined-variables to MAKEFLAGS (github #138)
See merge request !1214
Angus Gratton [Tue, 5 Sep 2017 06:28:42 +0000 (16:28 +1000)]
build system: Remove obsolete GenerateBuildDirTarget macro eval
Angus Gratton [Tue, 5 Sep 2017 06:18:36 +0000 (14:18 +0800)]
Merge branch 'feature/tcp_msl_menuconfig' into 'master'
components/lwip: Expose TCP_MSL in menuconfig. (github #783)
See merge request !1175
Angus Gratton [Tue, 5 Sep 2017 06:10:00 +0000 (16:10 +1000)]
build system: Document --warn-undefined-variables and add a config item for it
Angus Gratton [Tue, 5 Sep 2017 05:50:31 +0000 (15:50 +1000)]
build system: Restore ifdef/ifndef in Makefiles, clean up examples build
Deomid Ryabkov [Sat, 3 Dec 2016 22:11:22 +0000 (22:11 +0000)]
Add --warn-undefined-variables to MAKEFLAGS
Fix warnings where undefined vars are used.
Make Kconfig emit "FOO=" for unset bool options
To ensure make variables are always defined, even if empty.
When writing auto.conf, include symbols disabled by dependency to make sure all make variables are always defined.
Fixes espressif/esp-idf#137
Cherry-picked from https://github.com/espressif/esp-idf/pull/138
Angus Gratton [Tue, 5 Sep 2017 04:09:40 +0000 (12:09 +0800)]
Merge branch 'bugfix/nvs_item_crc_check' into 'master'
nvs: check CRC of items on full pages
See merge request !1200
Ivan Grokhotkov [Tue, 5 Sep 2017 03:40:31 +0000 (11:40 +0800)]
Merge branch 'bugfix/core_dump_loop' into 'master'
esp32: Fixes infinite loop caused by exception during core dumping
See merge request !1210
Angus Gratton [Tue, 5 Sep 2017 03:28:43 +0000 (11:28 +0800)]
Merge branch 'bugfix/mbedtls_net_failures' into 'master'
mbedtls: Don't assign ctx->fd until connect() or bind() has succeeded
See merge request !1211
Ivan Grokhotkov [Tue, 5 Sep 2017 03:23:05 +0000 (11:23 +0800)]
Merge branch 'feature/adc_calibration' into 'master'
Bugfix/ added esp_adc_cal include guards
See merge request !1192
Ivan Grokhotkov [Tue, 5 Sep 2017 03:22:52 +0000 (11:22 +0800)]
Merge branch 'bugfix/deep_sleep_wakeup_stub' into 'master'
deep sleep: don't use protected DPORT access in wake stub
See merge request !1194
Ivan Grokhotkov [Tue, 5 Sep 2017 03:15:55 +0000 (11:15 +0800)]
Merge branch 'bugfix/openssl_client_example' into 'master'
example/openssl_client: Fix http string "printf" error without end character '\0'
See merge request !1201
Alexey Gerenkov [Mon, 4 Sep 2017 17:05:36 +0000 (20:05 +0300)]
esp32: Fixes infinite loop caused by exception during core dumping
Ivan Grokhotkov [Tue, 5 Sep 2017 02:41:51 +0000 (10:41 +0800)]
Merge branch 'bugfix/cpu_clk_disable_spi' into 'master'
spi_master, sdmmc: fix regressions due to peripherals being disabled by default
See merge request !1193
Angus Gratton [Tue, 5 Sep 2017 01:16:10 +0000 (09:16 +0800)]
Merge branch 'bugfix/spinlock_performance' into 'master'
freertos: Reduce CPU spinlock (portmux) overhead
See merge request !497
Angus Gratton [Tue, 5 Sep 2017 00:37:58 +0000 (10:37 +1000)]
mbedtls: Don't assign ctx->fd until connect() or bind() has succeeded
Avoid leaking closed file descriptors via ctx->fd
Reported: https://esp32.com/viewtopic.php?f=13&t=2910&sid=
8568b1fd93a4c8d5760628a638efc48b #p13620
Angus Gratton [Mon, 4 Sep 2017 23:25:08 +0000 (07:25 +0800)]
Merge branch 'bugfix/bootloader_ota_sel' into 'master'
Fix bootloader OTA regression
See merge request !1205
Ivan Grokhotkov [Mon, 4 Sep 2017 14:43:25 +0000 (22:43 +0800)]
ethernet: enable EMAC module clock on initialization
Ivan Grokhotkov [Mon, 4 Sep 2017 10:12:46 +0000 (18:12 +0800)]
sdmmc: use periph_ctrl to enable peripheral when initializing the host
Ivan Grokhotkov [Mon, 4 Sep 2017 10:12:15 +0000 (18:12 +0800)]
driver: add periph_ctrl support for SDMMC, SDIO slave, CAN, EMAC
michael [Thu, 31 Aug 2017 11:59:30 +0000 (19:59 +0800)]
fix(spi_master): this fix the SPI MOSI output missing bug.
Jiang Jiang Jian [Mon, 4 Sep 2017 13:32:23 +0000 (21:32 +0800)]
Merge branch 'feature/btdm_add_set_local_MTU_API_for_gatt' into 'master'
component/bt: add set local MTU API
See merge request !1152
Alexey Gerenkov [Sun, 3 Sep 2017 00:44:21 +0000 (03:44 +0300)]
apptrace lock acquire function was re-designed to minimize waiting time with disabled IRQs
Ivan Grokhotkov [Mon, 4 Sep 2017 12:39:35 +0000 (20:39 +0800)]
ci: add extra unit test job
Jeroen Domburg [Mon, 4 Sep 2017 11:00:47 +0000 (19:00 +0800)]
Fix rebooting when PSRAM is active
Ivan Grokhotkov [Mon, 4 Sep 2017 10:19:59 +0000 (18:19 +0800)]
Merge branch 'bugfix/lwip_send_timeout' into 'master'
match sys tick with lwip_send_timeout
See merge request !1203
Angus Gratton [Thu, 31 Aug 2017 00:49:42 +0000 (10:49 +1000)]
esp32: Update wifi lib to use new spinlock implementation
Angus Gratton [Thu, 20 Jul 2017 06:34:45 +0000 (16:34 +1000)]
portmux: Add vPortCPUAcquireMutexTimeout() function
Refactor app_trace locking to use this function.
Angus Gratton [Mon, 26 Jun 2017 04:09:02 +0000 (14:09 +1000)]
freertos scheduler test: Free timer group interrupt handle when test finishes
Angus Gratton [Thu, 16 Feb 2017 05:56:06 +0000 (16:56 +1100)]
freertos: Inline vPortCPUAcquireMutex/vPortCPUReleaseMutex into implementations
Further improves performance:
No contention -> 134 cycles
Recursion -> 117 cycles
Contention -> 323 cycles
Angus Gratton [Thu, 16 Feb 2017 05:03:02 +0000 (16:03 +1100)]
freertos: vPortCPUReleaseMutex() no longer returns a value
Unlocking a never-locked mutex is an assertion failure in debug mode.
In release mode, this further improves performance:
No-Contention -> 153 cycles
Recursion No-Contention -> 138 cycles
Contention -> 378 cycles
Angus Gratton [Mon, 13 Feb 2017 03:46:37 +0000 (14:46 +1100)]
freertos spinlock/portmux: Reduce spinlocking overhead
Ref TW7117
Microbenchmarks in unit tests:
(All numbers in cycles per benchmarked operation):
Release mode
No lock contention lock/unlock - 301 -> 167 (-45%)
Recursive no contention lock/unlock - 289 -> 148 (-49%)
Lock contention two CPUs (lock/unlock) 699 -> 400 (-43%)
Debug mode
No lock contention lock/unlock - 355 -> 203 (-43%)
Recursive no contention lock/unlock - 345 -> 188 (-46%)
Lock contention two CPUs (lock/unlock) 761 -> 483 (-36%)
Angus Gratton [Mon, 13 Feb 2017 05:53:33 +0000 (16:53 +1100)]
freertos spinlocks/portmux: Add combination unit tests & microbenchmarks
Angus Gratton [Mon, 4 Sep 2017 08:02:12 +0000 (16:02 +0800)]
Merge branch 'bugfix/ci_build_examples_more' into 'master'
CI build_examples: Fix build flakiness
See merge request !1191
Angus Gratton [Mon, 4 Sep 2017 04:50:52 +0000 (14:50 +1000)]
build system: Don't make menuconfig if "make clean" run with no sdkconfig
Angus Gratton [Mon, 4 Sep 2017 03:17:32 +0000 (13:17 +1000)]
build system: Explicitly disallow 'clean' along with non-cleaning targets
Too hard to stage the dependencies so that all clean steps complete before any build steps begin. Also, using and then
deleting and then regenerating SDKCONFIG_MAKEFILE in one pass is really hard to manage successfully.
Angus Gratton [Mon, 4 Sep 2017 01:15:04 +0000 (11:15 +1000)]
build system tests: Run inside PWD same as build_examples.sh
Angus Gratton [Fri, 1 Sep 2017 07:29:51 +0000 (17:29 +1000)]
ci: Add two more example build jobs per CI pass
Angus Gratton [Fri, 1 Sep 2017 07:28:13 +0000 (17:28 +1000)]
build system: Add dependencies to component clean steps
Build directory must exist, component_project_vars.mk must be generated if it is going to be.
Angus Gratton [Fri, 1 Sep 2017 03:42:39 +0000 (13:42 +1000)]
build_examples: Small cleanups
* Override MAKEFLAGS via make not via shell variables
* Remove build_examples in gitlab-ci
* Don't use mktemp for any logs
Angus Gratton [Mon, 4 Sep 2017 07:05:16 +0000 (17:05 +1000)]
ota_ops: Fix get_selected_boot_partition() in case there is no factory partition
get_selected_boot_partition() now follows the same basic logic as the bootloader to find the
default boot partition.
Angus Gratton [Mon, 4 Sep 2017 06:50:09 +0000 (16:50 +1000)]
bootloader: Fix regression preventing OTA updates
Regression introduced in
43e231c .
Thanks to @yanbe for pointing out issue in https://github.com/espressif/esp-idf/pull/955
This is a different fix, tries to keep the behaviour that
43e231c was aiming to correct (unnecessarily testing an
invalid slot more than once.)
zhangyanjiao [Mon, 4 Sep 2017 06:47:11 +0000 (14:47 +0800)]
match sys tick with lwip_send_timeout
Ivan Grokhotkov [Mon, 4 Sep 2017 03:54:18 +0000 (11:54 +0800)]
nvs: check CRC of items on full pages
Previously NVS did check CRC values of key-value pairs on the active
page, but the check for full pages was missing. This adds the necessary
check and a test for it.
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
Dong Heng [Mon, 4 Sep 2017 05:29:19 +0000 (13:29 +0800)]
example/openssl_client: Fix http string "printf" error without end character '\0'
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
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.
zhiweijian [Thu, 24 Aug 2017 11:54:41 +0000 (19:54 +0800)]
Component/bt: add set local MTU API
- add esp_ble_gatt_set_local_mtu( ) API
- modify esp_ble_gattc_config_mtu(esp_gatt_if_t gattc_if, uint16_t conn_id)
- modify gattc demo
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
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
Ivan Grokhotkov [Fri, 1 Sep 2017 10:35:42 +0000 (18:35 +0800)]
deep sleep: don't use protected DPORT access in wake stub
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.
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
Jeroen Domburg [Thu, 31 Aug 2017 03:29:12 +0000 (11:29 +0800)]
Fix off-by-one in 5MBaud arg checking; propagate errors better
Darian Leung [Fri, 1 Sep 2017 04:07:37 +0000 (12:07 +0800)]
Bugfix/ added esp_adc_cal include guards
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
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.
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
Ivan Grokhotkov [Thu, 24 Aug 2017 09:48:40 +0000 (17:48 +0800)]
dport access: introduce pause/resume instead of deinit
Ivan Grokhotkov [Thu, 24 Aug 2017 23:14:29 +0000 (07:14 +0800)]
soc/rtc: add sleep flag to control powerdown of VDD_SDIO
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.
Ivan Grokhotkov [Wed, 30 Aug 2017 01:01:37 +0000 (09:01 +0800)]
esp32: use ref_clock in esp_timer and delay tests
Ivan Grokhotkov [Mon, 21 Aug 2017 14:33:03 +0000 (22:33 +0800)]
unity: add reference clock for use in unit tests
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.
Ivan Grokhotkov [Mon, 21 Aug 2017 14:33:52 +0000 (22:33 +0800)]
soc/rtc: round APB clock frequency to nearest MHz
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
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
Ivan Grokhotkov [Thu, 31 Aug 2017 15:50:56 +0000 (23:50 +0800)]
ci: disable sd card tests
Ivan Grokhotkov [Thu, 31 Aug 2017 15:00:48 +0000 (23:00 +0800)]
ci: put example log files on the build volume
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
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
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
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
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
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
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
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
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
Wangjialin [Fri, 4 Aug 2017 16:21:52 +0000 (00:21 +0800)]
bugfix(timer group): remove floating-point in timer isr in example.
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
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
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
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
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
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
Lacy Rhoades [Mon, 24 Jul 2017 00:33:20 +0000 (20:33 -0400)]
Typo fixes
Merges https://github.com/espressif/esp-idf/pull/831
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
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
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
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
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
devsaurus [Sun, 9 Jul 2017 10:42:37 +0000 (12:42 +0200)]
components/lwip: Expose TCP_MSL in menuconfig.
Merges https://github.com/espressif/esp-idf/pull/783
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
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
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
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
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