You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/07/08 21:20:14 UTC

[27/50] [abbrv] incubator-mynewt-core git commit: hal; add a define limiting number of bytes in HW identifier.

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/master
Commit: 9f3d49f433229c6653803c6a869e67334aab7014
Parents: 9490ca7
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Jun 27 15:31:25 2016 -0700
Committer: Marko Kiiskila <ma...@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