Ivan Grokhotkov
763ba14885
feat(docs): use a faster fork of breathe-doc/breathe
...
See https://github.com/breathe-doc/breathe/discussions/962
2023-12-21 16:33:20 +01:00
Ivan Grokhotkov
7265febc31
Merge branch 'bugfix/macos_build_linux_target_misc' into 'master'
...
Misc fixes for IDF_TARGET=linux on macOS host
See merge request espressif/esp-idf!28015
2023-12-21 17:55:24 +08:00
Ivan Grokhotkov
c90b6c18c9
fix(linux): define __assert_func for IDF_TARGET=linux on macOS
2023-12-19 23:01:00 +01:00
Ivan Grokhotkov
b56bb7d8e4
fix(cmake): don't emit section directive when embedding files on host
2023-12-19 23:00:48 +01:00
Ivan Grokhotkov and Radek Tandler
6f9038809a
fix(esp_netif): move endian.h to linux component, fix macOS build
...
Co-authored-by: Radek Tandler <radek.tandler@espressif.com >
2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
1bd417ad68
fix(cmake): don't add Clang flags not supported in Apple toolchain
2023-12-19 23:00:48 +01:00
Ivan Grokhotkov
7f171f01b1
Merge branch 'bugfix/ignore_build_warnings_local' into 'master'
...
fix(idf-build-apps): make ignore_build_warnings.txt usable locally
See merge request espressif/esp-idf!27881
2023-12-20 05:59:08 +08:00
Ivan Grokhotkov
0f8d4fa2b4
Merge branch 'bugfix/macos_build_linux_target_transport_tls_http_server' into 'master'
...
fix(linux): fix several components failing to build with IDF_TARGET=linux on macOS
See merge request espressif/esp-idf!27883
2023-12-20 05:58:29 +08:00
Ivan Grokhotkov
7b8f69404f
feat(linux): provide getrandom implementation for macOS
...
This makes getrandom(2) usable when compiling with IDF_TARGET=linux
on a macOS host.
2023-12-19 15:11:32 +01:00
Ivan Grokhotkov
a596ca56a8
fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux
2023-12-19 13:29:15 +01:00
Ivan Grokhotkov
8bf23e5372
fix(esp-tls): fix build for IDF_TARGET=linux on macOS
2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
49f289f893
fix(esp_http_server): fix build for IDF_TARGET=linux on macOS
2023-12-19 13:28:59 +01:00
Ivan Grokhotkov
3a340b385f
Merge branch 'feature/qemu_lcd' into 'master'
...
feat(qemu): add a CLI option for graphics output
See merge request espressif/esp-idf!27874
2023-12-19 20:07:29 +08:00
Ivan Grokhotkov
d9983c0039
feat(qemu): add a CLI option for graphics output
2023-12-18 11:47:15 +01:00
Ivan Grokhotkov
358ed7fed9
fix(idf-build-apps): make ignore_build_warnings.txt usable locally
2023-12-13 15:05:25 +08:00
Ivan Grokhotkov
840b2d52f9
Merge branch 'feature/qemu-esp-develop-8.1.3-20231206' into 'master'
...
feat(tools): update qemu to esp-develop-8.1.3-20231206
See merge request espressif/esp-idf!27699
2023-12-07 17:39:36 +08:00
Ivan Grokhotkov
918c0ce4ac
feat(tools): update qemu to esp-develop-8.1.3-20231206
...
https://github.com/espressif/qemu/releases/tag/esp-develop-8.1.3-20231206
2023-12-07 10:54:29 +08:00
Ivan Grokhotkov
b20332535b
Merge branch 'feature/idf_qemu_ext' into 'master'
...
feat(tools): add 'idf.py qemu' extension
Closes IDFGH-817
See merge request espressif/esp-idf!26034
2023-12-05 14:15:57 +08:00
Ivan Grokhotkov
178b27ed80
ci(qemu): use qemu from tools.json, don't require a special image
2023-12-03 07:45:19 +01:00
Ivan Grokhotkov
71153c7dbb
feat(tools): add 'idf.py qemu' extension
...
This extension allows running programs in QEMU similar to running
them on a real chip:
- 'idf.py qemu' — builds and runs the program in QEMU. User gets
a QEMU instance launched, and can work with it as a normal QEMU
instance.
- 'idf.py qemu monitor' — same, but QEMU is launched in the
background, and idf_monitor runs in the foreground, showing QEMU
output. Compared to only running 'idf.py qemu' this enables, for
example, automatic backtrace decoding.
- 'idf.py qemu gdb' — launches QEMU in the background and opens an
interactive GDB prompt, connecting it to QEMU.
- 'idf.py qemu --gdb monitor' and 'idf.py gdb' in another shell:
launches QEMU in the background, keeps it suspended until GDB is
connected, and opens idf_monitor. GDB can be used in another shell
to debug the application.
2023-12-03 07:45:19 +01:00
Ivan Grokhotkov
81385b3476
Merge branch 'feature/update_catch2' into 'master'
...
ci: upgrade host tests to use espressif/catch2 component, add missing build rules
Closes IDF-8775
See merge request espressif/esp-idf!27455
2023-12-01 21:25:25 +08:00
Ivan Grokhotkov
e39d1ae9ce
Merge branch 'feature/update_unity' into 'master'
...
feat(unity): upgrade to 2.6.0-RC1
See merge request espressif/esp-idf!27456
2023-11-30 17:12:12 +08:00
Ivan Grokhotkov
b52182e14f
ci(tcp_transport): upgrade to Catch2 as a component
2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
ae3da4a383
ci(wear_levelling): upgrade to Catch2 as a component
2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
33896fe67e
ci(log): upgrade to Catch2 as a component
2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
88e77ba1ed
ci(nvs_flash): upgrade to Catch2 as a component, fix warnings
2023-11-29 12:38:47 +01:00
Ivan Grokhotkov
047e50615e
ci(fatfs): upgrade to Catch2 as a component, enable CI build
2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
8e81bbe014
ci(esp_rom): upgrade to Catch2 as a component, enable CI build
2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
79a2c15477
ci(esp_event): upgrade host test to Catch2 as a component, fix build
...
- use espressif/catch2 component
- fix build issues after FreeRTOS upgrade
- enable test app build in CI
2023-11-29 12:38:46 +01:00
Ivan Grokhotkov
88fa79fcc7
feat(unity): upgrade to 2.6.0-RC1
2023-11-28 20:22:02 +01:00
Ivan Grokhotkov
b48b501d85
Merge branch 'refactor/core_init_registration' into 'master'
...
refactor(startup): implement registration of core init functions
See merge request espressif/esp-idf!27402
2023-11-28 17:25:00 +08:00
Ivan Grokhotkov
6046b396ac
fix(esp_timer): avoid signed integer overflow in ESP_SYSTEM_INIT_FN
...
CONFIG_ESP_TIMER_ISR_AFFINITY can be equal to -1, whereas
ESP_SYSTEM_INIT_FN takes an uint16_t argument. To avoid overflow,
move the choice of init mask into source code and set the value
explicitly.
2023-11-27 10:20:51 +01:00
Ivan Grokhotkov
75c92c3a66
refactor(startup): implement registration of core init functions
...
Similar to how the secondary init functions were already registered
via ESP_SYSTEM_INIT_FN, do the same for the core init functions.
This MR doesn't actually move the init functions into respective
components yet. This has to be carefully done in follow-up MRs.
2023-11-27 10:20:51 +01:00
Ivan Grokhotkov
cbb6fa0507
Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse' into 'master'
...
fix(console): switch USB PHY to OTG when OTG is used for console
Closes IDFGH-11281
See merge request espressif/esp-idf!26653
2023-10-27 20:09:09 +08:00
Ivan Grokhotkov
6f9d3bfc76
Merge branch 'update/version_5_3_0' into 'master'
...
Start of v5.3 development (v5.3-dev)
See merge request !26669
2023-10-27 06:02:37 +02:00
Ivan Grokhotkov
8171b22c40
change(version): Update version to 5.3.0
2023-10-27 03:06:55 +02:00
Ivan Grokhotkov
a8e175364a
fix(console): switch USB PHY to OTG when OTG is used for console
...
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.
Closes https://github.com/espressif/esp-idf/issues/12437
2023-10-24 13:29:15 +02:00
Ivan Grokhotkov
40347c9c27
Merge branch 'feature/app_trace_component_test_app' into 'master'
...
feat(app_trace): migrate the tests from unit-test-app
Closes IDF-5564
See merge request espressif/esp-idf!26273
2023-10-20 21:45:05 +08:00
Ivan Grokhotkov
366bb1f99a
Merge branch 'feature/wpa_supplicant_component_test_app' into 'master'
...
feat(wpa_supplicant): migrate the tests from unit-test-app
Closes IDF-6781 and IDF-5608
See merge request espressif/esp-idf!26274
2023-10-07 22:16:02 +08:00
Ivan Grokhotkov
2b1e9af12f
change(wpa_supplicant): clean up test_sae, set leak thresholds
...
- fix relative includes
- remove ESP32-H2-related TODO — an ifdef is not needed now since the
whole app is built only for SOC_WIFI_SUPPORTED=y
- set leak threshold in test case
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
1745baffae
change(wpa_supplicant): reformat test_sae with astyle
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
c07ee2d56b
change(wpa_supplicant): test_offchannel: cleanups and leak thresholds
...
- sort includes
- fix relative includes
- replace TEMPORARY_DISABLED_FOR_TARGETS with just IDF_TARGET_ESP32,
to avoid having to change this file when bringing up new chips
- astyle formatting
- set leak threshold in test cases
- use the new 'wifi_two_dut' environment marker instead of UT_T2_1
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
098d28276e
change(wpa_supplicant): set leak threshold in test_fast_pbkdf2
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
6c27208ade
change(wpa_supplicant): reformat test_fast_pbkdf2 with astyle
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
191a9021c2
change(wpa_supplicant): clean up test_eloop, set leak threshold
...
- sort includes, fix relative includes
- make all globals static
- remove ifdef SOC_WIFI_SUPPORTED since the whole test app is only
built when SOC_WIFI_SUPPORTED is set
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
6eec370532
change(wpa_supplicant): reformat test_eloop with astyle
2023-10-04 17:46:45 +02:00
Ivan Grokhotkov
955e2076b6
change(wpa_supplicant): clean up test_dpp, set leak threshold
2023-10-04 17:46:44 +02:00
Ivan Grokhotkov
b9952370b4
change(wpa_supplicant): reformat test_dpp with astyle
2023-10-04 17:46:44 +02:00
Ivan Grokhotkov
6e22dc2fe2
ci(wpa_supplicant): set leak thresholds in test_crypto
2023-10-04 17:46:44 +02:00
Ivan Grokhotkov
ff87a0061c
feat(wpa_supplicant): migrate the tests from unit-test-app
2023-10-04 13:09:19 +02:00
Ivan Grokhotkov
5cd6284b6c
Merge branch 'feature/bt_component_test_app' into 'master'
...
feat(bt): migrate the tests from unit-test-app
Closes IDF-5567
See merge request espressif/esp-idf!26134
2023-10-02 23:31:03 +08:00
Ivan Grokhotkov
1f5861492f
feat(app_trace): migrate the tests from unit-test-app
2023-10-02 10:33:20 +02:00
Ivan Grokhotkov
180d455528
Merge branch 'bugfix/astyle-config-path' into 'master'
...
fix(precommit): correct typo in astyle-format.yml file name
See merge request espressif/esp-idf!26270
2023-09-28 08:32:00 +08:00
Ivan Grokhotkov
c5cd97d84f
fix(precommit): correct typo in astyle-format.yml file name
2023-09-27 16:35:26 +02:00
Ivan Grokhotkov
1f90194cf2
Merge branch 'feature/pre-commit-astyle' into 'master'
...
ci: format C code with astyle in a pre-commit hook
Closes IDF-65
See merge request espressif/esp-idf!20034
2023-09-27 21:50:35 +08:00
Ivan Grokhotkov
43741ec803
ci: add astyle pre-commit check
2023-09-27 08:43:45 +02:00
Ivan Grokhotkov
1fbee174af
fix(bt): fixed -Write-strings warning in btm_ble_5_gap.c
2023-09-25 15:01:29 +02:00
Ivan Grokhotkov
eafa723093
feat(bt): migrate the tests from unit-test-app
2023-09-25 15:01:29 +02:00
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