Angus Gratton
23a0ecedbf
Merge branch 'feature/prevent_unwind_code_linking_4.2' into 'release/v4.2'
...
[C++]: prevent unwind code linking (backport 4.2)
See merge request espressif/esp-idf!13801
2021-06-22 04:48:45 +00:00
Ivan Grokhotkov
2a81167470
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 15:09:47 +02:00
Jakob Hasse
dd08575c29
[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 15:09:46 +08:00
Marius Vikhammer
b5976a7167
CI: fix error when running pppos test app with python3
...
Socket.sendall expects bytes in python3, not strings
2021-05-19 11:42:42 +08:00
Omar Chebib
974b8dd4c4
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
Closes https://github.com/espressif/esp-idf/issues/6976
2021-05-10 11:17:58 +08:00
David Cermak
53fc156adb
esp-modem: Remove esp-netif destroy from modem network glue code
...
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers).
Closes https://github.com/espressif/esp-idf/issues/5486
2021-01-15 11:48:26 +00:00
Ivan Grokhotkov
a82d0cf9f1
Merge branch 'bugfix/panic_instr_fetch_prohibited_v4.2' into 'release/v4.2'
...
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions (v4.2)
See merge request espressif/esp-idf!10293
2020-12-16 04:09:37 +08:00
Ivan Grokhotkov
4b5146a4ad
test_apps: add build test for !CONFIG_SPI_FLASH_YIELD_DURING_ERASE
2020-10-14 02:42:46 +00:00
Ivan Grokhotkov
7092be7422
test_apps: add coredump tests for int_wdt
2020-10-14 02:42:46 +00:00
Renz Bagaporo
d41f856576
cmake: fix C identifier generation from embedded file
2020-09-28 21:08:56 +08:00
Angus Gratton
e610df5870
Merge branch 'bugfix/esp32s2_panic_handler_iram_v4.2' into 'release/v4.2'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2 (v4.2)
See merge request espressif/esp-idf!10295
2020-09-25 07:40:06 +08:00
Angus Gratton
4ffe6c096a
Merge branch 'bugfix/esp32s2_o2_op_v4.2' into 'release/v4.2'
...
freertos: fix build error at -O2 optimization level (v4.2)
See merge request espressif/esp-idf!10301
2020-09-25 07:31:58 +08:00
Ivan Grokhotkov
8749c46284
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-09-18 15:35:48 +00:00
Angus Gratton
d72350c0ce
ci: Add test apps for ESP32-S2 Secure Boot
2020-09-15 11:23:51 +05:30
Ivan Grokhotkov
acfe648367
ci: add startup test with -O2 optimization level
2020-09-04 21:33:49 +02:00
Ivan Grokhotkov
c3d2942675
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-09-04 20:45:38 +02:00
Ivan Grokhotkov
418b68a197
test_apps: add panic test
2020-05-12 22:27:06 +02:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00
Ivan Grokhotkov
8a4cc99d90
test_apps: don't download partition table in loadable elf test
2020-05-05 09:45:51 +02:00
Ivan Grokhotkov
5e95bc1d21
test_apps: make it possible to run gdb_loadable_elf app locally
2020-05-04 19:10:06 +02:00
Roland Dobai
58bbd99b9c
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
2020-04-30 18:23:21 +02:00
Roland Dobai
2d709c6384
Migrate "loadable elf" test from hello_world example to test_apps
2020-04-29 09:17:28 +02:00
David Cermak
a245f5047a
ppp-test: wait for graceful disconnect when PPP shutdowns
2020-04-23 05:55:17 +00:00
David Cermak
b3749e38f9
ppp-test: check if ppp interface is active and IP address correct before starting the test
...
Addressing stability of pppos test:
* listing active network interfaces for presence of "ppp0" interface
* fixed IPv6 address regex to prevent ttfw accept partial address only
(less than 8 octets)
* workaround crash after exiting app_main()
2020-04-23 05:55:17 +00:00
David Cermak
636621d1c5
pppos_client: Add a test application for pppos_client
...
Adding testing facilities for pppos-client including esp-modem component
and PPP client in lwip. Testing is provided with PPP server running on
rpi.
2020-04-14 21:46:07 +02:00
Ivan Grokhotkov
a521921788
Merge branch 'feature/build_app_readable_multi_target' into 'master'
...
build_app: make multi target support readable
See merge request espressif/esp-idf!8275
2020-04-09 16:40:57 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
David Cermak
6d07bcd611
mqtt-tests: rename tests to match the actual group
2020-04-08 14:41:05 +02:00
Ivan Grokhotkov
7f18576e23
Merge branch 'bugfix/inline_get_cpu_id_hal_func' into 'master'
...
soc: put hal function to get core id in IRAM
See merge request espressif/esp-idf!8107
2020-03-26 18:14:51 +08:00
Renz Bagaporo
b2fd9dd51c
ci: add basic startup test for when CONFIG_COMPILER_OPTIMIZATION_NONE=y
2020-03-25 10:00:39 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Ivan Grokhotkov
2548a3e528
ci: add startup tests with VFS disabled
2020-03-20 14:07:10 +01:00
ChenJianxing
5019419496
esp32s2: fix when enable multi phy init data bin compile err.
2020-03-11 18:03:21 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
ronghulin
ffd8c26780
feature: support multiple PHY init data
2020-03-05 16:14:00 +08:00
David Cermak
6176b5fbe6
MQTT: Add build only test for using mqtt API from C++
2020-03-03 07:07:57 +00:00
Supreet Deshpande
b79606ca37
feat/secure_boot_v2: Adding tools support for secure boot v2 ECO3
2020-02-25 01:28:22 +05:30
Ivan Grokhotkov
240ec7444f
ci: add build test for TRAX feature
2020-02-19 14:02:35 +01:00
Ivan Grokhotkov
1cbb2287be
ci: add build test for custom console UART pins
2020-02-19 08:13:23 +01:00
David Cermak
9bdcd40f2b
ESP-NETIF: add CI compile only tests for common init/config pattern in C/C++
2020-02-10 19:40:28 +01:00
David Cermak
911be99054
mqtt-tests: migrate the publish-connection test from example-test to test-apps
2020-02-07 21:14:24 +01:00
David Cermak
30c6e27bcc
CI: document test-apps feature, updated test-apps structure
2020-02-06 16:46:41 +00:00
David Cermak
692deac5ae
CI: assign and target-test stages updated to run test-apps in the ci
2020-02-06 16:46:41 +00:00
Ivan Grokhotkov
e63764b468
CI: test-apps introduction
...
Introducing feature of adding arbitrary projects which could be build or
executed in the CI for the only purpose as testing
Closes IDF-641
2020-02-06 16:46:41 +00:00