Deomid Ryabkov
9903ea1c11
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
2017-09-05 16:10:46 +10:00
Angus Gratton
11a87ca811
Merge branch 'bugfix/bootloader_ota_sel' into 'master'
...
Fix bootloader OTA regression
See merge request !1205
2017-09-05 07:25:08 +08:00
Jiang Jiang Jian
f254555a41
Merge branch 'feature/btdm_add_set_local_MTU_API_for_gatt' into 'master'
...
component/bt: add set local MTU API
See merge request !1152
2017-09-04 21:32:23 +08:00
Ivan Grokhotkov
9da1bf1a45
Merge branch 'bugfix/lwip_send_timeout' into 'master'
...
match sys tick with lwip_send_timeout
See merge request !1203
2017-09-04 18:19:59 +08:00
Angus Gratton
f487bb19d7
Merge branch 'bugfix/ci_build_examples_more' into 'master'
...
CI build_examples: Fix build flakiness
See merge request !1191
2017-09-04 16:02:12 +08:00
Angus Gratton
c275ad4ca4
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.
2017-09-04 17:40:15 +10:00
Angus Gratton
3dfcc312c8
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.
2017-09-04 17:37:28 +10:00
Angus Gratton
1cd2ce2471
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.)
2017-09-04 17:37:28 +10:00
zhangyanjiao
547b7b0246
match sys tick with lwip_send_timeout
2017-09-04 14:52:16 +08:00
Jeroen Domburg
c0510c4266
Merge branch 'feature/psram_in_address_space' into 'master'
...
Feature/psram in address space
See merge request !1069
2017-09-04 14:18:23 +08:00
Jeroen Domburg
153275b743
Merge branch 'bugfix/uart_5mbaud' into 'master'
...
Fix off-by-one in 5MBaud arg checking; propagate errors better
See merge request !1184
2017-09-04 12:06:33 +08:00
Jeroen Domburg
34372a091c
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.
2017-09-04 12:05:49 +08:00
zhiweijian
f1c4eda373
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
2017-09-01 21:55:28 +08:00
Jiang Jiang Jian
3a1de7dba3
Merge branch 'bugfix/btdm_fix_connection_parameters_update' into 'master'
...
component/bt: fix connection parameters update
See merge request !1099
2017-09-01 20:15:30 +08:00
Jeroen Domburg
518edac42f
Add GD chip into qio data, so (at least my) ESP-WROVER uses QIO mode succesfully.
2017-09-01 16:53:05 +08:00
Ivan Grokhotkov
5666fc0a56
Merge branch 'feature/esp_timer_improvements' into 'master'
...
esp_timer improvements
See merge request !1172
2017-09-01 16:14:01 +08:00
Jeroen Domburg
fe140fe347
Fix off-by-one in 5MBaud arg checking; propagate errors better
2017-09-01 12:15:28 +08:00
Ivan Grokhotkov
f31efb697c
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.
2017-09-01 10:36:14 +08:00
Ivan Grokhotkov
d2acf1ce77
sleep: add light sleep, factor out APIs common for deep/light sleep
2017-09-01 10:36:14 +08:00
Ivan Grokhotkov
65b046f17f
dport access: introduce pause/resume instead of deinit
2017-09-01 10:36:14 +08:00
Ivan Grokhotkov
f8b719d911
soc/rtc: add sleep flag to control powerdown of VDD_SDIO
2017-09-01 10:36:14 +08:00
Ivan Grokhotkov
06af8cd086
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.
2017-09-01 10:34:36 +08:00
Ivan Grokhotkov
c5632d3012
esp32: use ref_clock in esp_timer and delay tests
2017-09-01 10:34:36 +08:00
Ivan Grokhotkov
1af6384349
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.
2017-09-01 10:34:36 +08:00
Ivan Grokhotkov
c743bdac88
soc/rtc: round APB clock frequency to nearest MHz
2017-09-01 10:34:36 +08:00
Ivan Grokhotkov
d24e0dcc2c
Merge branch 'bugfix/ci_build_examples' into 'master'
...
ci: fix example builds and unit tests
See merge request !1188
2017-09-01 10:33:38 +08:00
Ivan Grokhotkov
d4e950d311
Merge branch 'feature/cxx_exceptions' into 'master'
...
Partial support for C++ exceptions
See merge request !930
2017-09-01 00:27:41 +08:00
Ivan Grokhotkov
b76a672aed
ci: disable sd card tests
2017-08-31 23:50:56 +08:00
Ivan Grokhotkov
c92fba3261
Merge branch 'feature/timeradd' into 'master'
...
feat(time): enable the macro timeradd, timersub, timerclear, etc.
See merge request !1177
2017-08-31 13:57:19 +08:00
Ivan Grokhotkov
0a5a705ca8
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
2017-08-31 10:45:55 +08:00
Ivan Grokhotkov
1cfe96b1d7
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
2017-08-31 10:45:30 +08:00
Ivan Grokhotkov
b4857fc159
Merge branch 'bugfix/memory_issues_pr838' into 'master'
...
vfat, i2s, mdns: Fix two memory leaks, one double free (github #838 )
See merge request !1173
2017-08-31 10:45:19 +08:00
Ivan Grokhotkov
e57a664798
Merge branch 'feature/freertos_interrupt_backtrace_opt' into 'master'
...
freertos: introduce CONFIG_FREERTOS_INTERRUPT_BACKTRACE
See merge request !1167
2017-08-31 10:45:06 +08:00
Angus Gratton
96f9ae3e30
Merge branch 'bugfix/minor_prs_github' into 'master'
...
Minor bugfixes and corrections from github
See merge request !1181
2017-08-31 07:11:30 +08:00
Angus Gratton
4f812eb29c
Remove redundant code line from uart.c
...
Merges part of https://github.com/espressif/esp-idf/pull/650
2017-08-30 17:55:00 +10:00
Simon Werner
c8d8fb58e7
Fixed incorrect value in comments for GPIO_NUM_33.
...
Merges https://github.com/espressif/esp-idf/pull/676
2017-08-30 17:55:00 +10:00
Deomid Ryabkov
3e6c515d5b
Using a 128-bit UUID is not an error
...
Merges https://github.com/espressif/esp-idf/pull/713
2017-08-30 17:55:00 +10:00
Geza Husi
eb8bd937c6
deep_sleep: RTC-GPIO pin calculation incorrect
...
Merges https://github.com/espressif/esp-idf/pull/822
2017-08-30 17:55:00 +10:00
Lacy Rhoades
c61b3e89f1
Typo fixes
...
Merges https://github.com/espressif/esp-idf/pull/831
2017-08-30 17:55:00 +10:00
phuzi
762d5fcb4c
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
2017-08-30 17:55:00 +10:00
Stephen Casner
1e3dd2a4fa
Add missing debug log message for out-of-sockets case
...
Merges https://github.com/espressif/esp-idf/pull/903
2017-08-30 17:55:00 +10:00
Deomid Ryabkov
8c1acb0363
Provide a default for CONFIG_BT_RESERVE_DRAM
...
...when BT is not built
Merges https://github.com/espressif/esp-idf/pull/910
2017-08-30 17:55:00 +10:00
michael
8f994b9dce
feat(time): enable the macro timeradd, timersub, timerclear, etc.
...
TW#14488
Closes https://github.com/espressif/esp-idf/issues/867
2017-08-30 14:08:14 +08:00
Henrik Maier
95fe7929c0
Fix spinlock bug for uart_set_rts and uart_set_dtr
...
Merges https://github.com/espressif/esp-idf/pull/649
2017-08-30 15:32:23 +10:00
Angus Gratton
ef60d73fe4
Merge branch 'bugfix/mdns_tcpip_threadsafe' into 'master'
...
mdns: Use LwIP IPC for low-level API calls
See merge request !925
2017-08-30 13:28:51 +08:00
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