Angus Gratton
31cbd1b251
Merge branch 'feature/emmc_ddr' into 'master'
...
sdmmc: eMMC support, command layer refactoring
See merge request idf/esp-idf!3062
2018-08-30 18:14:35 +08:00
Angus Gratton
7440d5f920
Merge branch 'feature/py3_idf_size' into 'master'
...
tools: Support Python 3 in idf_size.py
See merge request idf/esp-idf!2849
2018-08-30 18:12:17 +08:00
zhangyanjiao
5425979932
when brownout reset occurs,set the phy TX Power to the lowest
2018-08-30 14:22:03 +08:00
Angus Gratton
c4ed9d15f7
heap: Drop priority of DMA reserved memory pool
...
Ensures that non-reserved memory should be used up first, before allocating from this pool.
2018-08-30 06:18:18 +00:00
Angus Gratton
776c57e0ac
heap: When adding a new heap, allocate its metadata block from internal memory only
2018-08-30 06:18:18 +00:00
Angus Gratton
fafe532f35
ci: Add 'check' stage, move all check-related jobs to this stage
...
Allows us to prevent pushing to GitHub if a check fails on master/release branch.
2018-08-30 14:14:48 +08:00
Ivan Grokhotkov
da34e3eb68
sdmmc: document eMMC support, host features
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
b7e5b28f49
sdmmc: update unit tests for ESP_eMMC_TestBoard_V1
...
1. New tests for SD card on slot 0. Currently frequency for 4-bit mode
has to be reduced in the test.
2. Change pin for CD/WP tests, re-enable CD tests.
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
78fab8a0f9
sdmmc: implement partial DDR support
...
Works for 3.3V eMMC in 4 line mode.
Not implemented:
- DDR mode for SD cards (UHS-I) also need voltage to be switched to 1.8V.
- 8-line DDR mode for eMMC to be implemented later.
2018-08-30 13:11:54 +08:00
Ivan Grokhotkov
de42d99b1d
sdmmc: command layer refactoring
2018-08-30 13:11:54 +08:00
Angus Gratton
1806a69abf
Merge branch 'bugfix/http_server_example_tests' into 'master'
...
http_server : Fix and enable example tests
See merge request idf/esp-idf!2960
2018-08-30 12:46:29 +08:00
Tian Hao
5a8917c337
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:39:19 +08:00
sergiu2014
383464749a
eMMC/MMC support for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/1941
Previous work in https://github.com/espressif/esp-idf/pull/590
2018-08-30 11:36:28 +08:00
Ivan Grokhotkov
80e47a005d
sdmmc host: minor cleanup
...
Code style, comments
2018-08-30 11:36:28 +08:00
Angus Gratton
100a325129
Merge branch 'fix/spi_example_wait_gpio' into 'master'
...
spi: fix the misleading example, letting the master wait until slave is ready
See merge request idf/esp-idf!3136
2018-08-30 11:29:38 +08:00
He Yin Ling
b01e87bbaf
Merge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'
...
test: fix bug of BTSTK_GATT_25007
See merge request idf/esp-idf!3096
2018-08-30 11:19:04 +08:00
Jiang Jiang Jian
9be09692b1
Merge branch 'bugfix/btdm_get_acl_num' into 'master'
...
component/bt : fix get acl number incorrect due to memory release
See merge request idf/esp-idf!3090
2018-08-30 11:12:46 +08:00
Angus Gratton
e5842f69d0
Merge branch 'doc/python_sphinx_build' into 'master'
...
docs: Call 'python -m sphinx' instead of sphinx-build
See merge request idf/esp-idf!3127
2018-08-30 11:02:35 +08:00
Angus Gratton
ff54bfcde1
Merge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'
...
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
See merge request idf/esp-idf!3041
2018-08-30 10:00:07 +08:00
Anurag Kar
e2b4ad8f6e
Temporary : Disable leak tests
2018-08-30 03:01:59 +05:30
Anurag Kar
e2da1d9905
http_server : Fix and enable example tests
...
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.
2018-08-30 03:01:59 +05:30
Jiang Jiang Jian
ba17648aea
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
...
mesh: bugfix and add two APIs
See merge request idf/esp-idf!3107
2018-08-29 23:05:32 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
49a910adfb
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-29 20:22:55 +08:00
Angus Gratton
a528d3a61a
kconfig: Merge Kconfig.compiler back into Kconfig
...
Reverts 5e0a3d99e8
(no longer needed but also not supported by
mconf-idf built from kconfig-frontends repo.)
2018-08-29 20:22:55 +08:00
Angus Gratton
cb158f1194
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-29 20:22:55 +08:00
Renz Bagaporo
071aaea66b
Place embedded data on flash
2018-08-29 20:22:55 +08:00
Angus Gratton
408463d0bf
cmake idf.py: Fix bug in JSON parsing when printing flash commands
2018-08-29 20:22:55 +08:00
Angus Gratton
7f06543817
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-29 20:22:55 +08:00
Mahavir Jain
8227db4f5e
spi_flash: fix erase_range for block erase check
...
Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Mahavir Jain
62746e414e
bootloader: add API for erasing flash region
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Mahavir Jain
4a987dacca
bootloader: keep bootloader_common code to retention region
...
It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-29 12:04:32 +00:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Angus Gratton
393c29b656
cmake: Fix bt component dependencies
2018-08-29 19:37:25 +08:00
Angus Gratton
068a3e2f6a
cmake: Fix flasher argument generation
2018-08-29 19:37:19 +08:00
Michael (XIAO Xufeng)
0c64d8e822
spi: fix the misleading example, letting the master wait until slave is ready
2018-08-29 18:40:21 +08:00
Jitin George
458b167f1a
docs/en/security: Add documentation for signed apps without hardware secure boot feature
2018-08-29 17:05:34 +08:00
Angus Gratton
b364f23e17
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-08-29 17:05:29 +08:00
Ivan Grokhotkov
27f3c3e668
Merge branch 'bugfix/gcc8_warnings' into 'master'
...
Fix or silence warnings found by GCC 8
See merge request idf/esp-idf!3130
2018-08-29 15:53:28 +08:00
Angus Gratton
1abd346943
docs: Call 'python -m sphinx' instead of sphinx-build
...
Fixes mismatches where default Python interpreter may not match the most recently
installed sphinx-build wrapper script (if sphinx 2 & 3 both installed, pip will
clobber any previous copy of /bin/sphinx-build when it installs the new one.)
2018-08-29 14:43:42 +08:00
Ivan Grokhotkov
61dc37a6c3
examples/bluetooth: add fallthrough annotations
2018-08-29 14:40:28 +08:00
Anton Maklakov
8c040e749f
bluetooth: fix format overflow warnings
2018-08-29 14:40:28 +08:00
Anton Maklakov
779bce7681
bluetooth: fix incorrect memset size
2018-08-29 14:40:28 +08:00
Anton Maklakov
e8eb8cb2a4
bluetooth: fix missing braces and indentation
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
ed546797d0
heap: test: don’t warn about oversized mallocs
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
033b694128
bt/a2dp: fix incorrect return type
...
res was declared as “bool” so expression
((count == 0) ? A2D_SET_ONE_BIT : A2D_SET_MULTL_BIT)
always evaluated to “true”, and was implicitly converted to
A2D_SET_ONE_BIT.
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
9fbe42c0f1
bt/bta: fix returning value from function returning void
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
536df958ad
bt/btm: fix misplaced debug statement
2018-08-29 14:40:28 +08:00
Anton Maklakov
6af721e8e4
examples/bluetooth: Fix incompatible cast
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
c3123b00ae
examples/spi_slave: check for truncation in snprintf call
...
Also fix character array initializer
2018-08-29 14:40:28 +08:00