added scatter file for lpc11u & lpc13u for it to run with keil

This commit is contained in:
hathach
2014-03-12 12:49:59 +07:00
parent 13c3a4e346
commit c92b03edfb
8 changed files with 81 additions and 57 deletions

View File

@@ -46,6 +46,7 @@ tusb_error_t hal_init(void)
// TODO remove magic number
/* Enable AHB clock to the USB block and USB RAM. */
LPC_SYSCON->SYSAHBCLKCTRL |= ((0x1<<14) | (0x1<<27));
LPC_SYSCON->PDRUNCFG &= ~( BIT_(8) | BIT_(10) ); // enable USB PLL & USB transceiver
/* Pull-down is needed, or internally, VBUS will be floating. This is to
address the wrong status in VBUSDebouncing bit in CmdStatus register. */

View File

@@ -36,12 +36,6 @@
*/
/**************************************************************************/
/** \file
* \brief TBD
*
* \note TBD
*/
/** \ingroup TBD
* \defgroup TBD
* \brief TBD