change at86rf to 1ghznode

rom device runs ok with lpc11uxx
This commit is contained in:
hathach
2013-05-31 13:57:57 +07:00
parent 04a641f067
commit 3b9a616ca9
14 changed files with 654 additions and 1777 deletions

View File

@@ -43,7 +43,7 @@
tusb_error_t hal_init()
{
// TODO usb abstract later
// TODO remove magic number
/* Enable AHB clock to the USB block and USB RAM. */
LPC_SYSCON->SYSAHBCLKCTRL |= ((0x1<<14) | (0x1<<27));
@@ -54,8 +54,6 @@ tusb_error_t hal_init()
LPC_IOCON->PIO0_6 &= ~0x07;
LPC_IOCON->PIO0_6 |= (0x01<<0); /* Secondary function SoftConn */
hal_interrupt_enable(0);
return TUSB_ERROR_NONE;
}