File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
platform/tests/TESTS/mbed_functional/callback Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
#include " utest.h"
21
21
#include < mstd_functional>
22
22
23
+ #define TEST_MIN_REQ_ROM_SIZE (36 * 1024 )
24
+
23
25
using namespace utest ::v1;
24
26
25
27
template <typename T>
@@ -884,8 +886,7 @@ Case cases[] = {
884
886
Case (" Testing callbacks with 2 uint64s" , test_dispatch2<uint64_t >),
885
887
Case (" Testing callbacks with 3 uint64s" , test_dispatch3<uint64_t >),
886
888
Case (" Testing callbacks with 4 uint64s" , test_dispatch4<uint64_t >),
887
- // IAR currently crashes at link time with this test - skip it as it's well beyond anything needed by real code
888
- #ifndef __ICCARM__
889
+ #if !defined(__ICCARM__) && (!defined(MBED_ROM_SIZE) || (MBED_ROM_SIZE >= TEST_MIN_REQ_ROM_SIZE))
889
890
Case (" Testing callbacks with 5 uint64s" , test_dispatch5<uint64_t >),
890
891
#endif
891
892
#elif DO_SMALL_TEST
You can’t perform that action at this time.
0 commit comments