Commit graph

1666 commits

Author SHA1 Message Date
Renz Bagaporo 89a255f5eb ldgen: determinism in mapping rule order
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-04-30 18:20:00 +08:00
Ivan Grokhotkov 79976e7370 Merge branch 'feature/storage_examples' into 'master'
examples: Add storage example tests and migrate "loadable elf" test to test_apps

Closes IDF-1150 and IDF-1586

See merge request espressif/esp-idf!8174
2020-04-30 14:34:34 +08:00
Krzysztof Budzynski 613a12a056 Merge branch 'docs/update_mass_mfg' into 'master'
docs: Include links to tools for flash operations

See merge request espressif/esp-idf!8518
2020-04-29 20:27:18 +08:00
Jiang Jiang Jian 922a0fa485 Merge branch 'feature/esp-hid-component' into 'master'
ESP-HID Component

See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov 25281ef4de Add HID Support to IDF
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
Roland Dobai 2d709c6384 Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
Roland Dobai 819f7a4e57 examples: Add storage example tests 2020-04-29 09:16:18 +02:00
Shivani Tipnis 3f6e7a553b docs: Include links to tools for flash operations 2020-04-29 11:19:02 +05:30
Angus Gratton 6dc6aa0063 Merge branch 'feature/system_example_tests' into 'master'
Add system example tests

Closes IDF-1148

See merge request espressif/esp-idf!8438
2020-04-29 13:43:45 +08:00
Roland Dobai e1dc92b60b Add system example tests 2020-04-28 14:52:15 +02:00
Roland Dobai 4f8e2699db tools: Make Unicode from subprocess result in the CMake convert script
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).

Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-27 16:15:52 +02:00
Anton Maklakov 3029ab343b Merge branch 'test/ci_disable_ut_s2_wo_label' into 'master'
ci: disable the UT for S2 when label is not used

See merge request espressif/esp-idf!8480
2020-04-27 16:35:45 +08:00
Angus Gratton 3845b002b8 Merge branch 'bugfix/esp32s2_iram_dram_disable_tests' into 'master'
esp32s2: disable memprot for all CI tests (temporary)

See merge request espressif/esp-idf!8484
2020-04-27 13:16:44 +08:00
Michael (XIAO Xufeng) 9d98111652 Merge branch 'bugfix/spi_bus_lock_missing_semphrstatic' into 'master'
spi: fix config break and reduce overhead of the bus lock on SPI1

Closes IDFGH-3017

See merge request espressif/esp-idf!8221
2020-04-27 12:57:19 +08:00
Martin Vychodil c9d2ad0ce5 esp32s2: disable memprot for all CI tests (temporary) 2020-04-26 22:38:53 +02:00
Michael (XIAO Xufeng) ac63760ded ci: disable the UT for S2 when label is not used 2020-04-26 16:29:49 +08:00
Ivan Grokhotkov 8a007dcbc2 Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults' into 'master'
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci

See merge request espressif/esp-idf!8437
2020-04-23 22:49:18 +08:00
David Čermák 3d868ec05d Merge branch 'bugfix/ppp_test_check_netif' into 'master'
ppp-test: addressing stability of PPP test

See merge request espressif/esp-idf!8373
2020-04-23 21:47:40 +08:00
Angus Gratton 8a349d7102 Merge branch 'fix/ci_example_test_prov' into 'master'
CI: Fix prov example test exception handle

See merge request espressif/esp-idf!8413
2020-04-23 17:00:10 +08:00
David Cermak a245f5047a ppp-test: wait for graceful disconnect when PPP shutdowns 2020-04-23 05:55:17 +00:00
David Cermak b3749e38f9 ppp-test: check if ppp interface is active and IP address correct before starting the test
Addressing stability of pppos test:
* listing active network interfaces for presence of "ppp0" interface
* fixed IPv6 address regex to prevent ttfw accept partial address only
(less than 8 octets)
* workaround crash after exiting app_main()
2020-04-23 05:55:17 +00:00
Ivan Grokhotkov 28efe511f4 Merge branch 'bugfix/semihosting_write' into 'master'
Semihosting fixes for write and the  semihost example

See merge request espressif/esp-idf!8290
2020-04-23 06:26:41 +08:00
Shivani Tipnis 745e979283 CI: Fix prov example test cryptography package version exception handling 2020-04-23 00:27:40 +05:30
Roland Dobai 14978aef70 CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci 2020-04-22 15:29:06 +02:00
michael fdf983e0c4 spi: fix config break and reduce overhead of the bus lock on SPI1
The SPI bus lock on SPI1 introduces two side effects:

1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.

2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.

This commit:

1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.

2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.

3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.

introduced in 49a48644e4.

Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
He Yin Ling c2e068f0e4 Merge branch 'bugfix/ci_partition_table_detection' into 'master'
CI: Fix partition table detection if "partition" is in the project name

See merge request espressif/esp-idf!8223
2020-04-22 15:10:11 +08:00
Alexey Gerenkov c0610a49b4 tools: Updates OpenOCD version to 'v0.10.0-esp32-20200420' 2020-04-21 19:43:58 +03:00
Ivan Grokhotkov 28b9acabe2 Merge branch 'bugfix/shell_runner_fails_pacman' into 'master'
Fix cmake component management test on shell runners

See merge request espressif/esp-idf!8398
2020-04-20 18:23:42 +08:00
Sergei Silnov 44d77c7100 Fix cmake component management test on shell runners 2020-04-20 09:25:03 +02:00
Ivan Grokhotkov 8ee1ec1270 Merge branch 'bugfix/pyyaml_test_config_output_unicode' into 'master'
test_config: pyyaml will generate !!python/unicode in test_config

See merge request espressif/esp-idf!8288
2020-04-20 02:21:11 +08:00
Krzysztof Budzynski e45794d0cb Merge branch 'doc/pdf_generation' into 'master'
PDF generation for build doc

Closes IDF-1217 and IDF-1464

See merge request espressif/esp-idf!8110
2020-04-20 01:44:42 +08:00
Alex Lisitsyn b1fe4c4cc6 freemodbus: add extern c block into common header for cpp 2020-04-17 17:56:50 +08:00
Marius Vikhammer 8a3d806798 doc: update CI to build PDF 2020-04-15 17:14:27 +08:00
Marius Vikhammer 407275f681 doc: add latex and PDF generation to build_docs
Adds options for generating tex-files and PDFs when building documentation

Closes IDF-1217
Closes IDF-1464
2020-04-15 17:14:22 +08:00
David Cermak 2c2f909133 idf.py: debug ext prints detailed info/hint on common openocd issues 2020-04-15 09:07:17 +02:00
David Čermák e7b80f2b71 Merge branch 'feature/pppos_client_test' into 'master'
PPPoS client test

Closes IDF-310, WIFI-1652, IDFGH-2844, and IDFGH-2732

See merge request espressif/esp-idf!7794
2020-04-15 13:57:36 +08:00
Angus Gratton e02f5fbbed Merge branch 'bugfix/get_component_requirements' into 'master'
cmake: fix getting component requirements

See merge request espressif/esp-idf!8171
2020-04-15 13:52:49 +08:00
David Cermak 636621d1c5 pppos_client: Add a test application for pppos_client
Adding testing facilities for pppos-client including esp-modem component
and PPP client in lwip. Testing is provided with PPP server running on
rpi.
2020-04-14 21:46:07 +02:00
Mahavir Jain d85d3d969f Merge branch 'bugfix/remove_libsodium_s2_config' into 'master'
unit_test_app: remove libsodium config for esp32s2

See merge request espressif/esp-idf!8341
2020-04-14 20:19:48 +08:00
Ivan Grokhotkov 5cf8c68881 Merge branch 'bugfix/idf_py_ext_debug_ut_coex' into 'master'
idf.py: fix debug extenstion to work with unit tests

See merge request espressif/esp-idf!8306
2020-04-14 17:30:59 +08:00
Mahavir Jain b83c3bbb66 unit_test_app: remove libsodium config for esp32s2
This configuration overflows DRAM size for esp32s2 and hence
resulting in CI failure. Removing this config as it does not
add any value in esp32s2 context.
2020-04-14 12:35:19 +05:30
Anton Maklakov e24da716f3 Merge branch 'bugfix/ci_public_header_debug' into 'master'
ci: public header check to display error messages if verbose is off

See merge request espressif/esp-idf!8283
2020-04-12 01:21:59 +08:00
David Cermak ec391ddfa1 idf.py: fix debug extenstion to work with unit tests 2020-04-09 14:54:10 +02:00
Ivan Grokhotkov a521921788 Merge branch 'feature/build_app_readable_multi_target' into 'master'
build_app: make multi target support readable

See merge request espressif/esp-idf!8275
2020-04-09 16:40:57 +08:00
Fu Hanxi 5b2fa1a5ad build_app: make multi target support readable 2020-04-09 16:40:57 +08:00
Anton Maklakov 445e847274 Merge branch 'bugfix/ci_app_test_dependency' into 'master'
CI: correct example vs. custom tests dependency

See merge request espressif/esp-idf!8258
2020-04-09 14:02:13 +08:00
David Cermak ce0c70770d ci: public header check to display error messages if verbose is off
Also added a command line option to reduce the analysis to a specific
directory only. This is useful for local execution for checking updated
headers with verbose flag set.
2020-04-09 07:44:55 +02:00
Ivan Grokhotkov 2e14149bff Merge branch 'feat/monitor_remake_with_serial_arg' into 'master'
idf_monitor: support to re-flash with the using port

Closes IDFGH-2479 and IDF-836

See merge request espressif/esp-idf!6373
2020-04-09 05:43:32 +08:00
David Cermak 6d07bcd611 mqtt-tests: rename tests to match the actual group 2020-04-08 14:41:05 +02:00
David Cermak 25803b9dc4 ci: run custom-test separately from example-tests 2020-04-08 14:41:05 +02:00