Anton Maklakov
e525964f67
Merge branch 'bugfix/gdbstub_4_c3' into 'master'
...
Add missing function for C3
See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Dmitry
1457c42f6f
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-25 10:30:50 +03:00
Anton Maklakov
3e3fa4bff2
test_apps/panic: remove workaround for incorrect GDB backtrace
2021-10-20 22:00:39 +07:00
Armando
c331c85318
mspi: make cpu clock source switch safe
...
For some of the MSPI high frequency setting (e.g. 80M DDR mode Flash or PSRAM), timing tuning is required.
Certain delays will be added to the MSPI RX direction. When system clock switches down, the delays should be
cleared. When system clock switches up, the delays should be restored.
2021-10-19 21:47:27 +08:00
chenjianxing
94c81b71b1
esp_phy: add phy multi init data bin test app
2021-10-13 13:10:49 +08:00
chenjianxing
2a09234957
esp_phy: rename esp_phy component prefix
2021-10-13 13:10:49 +08:00
Jakob Hasse
f86e154a56
Merge branch 'feature/removed_hyphens_from_examples' into 'master'
...
[examples]: Project names consistent with their directories
Closes IDFGH-3673
See merge request espressif/esp-idf!13570
2021-10-11 03:43:37 +00:00
Armando (Dou Yiwen)
8ab29b7877
Merge branch 'feature/support_auto_detect_oct_flash_vendor' into 'master'
...
mspi: support auto detect oct flash vendor
Closes IDF-3523 and IDF-3857
See merge request espressif/esp-idf!14741
2021-10-11 02:38:15 +00:00
Mahavir Jain
087d4673dd
Merge branch 'bugfix/client_only_mbedtls' into 'master'
...
mbedtls: fix build fail with client only mbedtls
Closes IDFGH-5842
See merge request espressif/esp-idf!15286
2021-10-10 11:20:24 +00:00
Jakob Hasse
81e9266204
[examples]: removed hyphens
...
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
Armando
d6caf142d3
ci: add flash psram test under different configs on esp32s3
2021-10-08 15:59:57 +08:00
David Cermak
cfc001870c
openssl: Add deprecation warning to ssl.h
...
OpenSSL component will be discontinued in ESP-IDF v5.x. The only official TLS API will be esp-tls
Add docs warning about deprecation in v5.x
Removed all examples demonstrating usage of openssl in IDF
2021-10-05 11:45:52 +02:00
Harshit Malpani
be91515488
test_apps: add CLIENT_ONLY_MBEDTLS configuration to build tests
2021-10-04 19:18:45 +08:00
KonstantinKondrashov
709abee65c
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3)
2021-09-24 13:55:07 +08:00
Aditya Patwardhan
760d359276
mqtt_test_app: Fix the invalid esp-tls error code values in mqtt test app
2021-09-22 07:14:02 +08:00
David Cermak
00b1170588
CI: Update mqtt test to cleanup connect-publish-URI interaction
2021-09-15 15:07:12 +08:00
Euripedes Rocha
307eb5f17f
[MQTT/test] Fix publish connect test
...
- Mqtt client will return error on wrong parameters. This fix the test
code to setup the client for each test case.
2021-09-15 15:07:12 +08:00
Mahavir Jain
f1c6c68f19
Merge branch 'feature/ttfw_esp32c3fpgadut' into 'master'
...
Automate flash encryption and secure boot tests on FPGA
See merge request espressif/esp-idf!12367
2021-08-30 10:24:24 +00:00
Sachin Parekh
cfcb893289
ttfw_idf: Added ESP32-S3 FPGA support
...
Provision to burn and reset efuses of ESP32S3 on FPGA
test_app: Enabled automated test cases for ESP32S3
2021-08-27 10:41:31 +05:30
Sachin Parekh
3f7fed7872
test_app: Added automated test cases for secure_boot
2021-08-27 10:41:31 +05:30
Martin Vychodil
58aed7df98
ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
...
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
David Cermak
0b3476fdd0
CI: mqtt test apps: removed unnecessary env.yml
2021-08-25 16:41:33 +08:00
yuanjm
316cdd34e2
ci: Add disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS ci build file
2021-08-17 19:56:15 +08:00
Cao Sen Miao
030da50762
i2c_app_test: Add i2c work together with wifi test
2021-08-17 14:46:06 +08:00
Sachin Parekh
6582f7070e
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-08-05 11:09:22 +05:30
Roland Dobai
1ecdab3a70
CI: Debug GDB issues
2021-07-23 02:00:00 +08:00
Angus Gratton
e92c4106b9
ci: Enable ESP32-S2 and later support for Secure Boot test app
2021-07-13 14:03:45 +10:00
Angus Gratton
e3ca61a200
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
Mahavir Jain
d5cc79db48
test_apps: add HEAP_TRACING configuration to build tests
2021-06-22 14:14:10 +08:00
Ivan Grokhotkov
bdb01b8285
Merge branch 'bugfix/longjmp_s3' into 'master'
...
[esp_rom]: fixed S3 longjmp patch
Closes IDF-3391
See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
Angus Gratton
d127a1fa75
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-21 17:08:02 +10:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
Konstantin Kondrashov
4c0cf40a39
efuse: Burn operation does not block reading
2021-06-18 11:52:47 +08:00
David Čermák
4d604ee6d2
Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests
Closes IDFCI-653
See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Konstantin Kondrashov
f339b3fc96
efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
...
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
David Cermak
49ee304161
CI: Prepare mqtt app test for QEMU tests
...
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2021-06-16 14:30:20 +02:00
David Cermak
74fd8d7af8
CI: Enable publish tests only when started from weekend pipeline
2021-06-11 16:52:43 +02:00
David Cermak
badcbe0fcb
mqtt: Moved weekend tests to test apps
2021-06-10 09:09:14 +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
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08: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
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
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
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
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
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
Angus Gratton
e1ebe3d7ac
ci: Move partition table offset in secure boot test app
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
7f0fc3a37b
ci: Consolidate deep sleep example test configs
2021-04-15 16:24:44 +10: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
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
Martin Vychodil
f27c9c5139
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Jakob Hasse
5bcb189fe4
[system]: locally run panic test app doc
2021-04-07 18:56:18 +08:00
Angus Gratton
d44034c54d
Merge branch 'bugfix/dual_core_app_on_single_core_esp32' into 'master'
...
esp_system: fix dual core app issue on single core esp32
Closes IDF-2154
See merge request espressif/esp-idf!10728
2021-03-31 01:06:52 +00:00
Angus Gratton
4dba80239e
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-03-30 11:01:39 +11:00
Renz Bagaporo
0a3ae58a61
system: add test for simulating single core esp32 startup
2021-03-29 06:50:47 +00:00
Marius Vikhammer
2aead8ba57
Support ESP32S3 Beta 3 target
...
Update ROM API. Port changes from bringup branch.
2021-03-18 10:24:22 +08:00
Renz Bagaporo
60ee143c3b
tools: fix ldgen_test fragment file KEEP
2021-03-11 12:04:40 +08:00
Angus Gratton
39a2d531f0
Merge branch 'feature/ldgen_mapping_extensions' into 'master'
...
ldgen: mapping flags extensions
Closes IDFGH-2524
See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
Angus Gratton
9b988ca097
config: Add new option to replace IDF_PATH and project path with placeholders in macros
...
Allows building with asserts on and still not finding any actual file paths in the
final binary file.
Alternative fix for https://github.com/espressif/esp-idf/issues/6306
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-03-03 10:31:05 +11:00
Angus Gratton
9ae01e40b5
ci: Add a test app for not placing embedded file paths into binaries
...
Doubles as a test app that building with assertions off doesn't produce warnings.
Closes https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:31:05 +11:00
Renz Bagaporo
10c5226095
ldgen: use uppercase keywords for flags
2021-03-01 14:19:34 +08:00
Renz Bagaporo
dbdc17cced
ldgen: rename emit to surround
2021-03-01 14:19:34 +08:00
Renz Bagaporo
1fa2308e52
ci: update ldgen_test test_app to test flags
2021-03-01 14:19:34 +08:00
yuanjm
13776ec81b
tools: Update mqtt open source test server address
2021-02-23 15:30:29 +08:00
Angus Gratton
3368fe321d
Merge branch 'doc/test_configs' into 'master'
...
test apps: Add some documentation about test app configs
See merge request espressif/esp-idf!12395
2021-02-19 06:47:16 +00:00
Angus Gratton
ca29765e97
test apps: Add some documentation about test app configs
2021-02-17 18:10:51 +11:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01: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
Angus Gratton
e82eac4354
cmake: Apply cmakelint fixes
2020-11-11 07:36:35 +00:00
Michael (XIAO Xufeng)
b6e763ac86
Merge branch 'bugfix/wrong_gdma_m2m_mode_config' into 'master'
...
gdma: fix wrong m2m mode config
See merge request espressif/esp-idf!10916
2020-10-27 23:43:23 +08:00
morris
9de6cba434
ci: add more build test for esp32-s3
2020-10-27 17:22:17 +08:00