Wykres commitów

2588 Commity (a067b2a013731bc756b5498ab2d2d3340600fab8)

Autor SHA1 Wiadomość Data
Marius Vikhammer d9f5126d24 CI: enable running unit tests in CI for S3 2021-06-15 11:13:50 +08:00
Roland Dobai 483f51cdd0 tools: Some additions to IDF Monitor's timestamps
Additions to https://github.com/espressif/esp-idf/pull/7021
2021-06-13 12:13:39 +02:00
David Cermak 74fd8d7af8 CI: Enable publish tests only when started from weekend pipeline 2021-06-11 16:52:43 +02:00
Andrey Starodubtsev f91bde97c1 Add timestamps for idf_monitor.py
Closes https://github.com/espressif/esp-idf/pull/7021
2021-06-11 16:46:52 +02:00
Anton Maklakov 6d9740bc5d Merge branch 'ci/retry_downlad_for_artifacts' into 'master'
ci: retry download artifacts

See merge request espressif/esp-idf!13517
2021-06-11 09:46:29 +00:00
David Cermak badcbe0fcb mqtt: Moved weekend tests to test apps 2021-06-10 09:09:14 +02:00
Jakob Hasse 468b7ac6eb [test_utils]: added extern C decl to ccomp
Closes https://github.com/espressif/esp-idf/issues/7121
2021-06-09 15:37:21 +08:00
Angus Gratton bc4eb2071c Merge branch 'feature/toolchain_2021r1' into 'master'
Bring 2021r1 toolchains

Closes IDFGH-5009

See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
Marius Vikhammer bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Fu Hanxi a624d3bf32 ci: retry download artifacts 2021-06-08 15:04:06 +08:00
Anton Maklakov 3b60c2e131 ci: add debug artifacts for test_idf_tools 2021-06-07 18:48:38 +07:00
Anton Maklakov f6a91bff87 Update toolchains to esp-2021r1
Adds ESP32-C3 support
    Updates ESP32-S3 overlay
    GDB 9.2 for ESP32-C3 with core dump support
    Linker supports eh-frame-hdr for ESP32-C3
    Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
    Binutils 2.35.1

    Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-07 18:46:42 +07:00
Anton Maklakov 0ed7af2c4c tools: promote ESP32-S3 from preview to supported target 2021-06-07 12:52:28 +07:00
Anton Maklakov 4bb09900ab tools: fix parsing regex 2021-06-07 12:35:55 +07:00
Shu Chen 6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Anton Maklakov 37b058dfcf Merge branch 'tools/update_mypy_rules' into 'master'
Change logic for MYPY checker

See merge request espressif/esp-idf!13509
2021-06-02 10:16:05 +00:00
Ivan Grokhotkov 0e68c222ac Merge branch 'bugfix/dfu_split_large_bins' into 'master'
tools: Split up large binaries into smaller chunks in the DFU binary

Closes IDFGH-5227

See merge request espressif/esp-idf!13556
2021-05-31 17:19:28 +00:00
Shivani Tipnis 2d22374460 ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests 2021-05-28 19:50:28 +05:30
He Yin Ling 201018da43 Merge branch 'ci/shorter_performance_test_log' into 'master'
ci: optimize performance test log

See merge request espressif/esp-idf!13607
2021-05-21 06:48:16 +00:00
He Yin Ling 79cd45fdee Merge branch 'test/support_multiple_targets_for_iperf_example_test' into 'master'
test: support multiple targets for iperf example test

Closes TCI-656

See merge request espressif/esp-idf!13527
2021-05-21 06:43:21 +00:00
He Yin Ling 016a37c8ad ci: save built binaries could be tested locally:
we have some test cases not executed in CI. we need to save those
binaries as artifacts so we can test locally.
2021-05-20 16:58:39 +08:00
He Yin Ling 8434c0c731 ttfw: fix DUT exception not added to junit report 2021-05-20 16:28:20 +08:00
Fu Hanxi bccaab7e6c fix(ci): fix missing [Performance] prefix in junit report 2021-05-20 14:13:54 +08:00
Fu Hanxi 4304866780 ci: shorter performance test log 2021-05-20 14:13:54 +08:00
Roland Dobai 6b75bad2b1 tools: Split up large binaries into smaller chunks in the DFU binary
ROM will erase the region a partition is in as soon as it receives the
first bit of the data that is in the partition. For large partitions it
takes more than 5 seconds to erase which is a hard-coded limit in
dfu-utils.

This splits large binaries and adds them by chunks which should avoid
timing-out during flashing.

Closes https://github.com/espressif/esp-idf/issues/6999
2021-05-19 15:15:50 +02:00
Ivan Grokhotkov 38d902f544 Merge branch 'feature/gdbstubs_rt' into 'master'
Extension of GDBStub component for handling GDB by serial port at runtime.

See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Angus Gratton 0fc9253ed9 lwip: Update public port-layer headers with c++ guards, sdkconfig include
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Dmitry 00a7ecb5a3 Code cleanup. Bugfix after rebase with master. Formating. 2021-05-13 15:03:40 +03:00
Angus Gratton 3ce98690e6 Merge branch 'bugfix/stdatomic_64bit' into 'master'
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs

Closes IDFGH-703

See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Dmitry a16ae6c737 IDF monitor update 2021-05-11 16:08:44 +03:00
Dmitry c6e3eb0922 idf.py.exe changes to handle Ctrl+C in correct way.
Handling Ctrl+C in correct way for gdbstubs.
2021-05-11 16:04:44 +03:00
Tomas Sebestik 396acc5b31 Change logic for MYPY checker 2021-05-11 08:45:14 +02:00
Ivan Grokhotkov 2c6f9c4d50 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'

See merge request espressif/esp-idf!11377
2021-05-10 16:20:14 +00:00
Ivan Grokhotkov 1fb58684a2 unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups 2021-05-10 18:13:35 +02:00
Angus Gratton 84f2f2932d Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on

Closes IDFGH-5089

See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
Ivan Grokhotkov acd06daf39 Merge branch 'bugfix/spiram_h_header_guards' into 'master'
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)

Closes IDFGH-4861

See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Michael (XIAO Xufeng) 3f2f80effc Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
soc/hal/tinyusb: add tinyusb support esp32s3

Closes IDF-2692

See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn ea6710ce98 soc/hal: add tinyusb support esp32s3
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Ivan Grokhotkov d7f219686f Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations

Closes IDFGH-4925

See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
KonstantinKondrashov 2e4b625f59 simple_ota_example: Adds sha256 check for app images 2021-05-05 22:18:40 +08:00
Ivan Grokhotkov 2887c88f56 spiram: add header guards to esp32s3/spiram.h and remove the exception 2021-05-05 15:27:19 +02:00
Ivan Grokhotkov 6d2e0c3eae tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-05-04 16:22:50 +02:00
Ivan Grokhotkov 0bd9f6fe12 tools: spiffsgen: fix length error, add test case 2021-05-03 11:37:42 +02:00
Alexey Gerenkov 500a45fb1e tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401' 2021-05-03 09:33:51 +00:00
Ivan Grokhotkov 952c9a2d05 Merge branch 'feature/esptool_wrapper' into 'master'
tools: Support external Esptool wrappers

Closes IDFGH-5095

See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov d936d137c7 Merge branch 'bugfix/gdbgui' into 'master'
tools: Add various fixes for idf.py gdbgui

Closes IDFGH-4098

See merge request espressif/esp-idf!13371
2021-05-03 09:31:13 +00:00
Ivan Grokhotkov c88287851d Merge branch 'feature/raise_log_level' into 'master'
feature: Set maximum log level, add startup time example

Closes IDFGH-3599 and IDFGH-333

See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Ivan Grokhotkov 9f20eeb1c0 tools: spiffsgen.py: add type annotations 2021-04-30 18:07:48 +02:00
Krzysztof Budzynski f05d9a1de0 Merge branch 'bugfix/check_readme_links_no_exception' into 'master'
check_readme_links: remove throwing of exception before exit

See merge request espressif/esp-idf!13341
2021-04-30 03:50:10 +00:00
Martin Babutzka 6faf4941cc tools: Support external Esptool wrappers
Implements https://github.com/jimparis/esptool-ftdi/issues/3

Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Jeroen Domburg 2c75f63f89 * ets_delay_us(1) has too much overhead; change logic
* Fix MR comments
2021-04-28 16:38:24 +08:00
Roland Dobai 0102cbf334 tools: Add various fixes for idf.py gdbgui
Closes https://github.com/espressif/esp-idf/issues/5968
2021-04-27 17:34:31 +02:00
Ivan Grokhotkov f86a6db1f2 Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
feature: espcoredump py riscv support

Closes IDF-2638 and IDF-2715

See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Fu Hanxi cba0725aac Merge branch 'bugfix/ci_check_executable_windows' into 'master'
ci: fix check_executables issue on Windows

See merge request espressif/esp-idf!13342
2021-04-27 07:14:59 +00:00
Fu Hanxi b972631658 feat(coredump): add esp32s2 and esp32c3 support 2021-04-26 20:44:23 +08:00
Michael (XIAO Xufeng) 9aebd01aeb ci: fix check_executables issue on Windows 2021-04-26 15:55:31 +08:00
Marius Vikhammer 4bf7b16358 check_readme_links: remove throwing of exception before exit
Reraising the exception before exiting was intended to help troubleshoot,
but turned out to be more confusing than helpful as it might look like the script was failing
2021-04-26 15:36:30 +08:00
Michael (XIAO Xufeng) 546be98e0f Merge branch 'ci/add_flash_performance_info' into 'master'
ci: Add more information for flash performance test

Closes IDF-2739

See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Martin Gaňo 74448df9f1 Put typing import into try block 2021-04-25 21:21:35 +02:00
Cao Sen Miao 2059990c94 ci: Add more information for flash performance test 2021-04-25 17:59:10 +08:00
Michael (XIAO Xufeng) 0adc6fa17d Merge branch 'example/i2s_sound_record' into 'master'
Added I2S example for microphone recording to WAV file and I2S examples folder moved

See merge request espressif/esp-idf!12835
2021-04-24 10:41:26 +00:00
pedro.minatel 86fa666343 Added I2S example for microphone recording to WAV file and I2S examples folder moved
Added import module check on generate_audio_file.py and removed from mypy ignore list
Added sugestions and minor changes on the README
2021-04-23 15:06:26 +01:00
Ivan Grokhotkov 83e68ee19e Merge branch 'bugfix/replace_setjmp_rom' into 'master'
[system]: Made longjmp save for context switch

Closes IDFGH-3232

See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton cdef1ea38a examples: Add example for fastest startup time
Example includes README and sdkconfig.defaults with notes about trade-offs
made for minimum boot time.
2021-04-23 18:27:20 +10:00
Jakob Hasse fc22e3c645 [system]: Made longjmp save for context switch
* Patched longjmp to be context-switch safe
  longjmp modifies the windowbase and windowstart
  registers, which isn't safe if a context switch
  occurs during the modification. After a context
  switch, windowstart and windowbase will be
  different, leading to a wrongly set windowstart
  bit due to longjmp writing it based on the
  windowbase before the context switch. This
  corrupts the registers at the next window
  overflow reaching that wrongly set bit.

  The solution is to disable interrupts during
  this code. It is only 6 instructions long,
  the impact shouldn't be significant.

  The fix is implemented as a wrapper which
  replaces the original first instructions of
  longjmp which are buggy. Then, it jumps back
  to execute the rest of the original longjmp
  function.

  Added a comparably reliable test to the
  test apps.
2021-04-23 15:55:31 +08:00
Ivan Grokhotkov e3c8ea00d9 test_apps/panic: apply pre-commit fixes in python scripts 2021-04-22 23:33:46 +02:00
Ivan Grokhotkov 9069f70db3 system: add option to enable undefined behavior sanitizer (UBSAN)
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
suren.gabrielyan 823abfdfd5 examples: Add esp-ssl example tests `server/client`
Closes IDF-1156
2021-04-21 16:18:03 +04:00
Ivan Grokhotkov d4e8987a39 Merge branch 'feature/prevent_unwind_code_linking' into 'master'
prevent unwind code linking

Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153

See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Mahavir Jain c22805e94b Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
Fix bootloader minimum revision check and print for ESP32-C3

Closes IDFGH-5106

See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Ivan Grokhotkov c248dcc724 Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
build: (Custom) App version info is now on a dedicated section

Closes IDFGH-4927

See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Shu Chen f8addc5b3d Merge branch 'bugfix/add-ci-allow-line' into 'master'
tools: Add /*error*.o and /*error*.d to allowed build lines

See merge request espressif/esp-idf!13251
2021-04-20 12:05:27 +00:00
Fu Hanxi af2139e0b6 Merge branch 'bugfix/ci/runner_py_consider_no_junit_report_as_succeeded' into 'master'
CI: runner py consider no test case as succeeded

See merge request espressif/esp-idf!13098
2021-04-20 10:13:02 +00:00
Jiacheng Guo 9c9838f229 tools: Add /*error*.o and /*error*.d to allowed build lines 2021-04-20 18:09:40 +08:00
Mahavir Jain 6f81428013 test_apps: increase partition table offset to fix build errors 2021-04-20 14:23:13 +05:30
Jakob Hasse 2552c7ba0f [C++]: wrapper functions around unwind code
* Replaced all C++ exception related
  functions with wrappers if -fno-exception
  is used. This prevents linking of the
  corresponding code in libgcc. The code
  size will decrease by around 7-9 KB when
  building with -fno-exception.
* added no except test app

Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00
Shu Chen 809832f3bc Merge branch 'bugfix/add-ci-allow-file-filter' into 'master'
tools: Add *error*.cpp to allowed build lines

See merge request espressif/esp-idf!13176
2021-04-20 03:25:58 +00:00
Fu Hanxi 9b8d1e7826 fix(ci): return as failed when no test case result generated 2021-04-20 11:18:12 +08:00
Fu Hanxi 15b6389ca7 fix(ci): ci_fetch_submodule return full match name first 2021-04-19 19:34:11 +08:00
Ivan Grokhotkov 8d852decf1 Merge branch 'bugfix/failing_python_wheels_download' into 'master'
tools: remove dependency of idf-python and idf-python-wheels

Closes IDFGH-5097

See merge request espressif/esp-idf!13165
2021-04-19 08:12:29 +00:00
Angus Gratton 209a6cc855 Merge branch 'bugfix/check_partitions_fit' into 'master'
cmake partition_table: Check binaries fit in partition spaces at build time

Closes IDF-1539 and IDFGH-2503

See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
Juraj Michálek 7cc6e6e813 tools: remove dependency of idf-python and idf-python-wheels
Closes IDFGH-5097
Closes https://github.com/espressif/esp-idf/issues/6881
2021-04-19 07:27:40 +02:00
Omar Chebib dd849ffc26 build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.

Closes https://github.com/espressif/esp-idf/issues/6719
2021-04-19 12:53:08 +08:00
Jiacheng Guo 4253d9ee49 tools: Add *error*.cpp to allowed build lines 2021-04-19 10:19:59 +08:00
Michael (XIAO Xufeng) 58758486b2 Merge branch 'ci/enable_flash_suspend_test' into 'master'
spi_flash: enable unit-test for flash suspend

Closes IDF-3081

See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Angus Gratton e1ebe3d7ac ci: Move partition table offset in secure boot test app 2021-04-16 16:40:47 +10:00
Angus Gratton bed8b29d9a ci: Move partition table offset for -O0 build of template app 2021-04-16 16:40:47 +10:00
Angus Gratton 6f6b4c3983 cmake partition_table: Check binaries fit in partition spaces at build time
- Bootloader is checked not to overlap partition table
- Apps are checked not to overlap any app partition regions

Supported for CMake build system only.

Closes https://github.com/espressif/esp-idf/pull/612
Closes https://github.com/espressif/esp-idf/issues/5043
Probable fix for https://github.com/espressif/esp-idf/issues/5456
2021-04-16 16:40:47 +10:00
Ivan Grokhotkov e6fd582fdf Merge branch 'bugfix/panic_handler_not_in_iram' into 'master'
panic: handlers can now be placed in flash

Closes IDF-2851

See merge request espressif/esp-idf!12874
2021-04-16 02:47:05 +00:00
Angus Gratton bc3d45026c Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled

See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Roland Dobai c425ac7bed tools: Don't use revision argument for IDF Monitor if it is not defined 2021-04-15 19:56:39 +02:00
Roland Dobai 0dc3da6dce tools: Fix ANSI color converter on Windows
Fix a regression of b77addea2fc44d1a336070e156d1c4deb50f752e: The ANSI
color converter returns a class on Windows instead of an object so its
methods won't be callable and will result in a not so helpful error
message: "idf_monitor failed with exit code 120"
2021-04-15 19:56:39 +02:00
Ivan Grokhotkov 9d093d3a04 Merge branch 'feature/installed_tool_failed' into 'master'
tools: Warning about tool being installed but failed to run.

Closes IDF-2819

See merge request espressif/esp-idf!12855
2021-04-15 08:17:54 +00:00
Angus Gratton 7f0fc3a37b ci: Consolidate deep sleep example test configs 2021-04-15 16:24:44 +10:00
Cao Sen Miao ed16e9b5d6 spi_flash: enable unit-test for flash suspend 2021-04-15 12:05:40 +08:00
Omar Chebib bb9aa806f7 panic: handlers can now be placed in flash
By unchecking "Place panic handler code in IRAM" in the menuconfig,
the panic handlers will be placed in flash. Of course, flash cache must
be activated when entering panic handlers.
2021-04-15 11:58:46 +08:00
He Yin Ling d1ab7fbd5a Merge branch 'bugfix/ttfw_idf_port_detecting_hang' into 'master'
fix: running ttfw tests locally hang forever while detecting ports

See merge request espressif/esp-idf!13048
2021-04-15 02:27:36 +00:00
Ivan Grokhotkov e220e9b571 Merge branch 'feature/refactor-idf-monitor' into 'master'
Decompose idf_monitor.py

Closes IDF-2432

See merge request espressif/esp-idf!11815
2021-04-14 14:32:17 +00:00
Ivan Grokhotkov 996e84f97a Merge branch 'docs/fix_custom_test_doc' into 'master'
[system]: Running panic test app locally doc

See merge request espressif/esp-idf!13052
2021-04-14 11:35:12 +00:00
Angus Gratton 16d5277bd5 Merge branch 'ci/include_failed_build_output_in_log' into 'master'
CI: Include failed build output in job log

Closes IDF-2220

See merge request espressif/esp-idf!12399
2021-04-14 08:34:26 +00:00