Angus Gratton
2dd3344342
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-18 01:41:58 +00:00
Renz Christian Bagaporo
9ce7ffb440
ldgen: fix library path parsing in windows
...
Closes https://github.com/espressif/esp-idf/issues/3173
2019-03-18 03:47:38 +08:00
Renz Christian Bagaporo
234de8de55
cmake: Allow components to present their own images to flash
2019-03-18 03:45:22 +08:00
Mahavir Jain
e4d97bef3d
make: use shell
command to extract version string
2019-03-17 21:33:22 +08:00
Jiang Jiang Jian
5beb2802e0
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
...
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
See merge request idf/esp-idf!2208
2019-03-17 14:19:11 +08:00
Jiang Jiang Jian
8e4b82548a
Merge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'
...
dhcpserver: suppress send_nak debug output
Closes IDFGH-557
See merge request idf/esp-idf!4491
2019-03-17 14:12:58 +08:00
Angus Gratton
f6665cf90b
Merge branch 'bugfix/esp_prov_ble_rw_except' into 'master'
...
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
See merge request idf/esp-idf!4503
2019-03-15 21:10:53 +08:00
zhangyanjiao
6408ef9e7c
wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated
...
Closes https://github.com/espressif/esp-idf/issues/2880
2019-03-15 16:28:58 +08:00
Jiang Jiang Jian
b1a81e8167
Merge branch 'bugfix/bb_watchdog_reset' into 'master'
...
esp32: add WiFi baseband watchdog reset
See merge request idf/esp-idf!4409
2019-03-15 16:12:30 +08:00
Angus Gratton
6400714d9b
Merge branch 'feature/confserver_v2' into 'master'
...
confserver: Add v2 confserver protocol with separate visibility info
See merge request idf/esp-idf!4162
2019-03-15 14:49:05 +08:00
Angus Gratton
cc9b06d4da
Merge branch 'bugfix/esp_sha_signing_sha256' into 'master'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API
Closes IDFGH-681
See merge request idf/esp-idf!4440
2019-03-15 14:35:38 +08:00
Angus Gratton
87881b76ad
Merge branch 'bugfix/make_gcc_version_evaluation' into 'master'
...
make: Ensure that component_project_vars.mk not generated before config
See merge request idf/esp-idf!4474
2019-03-15 14:30:48 +08:00
Ivan Grokhotkov
b4d87191ef
Merge branch 'bugfix/esp-http-client-event-fixes' into 'master'
...
Minor bugfixes in esp_http_client and tcp_transport
See merge request idf/esp-idf!4467
2019-03-15 11:45:40 +08:00
Ivan Grokhotkov
416b756ea4
Merge branch 'bugfix/name_conflict_esp32_project_ld' into 'master'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
See merge request idf/esp-idf!4484
2019-03-15 11:42:20 +08:00
Angus Gratton
a44f43c2ea
confserver: Send an error response if JSON request is malformatted
2019-03-15 14:31:45 +11:00
Angus Gratton
6897dab2de
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 14:31:45 +11:00
Angus Gratton
02802a5113
confserver: Add support for new V2 protocol
...
V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json
Still backwards compatible with V1, with some small changes (menu items now listed in results).
Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings
2019-03-15 14:31:45 +11:00
Angus Gratton
f02ceb747e
Merge branch 'bugfix/idf_py_windows_relpath' into 'master'
...
idf.py: Fix Windows issue if project and IDF are on different drives
Closes IDFGH-478
See merge request idf/esp-idf!4404
2019-03-15 09:36:25 +08:00
Anurag Kar
048cd2a887
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
...
This is useful in the context of provisioning when server initiates disconnection if secure session establishment fails.
2019-03-14 18:33:34 +05:30
Jiang Jiang Jian
b8f23fbd42
Merge branch 'bugfix/ble_assert_8192' into 'master'
...
fix the bug assert(8192 0) in rwble.c 234
See merge request idf/esp-idf!4461
2019-03-14 20:24:33 +08:00
Jitin George
9b0e6e3b49
esp_http_client: Fix header sent event bug
2019-03-14 14:31:28 +05:30
Jitin George
d943c8de94
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-03-14 14:31:28 +05:30
Ivan Grokhotkov
ce6b73ca5f
Merge branch 'bugfix/console_allow_buffered' into 'master'
...
console example: use buffered stdout by default
See merge request idf/esp-idf!4476
2019-03-14 15:40:42 +08:00
Ivan Grokhotkov
1b3373543f
Merge branch 'feature/trim_idf_ver_to_fit_32bit_field' into 'master'
...
tools/test_build_system: Trim IDF_VER to fit a 32-bit field
Closes IDFGH-682
See merge request idf/esp-idf!4477
2019-03-14 15:39:20 +08:00
Tian Hao
b39bd0615c
fix the bug assert(8192 0) in rwble.c 234
2019-03-14 15:38:23 +08:00
Angus Gratton
7c69f6172b
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue' into 'master'
...
spi_flash: fix stale read issue for memory mapped partition
See merge request idf/esp-idf!4437
2019-03-14 14:56:12 +08:00
zhangyanjiao
fa2998d70b
dhcpserver: suppress send_nak debug output
...
Closes https://github.com/espressif/esp-idf/issues/2924
2019-03-14 14:00:35 +08:00
Angus Gratton
12bdf8e45b
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-03-14 05:56:06 +00:00
Angus Gratton
1cc726b2a3
secure boot: Use mbedtls_sha256() not esp_sha()
...
Latter is probably compiled into most firmwares already, saves some size.
Ref https://github.com/espressif/esp-idf/issues/3127
2019-03-14 05:56:06 +00:00
Angus Gratton
6a6fbde83d
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
...
* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681
Also reported at https://esp32.com/viewtopic.php?f=13&t=9506
2019-03-14 05:56:06 +00:00
Angus Gratton
981585df95
Merge branch 'feature/github_sync_prs_jira' into 'master'
...
github: Sync PRs to JIRA as well
See merge request idf/esp-idf!4487
2019-03-14 13:53:10 +08:00
Angus Gratton
d6a2590e40
Merge branch 'ci/print_error_label_check' into 'master'
...
ci: Print an error in the log if the label check fails
See merge request idf/esp-idf!4485
2019-03-14 11:37:20 +08:00
Angus Gratton
d0739861e8
github: Sync PRs to JIRA as well
...
Currently the GitHub sync half-syncs these (as it will create a JIRA issue as soon as the first
comment is made on the PR).
2019-03-14 14:29:46 +11:00
Angus Gratton
31ca6e399b
Merge branch 'bugfix/mdns_add_remove_multiple_srv_master' into 'master'
...
mdns: fix possible crash if tx packet contained answer to removed service
Closes IDF-498 and IDF-504
See merge request idf/esp-idf!4348
2019-03-14 08:10:23 +08:00
Angus Gratton
f552977309
make: Ensure that component_project_vars.mk not generated before config
...
* Fix the situation where component_project_vars.mk is generated before config exists
* Does not fix situation where config is changed and component_project_vars.mk contents should be
changed. This may still require a rebuild.
2019-03-14 10:57:36 +11:00
Angus Gratton
3bfb0d86e3
ci: Print an error in the log if the label check fails
...
One less step for a developer to figure out why this failed.
2019-03-14 10:15:49 +11:00
Angus Gratton
974796fa6c
Merge branch 'bugfix/remove_malloc_ble_prov' into 'master'
...
Protocomm BLE: Make changes in handling BLE read/write requests
See merge request idf/esp-idf!4444
2019-03-14 07:08:50 +08:00
Angus Gratton
a79c5b8271
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
...
Linker script generator produces build/esp32/esp32.common.ld from
components/esp32/ld/esp32.common.ld.in
This works fine until IDF is downgraded to V3.1 which uses components/esp32/ld/esp32.common.ld and
doesn't track build/esp32/esp32.common.ld at all.
At this point, the linker runs in the build/esp32 directory and "-T esp32.common.ld" picks up the
linker script generated .ld file, which causes mis-builds.
As reported on forums: https://esp32.com/viewtopic.php?f=13&t=9684&p=40105
2019-03-14 09:59:31 +11:00
Krzysztof Budzynski
16b2fd2dce
Merge branch 'doc/review_get_started' into 'master'
...
Update IDF getting started sections for make and cmake as well as IDF monitor…
See merge request idf/esp-idf!4331
2019-03-14 00:10:26 +08:00
Kirill Chalov
49cca9288f
Update IDF getting started sections for make and cmake as well as IDF monitor…
2019-03-14 00:10:26 +08:00
Konstantin Kondrashov
b1b5849c4c
rmt/driver: Sped the rmt_driver_isr_default ISR
...
Used __builtin_ctz function to sped ISR.
2019-03-13 13:50:43 +00:00
Konstantin Kondrashov
3307735bc0
pcnt/driver: Sped the pcnt_intr_service ISR
...
Used __builtin_ctz function to sped ISR.
2019-03-13 13:50:43 +00:00
Pieter du Preez
b8dc48ab18
gpio/driver: Sped the gpio_intr_service ISR up by 1.5 uSeconds (+-50% faster).
...
Removed as much branching (if statements) from the
gpio_intr_service ISR, as possible and split the while loop into
two. Also forced writing the two status*_w1tc variables only once,
instead of every time after calling the external function hooks.
The measurements below, was done using the following tools:
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Here follows a comparison of the gpio_intr_service ISR's
execution time, using a DS1054 oscilloscope. All the time spent
calling external functions, via the function pointers
gpio_isr_func[gpio_num].fn, were disregarded.
With OPTIMIZATION_FLAGS = -Og, 1.34 uSeconds faster:
3.22 uSec (with this patch)
4.56 uSec (with commit 71c90ac4
)
100 - (100 * 4.56 / 3.22) = 42% faster
With OPTIMIZATION_FLAGS = -Os, 1.65 uSeconds faster:
2.89 uSec (with this patch)
4.54 uSec (with commit 71c90ac4
)
100 - (100 * 4.54 / 2.89) = 57% faster
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2861
2019-03-13 13:50:43 +00:00
KonstantinKondrashov
126d6b2de2
tools/test_build_system: Add tests with long IDF_VER
2019-03-13 20:43:33 +08:00
Ivan Grokhotkov
d34ca0b897
Merge branch 'test/fix_some_ut_not_assigned' into 'master'
...
test: fix some ut case not assigned
See merge request idf/esp-idf!4449
2019-03-13 20:42:24 +08:00
Ivan Grokhotkov
945bd36884
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-13 20:32:37 +08:00
Ivan Grokhotkov
fa57fb3c1c
console/linenoise: support buffered stdout
2019-03-13 20:17:25 +08:00
Konstantin Kondrashov
f8ca296438
cmake: Trim IDF_VER to fit a 32-bit field
2019-03-13 20:04:43 +08:00
Konstantin Kondrashov
53208f6324
make: Trim IDF_VER to fit a 32-bit field
...
Closes: https://github.com/espressif/esp-idf/issues/3131
2019-03-13 20:01:28 +08:00
zhiweijian
296fbca2e7
Component/bt: fix blufi prepare write crash
2019-03-13 17:57:25 +08:00