commit | 94851726775a534a0aa9283ccbbf8d24973e8f1c | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed May 01 14:24:23 2019 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Fri May 03 13:30:16 2019 -0700 |
tree | ac54ac375411663ce49f22a1663db2b370b759eb | |
parent | 0f6c9a5a04f9b901030dcd0ee037390ae3a9a238 [diff] |
tests: stackprot: don't set main stack size This test uses ztest anyway, the default should be fine just like any other test running under ztest. k_thread_create() uses a lot of stack, and the main stack size is very small if ztest is enabled. Do it in another ztest task instead. We don't need to mess with the main thread's priority, just have the alt thread run cooperatively. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>