Felipe Neves
93ffc009ef
vfs: restrict the fast seek for read-only files
...
Since the files under fast-seek cannot be expanded with further writes, it does not
make sense to enable fast-seek which may fail in write-mode files
2020-11-05 17:01:50 -03:00
Felipe Neves
32e760adfb
fat_vfs: added fast seek capable file operation
2020-11-05 17:01:50 -03:00
morris
ff976867b3
rmt: split TX and RX in LL driver
...
Split TX and RX function in LL driver.
Channel number is encoded in driver layer.
Added channel signal list in periph.c
2020-11-05 19:00:55 +08:00
Ivan Grokhotkov
b178780d52
Merge branch 'bugfix/missing_assign_test_variable' into 'master'
...
CI: fix missing variables issue in assign_test
See merge request espressif/esp-idf!11111
2020-11-04 18:58:35 +08:00
Fu Hanxi
64fc8072b4
bugfix: variable missing in assign_test
2020-11-04 16:48:30 +08:00
Anton Maklakov
b5b2738644
Merge branch 'test/ci_fuzzer_precheck' into 'master'
...
CI: Add a test to pre-check fuzzer tests compilation before weekly run
See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
Fu Hanxi
09c8777c22
Renable deploy_docs_production
2020-11-04 03:10:50 +00:00
martin.gano
346b002d9a
enable autocompletion for command idf.py
2020-11-03 23:27:58 +01:00
Fu Hanxi
47a97d2b52
check_kconfigs and check_deprecated_kconfigs now use files arguments
2020-11-02 15:49:13 +08:00
Fu Hanxi
bcc8f2628c
CI: Add pre-commit for esp-idf project.
...
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00
Chen Yu Dong
9e8315d9b3
ci: limit switching branches for auto_test_script
2020-11-02 06:59:13 +00:00
Michael (XIAO Xufeng)
23584e094f
Merge branch 'feature/esp_flash_32b_addr' into 'master'
...
esp_flash: support high capacity flash chips (32-bit address)
See merge request espressif/esp-idf!9475
2020-10-30 15:22:44 +08:00
Ivan Grokhotkov
5341d20318
Merge branch 'bugfix/shell_test_script_missing_in_test_build_system_macos' into 'master'
...
Bugfix: missing `SHELL_TEST_SCRIPT` in job `test_build_system_cmake_macos`
See merge request espressif/esp-idf!11031
2020-10-30 03:20:39 +08:00
Fu Hanxi
09d4774a0a
CI: Temperaroily disable `deploy_docs_production` since `needs` has a bug which will be fixed in GitLab 13.4
2020-10-29 18:33:18 +08:00
Michael (XIAO Xufeng)
3bacf35310
esp_flash: support high capacity flash chips (32-bit address)
2020-10-29 18:20:11 +08:00
Anton Maklakov
54e8ec29b2
Merge branch 'test/ci_assign_test_regular' into 'master'
...
ci: add assign_test into regular test
See merge request espressif/esp-idf!10998
2020-10-29 16:13:32 +08:00
Ivan Grokhotkov
d13455e6fc
Merge branch 'bugfix/ldgen_section_windows_line_ending' into 'master'
...
tools/ldgen: Fix parsing of section names on Windows
See merge request espressif/esp-idf!10988
2020-10-29 15:25:11 +08:00
Angus Gratton
654a827d7b
Merge branch 'bugfix/docs_push_production_without_push_to_github' into 'master'
...
bugfix: Run `deploy_docs_production` in `post_deploy` stage after `push_to_github` successfully
See merge request espressif/esp-idf!11028
2020-10-29 15:18:01 +08:00
Fu Hanxi
6a9ff50610
Bugfix: missing `SHELL_TEST_SCRIPT` in job `test_build_system_cmake_macos`
2020-10-29 10:44:50 +08:00
Fu Hanxi
78134907a2
bugfix: Run `deploy_docs_production` in `post_deploy` stage after `push_to_github` successfully
2020-10-29 09:45:43 +08:00
Angus Gratton
8f3393afdf
Merge branch 'refactor/create_esp_hw_support' into 'master'
...
Create esp_hw_support
Closes IDF-2161
See merge request espressif/esp-idf!10513
2020-10-29 07:51:46 +08:00
Renz Bagaporo
bea280c948
ci: increase s2 test jobs
2020-10-28 22:38:50 +08:00
Renz Bagaporo
6b0a5af73e
soc: move implementations to esp_hw_support
2020-10-28 22:38:50 +08:00
Michael (XIAO Xufeng)
2ce058e100
ci: add assign_test into regular test
2020-10-28 16:32:54 +08:00
Angus Gratton
f7de809f31
Merge branch 'bugfix/ldgen_allow_more_characters_sections_entries' into 'master'
...
ldgen: allow more characters in `sections` fragment `entries`
See merge request espressif/esp-idf!10956
2020-10-28 14:40:43 +08:00
Anton Maklakov
b1d98e519d
Merge branch 'ci/refactor_ci_yaml' into 'master'
...
CI: Refactor CI rules into separate yaml file: rules.yml
See merge request espressif/esp-idf!10634
2020-10-28 11:09:01 +08:00
Renz Bagaporo
988be69466
esp_hw_support: create component
2020-10-28 07:21:29 +08:00
Michael (XIAO Xufeng)
b6e763ac86
Merge branch 'bugfix/wrong_gdma_m2m_mode_config' into 'master'
...
gdma: fix wrong m2m mode config
See merge request espressif/esp-idf!10916
2020-10-27 23:43:23 +08:00
David Čermák
df0360859a
Merge branch 'test/esp_openssl_test_app' into 'master'
...
ESP-OPENSSL-tests : Added new test-app to check esp-ssl connection
Closes IDF-2143
See merge request espressif/esp-idf!10744
2020-10-27 23:07:10 +08:00
morris
9de6cba434
ci: add more build test for esp32-s3
2020-10-27 17:22:17 +08:00
Michael (XIAO Xufeng)
2a329df051
Merge branch 'feat/spi_flash_qio_test' into 'master'
...
spi_flash: add unit tests for qio mode
See merge request espressif/esp-idf!8303
2020-10-27 12:24:05 +08:00
David Cermak
8d6e03a529
ci: increase parallel job count for S2 unit tests
2020-10-26 16:00:42 +00:00
Roland Dobai
c66868d26c
tools/ldgen: Fix parsing of sections names on Windows
2020-10-26 12:21:27 +01:00
Fu Hanxi
75ab9223f9
scan test when weekend test.
2020-10-26 10:25:21 +08:00
Fu Hanxi
3026d562ec
add README.md to explain how to add/modify jobs/rules/ifs
...
- rename existing labels to fit the naming convention
2020-10-26 10:25:21 +08:00
Fu Hanxi
1b06cbe3ef
`utils.sh`: add function info, warning, error. Turn `retry_failed.sh` into a function
...
includes `utils.sh` everywhere
2020-10-26 10:25:21 +08:00
Fu Hanxi
d3e44d9483
add gitlab ssh key for geo nodes
2020-10-26 10:23:46 +08:00
Fu Hanxi
7951152f7b
CI: Refactor CI rules into `rules.yml`.
...
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Chen Yu Dong
f38321a218
test: move auto_test_script to new repo
...
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
suren.gabrielyan
b3ad76537a
ESP-OPENSSL-tests : Added new test-app to check esp-ssl connection
2020-10-23 11:43:59 +00:00
Renz Bagaporo
4c796850e9
ldgen: allow more chars in sections fragments
2020-10-23 10:40:30 +08:00
Ivan Grokhotkov
4883c04236
Merge branch 'bugfix/ldgen_unicode_path' into 'master'
...
tools/ldgen: Parse paths with Unicode characters in archives
Closes IDFGH-4129
See merge request espressif/esp-idf!10915
2020-10-23 00:55:42 +08:00
Jakob Hasse
f835bead45
C++: ESP Event wrapper classes
...
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
waiting for events
* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
Angus Gratton
8a70b1cdc9
ci freertos: Add test configs for some of the optional FreeRTOS 10 configurations
...
Also unit tests for the legacy hook functions.
2020-10-21 14:04:01 +11:00
suren.gabrielyan
637f5c0a68
CI: Add a test to pre-check fuzzer tests compilation before weekly run
2020-10-20 13:57:00 +00:00
Roland Dobai
792087dede
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-20 12:09:50 +02:00
Alex Lisitsyn
8737584789
Bugfix/fix RS485 ut fail
2020-10-19 16:17:19 +08:00
Ivan Grokhotkov
cea3a052b1
Merge branch 'ci/sonarqube_ignore_freertos' into 'master'
...
ci: Add FreeRTOS upstream files to the sonar exclude list
See merge request espressif/esp-idf!10846
2020-10-16 18:22:43 +08:00
Angus Gratton
a9d07720a5
Merge branch 'bugfix/err_to_name_paths_windows' into 'master'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
See merge request espressif/esp-idf!10838
2020-10-16 11:27:23 +08:00
Angus Gratton
2e5ca433f9
Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project
See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Ivan Grokhotkov
0289d1cc81
Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
...
gdbstub: fix thread list generation, add tests
Closes IDF-2246
See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton
baffdb5fa0
ci: Add FreeRTOS upstream files to the sonar exclude list
...
These files are mostly upstream code apart from some minor modifications.
There are a number of places that sonarqube reports issues because of
different code style/expectations.
2020-10-15 07:05:51 +00:00
Ivan Grokhotkov
d9db49d9f7
tools: idf_tools.py: fix compatibility with Python <= 2.7.8
...
Multiple ssl-related features have been backported from Python 3.x
to Python 2.7.9. This adds a fallback so that idf_tools.py can work
on older versions.
2020-10-14 20:19:32 +02:00
Ivan Grokhotkov
e43a4d51f2
tools: fix idf_tools.py compatibility regression with Python 2
...
In Python 2, cadata must be explicitly converted to unicode:
https://bugs.python.org/issue37079
Regression from 081ebcf1e7
2020-10-14 18:24:55 +02:00
Marius Vikhammer
3f42be1753
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-14 20:03:15 +08:00
Ivan Grokhotkov
fcb80c3cd6
Merge branch 'bugfix/idf_tools_letsencrypt_cert' into 'master'
...
add letsencrypt root cert into idf_tools.py
See merge request espressif/esp-idf!8829
2020-10-14 19:54:52 +08:00
Angus Gratton
b351ffa557
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-14 19:30:30 +11:00
Angus Gratton
c90d6ae9af
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-14 19:30:30 +11:00
Angus Gratton
a1d3f2b291
Merge branch 'feature/freertos_upstream_plus_tlsf_allocator_preview' into 'master'
...
freertos/heap: Preview branch containing TLSF allocator and FreeRTOS 10 kernel
Closes IDF-1637 and IDFGH-3859
See merge request espressif/esp-idf!8414
2020-10-14 15:58:51 +08:00
Angus Gratton
cbb721c3ca
ci: Bump ESP32-S2 UT jobs
2020-10-14 16:11:49 +11:00
Felipe Neves
3057b76a7e
tests: re-add all disabled tests and all disabled configurations
2020-10-14 16:11:49 +11:00
Felipe Neves
f3783ba258
app_trace/sysview: fixed freertos tracing calling plus sync apptrace component with the master branch version
...
docs: remove reference to backported features in freertos 10 api-reference.
2020-10-13 23:52:03 +00:00
Felipe Neves
a3c90bf59a
freertos: merged freertos 10 kernel files into IDF
...
freertos/port: update the port files and split into xtensa and riscv ports
freertos: separated cpu files from rest of the kernel sources
freertos/port_xtensa: separated private include files into a folder
freertos/tasks: added task create pinned to core function do not break current IDF API
freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.
freertos: freertos component now compiling
freertos: freertos component now building
freertos: moved critical sections outside from FR kernel section to portable section
portmacro_xtensa: add void indentifier on functions that take no arguments
freertos: fix critical sections implementation to match with their function prototype
freertos: add cmake changes of freertos into make
freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.
freertos: fix conflicitng types of vApplicationSleep function
license: update the license of freertos
freertos: Doxygen comments refactored to render them correctly on docs
freertos: added new functions of freertos into the documentation
freertos: added message buffers and stream buffers to documentation
sysview: update freertos system view to the compatible with version 10
freertos: fixed event group documentation rendering
freertos: update static task structure to match the actual tcb size
freertos: removed backported test functions
freertos/smp: brought SMP code to FreeRTOS 10 port
freertos/portmacro: added missing crosscore interrupt for yielding tasks
freertos: replaced soft-critical sections with hard-critical sections used by SMP
freertos: placed muxes inside of kernel objects
freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections
freertos: moved xtensa port files to a separated folder
freertos: added multiple instance of global variables required to SMP
freertos: added SMP modifications on specific tasks module functions
freertos: added TLS deletion function to task module
freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete
freertos: modified vTaskDelete to do not erase current task that runs on other core
freertos: reverted taskhandle and timerhandle as void* type
freertos: fixed de-referencing void pointer to get run time counter
freertos: fix system view trace enter macro arguments
freertos: Replaced soft critical sections with spinlocks on event_groups
freertos: fixed tick function to avoid calling tick hooks twice
freertos: Nofity give checking per CPU if schedule is suspended
freertos: added mpu release on TCB deletion
freertos: Added SMP changes when deleting a TCB on idle task
freertos/license: update freertos license in COPYRIGHT.rst
freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0
freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly
freertos/xtensa: update xtensa specific files used in master branch
newlib/locks: revert the preemption checking in lock acquisition and release
ref_clock: fix initial state of ref_clock interrupt handler
freertos: added missing critical sections and yielding checkings
freertos: remove magic numbers in vTaskDelete
freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Ivan Grokhotkov
2218ac91c2
tools/ci: fix import error when running ttfw tests locally
2020-10-13 18:09:22 +02:00
Ivan Grokhotkov
b1d64d1a61
test/panic: add gdbstub test configuration
2020-10-13 18:09:22 +02:00
Fu Hanxi
31c03a95da
CI: Exclude list for sonarqube
2020-10-12 12:27:42 +08:00
Michael (XIAO Xufeng)
72a31a62c7
ci: add esp32s3 into template app build
2020-10-09 17:50:16 +08:00
Ivan Grokhotkov
2e0c716db7
Merge branch 'bugfix/ci_python3_compatibility' into 'master'
...
CI: fix Python 3 compatibility in example checker
See merge request espressif/esp-idf!10740
2020-10-08 18:10:09 +08:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton
80f993bf31
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci' into 'master'
...
CI: get git describe from annotated tags
Closes IDFCI-129 and IDFGH-721
See merge request espressif/esp-idf!10671
2020-10-07 10:43:01 +08:00
Angus Gratton
1612f84ab3
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 10:00:59 +11:00
Angus Gratton
261363855c
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 09:36:40 +11:00
Roland Dobai
6956603554
CI: fix Python 3 compatibility in example checker
2020-10-06 19:16:17 +02:00
Angus Gratton
26a0df0423
Merge branch 'bugfix/bootloader_anti_rollback_mmap' into 'master'
...
bootloader_support: fix issue in memory mapping for getting app descriptor
Closes IDFGH-4038
See merge request espressif/esp-idf!10679
2020-10-06 07:44:37 +08:00
David Čermák
f1eb4b827e
Merge branch 'bugfix/lwip_netdb_cpp_guards' into 'master'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code
Closes IDFGH-4027
See merge request espressif/esp-idf!10681
2020-10-05 15:51:00 +08:00
Mahavir Jain
20af94ff53
Coredump config option rename throughout IDF
2020-09-30 20:22:27 +05:30
Mahavir Jain
e08a3e1d63
test_apps: add anti rollback configuration for bootloader build
2020-09-30 12:21:24 +05:30
He Yin Ling
0f8d1cbf1b
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:28:59 +08:00
Michael (XIAO Xufeng)
56403bd146
ci: define ESP_PLATFORM macro during public header check
2020-09-29 11:46:46 +02:00
Renz Bagaporo
f33f49331f
ci: update configs to include/exclude esp_pm in unit test
2020-09-25 05:24:10 +00:00
Angus Gratton
50e79e6763
Merge branch 'feature/switch_to_kconfiglib_package' into 'master'
...
tools: Use kconfiglib from package
Closes IDF-989
See merge request espressif/esp-idf!10535
2020-09-24 12:27:31 +08:00
Angus Gratton
afe1413c9c
Merge branch 'feature/bringup_esp32s3_fpga' into 'master'
...
esp32-s3 (beta2) chip bringup
Closes IDF-958
See merge request espressif/esp-idf!9978
2020-09-23 10:10:27 +08:00
Ivan Grokhotkov
2626f19500
Merge branch 'feature/add-command-idf-new-project' into 'master'
...
Add command for creating project and component with minimal required files
Closes IDF-1596
See merge request espressif/esp-idf!10156
2020-09-23 04:27:30 +08:00
Roland Dobai
883cbc416e
tools: Use kconfiglib from package
2020-09-22 11:29:30 +02:00
morris
9fa06719fa
global: enable build uinit test for esp32-s3
2020-09-22 15:15:03 +08:00
morris
75a372a9f0
unit_test: support reference clock, test delay function
2020-09-22 15:15:03 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Anton Maklakov
a1d419da08
Merge branch 'bugfix/build_docs_pdf_job' into 'master'
...
docs: seperate build_docs html and pdf CI jobs
Closes IDF-2038
See merge request espressif/esp-idf!10438
2020-09-22 13:20:49 +08:00
martin.gano
b599f127b5
add new command to idf
2020-09-21 23:38:52 +02:00
Marius Vikhammer
06af651a51
docs: seperate build_docs html and pdf CI jobs
...
Due to eager_exclude, Sphinx jobs cannot use the doc cache (doctrees).
PDF and HTML building are now seperate CI jobs to avoid this issue.
PDF building will only be ran on deploy branches and when started
with build_docs tag to reduce CI load
2020-09-21 10:48:04 +08:00
Michael (XIAO Xufeng)
4e287a09fe
spi_flash: add unit tests for qio mode
2020-09-20 01:57:14 +08:00
Ivan Grokhotkov
081ebcf1e7
tools: add dl.espressif.com root cert into idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/5842
2020-09-18 17:39:53 +02:00
Ivan Grokhotkov
eebc71b16d
Merge branch 'feature/ci_submodule_fetch_mirror' into 'master'
...
ci: download submodules from mirror, if enabled
See merge request espressif/esp-idf!10477
2020-09-18 22:30:49 +08:00
David Cermak
3b3409fb20
idf.py: Fixed gdb target to exit cleanly when no openocd watch task
...
When idf.py gdb starts, it expects openocd was started in the background
and creates a thread to watch for openocd errors. when gdb target exits,
the debug_ext.py aims to cleanup all threads and processes, but fails
with traceback if openocd-watch thread not available, which could happen
if openocd started separately.
2020-09-18 08:30:21 +02:00
Mahavir Jain
6d14bdf068
Merge branch 'feature/ota_example_test' into 'master'
...
Add OTA example test on Flash Encrypted runner
Closes IDFCI-73
See merge request espressif/esp-idf!9423
2020-09-17 12:39:41 +08:00
Ivan Grokhotkov
f4296b947e
Merge branch 'bugfix/fatfs_alloc_extram_first' into 'master'
...
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
Closes IDFGH-3850
See merge request espressif/esp-idf!10381
2020-09-17 03:41:34 +08:00
Ivan Grokhotkov
d17a3c76d0
ci: fetch submodules from mirror, if enabled
2020-09-16 21:22:26 +02:00
Ivan Grokhotkov
deb7ca8bac
Merge branch 'bugfix/codeowners_patterns' into 'master'
...
fix CODEOWNERS file patterns
See merge request espressif/esp-idf!10455
2020-09-16 02:56:28 +08:00
Ivan Grokhotkov
96db25c861
Merge branch 'feature/nvs_encryption_s2' into 'master'
...
NVS: using esp_partition API
Closes IDF-1340 and IDF-858
See merge request espressif/esp-idf!8683
2020-09-16 02:12:54 +08:00
Ivan Grokhotkov
72aaf83747
Merge branch 'sonarqube/pylint_with_py3' into 'master'
...
CI: Sonarqube: Use Python version 3 and pylint 2.6
See merge request espressif/esp-idf!10243
2020-09-16 01:59:33 +08:00