Jakob Hasse
9f4236f825
ci: increased freertos SMP linux target test timeout
2023-04-28 17:49:37 +08:00
Marius Vikhammer
68088c6371
Merge branch 'ci/fix_overwrite_pytest_configs' into 'master'
...
ci: fixed test apps overriding idf_build_apps configs
See merge request espressif/esp-idf!23387
2023-04-27 14:32:18 +08:00
Marius Vikhammer
6fae679124
ci: cleanup, combine and remove old ttfw unit test app configs
2023-04-27 09:33:13 +08:00
Laukik Hase
56123c52aa
Merge branch 'ci/migrate_nvs_flash_to_component_test_apps' into 'master'
...
nvs_flash: Migrate UTs to component test-apps
Closes IDF-5596
See merge request espressif/esp-idf!23411
2023-04-26 20:23:25 +08:00
Roland Dobai
782acb10e9
Merge branch 'feat/idf_flash_msg_improvement' into 'master'
...
Tools: Improve the flashing instructions printed after "idf.py build"
Closes IDFGH-9856
See merge request espressif/esp-idf!23326
2023-04-26 19:51:28 +08:00
Jakob Hasse
ca44fc3847
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-04-26 19:06:39 +08:00
Laukik Hase
4ac95a33fd
nvs_flash: Migrate UTs to component test-apps
2023-04-26 10:21:03 +05:30
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
Martin Vychodil
668521dfe7
Merge branch 'feature/vfs_test_app' into 'master'
...
VFS: move tests from unit-test-app to a component test app
See merge request espressif/esp-idf!23145
2023-04-26 09:23:28 +08:00
Zim Kalinowski
98bf5a71c5
Merge branch 'refactor/optimize_test_app_builds' into 'master'
...
tools: setting components to main to reduce build time
See merge request espressif/esp-idf!23253
2023-04-25 22:40:05 +08:00
Jakob Hasse
af2d326a95
Merge branch 'feature/freertos_plus_posix_SMP' into 'master'
...
[FreeRTOS/Linux] POSIX/Linux and SMP
Closes IDF-6087
See merge request espressif/esp-idf!21818
2023-04-25 20:21:26 +08:00
Sonika Rathi
d83c681078
VFS: move tests from unit-test-app to a component test app
2023-04-25 17:24:20 +05:30
Jakob Hasse
620cc586a2
tools: setting components to main to reduce build time
2023-04-25 15:42:22 +08:00
Radek Tandler
d8f2c0e715
Merge branch 'feature/storage_host_test_ffs' into 'master'
...
fatfs: host test migrated to CMake and esp_partition emulation for linux
See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00
C.S.M
7d9d27a060
Merge branch 'refactor/driver_ut_to_test_app' into 'master'
...
CI: Move all UT in driver to test_app
See merge request espressif/esp-idf!23343
2023-04-25 14:10:11 +08:00
Jakob Hasse
d6fe302904
freertos: Added partial unit tests for Linux simulator
...
* The unit tests are derived from the FreeRTOS test app
in components/freertos/test_apps/freertos. They are
quite incompatible with the main test application, which
is why they have been placed under
tools/test_apps/linux_compatible/linux_freertos for now.
2023-04-25 13:58:57 +08:00
Cao Sen Miao
8882ba2ba1
CI: Move all UT in driver to test_app
2023-04-25 10:40:32 +08:00
Marius Vikhammer
edb2994da9
ci: disable test_dram_reg2_execute_violation on esp32s2
2023-04-25 09:57:23 +08:00
Fu Hanxi
8be8a1cd22
Merge branch 'ci/fix_no_test_script_corner_case' into 'master'
...
ci: fix build script when no test script found
See merge request espressif/esp-idf!23361
2023-04-25 08:46:06 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
Ondrej Kosta
22caec278f
Merge branch 'feature/emac_hal_cleanup' into 'master'
...
wrapped emac_ll functions to emac_hal
Closes IDFGH-8474
See merge request espressif/esp-idf!23078
2023-04-24 15:47:29 +08:00
Ivan Grokhotkov
39580dd08c
version: update to v5.2.0
...
Starting IDF v5.2 development
2023-04-23 21:52:21 +02:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
Fu Hanxi
55870f379d
ci: fix build script when no test script found
2023-04-23 14:53:58 +08:00
Roland Dobai
1bf382a3e1
Merge branch 'monitor_win_color' into 'master'
...
bug(idf_monitor, hints): fix monitor colors on windows with hints
Closes IDF-5863
See merge request espressif/esp-idf!22070
2023-04-21 20:15:38 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
Fu Hanxi
fc329fa80f
ci: remove unknown target, add H4 for check back
2023-04-21 14:43:31 +08:00
Fu Hanxi
3554c6e571
ci: run readme check when constants.py or check script updated
2023-04-21 14:43:21 +08:00
Roland Dobai
d75b7a7470
Tools: Improve the flashing instructions printed after "idf.py build"
...
Closes https://github.com/espressif/esp-idf/issues/11181
2023-04-20 15:30:34 +02:00
Kevin (Lao Kaiyao)
4fd62bce13
Merge branch 'refacor/remove_esp32h4_target_stage1' into 'master'
...
esp32h4: remove esp32h4 target (stage 1)
See merge request espressif/esp-idf!23237
2023-04-20 20:29:58 +08:00
David Čermák
e888bb0cf8
Merge branch 'bugfix/esp_netif_recieve_returns' into 'master'
...
esp_netif: Report error if esp_netif_receive() fails
Closes IDFGH-9398
See merge request espressif/esp-idf!22936
2023-04-20 17:47:28 +08:00
laokaiyao
1f84f6c6ed
esp32h4: remove esp32h4 target from ci
2023-04-20 15:19:47 +08:00
Ondrej Kosta
c231c79fc8
HAL: wrapped emac_ll functions to emac_hal
...
Closes #9934
2023-04-19 12:46:45 +00:00
Jakob Hasse
d82eb6942c
Merge branch 'contrib/github_pr_11025' into 'master'
...
Enable support for C++23 in esp-idf (GitHub PR)
Closes IDFGH-9684
See merge request espressif/esp-idf!23144
2023-04-19 15:53:46 +08:00
Darian
0bb3342491
Merge branch 'refactor/xtensa_move_common_source_files' into 'master'
...
Xtensa: Separate files according to Xtensa RTOS porting layer
See merge request espressif/esp-idf!21672
2023-04-19 15:15:21 +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
Roland Dobai
a05b306782
Merge branch 'esptool_extra' into 'master'
...
feat(esptool): allow to force flash chip
Closes IDF-6838 and IDF-5381
See merge request espressif/esp-idf!23097
2023-04-18 19:35:32 +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
Darian Leung
9509c14510
build: Add --longcalls option to clang builds of xtensa targets
...
This commit adds the --longcalls option to UNIQ_CMAKE_ASM_FLAGS for clang
builds of xtensa targets to prevent "dangerous relocation" errors.
2023-04-18 15:51:38 +08:00
Peter Dragun
faa82b060c
feat(esptool): allow to set force for write_flash
2023-04-17 12:53:01 +02:00
Peter Dragun
bebd2cec4a
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-17 11:18:42 +02:00
Jakob Hasse
8f7a076619
cmake: C++23 only when not using clang
2023-04-14 17:57:01 +08:00
wanlei
c34ea9cef6
ci: pytest automation script increase timeout time
2023-04-14 12:03:38 +08: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
8e85fc8571
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-04-12 11:17:41 +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
Ondrej Kosta
eb17a9d6e0
network_examples: added LwIP bridge test
2023-04-12 09:14:12 +02:00
Alexey Lapshin
e7d28e4277
Merge branch 'feature/esp32c6_esp32h2_enable_panic_tests' into 'master'
...
tests: panic: esp32c6/esp32h2 enable
Closes IDF-5662, IDF-6863, IDF-6865, IDF-6866, and IDF-6868
See merge request espressif/esp-idf!22943
2023-04-12 10:20:05 +08:00
Roland Dobai
f57e8eed78
Merge branch 'feature/hfp_ag_hints' into 'master'
...
tools: Update idf-py hints with Bluedriod HFP AG info
Closes IDF-5671
See merge request espressif/esp-idf!23089
2023-04-11 13:48:15 +08:00
Alexey Lapshin
2b6de209c8
tests: panic: add esp32c6 esp32h2
2023-04-10 17:49:51 +08:00
Marius Vikhammer
03c2c8db77
Merge branch 'feature/esp_sys_iram_cleanup' into 'master'
...
esp-system: move uncessary IRAM functions to flash
Closes IDF-7138 and IDF-7148
See merge request espressif/esp-idf!23121
2023-04-10 17:24:14 +08:00
Marius Vikhammer
7108ff093d
Merge branch 'feature/sram1_iram' into 'master'
...
system: add kconfig option for using parts of SRAM1 for IRAM
Closes IDFGH-8351 and IDF-942
See merge request espressif/esp-idf!21214
2023-04-10 13:58:40 +08:00
Marius Vikhammer
db059b155a
esp-system: move uncessary IRAM functions to flash
2023-04-10 11:10:28 +08:00
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Marius Vikhammer
ff7fce9739
ci: fixed custom partition table subtype test not compiling for linux
2023-04-07 12:29:30 +08:00
Fu Hanxi
9153f9c927
ci: don't run idf-size for linux target
2023-04-07 12:29:30 +08:00
Fu Hanxi
01fd87bd05
ci: remove ttfw related info in tools/test_apps
2023-04-07 12:29:30 +08:00
Fu Hanxi
0f2a0058a3
ci: fix pytest build system
2023-04-07 10:42:12 +08:00
Wan Lei
b6d57a26ca
Merge branch 'feature/spi_flash_enable_counters_on_esp_flash_driver' into 'master'
...
spi_flash: support SPI_FLASH_ENABLE_COUNTERS on esp_flash driver and test this feature
Closes IDF-5623
See merge request espressif/esp-idf!19554
2023-04-06 15:48:42 +08:00
Roland Dobai
05a8d0b58a
Merge branch 'bugfix/asyncio_progress_term_width' into 'master'
...
tools: fix progress output in asyncio.run with zero terminal width
Closes IDF-6646
See merge request espressif/esp-idf!22986
2023-04-06 15:23:39 +08:00
Roland Dobai
7d4835e817
Merge branch 'feature/rewrite_build_sys_tests_v3' into 'master'
...
Rewrite build system unit tests to python v3
Closes IDF-6842
See merge request espressif/esp-idf!22280
2023-04-06 15:21:32 +08:00
liqigan
fcc6ea1336
tools: Update idf-py hints with Bluedroid HFP AG info
2023-04-06 14:18:27 +08:00
gaoxu
542a61b6cb
support SPI_FLASH_ENABLE_COUNTERS feature on esp_flash driver and rename the functions to esp_flash_xx
2023-04-06 11:40:40 +08:00
David Cermak
7d6241e761
esp_netif: Make esp_netif_receive() return value configurable
2023-04-05 12:18:21 +02:00
Zim Kalinowski
ab5d8d0008
Merge branch 'refactor/esp_partition_host_test_build_dir' into 'master'
...
esp_partition: partition_linux.c does not use hard-coded file anymore
Closes IDF-6644
See merge request espressif/esp-idf!22759
2023-04-04 18:35:24 +08:00
Roland Dobai
b3a54cf643
Merge branch 'bugfix/sdkconfig_abspath' into 'master'
...
ci: add build test for sdkconfig specified with abspath
Closes IDF-764
See merge request espressif/esp-idf!23020
2023-04-03 16:33:47 +08:00
Roland Dobai
775f8e7a49
Merge branch 'bugfix/set_target_with_stale_config' into 'master'
...
tools: fix set-target if IDF_TARGET env is set and stale sdkconfig exists
Closes IDF-7154
See merge request espressif/esp-idf!22950
2023-03-31 17:31:59 +08:00
Frantisek Hrbata
f6af455f57
ci: add build test for sdkconfig specified with abspath
...
On Windows, when path is specified as absolute for cmdl argument, cmake can
interpret parts of the path as invalid escape chars. For example "C:\Users\..."
will result in "Invalid character escape '\U'." Externally specified
paths should be converted into cmake's representation, which uses '/'.
This can be done e.g. by using 'get_filename_component()'. Currently
there doesn't seem to be any problem with this, but let's add a test for
this.
Suggested-by: Ivan Grokhotkov <ivan@espressif.com>
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-31 09:55:25 +02:00
Fu Hanxi
9295aef934
ci: remove linux build dir workaround
2023-03-31 15:07:07 +08:00
Rocha Euripedes
610d5ea0ae
Merge branch 'ci/mqtt_test_app' into 'master'
...
ci: Migrate unit test for mqtt test to unit test app
Closes IDF-5594
See merge request espressif/esp-idf!22814
2023-03-30 15:33:07 +08:00
Frantisek Hrbata
84deb34035
tools: fix progress output in asyncio.run with zero terminal width
...
Currently the forced progress in RunTool is trying to fit the output
line into a terminal width, but it doesn't take into an account a
situation when the terminal width is reported as zero. This manifests
when running in docker image with redirected output and can be seen
in the github workflow output for esp-idf-ci-action.
docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())'
os.terminal_size(columns=238, lines=59) True
vs
docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())' | tee
os.terminal_size(columns=0, lines=0) True
Since the output is reported as tty and the terminal width as 0, the
fit_text_in_terminal() function returns empty string. I also verified this
by running idf.py build inside a testing docker image.
This fix adjusts the fit_text_in_terminal() function to return original
line if the terminal width is zero.
Also simplify the progress print and use same approach as ninja
https://github.com/ninja-build/ninja/blob/master/src/line_printer.cc#L66
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-29 17:12:36 +02:00
Roland Dobai
83469ddbac
Merge branch 'feature/update_ccache_to_4.8' into 'master'
...
Tools: update ccache 4.6.2 -> 4.8
Closes IDF-6749
See merge request espressif/esp-idf!22881
2023-03-29 22:18:16 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
Mahavir Jain
8894fae432
Merge branch 'feature/update_secure_boot_test_app_to_pytest' into 'master'
...
secure_boot_test_app: Update the test_app to use pytest framework
Closes IDFCI-1135
See merge request espressif/esp-idf!17967
2023-03-29 14:26:35 +08:00
KonstantinKondrashov
444c27e4e6
test_apps: Test multicore app can be run by unicore bootloader
2023-03-29 03:47:55 +08:00
Rocha Euripedes
98b75727ba
Merge branch 'feature/socks_transport' into 'master'
...
tcp_transport: Adds SOCKS4 proxy transport
See merge request espressif/esp-idf!20479
2023-03-28 20:33:28 +08:00
Aditya Patwardhan
780f7f2669
secure_boot_test_app: Update the test_app to use pytest framework
...
* Added custom class IdfFpgaDut in pytest from ttfw_idf.IDFFPGADUT
2023-03-28 16:10:00 +05:30
Marek Fiala
b4446e1748
Tools: Rewrite build system unit tests to python - cmake libraries and Kconfig
2023-03-28 11:20:42 +02:00
Frantisek Hrbata
9b731e5e35
tools: fix set-target if IDF_TARGET env is set and stale sdkconfig exists
...
Currently if the IDF_TARGET env is set, and old sdkconfig exists with
different target value in CONFIG_IDF_TARGET, the set-target action fails
complaining about the IDF_TARGET env and value in sdkconfig being different.
We should ignore IDF_TARGET value from sdkconfig, because we are
actually setting new target and the old sdkconfig is renamed in cmake.
This can be easily reproduced with
---8<---
$ IDF_TARGET=esp32 idf.py set-target esp32
$ IDF_TARGET=esp32s3 idf.py set-target esp32s3
Project sdkconfig '/home/fhrbata/work/hello_world/sdkconfig' was generated
for target 'esp32s3', but environment variable IDF_TARGET is set to 'esp32'.
Run 'idf.py set-target esp32' to generate new sdkconfig file for target esp32.
---8<---
This also adds test for this use case to test_non_default_target.py.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-28 11:18:04 +02:00
Roland Dobai
51772f4fb5
Merge branch 'feature/update_rom_elfs' into 'master'
...
tools: update esp-rom-elf to version 20230320
See merge request espressif/esp-idf!22838
2023-03-28 17:10:44 +08:00
Djordje Nedic
3e0f612a7e
tools: Move out idf_size.py in favour of using the esp-idf-size package
...
This commit removes all idf_size.py files and references to them and adds esp-idf-size as a dependency and adequate wrappers to avoid breaking changes.
2023-03-27 19:40:33 +02:00
Euripedes Rocha
d6db90a3cd
[tcp_transport] - Adds Socks4 proxy transport
...
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00
Euripedes Rocha
1acfc9b5e0
ci: Migrateunit test for mqtt test to unit test app
...
- Split mqtt and mqtt5 tests
- Move common test code to a common component
- Add necessary python scripts
2023-03-24 10:32:43 +01:00
Wan Lei
896f046ac2
Merge branch 'feature/support_spi_slave_hd_append_later_s2' into 'master'
...
spi_slave: support spi slave hd append mode on chips other than s2
Closes IDF-2943
See merge request espressif/esp-idf!19557
2023-03-23 14:19:32 +08:00
Mahavir Jain
786851bfbd
Merge branch 'feature/esp32c6_esp32h2_supported' into 'master'
...
tools: idf.py: remove esp32c6 and esp32h2 from preview targets list, update chip/version support table
See merge request espressif/esp-idf!22868
2023-03-23 12:25:57 +08:00
Mahavir Jain
86b6f87d68
Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
...
Fix flash mmap data integrity issue for RAM loadable ELF case
See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
Marek Fiala
b65500fd63
Tools: update ccache 4.6.2 -> 4.8
2023-03-22 16:26:21 +01:00
Darian
c71025d6d6
Merge branch 'refactor/freertos_config_files' into 'master'
...
FreeRTOS: Combine FreeRTOSConfig.h
Closes IDF-6082
See merge request espressif/esp-idf!22815
2023-03-22 22:01:37 +08:00
Jakob Hasse
2b895ef9d8
Merge branch 'feature/rmt_mock' into 'master'
...
Mocks: added RMT mock
See merge request espressif/esp-idf!22060
2023-03-22 20:18:46 +08:00
Tomas Rezucha
f3de7e574d
Merge branch 'bugfix/usb_reg_header_definition_upd' into 'master'
...
USB: usb_reg.h update missing register bitfield description
See merge request espressif/esp-idf!22766
2023-03-22 17:43:43 +08:00
Darian Leung
05bda6595d
freertos: Move FreeRTOSConfig_arch.h
...
This commit moves the FreeRTOSConfig_arc.h to the "esp_additions" directory
so that they can also be used for SMP FreeRTOS builds.
2023-03-22 16:32:29 +08:00
Ivan Grokhotkov
77541faa14
tools: idf.py: remove esp32c6 and esp32h2 from preview targets list
2023-03-21 20:41:44 +01:00
Roland Dobai
a0eb55e81a
Merge branch 'add_win64_oocd_bins' into 'master'
...
tools: Add missed OpenOCD v0.12.0-esp32-20230313 binaries for win64 platform
See merge request espressif/esp-idf!22856
2023-03-22 01:01:04 +08:00
Ondrej Kosta
531e23c802
Merge branch 'bugfix/dm9051_rcv_mcast' into 'master'
...
esp_eth: allowed DM9051 to receive multicast packets
See merge request espressif/esp-idf!22768
2023-03-21 22:55:44 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
Alexey Gerenkov
d2c02c901a
tools: Add OpenOCD v0.12.0-esp32-20230313 binaries for win64 platform
2023-03-21 15:44:53 +03:00
Armando (Dou Yiwen)
75fc5a2512
Merge branch 'bugfix/mspi_timing_tuning_ll_assertion_disable_build_fail_issue' into 'master'
...
mspi: fix build failure under assertion disable
Closes IDF-7077
See merge request espressif/esp-idf!22835
2023-03-21 12:37:21 +08:00