mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [2/4] incubator-mynewt-core git commit: hal; add a define limiting number of bytes in HW identifier.
Date Mon, 27 Jun 2016 22:50:19 GMT
hal; add a define limiting number of bytes in HW identifier.


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

Branch: refs/heads/develop
Commit: 9f3d49f433229c6653803c6a869e67334aab7014
Parents: 9490ca7
Author: Marko Kiiskila <marko@runtime.io>
Authored: Mon Jun 27 15:31:25 2016 -0700
Committer: Marko Kiiskila <marko@runtime.io>
Committed: Mon Jun 27 15:31:25 2016 -0700

----------------------------------------------------------------------
 hw/hal/include/hal/hal_bsp.h | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9f3d49f4/hw/hal/include/hal/hal_bsp.h
----------------------------------------------------------------------
diff --git a/hw/hal/include/hal/hal_bsp.h b/hw/hal/include/hal/hal_bsp.h
index ae96789..e2831eb 100644
--- a/hw/hal/include/hal/hal_bsp.h
+++ b/hw/hal/include/hal/hal_bsp.h
@@ -62,6 +62,7 @@ const struct bsp_mem_dump *bsp_core_dump(int *area_cnt);
  * Get unique HW identifier/serial number for platform.
  * Returns the number of bytes filled in.
  */
+#define BSP_MAX_ID_LEN  32
 int bsp_hw_id(uint8_t *id, int max_len);
 
 #ifdef __cplusplus


Mime
View raw message