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/07 00:40:37 UTC

incubator-mynewt-core git commit: boot_serial; fix build for unittest.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/1_0_0_b2_dev b9a8ae72b -> de35d2337


boot_serial; fix build for unittest.


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

Branch: refs/heads/1_0_0_b2_dev
Commit: de35d2337189a69d97aa3fdccc4f7bfaeb31efc9
Parents: b9a8ae7
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Feb 6 16:40:11 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Feb 6 16:40:11 2017 -0800

----------------------------------------------------------------------
 boot/boot_serial/pkg.yml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/de35d233/boot/boot_serial/pkg.yml
----------------------------------------------------------------------
diff --git a/boot/boot_serial/pkg.yml b/boot/boot_serial/pkg.yml
index 544c63a..660eb2c 100644
--- a/boot/boot_serial/pkg.yml
+++ b/boot/boot_serial/pkg.yml
@@ -38,6 +38,11 @@ pkg.deps:
 pkg.req_apis:
     - console
 
+pkg.cflags.SELFTEST:
+    - -DBOOT_SERIAL_DETECT_PIN=0
+    - -DBOOT_SERIAL_DETECT_PIN_VAL=1
+    - -DBOOT_SERIAL_DETECT_PIN_CFG=0
+
 pkg.init:
     boot_serial_os_dev_init: 0
     boot_serial_pkg_init: 200