You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/02/10 00:21:56 UTC

[5/6] incubator-mynewt-core git commit: nrf52dk; add defines to turn on rapid led toggling when in serial bootloader.

nrf52dk; add defines to turn on rapid led toggling when in
serial bootloader.


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/0f880ef2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/0f880ef2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/0f880ef2

Branch: refs/heads/develop
Commit: 0f880ef2162933c9608b8630f9ed5181fd282eb8
Parents: f024259
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Feb 9 15:59:15 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Feb 9 15:59:15 2017 -0800

----------------------------------------------------------------------
 hw/bsp/nrf52dk/include/bsp/bsp.h | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/0f880ef2/hw/bsp/nrf52dk/include/bsp/bsp.h
----------------------------------------------------------------------
diff --git a/hw/bsp/nrf52dk/include/bsp/bsp.h b/hw/bsp/nrf52dk/include/bsp/bsp.h
index 2805a6c..877acf1 100644
--- a/hw/bsp/nrf52dk/include/bsp/bsp.h
+++ b/hw/bsp/nrf52dk/include/bsp/bsp.h
@@ -50,6 +50,9 @@ extern uint8_t _ram_start;
 #define BOOT_SERIAL_DETECT_PIN          13 /* Button 1 */
 #define BOOT_SERIAL_DETECT_PIN_CFG      HAL_GPIO_PULL_UP
 #define BOOT_SERIAL_DETECT_PIN_VAL      0
+
+#define BOOT_SERIAL_REPORT_PIN          LED_BLINK_PIN
+#define BOOT_SERIAL_REPORT_FREQ         (MYNEWT_VAL(OS_CPUTIME_FREQ) / 4)
 #endif
 
 #define NFFS_AREA_MAX   (8)