You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2019/03/29 07:15:22 UTC

[mynewt-core] branch master updated: bsp/nucleo-l476rg: Enable TIMER_0 by default

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new cbe2d48  bsp/nucleo-l476rg: Enable TIMER_0 by default
cbe2d48 is described below

commit cbe2d487628e8f5180bef2c0d0c61e0c4016bf10
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu Mar 28 10:45:07 2019 +0100

    bsp/nucleo-l476rg: Enable TIMER_0 by default
    
    Recently added code to provide cputimer requires at least one
    timer to be enabled.
    OS_CPUTIME_TIMER_NUM has default value 0 so timer 0 is needed.
---
 hw/bsp/nucleo-l476rg/syscfg.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/bsp/nucleo-l476rg/syscfg.yml b/hw/bsp/nucleo-l476rg/syscfg.yml
index 7475557..44b67cc 100644
--- a/hw/bsp/nucleo-l476rg/syscfg.yml
+++ b/hw/bsp/nucleo-l476rg/syscfg.yml
@@ -28,7 +28,7 @@ syscfg.defs:
 
     TIMER_0:
         description: 'Whether to enable TIMER_0'
-        value: 0
+        value: 1
 
     TIMER_1:
         description: 'Whether to enable TIMER_1'