commit | 8d8b2acb261c2c3af043e3d3f9feff14eb020dc5 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Fri Sep 23 10:08:54 2016 -0700 |
committer | Benjamin Walsh <benjamin.walsh@windriver.com> | Fri Sep 23 18:25:37 2016 +0000 |
tree | 76276398a23389fb8c407e9b398ae6df432494a9 | |
parent | 7c385bd8b113a7adcb1bb5177255097b4dd0d698 [diff] |
k_timer: Don't allocate dynamic timers by default Most apps run fine with static k_timer objects. Don't pay the cost for the timer pool if no one asks for it. Also turn off the allocate/free API in the header if it can't possibly work at runtime as it's an obviously-detectable error that would otherwise be visible only at runtime. Change-Id: I492e6e01c4213e3544f707247eea6e4bc601fefd Signed-off-by: Andy Ross <andrew.j.ross@intel.com>