Angus Gratton
5f3cb9f9dc
build system: Document --warn-undefined-variables and add a config item for it
2017-09-05 16:11:03 +10:00
Angus Gratton
8670844acf
build system: Restore ifdef/ifndef in Makefiles, clean up examples build
2017-09-05 16:11:03 +10:00
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
2806b57fc1
build system: Don't make menuconfig if "make clean" run with no sdkconfig
2017-09-04 17:40:15 +10:00
Angus Gratton
867b20837f
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.
2017-09-04 17:40:15 +10:00
Angus Gratton
97efaab27b
build system tests: Run inside PWD same as build_examples.sh
2017-09-04 17:40:15 +10:00
Angus Gratton
774c9d0a61
ci: Add two more example build jobs per CI pass
2017-09-04 17:40:15 +10: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
2544355301
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
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
Jiang Jiang Jian
73473ad351
Merge branch 'bugfix/btdm_optimize_gatt_security_server_demo' into 'master'
...
component/bt: optimize gatt security server demo
See merge request !1047
2017-09-01 20:13:13 +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
98e5c475b3
Merge branch 'feature/light_sleep' into 'master'
...
Rename esp_deep_sleep_ APIs to esp_sleep_, introduce light sleep function
See merge request !1168
2017-09-01 11:10:52 +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
9a2c62cf2b
unity: add reference clock for use in unit 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
3d8390fa8a
ci: put example log files on the build volume
2017-08-31 23:00:48 +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
1c718330a9
Merge branch 'bugfix/remove_at_build_from_ci' into 'master'
...
CI: remove build at
See merge request !1171
2017-08-31 10:45:40 +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
32571dd004
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
2017-08-31 06:50:24 +08:00
Angus Gratton
a88f4126c6
Merge branch 'bugfix/timer_group_example' into 'master'
...
bugfix(timer group): remove floating-point in timer isr in example.
See merge request !1080
2017-08-31 06:49:26 +08:00
Wangjialin
1c9e821fb4
bugfix(timer group): remove floating-point in timer isr in example.
2017-08-30 23:30:53 +08:00
Josh Lospinoso
e183897924
README: Converting URLs from HTTP to HTTPS
...
Merges https://github.com/espressif/esp-idf/pull/622
2017-08-30 17:55:00 +10:00