commit | c9d78401cc35976fafaad758f2ab6338e04bbbcf | [log] [tgz] |
---|---|---|
author | Danny Oerndrup <daor@demant.com> | Fri Dec 13 11:24:56 2019 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Dec 20 19:51:16 2019 -0500 |
tree | c43243cbefc83b4aaca53e3c5f2cc2d9fbca4003 | |
parent | e181e1b7734e448dc6017d9d7d837931e8939f66 [diff] |
spinlock: Make SPIN_VALIDATE a Kconfig option. SPIN_VALIDATE is, as it was previously, enabled per default when having less than 4 CPUs and either having no flash or a flash size greater than 32kB. Small targets, which needs to have asserts enabled, can chose to have the spinlock validation enabled or not and thereby decide whether the overhead added is acceptable or not. Signed-off-by: Danny Oerndrup <daor@demant.com>