Skip to content

Commit d73f885

Browse files
hw/hal: Make hal_bsp_hw_id APIs deprecated
Use hal_bsp_prov_data instead.
1 parent 0e3b57e commit d73f885

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

hw/hal/include/hal/hal_bsp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const struct hal_bsp_mem_dump *hal_bsp_core_dump(int *area_cnt);
6868
*
6969
* @return The length of the hardware ID.
7070
*/
71+
__attribute__((deprecated))
7172
int hal_bsp_hw_id_len(void);
7273

7374
/**
@@ -79,6 +80,7 @@ int hal_bsp_hw_id_len(void);
7980
*
8081
* @return 0 on success, non-zero error code on failure
8182
*/
83+
__attribute__((deprecated))
8284
int hal_bsp_hw_id(uint8_t *id, int max_len);
8385

8486
/** Full System On */

0 commit comments

Comments
 (0)