zh zh

Link Error   : Undefined : "_BDT_BASE"

Discussion created by zh zh on Apr 2, 2009
Latest reply on Jul 21, 2012 by Richard Bernatchez

Help please!

 

typedef unsigned long int hcc_u32;

 

extern hcc_u32 _BDT_BASE[];
#define BDT_BASE              ((hcc_u32*)(_BDT_BASE))
#define BDT_CTL_RX(ep, b)     (BDT_BASE[((ep)<<3)+((b)<<1)+0])

 

#define WR_LE32(a, v) ((*(hcc_u32*)(a))= v)

 

void main(void) {

  WR_LE32(&BDT_CTL_RX(1,0),1);

}

Outcomes