gabsuren
7fd218dfa1
test_apps: tls removed version 1_1
2022-07-27 12:42:02 +04:00
Mahavir Jain
9b593dcb67
test_apps: add build only test for !MBEDTLS_CERTIFICATE_BUNDLE
2022-06-13 11:49:04 +05:30
Anton Maklakov
adebd5c5c3
test_apps/panic: GDB in esp-2021r2-patch3 toolchain doesn't contain the fix for interrupted backtraced
...
Revert "test_apps/panic: remove workaround for incorrect GDB backtrace"
This reverts commit c0e96ceb34
.
2022-02-23 10:54:18 +07:00
yuanjm
9eba0ff6a6
tools: Update mqtt open source test server address
2021-12-31 15:31:15 +08:00
Dmitry
8cb6baac6c
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-27 11:03:35 +08:00
Anton Maklakov
c0e96ceb34
test_apps/panic: remove workaround for incorrect GDB backtrace
2021-10-25 20:19:55 +07:00
Jeroen Domburg
d6cdb3e0ae
usb_serial_jtag: support usb_serial_jtag on esp32c3
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-10-11 17:34:24 +08:00
KonstantinKondrashov
2cc8fc907c
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3)
2021-09-24 17:49:30 +08:00
Sachin Parekh
cc9d354ba8
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-09-08 16:32:09 +08:00
Roland Dobai
89486da74e
CI: Debug GDB issues
2021-07-27 20:03:57 +02:00
David Cermak
965423d532
CI: Prepare mqtt app test for QEMU tests
...
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2021-07-21 11:48:27 +02:00
David Cermak
91c93611e1
CI: Enable publish tests only when started from weekend pipeline
2021-07-21 11:48:27 +02:00
David Cermak
f7169ed063
mqtt: Moved weekend tests to test apps
2021-07-19 15:05:58 +02:00
Ivan Grokhotkov
b67e388281
Merge branch 'feature/prevent_unwind_code_linking_4.3' into 'release/v4.3'
...
[C++]: prevent unwind code linking (backport 4.3)
See merge request espressif/esp-idf!13800
2021-06-23 08:32:17 +00:00
Mahavir Jain
b007024c62
Merge branch 'bugfix/heap_tracing_build_issue_for_c3_v4.3' into 'release/v4.3'
...
heap: fix build issue with HEAP_TRACING config for C3 (v4.3)
See merge request espressif/esp-idf!14075
2021-06-23 03:45:39 +00:00
Anton Maklakov
6d708d50d9
Merge branch 'bugfix/ci_panic_test_timeout_v4.3' into 'release/v4.3'
...
ci panic test: Update the panic test timeout from 1s to 10s (v4.3)
See merge request espressif/esp-idf!14083
2021-06-22 02:50:47 +00:00
Angus Gratton
9f6e09d0d3
Merge branch 'bugfix/flash_rodata_any_alignement_v4.3' into 'release/v4.3'
...
build: Fix cache issue and add dedicated section for (Custom) App version info (backport v4.3)
See merge request espressif/esp-idf!13448
2021-06-22 00:23:49 +00:00
Angus Gratton
fafaeb195c
ci panic test: Update the panic test timeout from 3s to 10s
...
If it takes longer than 10s to respond, it's probably not because of the
runner...
2021-06-22 09:37:43 +10:00
Angus Gratton
c5fc90f579
ci: Extend timeout for initial gdbstub commands in panic tests
...
Theory is that on the runner, in rare cases, gdb may need more than
1 second to load and start responding to commands.
However it's possible these timeouts are due to some other problem
(like gdb failing)
2021-06-22 09:37:29 +10:00
Mahavir Jain
1c0fb793b4
test_apps: add HEAP_TRACING configuration to build tests
2021-06-21 14:40:07 +05:30
Ivan Grokhotkov
84e4127f0c
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-06-18 14:38:43 +02:00
Jakob Hasse
d376c161aa
[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-06-01 13:46:50 +08:00
Jakob Hasse
a37c20b417
[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-05-11 12:04:27 +08:00
Omar Chebib
375f969d43
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-05-06 11:40:57 +08:00
Mahavir Jain
b24671e935
test_apps: increase partition table offset to fix build errors
2021-04-21 10:16:46 +05:30
Martin Vychodil
6dfff2fdbd
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 10:21:58 +10:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
1289918204
Merge branch 'refactor/ldgen_generation_changes' into 'master'
...
ldgen: internal data structure change
See merge request espressif/esp-idf!11494
2021-02-09 11:03:09 +08:00
Renz Bagaporo
23590374b5
ldgen: add test app for placement sanity check
2021-02-05 10:20:37 +08:00
Marius Vikhammer
fa7aa656d3
build-system: add loadable elf support for ESP32-S2 and C3
2021-02-02 17:21:39 +08:00
Fu Hanxi
eef620a028
fix: drop s3, c3 support for pppos test apps
...
no SOC_UART_SUPPORT_REF_TICK for these targets
2021-01-27 12:35:49 +08:00
Fu Hanxi
119b61451f
fix(test_apps): add supported targets for memprot, panic, monitor_ide
2021-01-27 12:35:49 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Aditya Patwardhan
b77c85c1e1
ttfw/IDFDUT: i) Added option to erase_flash in the IDFDUT class
...
ii) Renamed the method dump_flush to dump_flash
2021-01-20 11:12:14 +00:00
Anton Maklakov
6d239d703e
Merge branch 'bugfix/ci_test_app_ide_integration' into 'master'
...
CI: Fix port for test app of IDF Monitor IDE integration
Closes IDFCI-388
See merge request espressif/esp-idf!12004
2021-01-15 16:33:13 +08:00
Roland Dobai
c6962df016
CI: Fix port for test app of IDF Monitor IDE integration
2021-01-14 16:17:14 +01:00
Jakob Hasse
b51889dccb
system: stack watchpoint support on C3
...
Closes IDF-2307
2021-01-14 17:46:44 +08:00
Ivan Grokhotkov
9827adaa09
panic: fix illegal instruction test to be compatible with RISC-V
2021-01-14 16:35:11 +08:00
David Cermak
6676a1b4ba
ci/mqtt: Made MQTT test app tls insecure capable
...
This is needed for testing different connection modes in the mqtt
library, specifically:
* test case CONFIG_EXAMPLE_CONNECT_CASE_NO_CERT: default server - expect to connect normally
2021-01-05 21:23:25 +01:00
David Cermak
5472deec6e
ci: Add MQTT publish test to standard test apps
2021-01-05 12:04:36 +00:00
David Cermak
9740db5004
ci: Extend the MQTT weekend test to check mqtt-enqueue api
2021-01-05 12:04:36 +00:00
Ivan Grokhotkov
7ab57605cb
test: panic: make stack overflow test more robust
...
The previous approach was to allocate an array on the stack, and
have the array extend past the stack size. This worked by would
result in SP being moved near the end of the stack. If an interrupt
triggered at that time, interrupt prologue would try to save the
context to the stack, tripping the stack overflow watchpoint.
Replacing this with the approach which doesn't move the SP and simply
writes to decreasing addresses from SP, until stack overflow check
triggers.
2020-12-30 01:10:09 +01:00
Angus Gratton
47d28fdebc
ci: Update rsource_test for esp32c3
2020-12-24 14:18:01 +11:00
Mahavir Jain
8d7c9d9883
test_apps: add build test case for RTC GPIO descriptor configuration
2020-12-21 13:57:07 +05:30
Fu Hanxi
0f96b70294
ci: add esp32s2 support for panic test
2020-12-15 17:57:21 +08:00
Ivan Grokhotkov
e32885d699
tools/test_apps: run tests which don't need JTAG on Example_GENERIC
2020-12-15 17:56:53 +08:00
Fu Hanxi
2547670477
Add esp32s2 support for panic test, run as default
2020-12-15 17:56:53 +08:00
David Cermak
8bd758b72a
ci: Removed remaining binary size checks in app-tests
...
Also removes unused references to http-request app size in idf_performance.h
2020-11-25 21:22:18 +01:00
David Cermak
650dd607de
ci: Fixed wrong socket operation in python3
2020-11-25 21:22:18 +01:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00