boot - Don't enable the OS CPU timer This timer is not needed by the boot loader (and the underlying timer setting may be disabled). Prevent the BSP from initializing this timer by overriding the OS_CPUTIME_TIMER_NUM setting with a value of -1.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/fcb56292 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/fcb56292 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/fcb56292 Branch: refs/heads/sensors_branch Commit: fcb5629209a68dd4a92d2340e2c7d9fe507d84c9 Parents: 8d146b2 Author: Christopher Collins <ccoll...@apache.org> Authored: Fri Jan 20 16:21:08 2017 -0800 Committer: Christopher Collins <ccoll...@apache.org> Committed: Fri Jan 20 16:21:08 2017 -0800 ---------------------------------------------------------------------- apps/boot/syscfg.yml | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fcb56292/apps/boot/syscfg.yml ---------------------------------------------------------------------- diff --git a/apps/boot/syscfg.yml b/apps/boot/syscfg.yml index 819a70a..215dc5d 100644 --- a/apps/boot/syscfg.yml +++ b/apps/boot/syscfg.yml @@ -29,3 +29,4 @@ syscfg.defs: syscfg.vals: SYSINIT_CONSTRAIN_INIT: 0 OS_SCHEDULING: 0 + OS_CPUTIME_TIMER_NUM: -1