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
Ivan Grokhotkov
e603c9b04d
Merge branch 'doc/cpu_breakpoint_watchpoint_num' into 'master'
...
docs: fix the number of breakpoints and watchpoints for RISC-V chips
See merge request espressif/esp-idf!21412
2022-12-09 22:21:50 +08:00
Ivan Grokhotkov
f1b1540f61
docs: fix the number of breakpoints and watchpoints for RISC-V chips
2022-12-08 12:12:02 +01:00
Ivan Grokhotkov
9a1f2b95ea
Merge branch 'contrib/github_pr_10304' into 'master'
...
Fixed mismatch in printf types (GitHub PR)
Closes IDFGH-8883
See merge request espressif/esp-idf!21450
2022-12-08 00:24:18 +08:00
Ivan Grokhotkov
e20b28e0c8
hello_world: revert to %d for 8/16-bit for newlib-nano compatibility
2022-12-06 14:59:34 +01:00
Ivan Grokhotkov
29430e464d
Merge branch 'fix/esp32s3_memprot' into 'master'
...
ESP32S3: Add memory protection for Icache region
Closes IDF-6390
See merge request espressif/esp-idf!21329
2022-12-01 11:41:47 +08:00
Ivan Grokhotkov
c837974887
Merge branch 'bugfix/macos_linker_type' into 'master'
...
cmake: fixes related to linker flags
See merge request espressif/esp-idf!21178
2022-11-21 23:37:19 +08:00
Ivan Grokhotkov
7a298f98ae
cmake: fix the linker type check for --whole-archive option
...
Checking that the host is macOS is not sufficient here, since the
linker is still a GNU linker when cross-compiling for a chip.
Instead, use the linker_type variable introduced in the previous
commit.
2022-11-21 13:08:05 +01:00
Ivan Grokhotkov
b47155a70b
cmake: fix the map file not generated when compiling with Clang
...
When compiling for a chip target with Clang,
CMAKE_C_COMPILER_ID="Clang" but the linker is still a GNU linker.
Therefore we can still generate the map file.
2022-11-21 13:06:17 +01:00
Ivan Grokhotkov
80d3dc9ac5
docs: add C++ support chapter to the API guides
2022-11-04 18:37:03 +01:00
Ivan Grokhotkov
b14116ff95
Merge branch 'feature/partition_api_new_component_2' into 'master'
...
Storage: Partition APIs moved to the new component 'esp_partition'
Closes IDF-1234
See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
Ivan Grokhotkov
9fe10b99ca
Merge branch 'doc/opt_esp32_eco3' into 'master'
...
docs: mention that increasing ESP32_REV_MIN can reduce IRAM size
See merge request espressif/esp-idf!20928
2022-11-03 22:23:16 +08:00
Ivan Grokhotkov
07fe9caba0
docs: mention that increasing ESP32_REV_MIN can reduce IRAM size
2022-11-03 11:08:01 +01:00
Ivan Grokhotkov
2d9e75bf05
Merge branch 'feature/upgrade_argtable_3_2_2_files' into 'master'
...
console: argtable3: upgrade to v3.2.2
Closes IDFGH-8443 and IDFGH-8566
See merge request espressif/esp-idf!20829
2022-10-28 05:25:21 +08:00
Ivan Grokhotkov
47ba2b48ea
console: argtable3: upgrade to v3.2.2
...
Closes https://github.com/espressif/esp-idf/issues/9907
Closes https://github.com/espressif/esp-idf/pull/10016
2022-10-27 11:38:49 +02:00
Ivan Grokhotkov
642874e9dd
Merge branch 'ci/update_wpa_supp_codeowners' into 'master'
...
ci: Update `wpa_supplicant` codeowners
See merge request espressif/esp-idf!20552
2022-10-19 00:56:47 +08:00
Ivan Grokhotkov
11ec9d392d
Merge branch 'bugfix/storage_wformat' into 'master'
...
storage: fix and re-enable -Wformat warnings
See merge request espressif/esp-idf!20486
2022-10-18 20:21:53 +08:00
Ivan Grokhotkov
989d9e831f
Merge branch 'bugfix/replace_port_get_runtime_counter_usage' into 'master'
...
freertos, app_trace: use esp_cpu_get_cycle_count to get ccount
Closes IDF-4744
See merge request espressif/esp-idf!20443
2022-10-13 21:40:07 +08:00
Ivan Grokhotkov
659460525f
Merge branch 'test/spiffs_component_test_app' into 'master'
...
spiffs: move tests from unit-test-app to a component test app
Closes IDF-5602
See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Ivan Grokhotkov
c4be293e23
Merge branch 'test/fatfs_test_app_readme' into 'master'
...
fatfs: add missing readme file for the test apps
See merge request espressif/esp-idf!20522
2022-10-13 17:53:11 +08:00
Ivan Grokhotkov
8a45ff0957
Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
...
vfs, spi_flash: re-enable unit tests for C2
Closes IDF-5137 and IDF-5139
See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app
2022-10-12 12:08:13 +02:00
Ivan Grokhotkov
7e2f261a58
freertos, app_trace, heap: use esp_cpu_get_cycle_count to get ccount
...
portGET_RUN_TIME_COUNTER_VALUE should only be used in the kernel.
2022-10-12 11:20:55 +02:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2
2022-10-12 11:09:36 +02:00
Ivan Grokhotkov
5f6f4ef3ac
Merge branch 'bugfix/build_rules_check_ignore' into 'master'
...
ci: ignore build_test_app when checking build_test_rules
See merge request espressif/esp-idf!20517
2022-10-10 22:28:53 +08:00
Ivan Grokhotkov
6a86614d74
fatfs: add missing readme file for the test apps
2022-10-10 12:15:56 +02:00
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings
2022-10-06 16:16:32 +02:00
Ivan Grokhotkov
8048d596a2
docs: remove duplicate "the" articles
2022-10-05 11:58:23 +02:00
Ivan Grokhotkov
12f4ea94aa
docs: async_memcpy: use real function names in the example code
2022-10-05 11:58:22 +02:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
353df4f530
Merge branch 'bugfix/pytest_import_from_conftest' into 'master'
...
test_apps: move PanicTestDut from conftest into a separate module
See merge request espressif/esp-idf!20472
2022-10-04 21:48:19 +08:00
Ivan Grokhotkov
87ea3142ac
Merge branch 'contrib/github_pr_9899' into 'master'
...
Make esp_app_desc a weak symbol (GitHub PR)
Closes IDFGH-8433
See merge request espressif/esp-idf!20461
2022-10-04 13:40:32 +08:00
Ivan Grokhotkov
39319c0750
test_apps: move PanicTestDut from conftest into a separate module
...
pytest_panic used to do 'from conftest import PanicTestDut'. This
stopped working when another conftest.py file was added in
tools/test_build_system/conftest.py.
In this case we can't rename conftest.py since both are necessary
for pytest to install the hooks in the respective test cases.
Fix by moving PanicTestDut into a separate module, then importing
it from there.
2022-10-03 21:44:28 +02:00
Ivan Grokhotkov
104f2da4c6
Merge branch 'feature/pytest_build_system' into 'master'
...
build system: add initial version of pytest-based build system tests
See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00