Ivan Grokhotkov
56e6263350
cmake: enable CMAKE_COLOR_DIAGNOSTICS by default
...
Related to https://github.com/espressif/esp-idf/issues/4162
Setting this option informs CMake that it should pass
-fcolor-diagnostics flag to the compiler.
(Colorized build system output, like from GNU Make, is produced even
without this flag.)
Note that if the build is done using Ninja and the build output is
redirected (not a TTY), Ninja will still strip the escape codes from
the output. For the case of idf.py, this is handled in the next
commit.
2022-08-30 16:38:13 +02:00
Mahavir Jain
a8c8946766
Merge branch 'fix/mqtt_ssl_ds_remove_unwanted_readme_section' into 'master'
...
mqtt/ssl_ds: Remove unwanted readme section
See merge request espressif/esp-idf!19841
2022-08-30 22:30:22 +08:00
Roland Dobai
cb81d14892
Merge branch 'bugfix/build_color_output_windows' into 'master'
...
tools: idf.py: use actual sys.stdout instead of the memoized one
See merge request espressif/esp-idf!19847
2022-08-30 16:31:42 +08:00
Marius Vikhammer
dfaaefe2ce
Merge branch 'bugfix/uart_sclk_freq' into 'master'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled
Closes IDFGH-8144
See merge request espressif/esp-idf!19792
2022-08-30 16:24:38 +08:00
Ivan Grokhotkov
b548d9345e
Revert "Merge branch 'feature/build_color_output' into 'master'"
...
This reverts merge request !19330
2022-08-30 15:14:47 +08:00
Aditya Patwardhan
6c7fd1edc0
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 10:54:15 +05:30
Ivan Grokhotkov
2916bf9b6c
ulp: esp32ulp_mapgen: remove the special case for RISC-V, cleanup
...
There are multiple changes in this commit:
1. Unify the RISC-V and ULP-FSM code paths in esp32ulp_mapgen.py.
It seems that these were originally introduced because `nm` output
for the RISC-V case contained symbol sizes, while for the ULP-FSM
no symbol sizes were reported. This makes sense, because the
ULP-FSM object files are produced from assembly source, symbol
sizes have to be added manually using the .size directive.
In the case of RISC-V, the object files are built from C sources
and the sizes are automatically added by the compiler.
Now 'posix' output format is used for both RISC-V and ULP-FSM.
2. Move BASE_ADDR out of esp32ulp_mapgen.py. This now has to be passed
from CMake, which should make it easier to modify if a new chip
with a different RTC RAM base address is added.
3. Add C++ guards to the generated header file.
4. Switch from optparse to argparse for similarity with other IDF
tools.
5. Add type annotations.
2022-08-30 02:34:28 +02:00
Ivan Grokhotkov
2c5b62f10e
tools: idf.py: use actual sys.stdout instead of the memoized one
...
This fixes the issue with build output not being colorized on Windows,
while the hints messages are colorized.
The issue occurred because sys.stdout and sys.stderr get overridden
by colorama.init() at runtime, but the default argument
output_stream=sys.stdout holds the reference to the"original"
sys.stdout.
colorama.init() (which, by the way, gets called via a curious chain
of imports, via idf_component_tools.manifest and tqdm package)
overrides standard streams, on Windows only. The overridden streams
contain logic to convert ANSI color codes into Windows Console API
calls to colorize the text.
Since read_and_write_stream function used the default value of
output_stream evaluated at module loading time, it was using the
original sys.stdout, not the one overridden by colorama.
One extra note is that while this does fix the coloring issue, the
solution is a bit fragile, as it relies on one of the following
(on Windows):
- colorama.init() is called (this can change if idf-component-manager
stops importing tqdm)
- Sufficiently new version of Windows 10 is used, and ANSI color codes
support is enabled in the Registry.
2022-08-30 01:30:32 +02:00
Fu Hanxi
4f3610f957
Merge branch 'ci/upload_elf_map_to_minio' into 'master'
...
ci: upload elf map file to s3 server to reduce artifacts size
Closes IDFCI-1385
See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Roland Dobai
84acc58d3c
Merge branch 'fix/disable_idf_py_moinitor_hints' into 'master'
...
Tools: Disable idf.py hints for IDF Monitor
Closes IDFGH-8110
See merge request espressif/esp-idf!19782
2022-08-29 22:51:55 +08:00
Roland Dobai
9d75833884
Merge branch 'contrib/github_pr_9656' into 'master'
...
upgrade ccache installed version to 4.6.2 (GitHub PR)
Closes IDFGH-8160 and IDFGH-6735
See merge request espressif/esp-idf!19834
2022-08-29 22:34:46 +08:00
Ivan Grokhotkov
02a19c6df5
Merge branch 'feature/build_color_output' into 'master'
...
build system, tools: enable compiler color diagnostics by default
Closes IDFGH-1965
See merge request espressif/esp-idf!19330
2022-08-29 20:32:42 +08:00
Ivan Grokhotkov
4f0967d44c
Merge branch 'feature/update-gdb-to-11.2_20220823' into 'master'
...
tools: update gdb version to '11.2_20220823'
Closes IDFGH-4276 and IDF-842
See merge request espressif/esp-idf!19723
2022-08-29 19:34:40 +08:00
Ivan Grokhotkov
990681764e
tools: cmake: upgrade from 3.23.1 to 3.24.0
2022-08-29 11:15:25 +02:00
Ivan Grokhotkov
712743d777
idf.py: ensure that build log is always sanitized from color sequences
...
The actual output from the build tool (CMake/Ninja) may or may not
contain color escape codes, depending on various factors. The output
written to the log file should never include color escape codes,
though. This is because color escape codes in files are usually not
rendered as "color" in editors, and complicate reading. Also escape
codes would break the regular expressions used to display hints for
compilation errors.
2022-08-29 11:15:16 +02:00
Ivan Grokhotkov
12abe1f316
tools: idf.py: enable CLICOLOR_FORCE for interactive builds
...
If stdout is a TTY (meaning that the output is not redirected), tell
the build tool (GNU Make or Ninja) to enable colorized output.
GNU Make and Ninja also check if their stdout is redirected and
strip color escape sequences in that case. CLICOLOR_FORCE environment
variable overrides this behavior.
With this change, if the compiler was launched with the
-fcolor-diagnostics flag and idf.py output is not redirected, the
final output in the terminal will be colorized.
(-fcolor-diagnostics is handled at CMake level by the previous commit)
2022-08-29 11:15:00 +02:00
morris
d36af75642
Merge branch 'feature/add_esp32c6_rom_header_file' into 'master'
...
esp_rom: add esp32c6 header files
See merge request espressif/esp-idf!19796
2022-08-29 17:14:09 +08:00
Ivan Grokhotkov
41cffbb2f2
cmake: enable CMAKE_COLOR_DIAGNOSTICS by default
...
Related to https://github.com/espressif/esp-idf/issues/4162
Setting this option informs CMake that it should pass
-fcolor-diagnostics flag to the compiler.
(Colorized build system output, like from GNU Make, is produced even
without this flag.)
Note that if the build is done using Ninja and the build output is
redirected (not a TTY), Ninja will still strip the escape codes from
the output. For the case of idf.py, this is handled in the next
commit.
2022-08-29 11:05:15 +02:00
Fu Hanxi
2484e00a94
ci: move LDGEN_CHECK_MAPPING to configure_ci_environment.sh
2022-08-29 16:57:31 +08:00
Roland Dobai
94a2d9f16a
Merge branch 'bugfix/fix_hints_templates' into 'master'
...
tools: fix hints templates
See merge request espressif/esp-idf!19789
2022-08-29 16:43:14 +08:00
Roland Dobai
55b7b42724
Merge branch 'bugfix/fix_CN_letters_in_monitor' into 'master'
...
tools: fix multi-byte character appearance in idf.py monitor
See merge request espressif/esp-idf!19566
2022-08-29 16:36:01 +08:00
morris
b82d6ce928
md5_hash: fix copyright checker
2022-08-29 15:40:37 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
Dominic Cerquetti
823ae5cf45
upgrade ccache installed version to 4.6.2
...
- primary reason: 4.6.2 fixes errors if the user's home directory contains a space
- alternative fix: the CCACHE_DIR env var can be set to something without a space in it, or set to TMP which properly escapes the home dir name
- there may be other issues with spaces in filenames on builds in other parts of ESP-IDF, see https://github.com/espressif/esp-idf/issues/8364 for more info
tested locally on windows only, use at your own risk
2022-08-27 14:28:20 -04:00
Djordje Nedic
5ee663d592
tools: Add CSV support to idf_size.py
...
This adds CSV support to idf_size.py and idf.py size actions and using the --format argument which accepts 'text', 'json' or 'csv' as input.
idf_size.py --json argument is deprecated but left to avoid a breaking change.
For idf.py size actions OUTPUT_JSON environment variable set at configuration time is overriden at target build time if --format is used.
Additionally, this commit refactors big parts of code, unified usage of json_dict and manually generated dictionaries for textual output and improves code quality in many parts.
2022-08-26 15:34:21 +02:00
morris
ebd3081d97
Merge branch 'bugfix/fix_rtc_gpio_hold' into 'master'
...
gpio: Fix missing set hold bit in rtc gpio register
Closes IDFGH-2489
See merge request espressif/esp-idf!19760
2022-08-26 18:13:14 +08:00
Omar Chebib
2f8c76abf2
Merge branch 'bugfix/rename_configs_not_set' into 'master'
...
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed
See merge request espressif/esp-idf!19751
2022-08-26 16:33:27 +08:00
Ondrej Kosta
9c73c00a05
Merge branch 'bugfix/iperf_py_script_upt' into 'master'
...
ci iperf: fixed condition for waiting to iperf server is up in DUT
Closes IDFCI-1285
See merge request espressif/esp-idf!19575
2022-08-26 16:32:49 +08:00
Marius Vikhammer
b844df8c85
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-08-26 11:52:46 +08:00
Omar Chebib
0030e46a96
Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed
2022-08-26 03:36:28 +00:00
simon.chupin
e635492c95
tools: fix hints templates
2022-08-25 18:00:23 +02:00
Roland Dobai
352cb3fb5e
Merge branch 'bugfix/idf_tools_test_timeout' into 'master'
...
ci: increase timeout for python packages install test
Closes IDFCI-1436
See merge request espressif/esp-idf!19775
2022-08-25 21:01:59 +08:00
Roland Dobai
ff38cb8e0d
Tools: Disable idf.py hints for IDF Monitor
...
The feature will be re-enabled later after a proper fix for the
following Github issue.
Closes https://github.com/espressif/esp-idf/issues/9610
2022-08-25 14:53:41 +02:00
Ivan Grokhotkov
5c8db0ea7f
ci: increase timeout for python packages install test
...
On the build runners, the installation frequently takes around 150
seconds, which is above the current timeout. This change increases
the timeout.
Closes IDFCI-1436
2022-08-25 10:45:03 +02:00
Alexey Lapshin
244a1b5e6a
tools: fix test_abort backtrace
2022-08-24 23:00:30 +04:00
Alexey Lapshin
3556536748
tools: update gdb version to '11.2_20220823'
...
Closes https://github.com/espressif/esp-idf/issues/6124
2022-08-24 23:00:30 +04:00
Jan Procházka
ebef6bc97e
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-24 13:49:05 +02:00
Omar Chebib
f6ac350337
I2C: i2c_port_t type is now an enumeration
...
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
Ivan Grokhotkov
ae256e9ca2
Merge branch 'bugfix/docker_remove_libpython2.7' into 'master'
...
tools: Docker: remove libpython2.7
See merge request espressif/esp-idf!19703
2022-08-24 02:06:18 +08:00
simon.chupin
1cb4f8fdf4
tools: fix multi-byte character appearance in idf.py monitor
2022-08-23 13:25:38 +00:00
Ivan Grokhotkov
d5973b8b14
build system: add 'linux' component to common requirements
...
'linux' component provides some of the common header files, such as
'sys/queue.h' and 'sys/lock.h'. For chip targets, it is possible to
include these files without having to add any extra requirements.
With this change, the same behavior will apply for the linux target.
2022-08-22 14:50:19 +02:00
Ivan Grokhotkov
b679c95ddc
tools: Docker: remove libpython2.7
...
libpython2.7 was added to the container to allow running GDB built
with Python 2.7 support and distributed as part of the cross-compiler
toolchain.
Now that we have a new release of GDB which works with Python 3.x,
the GDB shipped with the cross-compiler is no longer used. Removing
libpython2.7 should reduce the image size.
This reverts commit be0372b1db
.
2022-08-22 13:25:09 +02:00
Michael (XIAO Xufeng)
0a2e5a7774
Merge branch 'feat/support_esp32c2_uart' into 'master'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL
Closes IDF-5424 and IDF-4332
See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Darian
1de6f9662c
Merge branch 'bugfix/remove_remaining_rom_time_t_dependencies' into 'master'
...
Newlib: Add workaround for ROM Newlib stdio functions using 32-bit time_t callpath
Closes IDFGH-7728
See merge request espressif/esp-idf!19461
2022-08-22 11:23:17 +08:00
morris
9d9e320274
Merge branch 'ci/increase_test_flash_psram_timeout' into 'master'
...
ci: increase test_flash_psram timeout
See merge request espressif/esp-idf!19657
2022-08-21 16:21:32 +08:00
Darian Leung
fbcde6777f
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d188e
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-21 15:27:50 +08:00
Ondrej Kosta
d3dd094f79
ci iperf: fixed condition for waiting to iperf server is up in DUT
2022-08-19 07:55:47 +00:00
Armando
5c617a0ff7
ci: increase test_flash_psram timeout
2022-08-19 12:13:00 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
Simon Chupin
1669a5d861
Merge branch 'feature/add_templates_for_hints' into 'master'
...
tools: add support of templates for hints
Closes IDF-5612
See merge request espressif/esp-idf!19227
2022-08-18 22:38:33 +08:00
Mahavir Jain
a2f028abe7
Merge branch 'feature/app_metadata_to_esp_system' into 'master'
...
app_update: Moved app metadata to new component `esp_app_format`
Closes IDF-4808
See merge request espressif/esp-idf!18862
2022-08-18 21:51:32 +08:00
simon.chupin
cc1eb81b2e
tools: add support of templates for hints
2022-08-18 13:37:32 +02:00
Fu Hanxi
52b4e57db7
ci: remove unused check_build_warnings script
2022-08-18 15:55:08 +08:00
Fu Hanxi
2a13d29759
ci: ignore partition nearly full warning
2022-08-18 15:51:49 +08:00
morris
5b48a33ad5
Merge branch 'feature/use_esp_jpeg_for_example' into 'master'
...
examples/tjpgd: Use esp_jpeg component in tjpgd and SPI examples
Closes IDF-5652
See merge request espressif/esp-idf!19464
2022-08-18 14:42:20 +08:00
Fu Hanxi
f10e6145dc
ci: simplify the python env to idf venv only
2022-08-18 11:40:22 +08:00
Fu Hanxi
e7bcecb8b5
ci: improve requirements ci/ttfw files
2022-08-18 11:39:11 +08:00
morris
31d4ab6e04
Merge branch 'bugfix/mcpwm_operator_naming_issue_with_cxx' into 'master'
...
mcpwm: don't use keyword operator
Closes IDFGH-8000
See merge request espressif/esp-idf!19581
2022-08-18 10:56:15 +08:00
David Čermák
8033878507
Merge branch 'bugfix/esp_netif_remove_slip' into 'master'
...
esp_netif: Migrate SLIP interface to user-space
Closes IDF-5678
See merge request espressif/esp-idf!19202
2022-08-18 03:53:30 +08:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00
morris
2c5a866ea3
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
Laukik Hase
0071ea498f
esp_app_format: Fixed build errors and resolved dependencies
2022-08-17 10:59:31 +05:30
Anton Maklakov
453300490f
Merge branch 'contrib/github_pr_9563' into 'master'
...
Add git-lfs to docker container (GitHub PR)
Closes IDFGH-8060
See merge request espressif/esp-idf!19579
2022-08-17 09:33:28 +08:00
David Cermak
83b8556f10
esp_netif: Migrate SLIP interface to user-space
2022-08-16 14:08:15 +00:00
Mahavir Jain
6c2c05e8a0
Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
...
Push out esp-cryptoauthlib to component manager
See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
Tim Pambor
dba5ff8b3a
Add git-lfs to docker container
2022-08-16 09:33:31 +02:00
Jiang Jiang Jian
10330d153c
Merge branch 'ci/add_integration_test_env' into 'master'
...
CI: add integration test env
Closes TRM-82 and TRM-83
See merge request espressif/esp-idf!19368
2022-08-16 12:14:19 +08:00
Michael (XIAO Xufeng)
746f4b814c
uart: move frequency of clock sources out of HAL
2022-08-15 18:55:43 +00:00
Roland Dobai
f8bcec07fa
Merge branch 'fix/idf_py_logging' into 'master'
...
Tools: Fix idf.py hints to be enabled all the time and being able to disable them
See merge request espressif/esp-idf!19542
2022-08-15 22:36:15 +08:00
Roland Dobai
bd5e999408
Merge branch 'fix/idf_hints_errors_in_name' into 'master'
...
Tools: Correct idf.py hints for possible syntax errors
Closes IDF-5745
See merge request espressif/esp-idf!19545
2022-08-15 22:21:54 +08:00
Roland Dobai
8649afb0ae
Merge branch 'feature/add_hints_for_freertos_breaking_changes' into 'master'
...
hints: added compilation hints for FreeRTOS breaking changes
See merge request espressif/esp-idf!19539
2022-08-15 21:38:31 +08:00
Roland Dobai
24e63fd2c0
Merge branch 'feature/test_idf_tools_artifact_logs' into 'master'
...
Tools: Added test_idf_tools_python_env output log file
See merge request espressif/esp-idf!19518
2022-08-15 19:06:56 +08:00
Roland Dobai
152ce8884b
Tools: Fix idf.py hints to be enabled all the time and being able to disable them
2022-08-15 13:01:39 +02:00
Sudeep Mohanty
f6d9617b28
hints: added compilation hints for FreeRTOS breaking changes
2022-08-15 12:48:51 +02:00
Roland Dobai
50819ca05a
Merge branch 'feat/pytest_monitor_ide_integration' into 'master'
...
CI: Migrate monitor IDE integration test to pytest
Closes IDFCI-1383
See merge request espressif/esp-idf!19224
2022-08-15 14:40:43 +08:00
Marek Fiala
24fc499b6c
Tools: Added test_idf_tools_python_env output log file
2022-08-14 00:28:16 +02:00
Roland Dobai
571a074dd9
Merge branch 'fix/flake8_v5_warnings' into 'master'
...
Tools: Fix flake8 version 5 warnings
See merge request espressif/esp-idf!19488
2022-08-12 23:27:14 +08:00
Roland Dobai
23441c2102
Tools: Correct idf.py hints for possible syntax errors
2022-08-12 16:50:30 +02:00
Roland Dobai
8c10a14782
Merge branch 'refactor/remove_dependency_on_future' into 'master'
...
Remove the dependency on the future package
See merge request espressif/esp-idf!18925
2022-08-12 21:38:35 +08:00
Roland Dobai
e6259117cf
Merge branch 'feature/update-gdb-to-11.2_20220808' into 'master'
...
tools: update gdb version to '11.2_20220808'
Closes IDFGH-8012
See merge request espressif/esp-idf!19452
2022-08-12 17:44:58 +08:00
Roland Dobai
c896a62e28
Merge branch 'fix/idf_py_missing_component_man' into 'master'
...
Tools: Detect missing component manager and print proper error message
See merge request espressif/esp-idf!19435
2022-08-12 16:58:54 +08:00
Roland Dobai
bab3830797
Tools: Fix flake8 version 5 warnings
2022-08-12 08:13:13 +00:00
Roland Dobai
656936d32a
Merge branch 's3_sysview_irq_names' into 'master'
...
Fix ESP32-S3 interrupt names used by SystemView
See merge request espressif/esp-idf!19373
2022-08-12 16:01:19 +08:00
Mahavir Jain
42b4601039
tools: add hint for using esp-cryptoauthlib from manager
2022-08-12 11:27:22 +05:30
Mahavir Jain
1edc761ef2
cleanup remaining references for esp-cryptoauthlib
2022-08-12 11:25:29 +05:30
Armando (Dou Yiwen)
cdd50aff1a
Merge branch 'docs/add_migration_notes_about_removing_esp_adc_cal_component' into 'master'
...
Docs: add migration notes / hints about removing esp adc cal component
See merge request espressif/esp-idf!19392
2022-08-12 10:52:40 +08:00
Roland Dobai
8bfec98dce
Merge branch 'feat/tools_upgrade_pip' into 'master'
...
Tools: Upgrade pip and setuptools if venv is not able
See merge request espressif/esp-idf!19495
2022-08-11 22:06:44 +08:00
Erhan Kurubas
66e3a6f6a3
esp32s3: fix interrupt names used by SystemView
2022-08-11 11:23:03 +02:00
Erhan Kurubas
f8d439dee3
replace CAN with TWAI in the esp_isr_names table
2022-08-11 11:23:03 +02:00
Tomas Rezucha
71566c4d7e
Merge branch 'feature/usb_device/pytests' into 'master'
...
tinyusb: Add TinyUSB example tests
See merge request espressif/esp-idf!19194
2022-08-11 17:17:34 +08:00
Roland Dobai
cacd27f93e
Merge branch 'staging/add_hints_esp_system' into 'master'
...
Build: add hints for the breaking changes of esp_system related components
Closes IDF-5757
See merge request espressif/esp-idf!19499
2022-08-11 15:51:19 +08:00
Sachin Parekh
3a050cde26
Merge branch 'fix/s3_world_controller_headers' into 'master'
...
esp32s3: Update world controller headers
Closes IDF-5648
See merge request espressif/esp-idf!19219
2022-08-11 13:38:53 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
Omar Chebib
49613ab832
Build: add hints for the breaking changes of esp_system related components
2022-08-11 11:35:04 +08:00
Armando
d792b49804
idf.py hints: add build error hints when legacy adc calibration driver is used
2022-08-11 11:26:20 +08:00
Ivan Grokhotkov
afc6fba7f5
Merge branch 'bugfix/exclude_component_dirs_pacman' into 'master'
...
build: fix excluded components being passed to component manager
Closes PACMAN-422
See merge request espressif/esp-idf!19443
2022-08-11 01:10:17 +08:00
Tomas Rezucha
d777b790d0
tinyusb: Add TinyUSB example tests
2022-08-10 14:51:18 +02:00
Roland Dobai
03bce377c8
Merge branch 'feature/update-toolchain-to-esp-2022r1-11.2.0' into 'master'
...
tools: update toolchain version to 'esp-2022r1-11.2.0'
Closes GCC-264
See merge request espressif/esp-idf!19151
2022-08-10 20:36:22 +08:00
Roland Dobai
e6c313b5f0
Tools: Upgrade pip and setuptools if venv is not able
...
venv upgrades pip and setuptools by the --upgrade-deps option available
since Python 3.9. This commit adds manual upgrade for Pythons 3.7 and 3.8.
2022-08-10 14:04:14 +02:00
Sachin Parekh
41c5359703
esp32s3: Update world controller headers
2022-08-10 07:22:02 +00:00
Laukik Hase
f887922cf4
protocols/provisioning: Added hints for breaking changes
...
- For migrating from ESP-IDF v4.4.x to v5.0
2022-08-10 10:39:54 +05:30
Roland Dobai
887368e7b3
CI: Migrate monitor IDE integration test to pytest
2022-08-09 18:09:56 +02:00
Wang Yuan Ze
debf2c0b70
Merge branch 'test/move_touch_related_unit_tests_to_test_apps' into 'master'
...
test: move touch related unit tests to test apps
Closes IDFCI-1283, IDFCI-1156, and IDF-5766
See merge request espressif/esp-idf!19348
2022-08-09 23:15:18 +08:00
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
Roland Dobai
e2abad6db9
Merge branch 'feature/add-esp-hw-support-breaking-change-hints' into 'master'
...
system/esp_hw_support: Added hints for breaking changes
Closes IDF-5758
See merge request espressif/esp-idf!19388
2022-08-09 21:40:38 +08:00
Roland Dobai
0b2acbf974
Merge branch 'feature/system_migration_hints' into 'master'
...
idf.py hints: added hints for misc system breaking changes.
Closes IDF-5759
See merge request espressif/esp-idf!19390
2022-08-09 21:26:58 +08:00
Guillaume Souchere
dfcd7c3b88
esp_hw_support: add hints for breaking changes.
...
hints are added:
- to indicate that esp_cpu_ccount_t must be replaced by esp_cpu_cycle_count_t
- to indicate that esp_cpu_get/set_ccount must be replaced by esp_cpu_get/set_cycle_count
- to indicate that soc/cpu.h and compare_set.h were removed and user must include esp_cpu.h instead
- to indicate that esp_intr.h was removed and user must include esp_intr_alloc.h instead
- to indicate that esp_panic.h was made private and user must use the functionalities from esp_debug_helper.h instead
- to indicate that spilock.h, clk_ctrl_os.h and rtc_wdt.h must be included without the soc/
- to indicate that soc_log.h was renamed esp_hw_log.h and made private
2022-08-09 07:15:57 +02:00
Alexey Lapshin
2bfffa68ca
tools: update gdb version to '11.2_20220808'
...
Closes https://github.com/espressif/esp-idf/issues/9522
2022-08-08 22:04:11 +04:00
Roland Dobai
311ab428c7
Merge branch 'bugfix/idf_py_gdb_s3_c3' into 'master'
...
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3
See merge request espressif/esp-idf!19418
2022-08-08 22:53:39 +08:00
Roland Dobai
e07497a1b2
Merge branch 'bugfix/hints_dir_regex' into 'master'
...
idf.py hints: fix header not found regex to also match headerpaths with path seperator
See merge request espressif/esp-idf!19400
2022-08-08 22:41:12 +08:00
Chen Yudong
38bd98acf0
CI: add integration test env
2022-08-08 22:07:40 +08:00
wangyuanze
b239b03aa7
touch_element: move unit tests to test_app
2022-08-08 19:12:56 +08:00
Ivan Grokhotkov
3b7eee3978
build: fix excluded components being passed to component manager
...
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-08-08 13:09:20 +02:00
morris
d91c8759c0
driver: remove -Wno-format flag
2022-08-08 08:30:09 +00:00
Roland Dobai
abd754f487
Tools: Detect missing component manager and print proper error message
2022-08-08 09:43:31 +02:00
Jing Li
c25c254666
Merge branch 'feature/further_support_esp32c2_sleep' into 'master'
...
esp32c2/sleep: further support sleep for esp32c2 with 26MHz XTAL
Closes IDF-5544
See merge request espressif/esp-idf!19017
2022-08-08 13:26:15 +08:00
Guillaume Souchere
16c2cb3f1b
Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
...
heap: Remove TLSF related files and replace them with the TLSF submodule
Closes IDF-4967
See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
Ivan Grokhotkov
d366664b0d
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3
...
Since both chips have built-in JTAG functionality, and there are no
official boards with FT2232H for these chips, use the built-in JTAG
by default.
To use them with esp-prog, set:
OPENOCD_COMMANDS="-f board/esp32c3-ftdi.cfg"
or pass this via the --openocd-commands argument to idf.py.
2022-08-05 18:22:30 +02:00
jingli
ee3423834e
kconfig: refactor xtal freq kconfig to common configuration item
2022-08-05 19:12:29 +08:00
Marius Vikhammer
dec246af1f
idf.py hints: fix header not found regex to also match headerpaths with path seperator
2022-08-05 11:07:48 +08:00
Ivan Grokhotkov
012fafb827
versions: Update version to 5.1.0
2022-08-04 09:55:43 +02:00
Marius Vikhammer
5beea010e2
idf.py hints: added hints for misc system breaking changes.
2022-08-04 15:34:15 +08:00
Marius Vikhammer
bc08de5f46
Merge branch 'feature/ulp_test_app' into 'master'
...
ulp: migrate tests to pytest embedded
Closes IDF-5605
See merge request espressif/esp-idf!19342
2022-08-04 09:12:56 +08:00
Alexey Lapshin
03ce915668
build system: re-add -Wno-format as private flag for some test_apps
2022-08-03 16:42:47 +04:00
Alexey Lapshin
d10d57a597
build system: remove -Wno-format global option
2022-08-03 16:42:47 +04:00
morris
38264f0812
Merge branch 'bugfix/kconfig_allow_pain_comment' into 'master'
...
kconfig: support plain comment in the menu
See merge request espressif/esp-idf!19345
2022-08-03 19:43:43 +08:00
Omar Chebib
b2eb0e16d4
Merge branch 'bugfix/TWDT_link_interruptee_stack' into 'master'
...
Task WDT: Interuptee task stack is now used for backtracing
Closes IDF-4976
See merge request espressif/esp-idf!19026
2022-08-03 18:23:28 +08:00
morris
104bd44377
kconfig: support plain comment in the menu
2022-08-03 17:03:54 +08:00
morris
307d26659e
Merge branch 'bugfix/rmt_hw_issue' into 'master'
...
rmt: only use register to control the IDLE state (hardware issue workaround)
See merge request espressif/esp-idf!19344
2022-08-03 17:01:44 +08:00
Shubham Kulkarni
7bfb89e3b3
Merge branch 'feature/custom_partition_subtypes' into 'master'
...
gen_esp32part.py: Support custom partition types
See merge request espressif/esp-idf!18656
2022-08-03 16:43:57 +08:00
Konstantin Kondrashov
e57257a6db
Merge branch 'feature/adds_efuse_hdr' into 'master'
...
efuse: Adds missing header
Closes IDF-5734
See merge request espressif/esp-idf!19328
2022-08-03 13:43:44 +08:00
Shubham Kulkarni
24f9e348c9
test_apps: Add a test to verify working of custom partition subtypes
2022-08-03 05:18:37 +00:00
Shubham Kulkarni
b6d69840e8
partition_table: Support registering custom subtypes
2022-08-03 05:18:37 +00:00
Shu Chen
e380704731
Merge branch 'feature/otbr-nat64' into 'master'
...
openthread: add NAT64 and DNS64 support
See merge request espressif/esp-idf!18708
2022-08-03 12:01:23 +08:00
morris
8de9fd8cd7
rmt: only use register to control IDLE state
...
hardware issue: we can't control the IDLE level by the stop item
when loop transmission is enabled.
But we can always control the IDLE state by register.
2022-08-03 10:51:43 +08:00
Marius Vikhammer
035924a8f1
ulp: migrate tests to pytest embedded
2022-08-03 09:36:17 +08:00
Ivan Grokhotkov
f332790af5
Merge branch 'feature/update-gdb-to-11.2_20220729' into 'master'
...
tools: update gdb version to '11.2_20220729'
Closes IDFGH-7851
See merge request espressif/esp-idf!19293
2022-08-02 23:59:19 +08:00
KonstantinKondrashov
3f6a1625bb
efuse: Adds missing header
2022-08-02 22:43:12 +08:00
Ivan Grokhotkov
a0689f0434
Merge branch 'feature/format-hint' into 'master'
...
Tools: Add hint to resolve [u]int32_t formatting errors
See merge request espressif/esp-idf!19296
2022-08-02 22:41:06 +08:00
Guillaume Souchere
3737bf8322
heap: Remove TLSF related files and replace them with the tlsf submodule
...
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf ,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.
In this commit:
- Removing TLSF related files and using tlsf submodule instead.
- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.
- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.
- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.
- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-02 12:55:31 +02:00
Alexey Lapshin
5fb109f2e8
Tools: Add hint to resolve [u]int32_t formatting errors
2022-08-02 12:45:10 +04:00
Fu Hanxi
f315986401
Merge branch 'feat/add_ci_related_requirements_txt' into 'master'
...
Feat/add ci related requirements txt
Closes IDF-4590 and IDFCI-1389
See merge request espressif/esp-idf!19246
2022-08-02 15:49:36 +08:00
Omar Chebib
2f7bae7a6e
Task WDT: add a panic test case for to test panic on both CPU cores
2022-08-02 12:41:14 +08:00
Fu Hanxi
7720e348c2
Merge branch 'ci/system_apps_pytest' into 'master'
...
ci: migrate system flash_psram test app to pytest
Closes IDFCI-1141
See merge request espressif/esp-idf!19161
2022-08-01 16:45:09 +08:00
Fu Hanxi
17e312f87b
docs: improve the installation instructions
2022-08-01 15:52:21 +08:00
Fu Hanxi
d0a2849b02
feat: add requirements.ttfw.txt
2022-08-01 15:52:21 +08:00
Fu Hanxi
01baaf33ed
feat: add requirements.ci.txt
2022-08-01 15:49:15 +08:00
Fu Hanxi
742663dd9b
feat: add requirements.docs.txt
2022-08-01 15:49:15 +08:00
Jiang Jiang Jian
b885499c74
Merge branch 'refactor/move_common_adc_part_to_hw_support' into 'master'
...
esp_adc: move esp_adc out of g1 dependency list
Closes IDF-5637
See merge request espressif/esp-idf!19159
2022-08-01 15:39:45 +08:00
Jiacheng Guo
905856a054
openthread: add NAT64 and DNS64 support
...
* Add required configs and headers for NAT64 and DNS64
* Add hook for DNS name resolution
* Add NAT64 and DNS64 example commands
2022-08-01 15:31:49 +08:00
Roland Dobai
592afea93e
Merge branch 'ci/lift_restriction_on_ttfw_idf' into 'master'
...
ci: lift the restriction on pygdbmi in ttfw_idf
See merge request espressif/esp-idf!18982
2022-08-01 14:55:04 +08:00
Ivan Grokhotkov
0d4a533b74
Merge branch 'bugfix/usb_console_reset' into 'master'
...
esp_system: usb_console: fix restart when Wi-Fi is working
Closes IDFGH-5683
See merge request espressif/esp-idf!19289
2022-08-01 13:36:44 +08:00
Kevin (Lao Kaiyao)
6658b7eb0a
Merge branch 'feature/setup_target_test_for_c2_26m' into 'master'
...
ci: setup 26mhz esp32c2 runner
Closes IDF-5526
See merge request espressif/esp-idf!19032
2022-08-01 11:54:09 +08:00
Wan Lei
1265a2db9d
Merge branch 'refactor/add_missing_include_path_for_soc_struct_files' into 'master'
...
Fix check_public_headers violations for soc component
Closes IDF-5397
See merge request espressif/esp-idf!19158
2022-08-01 10:14:04 +08:00
Wu Zheng Hui
7c17a04733
Merge branch 'feature/optimize_chips_memory_allocation' into 'master'
...
system: Optimize chips bootloader and heap memory allocation
Closes IDF-4585 and IDF-4299
See merge request espressif/esp-idf!18807
2022-08-01 10:11:01 +08:00
Alexey Lapshin
f44196c46b
tools: update gdb version to '11.2_20220729'
...
Closes https://github.com/espressif/esp-idf/issues/9379
2022-07-29 13:47:34 +04:00
laokaiyao
4ab8f00b47
ci: setup 26mhz esp32c2 runner
2022-07-29 17:10:34 +08:00
wuzhenghui
7cb9304b65
Clean IRAM and DRAM address space conversion macros
2022-07-29 17:07:39 +08:00
David Čermák
fdfda6e064
Merge branch 'feat/add_netif_dependency_test' into 'master'
...
esp_netif/ci: Add test to verify dependencies to/from lwip/drivers
See merge request espressif/esp-idf!19179
2022-07-29 13:18:12 +08:00
Aleksei Apaseev
22f65d961f
ci: lift the restriction on pygdbmi in ttfw_idf
2022-07-29 11:24:12 +08:00
wanlei
bb5a95f1aa
soc: fix register header files not self-contain
2022-07-29 11:18:06 +08:00
Ivan Grokhotkov
bf10146a15
esp_system, vfs: fix incomplete blocking reads in vfs_cdcacm
...
Blocking read from cdcacm VFS could return less bytes than requested.
This didn’t match the behaviour of other VFS drivers, and higher level
code could misbehave.
2022-07-28 17:28:08 +02:00
yuanjm
66e0171c42
test: Add mqtt5 unit-test
2022-07-28 06:24:43 +00:00
Armando
4f80c0f27e
esp_adc: remove esp_adc from g1 component dependencies
2022-07-28 03:49:48 +00:00
Armando
5e6a16380a
esp_adc: move adc common hw related code into esp_hw_support
2022-07-28 03:49:48 +00:00
laokaiyao
ba235c5615
ci: add xtal_40mhz tag for c2 tests
2022-07-28 02:02:18 +00:00
Roland Dobai
9b87390daf
Merge branch 'bugfix/fix_the_monitor_consol_problem' into 'master'
...
tools: Fix the monitor console problem
Closes IDF-5514 and IDFGH-7913
See merge request espressif/esp-idf!19129
2022-07-28 01:05:48 +08:00
morris
96c29841bb
Merge branch 'feature/mcpwm_new_driver' into 'master'
...
⛵ MCPWM Driver-NG
Closes IDF-2471, IDF-2895, IDF-20, and IDF-3945
See merge request espressif/esp-idf!11480
2022-07-27 19:25:06 +08:00
simon.chupin
5468d79382
tools: fix idf.py monitor consol problem
...
Closes https://github.com/espressif/esp-idf/issues/9432
2022-07-27 08:35:30 +00:00
Ivan Grokhotkov
0330e952d1
Merge branch 'feature/add-wl-support-fatfsparse' into 'master'
...
fatfsparse.py: Add support for WL
Closes IDF-4994 and IDF-5522
See merge request espressif/esp-idf!18760
2022-07-27 16:01:02 +08:00
morris
1557a533fe
example: update servo example with new driver API
2022-07-27 15:22:24 +08:00
morris
938b3d717f
example: update bdc speed control example with new driver API
2022-07-27 15:22:24 +08:00
Fu Hanxi
eb3be68b2a
ci: fix syntax error
2022-07-27 11:11:09 +08:00
Fu Hanxi
f5cbe88c22
ci: fix no subtyping for type annotation in python3.7
...
https://peps.python.org/pep-0544/
2022-07-27 11:11:09 +08:00
Roland Dobai
2cf1370115
Merge branch 'refactor/add_python_types_hints_to_ci' into 'master'
...
ci: Add python types hints
See merge request espressif/esp-idf!18726
2022-07-26 21:52:17 +08:00
Martin Gaňo
2ddcda29b3
fatfsparse.py: Add support for WL
2022-07-26 14:50:07 +02:00
Marius Vikhammer
c2a5f48498
ci: migrate system test apps to pytest
2022-07-26 11:47:28 +08:00
Anton Maklakov
5d80b1295f
tools: update toolchain version to 'esp-2022r1-11.2.0'
...
Closes https://github.com/espressif/esp-idf/issues/6113
2022-07-26 10:31:15 +07:00
Fu Hanxi
7ed174aee0
Merge branch 'ci/fix_wrongly_cleanup_preserve_dirs' into 'master'
...
ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir
See merge request espressif/esp-idf!19214
2022-07-26 10:35:09 +08:00
David Cermak
9806dff253
esp_netif/ci: Add test to verify dependencies to/from lwip/drivers
2022-07-25 16:58:05 +02:00
Roland Dobai
0f08d4050d
Merge branch 'feat/add_hints' into 'master'
...
Tools: Add more hint examples on how to resolve breaking changes of v5.0
See merge request espressif/esp-idf!19178
2022-07-25 16:04:32 +08:00
Fu Hanxi
59cc82349a
ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir
2022-07-25 15:54:54 +08:00
Chen Jian Xing
feefe820a4
Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
...
esp_wifi: select slowclk as coex hardware timer source on esp32c2
See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
simon.chupin
819d5a2b61
ci: Add python types hints
2022-07-22 21:15:01 +02:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
Roland Dobai
6928d1f3ec
Tools: Add more hint examples on how to resolve breaking changes of v5.0
2022-07-22 13:47:31 +02:00
Armando (Dou Yiwen)
1fc4d2b598
Merge branch 'bugfix/remove_psram_dependency_in_idf_as_lib_example' into 'master'
...
idf_as_lib: remove dependency to esp_psram
Closes IDF-5238
See merge request espressif/esp-idf!18992
2022-07-22 13:17:08 +08:00
morris
c4e84751a5
driver: fix public header exceptions for driver
2022-07-22 00:12:36 +00:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
Guillaume Souchere
50a58b4a83
esp_hw_support: Fix formatting of intr_alloc.h and test_panic.c
2022-07-22 00:06:06 +08:00
Guillaume Souchere
dcae121d80
hal: Deprecate soc_hal.h and soc_ll.h interface
...
This commit marks all functions in soc_hal.h and soc_ll.h as deprecated.
Users should use functions from esp_cpu.h instead.
Also added missing wrap funcions for esp_cpu_stall() in test_panic.c files.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Roland Dobai
0406fe819a
Merge branch 'bugfix/fix_test_cmake_warning_full' into 'master'
...
CI: Fix the test "smallest partition is nearly full"
See merge request espressif/esp-idf!19156
2022-07-21 19:09:29 +08:00
Simon
62bc3348d5
Merge branch 'ci/flash_encryption_test' into 'master'
...
flash_encryption: Add several test environments for flash encryption test
Closes IDF-5530
See merge request espressif/esp-idf!19043
2022-07-21 18:38:18 +08:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
Omar Chebib
4e7ba0f8bd
CI: Fix the test "smallest partition is nearly full"
...
This test will not fail anymore if the binary size is bigger than 170K.
2022-07-21 15:49:20 +08:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
morris
8944479bcd
Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
...
⛵ SDM Driver-NG (Sigma-Delta channel allocator)
Closes IDF-5261 and IDF-2877
See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Ivan Grokhotkov
e56b1fd59d
Merge branch 'feature/unity_runner_get_test_list' into 'master'
...
unity: expose some internal functions to allow iterating over tests
See merge request espressif/esp-idf!19056
2022-07-20 16:57:49 +08:00
Roland Dobai
9012e7b59f
Merge branch 'bugfix/fix_NotImplementedError_on_windows_by_updating_error_msg' into 'master'
...
tools: Improve the error message for handling NotImplementedError on Windows
See merge request espressif/esp-idf!19097
2022-07-20 16:48:40 +08:00
Roland Dobai
39a0925836
Merge branch 'contrib/github_pr_9385' into 'master'
...
Tools: Avoid the crash of IDF Monitor when it is run without an ELF file
Closes IDFGH-7859
See merge request espressif/esp-idf!19141
2022-07-20 16:46:12 +08:00
morris
edb5600348
sdm: refactor example with new driver
2022-07-20 14:59:50 +08:00
morris
4154eaec93
sdm: clean up soc/hal/ll code
2022-07-20 14:59:50 +08:00
morris
9e532696f4
pcnt: add const qualifier to event data
2022-07-20 14:59:50 +08:00
Cao Sen Miao
e69f658ac6
flash_encryption: Add several test environments for flash encryption test
2022-07-20 12:49:42 +08:00
morris
bec44ca2e9
gptimer: test on c2 with xtal 26mhz
2022-07-20 04:40:28 +00:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
Marek Fiala
9c0969b512
Tools: Export selected target actions
...
Added option --json to action help, for export selected target actions
2022-07-19 20:02:55 +02:00
Song Ruo Jing
4734b1433b
Merge branch 'bugfix/gpio_hal_coverity_fix' into 'master'
...
gpio: Fix ESP32S3 GPIO48 does not support hold function bug and Fix coverity report
Closes IDF-4901
See merge request espressif/esp-idf!18805
2022-07-19 21:37:15 +08:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Roland Dobai
b59309852a
Merge branch 'features/check_SPDX_license' into 'master'
...
Add SPDX license check
Closes PACMAN-386
See merge request espressif/esp-idf!18664
2022-07-19 18:57:05 +08:00
Ivan Grokhotkov
c0e94c6688
Merge branch 'feature/update-gdb-to-11.2_20220715' into 'master'
...
tools: update gdb version to '11.2_20220715'
Closes IDFGH-7787
See merge request espressif/esp-idf!19071
2022-07-19 16:04:07 +08:00
Adam Simpkins
9961061811
Tools: fix a crash in idf_monitor.py
...
If self.elf_exists is false, self.gdb_helper is None, which caused this
code to crash. It looks like this guard was missed in e30329ffe2
.
Previously the code could crash like this:
Traceback (most recent call last):
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 376, in <module>
main()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 367, in main
monitor.main_loop()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 163, in main_loop
self._main_loop()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 268, in _main_loop
super()._main_loop()
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 203, in _main_loop
self.serial_handler.handle_commands(data, self.target, self.run_make, self.console_reader,
File "/usr/local/src/esp-idf/tools/idf_monitor_base/serial_handler.py", line 203, in handle_commands
run_make_func('encrypted-flash' if self.encrypted else 'flash')
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 150, in run_make
run_make(target, self.make, self.console, self.console_parser, self.event_queue, self.cmd_queue,
File "/usr/local/src/esp-idf/tools/idf_monitor.py", line 237, in __exit__
self.serial_reader.gdb_exit = self.gdb_helper.gdb_exit # write gdb_exit flag
AttributeError: 'NoneType' object has no attribute 'gdb_exit'
2022-07-18 21:34:18 -07:00
Ivan Grokhotkov
eeb2808a32
Merge branch 'bugfix/check_readmes_pre_commit_idf_path' into 'master'
...
ci: allow running check-readmes pre-commit hook without IDF_PATH set
See merge request espressif/esp-idf!19055
2022-07-19 04:46:30 +08:00
simon.chupin
a141be4add
tools: Improve the error message for handling NotImplementedError on Windows
2022-07-18 19:03:55 +02:00
Roland Dobai
b738953e90
Tools: Improve the message for missing setuptools in the Python checker
2022-07-18 11:56:32 +02:00
Fu Hanxi
d28c1be711
ci: build but set preserve to false for different nightly_run scenarios
2022-07-18 10:17:54 +08:00
Fu Hanxi
7bab78014f
fix: run_cmd
2022-07-18 09:10:33 +08:00
David Čermák
1334011d4f
Merge branch 'bugfix/transport_foundation_intialization' into 'master'
...
tcp_transport: Fix initialition of transport
See merge request espressif/esp-idf!17869
2022-07-16 16:28:49 +08:00
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Chen Yu Dong
309440c687
Merge branch 'bugfix/update_get_ip_for_multiple_interfaces' into 'master'
...
ci: Fix wifi and ethernet test cases
See merge request espressif/esp-idf!18733
2022-07-15 22:07:48 +08:00
Alexey Lapshin
868baf76f3
tools: update gdb version to '11.2_20220715'
2022-07-15 14:59:39 +04:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00
songruojing
145454356b
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
Add __Static_assert to check array sizes for all gpio_periph.c files to prevent same mistake in the future.
2022-07-15 16:51:25 +08:00
songruojing
0c4b9a0101
gpio: Fix HAL bad bit shift operation on gpio_num_t reported from coverity
...
All gpio hal and ll functions input arguments gpio_num_t are changed to uint32_t type.
Validation of gpio num should be guaranteed from the driver layer.
2022-07-15 16:51:25 +08:00
Chen Yudong
d54e1e8379
CI: make sure that reading of the ipv4 address has finished
2022-07-15 14:21:39 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
David Čermák
1a7dfa42e6
Merge branch 'bugfix/cpp_include_fix_newlib_net_if_h' into 'master'
...
Add C++ include guard to if.h (to fix linker errors in asio) (GitHub PR)
Closes IDFGH-7718
See merge request espressif/esp-idf!18850
2022-07-15 13:16:47 +08:00
Ivan Grokhotkov
09c70d5781
unity: expose some internal functions to allow iterating over tests
2022-07-14 19:47:46 +02:00
Chen Yudong
472ac26712
CI: update test cases to use different environment variables
...
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Chen Yudong
5d0302e49f
CI: add some common test methods
2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be
common_components: add wifi connect console commands
2022-07-15 01:16:27 +08:00
Roland Dobai
958819323d
Merge branch 'feat/tools_python_constraints_env' into 'master'
...
Tools: Disable Python constraint files with environment variable
Closes IDFGH-7722
See merge request espressif/esp-idf!18830
2022-07-14 23:05:22 +08:00
Ivan Grokhotkov
8870ffc6e1
ci: allow running check-readmes pre-commit hook without IDF_PATH set
...
... which may happen when making a git commit using a GUI tool.
2022-07-14 16:32:20 +02:00
Fu Hanxi
9653af8d04
Merge branch 'ci/cache_submodules' into 'master'
...
CI: cache submodules
Closes IDFCI-1158
See merge request espressif/esp-idf!19009
2022-07-14 20:34:34 +08:00
Euripedes Rocha
5778a7c726
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-07-14 12:29:58 +00:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
Roland Dobai
de37f9dc33
Tools: Disable Python constraint files with environment variable
...
Constraint files can be disabled with environment variable as well which
is useful when one uses the install/export scripts instead of
idf_tools.py directly. This is option is useful for offline build as
well.
Closes https://github.com/espressif/esp-idf/issues/9263
2022-07-14 11:25:29 +02:00
David Cermak
adb79a4852
newlib: Fix header issues with C++ guards and implicit inclusion
...
* Added C++ sentinels if missed
* Used #pragma once, removed macro's with leading underscores
* Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND
Apache-2.0" for newlib files
* Fixed minor compilation issues/implicit inclusions
2022-07-14 08:32:04 +02:00
Fu Hanxi
6d8ebacb8a
ci: check .patterns-submodule in pre-commit
2022-07-14 14:08:16 +08:00
Fu Hanxi
62ca8e2fb4
ci: cache submodules
2022-07-14 14:08:16 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00