Ivan Grokhotkov
8545f8595f
Merge branch 'bugfix/build_fail_c6_usb_serial_jtag' into 'master'
...
fix build with CONFIG_ESP_CONSOLE_UART=n on C6, re-enable build tests for C6 and C2
Closes IDFGH-10698
See merge request espressif/esp-idf!24935
2023-09-25 20:39:32 +08:00
Ivan Grokhotkov
d01e399f65
Merge branch 'bugfix/s3_irom_addr' into 'master'
...
soc: fix SOC_IROM_MASK_HIGH for esp32s3
Closes IDFGH-10250
See merge request espressif/esp-idf!23961
2023-09-23 17:20:54 +08:00
Ivan Grokhotkov
4f9e22945c
Merge branch 'feature/esp_hid_component_test_app' into 'master'
...
feat(esp_hid): migrate the tests from unit-test-app
Closes IDF-5575
See merge request espressif/esp-idf!26077
2023-09-22 23:21:53 +08:00
Ivan Grokhotkov
2ac972e2c7
fix(soc): update SOC_IROM_MASK_HIGH for esp32, c6, h2 for consistency
2023-09-22 16:13:41 +02:00
Ivan Grokhotkov
735fab40cd
fix(soc): correct SOC_IROM_MASK_HIGH for esp32s3
...
Fixes corrupted backtraces on S3 when a function is in ROM.
Closes https://github.com/espressif/esp-idf/issues/11512
2023-09-22 16:13:41 +02:00
Ivan Grokhotkov
2fe4fe2c19
ci(system): re-enable build test app for C2 and C6, clean up configs
...
Since we can use CONFIG_NAME now to specify build rules, we don't need
to have target-specific config files.
2023-09-22 13:46:00 +02:00
Ivan Grokhotkov
464d278f8a
fix(esp_hw_support): fix build with CONFIG_ESP_CONSOLE_UART=n on C6
...
Closes https://github.com/espressif/esp-idf/issues/11924
2023-09-22 13:32:04 +02:00
Ivan Grokhotkov
0f3ce627eb
Merge branch 'feature/coredump_component_test_app' into 'master'
...
feat(espcoredump): migrate the tests from unit-test-app
Closes IDF-5587
See merge request espressif/esp-idf!26075
2023-09-22 16:04:18 +08:00
Ivan Grokhotkov
a109dedaea
Merge branch 'feature/perfmon_component_test_app' into 'master'
...
feat(perfmon): migrate the tests from unit-test-app
Closes IDF-5598
See merge request espressif/esp-idf!26072
2023-09-22 15:44:03 +08:00
Ivan Grokhotkov
3f07dc5a61
feat(espcoredump): migrate the tests from unit-test-app
2023-09-21 14:32:45 +02:00
Ivan Grokhotkov
9e20bf4f06
feat(esp_hid): migrate the tests from unit-test-app
2023-09-21 14:25:08 +02:00
Ivan Grokhotkov
9acd3b7856
feat(perfmon): migrate the tests from unit-test-app
2023-09-21 14:18:39 +02:00
Ivan Grokhotkov
fc4f091e7a
Merge branch 'feature/examples_use_manifest_for_deps' into 'master'
...
feat(examples): add local components via idf_component.yml
See merge request espressif/esp-idf!25228
2023-09-20 20:14:14 +08:00
Ivan Grokhotkov
8c26ddf4a1
feat(ci): add CI check for EXTRA_COMPONENT_DIRS in examples
2023-09-19 10:38:24 +02:00
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
...
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Ivan Grokhotkov
283311610c
Merge branch 'maint/toolchain_debugging_codeowners' into 'master'
...
change(gitlab): add toolchains and debugging code owner groups
See merge request espressif/esp-idf!25815
2023-09-14 22:52:39 +08:00
Ivan Grokhotkov
d5ed868e85
change(gitlab): add toolchains and debugging code owner groups
2023-09-06 19:35:20 +02:00
Ivan Grokhotkov
92ff04ebea
nvs: use 'handle' argument name for consistency
2023-08-29 13:59:34 +02:00
Ivan Grokhotkov
9fe275790f
Merge branch 'fix/components_readme_file' into 'master'
...
Rephrase organization section in components readme
See merge request espressif/esp-idf!24957
2023-08-18 21:55:04 +08:00
Ivan Grokhotkov
edeba82619
Merge branch 'bugfix/dfu-toc' into 'master'
...
docs: fix DFU subsections showing up in main TOC
See merge request espressif/esp-idf!25397
2023-08-18 19:46:47 +08:00
Ivan Grokhotkov
af79a47422
Merge branch 'contrib/github_pr_12052' into 'master'
...
Two small patches for build system and fatfs (GitHub PR)
Closes IDFGH-10849
See merge request espressif/esp-idf!25337
2023-08-17 22:01:00 +08:00
Ivan Grokhotkov
1c90dd3057
docs: fix DFU subsections showing up in main TOC
2023-08-17 15:46:52 +02:00
Ivan Grokhotkov
6878ddaa4a
feat(tools): idf.py: implement hints for component reqs
...
Implementation of hint module for component dependency. It can provide
hint about missing header directory in component's INCLUDE_DIRS or
about missing component dependency in REQUIRES or PRIV_REQUIRES.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-08-05 20:13:28 +02:00
Ivan Grokhotkov
54d4662107
feat(tools): idf_monitor: support for loadable hint provider modules
...
Currently hints are supported based on hints.yml only, which may be
limiting for some use cases. This introduces a generic plugin approach,
which allows to implement hint module that doesn't require entry in hints.yml.
Such module has the full command output available and it is not limited to
a single regex in hints.yml.
Note that regex in hint.yml expects the output concatenated into a single line,
but hint modules are getting the output unchanged.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2023-08-05 20:13:28 +02:00
Ivan Grokhotkov
cfa1896780
Merge branch 'contrib/github_pr_11535' into 'master'
...
Replace deprecated flushregs alias with full gdb command (GitHub PR)
Closes IDFGH-10272
See merge request espressif/esp-idf!24752
2023-07-28 22:40:22 +08:00
Ivan Grokhotkov
93d1d996b7
feat(tools): add espsecure.py to the Windows export scripts
...
This is not needed on Linux/macOS where the path to esptool directory
is added to PATH.
2023-07-28 15:35:50 +02:00
Ivan Grokhotkov
01d4c4740a
change(tools): export.ps1: define functions for helper python tools
...
Follows the approach used in Initialise-Idf.ps1 created by the tools
installer. This is the closes equivalent of "alias" used in export.bat
Closes https://github.com/espressif/esp-idf/issues/9849
2023-07-28 15:34:59 +02:00
Ivan Grokhotkov
e6c3f62281
Merge branch 'feature/esp_intr_dump' into 'master'
...
system: add esp_intr_dump API to debug interrupt allocation
Closes IDF-4281 and IDF-6066
See merge request espressif/esp-idf!23877
2023-07-20 19:53:58 +08:00
Ivan Grokhotkov
0ebe2cecfa
feat(system): add an error log and a hint on failed interrupt alloc
...
When interrupt allocation fails, esp_intr_alloc will now print a
message telling that no free interrupt was found. This message is
then checked in hints.yml, to give a link to the troubleshooting
guide.
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
375ebb1a41
docs(system): add a section on interrupt allocation debugging
...
Related to https://github.com/espressif/esp-idf/issues/6709
Related to https://github.com/espressif/esp-idf/issues/7767
Related to https://github.com/espressif/esp-idf/issues/9880
Related to https://github.com/espressif/esp-idf/issues/11462
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
2bcb227542
ci(system): add test app for esp_intr_dump
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
621afc48b1
feat(system): add esp_intr_dump function to debug interrupt alloc
...
esp_intr_dump function can be used to print the list of allocated and
free interrupts. It can be used as a debugging aid when interrupt
allocation fails.
2023-07-19 16:47:40 +02:00
Ivan Grokhotkov
304870dea0
Merge branch 'bugfix/fix-readme-image-cache' into 'master'
...
fix(readme): force github to reload support period
See merge request espressif/esp-idf!24788
2023-07-14 05:47:33 +08:00
Ivan Grokhotkov
c94853786f
sdmmc: implement card power control for esp32c3 sdmmc breakout board
2023-06-01 11:01:19 +02:00
Ivan Grokhotkov
cbf460c2e1
Merge branch 'feat/defince_config_dependabot' into 'master'
...
ci(github): add dependabot config
See merge request espressif/esp-idf!23468
2023-05-26 14:58:37 +08:00
Ivan Grokhotkov
3775ce8bd8
Merge branch 'feature/sdmmc_test_app' into 'master'
...
sdmmc: new component test app
Closes IDF-7108
See merge request espressif/esp-idf!19699
2023-05-03 03:07:06 +08:00
Ivan Grokhotkov
500b5b2103
Merge branch 'contrib/github_pr_11215' into 'master'
...
improve thread safety in esp_timer (GitHub PR)
Closes IDFGH-9920
See merge request espressif/esp-idf!23295
2023-05-03 02:21:07 +08:00
Ivan Grokhotkov
1f7c4b5690
Merge branch 'bugfix/xtensa_cmake_stderr_message' into 'master'
...
xtensa: don't print debug messages to stderr
See merge request espressif/esp-idf!23439
2023-05-02 18:51:22 +08:00
Ivan Grokhotkov
a0f4664625
Merge branch 'contrib/github_pr_11245' into 'master'
...
app_trace: fix out of bounds array write (GitHub PR)
Closes IDFGH-9952
See merge request espressif/esp-idf!23345
2023-05-02 18:10:00 +08:00
Ivan Grokhotkov
0eb2bdf3dc
Merge branch 'contrib/github_pr_11204' into 'master'
...
Fix function signature in flash suspend example (GitHub PR)
Closes IDFGH-9888
See merge request espressif/esp-idf!23254
2023-05-02 17:09:57 +08:00
Ivan Grokhotkov
9d82d6bf7f
xtensa: don't print debug messages to stderr
...
By default, CMake message() commands prints to stderr.
IDEs like Eclipse show stderr output in red, which looks as if this is
some kind of error.
Use message(STATUS) instead.
2023-04-25 12:59:41 +02:00
Ivan Grokhotkov
ca807ae9a0
Merge branch 'version/v5.2.0' into 'master'
...
version: update to v5.2.0
See merge request espressif/esp-idf!23286
2023-04-23 23:16:27 +02:00
Ivan Grokhotkov
39580dd08c
version: update to v5.2.0
...
Starting IDF v5.2 development
2023-04-23 21:52:21 +02:00
Ivan Grokhotkov
2a28061eaa
Merge branch 'contrib/github_pr_11117' into 'master'
...
test_nvs_host: fix asan reported bugs (GitHub PR)
Closes IDFGH-9860
See merge request espressif/esp-idf!23172
2023-04-20 22:37:42 +08:00
Ivan Grokhotkov
690aa433a2
Merge branch 'contrib/github_pr_10987' into 'master'
...
Allow to config the maximum number of VFS entries. (GitHub PR)
Closes IDFGH-9641
See merge request espressif/esp-idf!23171
2023-04-19 04:52:50 +08:00
Ivan Grokhotkov
9adafb0f26
Merge branch 'feature/newlib_fsync_without_vfs' into 'master'
...
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
See merge request espressif/esp-idf!21390
2023-04-19 02:47:53 +08:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
...
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Ivan Grokhotkov
f64ac33554
nvs: fix string/blob comparison lengths in host tests
2023-04-18 08:02:38 +02:00
Ivan Grokhotkov
e9badf51c7
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +08:00
Ivan Grokhotkov
fee3082d88
vfs: VFS_MAX_COUNT should be non-zero even without IO support
2023-04-13 15:37:37 +02:00
Ivan Grokhotkov
79a9615022
ci: add build test for CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
def9dadf1e
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/9364
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
9924d9f271
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
8e85fc8571
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
4a91ccf4ce
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-04-12 11:08:43 +02:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3
2023-04-12 11:08:42 +02:00
Ivan Grokhotkov
80c9ef7b89
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-04-12 11:07:56 +02:00
Ivan Grokhotkov
141b7356fb
console: minor fixes
...
- wrong comment
- duplicated setvbuf
2023-04-12 11:07:55 +02:00
Ivan Grokhotkov
75d1a050a2
Merge branch 'bugfix/console_examples_reenable' into 'master'
...
examples: re-enable console examples for C2, C6, H2
See merge request espressif/esp-idf!22927
2023-04-10 21:55:32 +08:00
Ivan Grokhotkov
cac58c51e5
Merge branch 'feature/danger_commit_email' into 'master'
...
ci: danger: check author/committer email
Closes IDF-6860
See merge request espressif/esp-idf!22646
2023-03-31 17:04:54 +08:00
Ivan Grokhotkov
eb3b2b5a63
ci: danger: check author/committer email
2023-03-31 09:00:44 +02:00
Ivan Grokhotkov
da6041e1b5
Merge branch 'bugfix/sdmmc_host_cclk_lp' into 'master'
...
sdmmc: keep clock enabled for the duration of ACMD41
Closes IDF-6004
See merge request espressif/esp-idf!20470
2023-03-28 15:29:46 +08:00
Ivan Grokhotkov
7524f40b21
sdmmc: keep clock enabled for the duration of ACMD41
...
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-03-27 14:09:02 +02:00
Ivan Grokhotkov
bb3f1fd261
examples: re-enable console examples for C2, C6, H2
...
- Split the sleep-related system commands into a separate file
- Don't compile that file and don't register sleep commands for H2 yet
- Exclude Wi-Fi commands if the chip doesn't have Wi-Fi
2023-03-25 17:41:56 +01:00
Ivan Grokhotkov
cc0cac4da2
sdmmc: new component test app
...
- split test cases into separate files
- added a component with information about dev. boards
- added a console application to run the tests
- added commands for lower level hacking/experimentation
2023-03-24 13:38:38 +01:00
Ivan Grokhotkov
58544727fb
Merge branch 'bugfix/sdmmc_freq_set_probing' into 'master'
...
sdmmc: also set card->real_freq_khz field for probing frequency
See merge request espressif/esp-idf!22908
2023-03-24 18:01:46 +08:00
Ivan Grokhotkov
bfc39e845e
sdmmc: also set card->real_freq_khz for probing frequency
2023-03-23 23:28:54 +01:00
Ivan Grokhotkov
c36aa79058
docs: remove v4.1 EoL release from the chip support status in README
2023-03-21 21:00:58 +01:00
Ivan Grokhotkov
1c80ef1227
docs: update README to mention the production version of ESP32-H2
2023-03-21 20:57:31 +01:00
Ivan Grokhotkov
77541faa14
tools: idf.py: remove esp32c6 and esp32h2 from preview targets list
2023-03-21 20:41:44 +01:00
Ivan Grokhotkov
e0009e6d9e
Specification Kconfig description
2023-03-08 11:01:49 +08:00
Ivan Grokhotkov
75faeec845
Revert "Create manual.yml"
...
This reverts commit b50231d443 .
2023-02-28 23:56:04 +01:00
Ivan Grokhotkov
0063bf6682
Revert "adding qemu workflow"
...
This reverts commit 8126ebc2ea .
2023-02-28 23:55:32 +01:00
Ivan Grokhotkov
f5655bc627
Merge remote-tracking branch 'github/master' into bugfix/github_diverged
2023-02-28 23:55:06 +01:00
Ivan Grokhotkov
bb25d6abd3
Merge branch 'bugfix/newlib_leftover_files' into 'master'
...
newlib: remove leftover file from the binary distribution
See merge request espressif/esp-idf!22252
2023-02-12 03:08:25 +08:00
Ivan Grokhotkov
e10ff6b4e3
newlib: remove leftover file from the binary distribution
2023-02-06 22:23:48 +01:00
Ivan Grokhotkov
248bc8a346
Merge branch 'feature/modbus_add_esp32c2_esp32c6_targets' into 'master'
...
examples: modbus add esp32c2 esp32c6 targets
See merge request espressif/esp-idf!22017
2023-01-28 00:45:47 +08:00
Ivan Grokhotkov
cef0744299
Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
...
multiple fixes for linux target
Closes IDF-6641
See merge request espressif/esp-idf!21993
2023-01-18 11:57:08 +08:00
Ivan Grokhotkov
8084552722
Merge branch 'bugfix/sntp_docs_time_t_64bit' into 'master'
...
docs: remove outdated section on custom toolchain for 64-bit time_t
See merge request espressif/esp-idf!21994
2023-01-16 17:56:29 +08:00
Ivan Grokhotkov
e7540dbe0e
docs: remove the outdated "IDF monitor doesn't work on linux" notes
2023-01-13 08:14:56 +01:00
Ivan Grokhotkov
ec8f38c9da
build system: generate the partition table by default for linux target
...
This fixes the issue that "idf.py partition-table" had to be run
manually in order for the partition table to be generated, when
building for linux target.
2023-01-13 08:14:56 +01:00
Ivan Grokhotkov
98d1f7de4b
tools: fix idf_monitor.py not working on macOS for Linux target
...
Since the introduction of PCAddressMatcher, the executable produced
by the build system is passed to elftools.elf.elffile.ELFFile.
However on macOS, native executables are not ELF files, so the
ELFFile class raises a rather unhelpful AssertionError exception.
Given that the rest of the idf_monitor.py doesn't have assumptions
that the "elf_file" argument is an ELF file (rather than just an
executable), check if the file is a real ELF file inside
PCAddressMatcher.
2023-01-13 08:14:55 +01:00
Ivan Grokhotkov
10e3b8edef
Merge branch 'feature/esp32h2_backtrace' into 'master'
...
tools: gdb_panic_server: add esp32h2
See merge request espressif/esp-idf!21901
2023-01-09 22:06:57 +08:00
Ivan Grokhotkov
0dcdd39db1
soc: fix some memory region boundaries for esp32c3, esp32c2, esp32h4
2023-01-09 07:33:37 +00:00
Ivan Grokhotkov
61c5fc21e1
docs: fix nvs-related docs build issue
2023-01-05 09:28:57 +01:00
Ivan Grokhotkov
38d36530f2
tools: gdb_panic_server: add esp32h2
2023-01-04 17:00:16 +01:00
Ivan Grokhotkov
8020407d3d
Merge branch 'test/panic_add_riscv' into 'master'
...
tests: panic: add esp32s3, esp32c3, esp32c2 support
Closes IDF-5692
See merge request espressif/esp-idf!21349
2023-01-04 18:29:01 +08:00
Ivan Grokhotkov
6495810c5d
test: panic: run tests on esp32s3, esp32c3, esp32c2
2023-01-03 15:29:58 +01:00
Ivan Grokhotkov
e48b8eecff
Merge branch 'bugfix/tools_json_riscv_gdb_targets' into 'master'
...
tools: fix RISC-V GDB not being installed for C2, C6, H2
See merge request espressif/esp-idf!21763
2023-01-02 16:55:04 +08:00
Ivan Grokhotkov
9368096123
Merge branch 'bugfix/test_build_system_fixtures' into 'master'
...
build system tests: fix issues with idf_copy and get_idf_build_env
See merge request espressif/esp-idf!21754
2023-01-02 16:14:38 +08:00
Ivan Grokhotkov
2a1e5e1939
tools: fix RISC-V GDB not being installed for C2, C6, H2
2022-12-22 10:11:48 +01:00
Ivan Grokhotkov
6020bb0f90
Merge branch 'feature/gdbstub_esp32c2' into 'master'
...
gdb stub: re-enable for ESP32-C2
Closes IDF-4135 and IDF-4245
See merge request espressif/esp-idf!21386
2022-12-22 16:00:01 +08:00
Ivan Grokhotkov
0c9ac7df6d
system: disable interrupts in esp_restart_noos_dig
2022-12-21 21:58:59 +01:00
Ivan Grokhotkov
03c542ecf7
test_build_system: fix incomplete env returned by get_idf_build_env
...
Previously get_idf_build_env didn't include the default environment
(os.environ) in its output, so the environment only contained the
variables returned by "idf_tools.py export".
If PATH already contains all the right paths, "idf_tools.py export"
doesn't return the PATH variable.
Therefore the environment returned by get_idf_build_env was usually
incomplete. Fix by combining the output of "idf_tools.py export" with
os.environ.
2022-12-21 17:22:55 +01:00
Ivan Grokhotkov
5d2f900bef
test_build_system: fix idf_copy fixture not changing IDF_PATH
2022-12-21 17:22:50 +01:00
Ivan Grokhotkov
e3a4d47fd9
gdb stub: re-enable for ESP32-C2
2022-12-21 13:21:41 +01:00
Ivan Grokhotkov
32754865da
Merge branch 'feature/spiflash_override_cmake_function' into 'master'
...
build system: Add spi_flash_add_link_dependency function for spi_flash custom driver
Closes IDF-3167
See merge request espressif/esp-idf!14186
2022-12-19 22:21:40 +08:00
Ivan Grokhotkov
75c92a8811
ci: use latest esp-clang for code analysis
2022-12-15 19:32:42 +01:00
Ivan Grokhotkov
ff23012d68
Merge branch 'contrib/github_pr_10334' into 'master'
...
Set errno in adjtime (GitHub PR)
Closes IDFGH-8915
See merge request espressif/esp-idf!21516
2022-12-13 19:36:49 +08:00