Skip to content

Commit f3bf60f

Browse files
committed
Merge pull request #23 from sandeepmistry/no-shield-present-timeout
Change NMC1500 ASIC timeout for boot ROM and firmware start back to 2000
2 parents 691b991 + a23c075 commit f3bf60f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.development

Whitespace-only changes.

src/driver/source/nmasic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@
5151
#define NMI_INTR_ENABLE (NMI_INTR_REG_BASE)
5252
#define GET_UINT32(X,Y) (X[0+Y] + ((uint32)X[1+Y]<<8) + ((uint32)X[2+Y]<<16) +((uint32)X[3+Y]<<24))
5353

54+
#ifdef ARDUINO
55+
#define TIMEOUT (2000)
56+
#else
5457
#define TIMEOUT (0xfffffffful)
58+
#endif
5559
#define M2M_DISABLE_PS (0xd0ul)
5660

5761
static uint32 clk_status_reg_adr = 0xf; /* Assume initially it is B0 chip */

0 commit comments

Comments
 (0)