Skip to content

Commit bf90314

Browse files
committed
RapidIoT: Need separate board ID for the K64F and KW41Z
Sharing 1 board ID does not work when running mbed-os Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 8688603 commit bf90314

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/target/freescale/rapid_iot/target_reset.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
#define KW41 1
3939

4040
static uint32_t mdm_id;
41+
extern char *board_id;
42+
char *board_id_kw41z = "0234";
4143

4244
void target_before_init_debug(void)
4345
{
@@ -74,9 +76,10 @@ void prerun_target_config(void)
7476
extern target_cfg_t target_device_kw40;
7577
target_device = target_device_kw40;
7678
} else {
77-
// Program to the KW40 flash
79+
// Program to the KW41 flash
7880
extern target_cfg_t target_device_kw41;
7981
target_device = target_device_kw41;
82+
board_id = board_id_kw41z;
8083
}
8184
}
8285

0 commit comments

Comments
 (0)