Angus Gratton
7b5bca9b93
unit test app: Use the new config names for DEBUG/RELEASE configs
...
Also build the bootloader to the same config level as the app
2020-03-09 11:55:52 +11:00
Angus Gratton
a9854f7085
Merge branch 'feature/rmt_clock_support_ref_tick' into 'master'
...
rmt: support ref tick && refactor unit test && re-enable unit test on ESP32-S2
Closes IDFGH-1715
See merge request espressif/esp-idf!7614
2020-03-06 15:03:52 +08:00
morris
acd4d4a40b
unit test using internal signal connection
2020-03-03 20:14:46 +08:00
morris
07088c6446
rmt: disable carrier feature by default
2020-03-03 20:14:46 +08:00
morris
3c43264f83
rmt: add RMT_CHANNELS_NUM in rmt_caps.h
2020-03-03 20:14:45 +08:00
Mahavir Jain
8ae05e6547
esp_wifi: fix occasional test failure due to memory leak indications
...
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.
unit-test-app: add an API test_utils_task_delete
This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
Angus Gratton
95f7b1985b
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Sachin Parekh
301dacfb33
Exception handlers for LoadStoreError and LoadStoreAlignmentError
...
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
Jakob Hasse
31edd48b43
C++: Moved all C++ examples to own folder
...
* moved C++ examples to a new cxx folder in
examples
* added experimental C++ component
* added ESPException class to the C++ experimental
component
* added test cases for ESPException and
corresponding test macros
2020-02-18 12:48:57 +08:00
michael
24b16b0b19
ci: resume esp32s2 unit tests
2020-02-15 18:28:24 +08:00
michael
98ee6f55df
app_update: fix unit tests
2020-02-13 15:51:42 +08:00
Konstantin Kondrashov
daa9c30c8e
rmt/esp32s2: Update RMT: reg, struct, LL and test_utils/ref_clock.c
2020-02-09 20:03:31 +08:00
Konstantin Kondrashov
739eb05bb9
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
2020-02-06 14:00:18 +08:00
KonstantinKondrashov
aa42177e19
app_update(s2): Enable app_update UTs
...
Closes: IDF-1007
2020-01-31 10:34:08 +00:00
Ivan Grokhotkov
f5d37c453a
unit-test-app: make compatible with ESP32-S2 reset reasons
...
ESP32-S2 has slightly different names of reset reasons, printed by
the ROM. Allow using ESP32 reset reason names in test cases.
2020-01-29 19:05:33 +01:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Michael (XIAO Xufeng)
a85b207d68
ci: temporarily disable ut for esp32s2beta
2020-01-16 17:41:31 +08:00
Ivan Grokhotkov
e9426d4ed1
Merge branch 'feature/improved_cxx_tests' into 'master'
...
Improved C++ tests
Closes IDF-1322
See merge request espressif/esp-idf!7283
2020-01-16 10:11:32 +08:00
Angus Gratton
6662b60bc1
test: Move freertos & mbedtls tests to psram_2 config
...
Before:
psram before 2490560 (2490368 is the size allowed by partition)
psram after 2413136
psram_2 before 1218464
psram_2 after 1326320
2020-01-14 12:14:43 +10:00
Jakob Hasse
c8137c5298
C++: rtti unit tests, corresponding CI config
2020-01-13 16:39:21 +08:00
michael
4220752aed
ut: Move tests back from "esp32" subfolder
...
DISABLED_FOR_TARGETS macros are used
Partly revert "ci: disable unavailable tests for esp32s2beta"
This partly reverts commit 76a3a5fb48
.
Partly revert "ci: disable UTs for esp32s2beta without runners"
This partly reverts commit eb158e9a22
.
Partly revert "fix unit test and examples for s2beta"
This partly reverts commit 9baa7826be
.
Partly revert "efuse: Add support for esp32s2beta"
This partly reverts commit db84ba868c
.
2020-01-06 17:13:53 +08:00
Angus Gratton
cf2f732b2c
Merge branch 'bugfix/heap_tests_esp32s2beta' into 'master'
...
bugfix/heap test failure fixing for esp32s2 beta
Closes IDF-1021
See merge request espressif/esp-idf!6659
2019-12-31 15:03:01 +08:00
He Yin Ling
269af21ce6
test: fix multiple devices cases fail on python3
2019-12-30 20:21:00 +08:00
michael
2dd12ae5f8
spi: fix speed test issues on esp32s2beta
...
Also support performance value for different targets.
2019-12-23 10:23:01 +08:00
Felipe Neves
cf95ea40d4
heap/test_leak: changed requested memory on leak checks to match the threshold
2019-12-20 13:35:56 -03:00
Angus Gratton
ecf85555b6
Merge branch 'bugfix/small_unit_test_fixes' into 'master'
...
test: Small unit test fixes
See merge request espressif/esp-idf!6981
2019-12-13 14:00:05 +08:00
Marius Vikhammer
c63684cf6c
hw crypto: activated hardware acceleration for esp32s2beta
...
Activated AES, RSA and SHA hardware acceleration for esp32s2 and enabled related unit tests.
Updated with changes made for ESP32 from 0a04034
, 961f59f
and caea288
.
Added performance targets for esp32s2beta
Closes IDF-757
2019-12-12 12:37:29 +08:00
Angus Gratton
ba07a7dd6c
unit-test: Update README for current usage of unit-test.py
...
Example command lines shown here were tested and Notes added
for anything which didn't work as expected.
2019-12-12 11:05:22 +11:00
Angus Gratton
9b8fffef53
unit_test.py: Add some additional console logging for context
2019-12-12 11:05:05 +11:00
Angus Gratton
9fa87f04da
unit_test.py: Allow identifying a unit test which has : in the name
2019-12-12 11:05:05 +11:00
Angus Gratton
0978fc1b84
unit_test: Log each test case to console as we run it
...
Include a dump of the test tags
2019-12-12 11:05:05 +11:00
Angus Gratton
d35debcd99
unit_test: Print the timeout value when an 'expect' times out
2019-12-12 11:05:04 +11:00
Angus Gratton
563227d9f8
Merge branch 'bugfix/gitlab_api_error_with_python3' into 'master'
...
ci: fix fetch submodule error on python3
See merge request espressif/esp-idf!6961
2019-12-11 07:23:53 +08:00
He Yin Ling
486f1a05b3
test: fix incorrect error type in xunit result
2019-12-10 13:50:32 +08:00
Jakob Hasse
78e4b0ff96
CXX: enable exceptions ESP32S2-beta
...
Closes IDF-1039
* Enabled test cases for -fno-exceptions to S2-beta again
* Added different reset tag for S2-beta
2019-12-10 10:23:00 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Renz Christian Bagaporo
e6ad330018
ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation
...
Otherwise IRAM usage is too high in this example.
2019-11-28 09:20:00 +08:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
He Yin Ling
857d10a926
unit-test-app: print config name in test script
2019-11-23 20:40:23 +08:00
He Yin Ling
9665c6ef66
unit-test-app: fix test script error when handling multiple unit test configs in one config file:
...
If we have multiple configs, we need to flash DUT with different binaries. But if we don't close DUT before apply new config, the old DUT will be reused, so new config name will not be applied.
2019-11-23 20:40:23 +08:00
Angus Gratton
ea29c101cd
Merge branch 'bugfix/fix_iram_intr_alloc_test' into 'master'
...
ccomp_timer: fix broken unit test
See merge request espressif/esp-idf!6779
2019-11-22 08:41:50 +08:00
Ivan Grokhotkov
0e6e7f49be
tiny-test-fw: add build config and target options
2019-11-21 15:36:06 +01:00
Renz Christian Bagaporo
6540877f23
test_utils: move ccomp timer interrupt allocation/free to init/deinit
2019-11-21 11:59:46 +08:00
Angus Gratton
bc9267aa24
Merge branch 'feature/use_cpu_time_for_tests' into 'master'
...
Cache compensated timer
See merge request espressif/esp-idf!6087
2019-11-20 08:33:27 +08:00
Renz Christian Bagaporo
df26ab13e2
test_utils: implement performance timer
2019-11-18 10:29:01 +08:00
Jakob Hasse
cd730b94be
C++: added unit tests for builtin type exceptions
2019-11-18 08:53:50 +08:00
Jiang Jiang Jian
a9c1970c03
Merge branch 'bugfix/put_more_rx_code_to_iram' into 'master'
...
wifi: Put some rx code to iram
Closes WIFI-490 and WIFI-1041
See merge request espressif/esp-idf!6490
2019-11-15 10:58:22 +08:00
xiehang
5e7f43f3d1
esp_wifi: Put some rx code to iram
2019-11-13 11:44:23 +00:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00