$(notdir $(wildcard $(CONTIKI_CPU)/*.c)) |
contiki-lpc1347-mote.a(clock_13xx.o): In function `Chip_Clock_GetMainOscRate': ../../cpu/arm/lpc1347/Makefile.lpc1347:138: recipe for target 'hello-world-nosyms.lpc1347-mote' failed /home/darth-speedious/Documents/Project/Contiki-open/examples/lpc-carrier-board/../../cpu/arm//lpc1347/./clock_13xx.h:456: undefined reference to `OscRateIn' collect2: error: ld returned 1 exit status make: *** [hello-world-nosyms.lpc1347-mote] Error 1 rm hello-world.co |
const uint32_t OscRateIn = 12000000; const uint32_t ExtRateIn = 0; |
/* System oscillator rate and clock rate on the CLKIN pin */ const uint32_t OscRateIn = 12000000; |
SystemCoreClock = Chip_Clock_GetSystemClockRate(); |
/* Return system clock rate */ uint32_t Chip_Clock_GetSystemClockRate(void) { /* No point in checking for divide by 0 */ return Chip_Clock_GetMainClockRate() / LPC_SYSCTL->SYSAHBCLKDIV; } |
const uint32_t OscRateIn = 12000000; const uint32_t ExtRateIn = 0; |
/***************************************************************************** * Private functions ****************************************************************************/ /* System oscillator rate and clock rate on the CLKIN pin */ const uint32_t OscRateIn = 12000000; const uint32_t ExtRateIn = 0; |
--specs=rdimon.specs -lc -lrdimon |
const uint32_t OscRateIn = 12000000; const uint32_t ExtRateIn = 0; |