diff options
| author | hathach <[email protected]> | 2014-03-12 12:49:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-12 12:49:59 +0700 |
| commit | c92b03edfb33deadc06c81206452270f23f2cf17 (patch) | |
| tree | 67afeaa3bdcee5898dc71f2aa377eccf071ff109 /tinyusb/hal | |
| parent | 13c3a4e3463cf9c43d98ab2fdeddc2fc25da67f7 (diff) | |
added scatter file for lpc11u & lpc13u for it to run with keil
Diffstat (limited to 'tinyusb/hal')
| -rw-r--r-- | tinyusb/hal/hal_lpc11uxx.c | 1 | ||||
| -rw-r--r-- | tinyusb/hal/hal_lpc13uxx.h | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/tinyusb/hal/hal_lpc11uxx.c b/tinyusb/hal/hal_lpc11uxx.c index 60177485d..d1ee35e2c 100644 --- a/tinyusb/hal/hal_lpc11uxx.c +++ b/tinyusb/hal/hal_lpc11uxx.c @@ -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. */ diff --git a/tinyusb/hal/hal_lpc13uxx.h b/tinyusb/hal/hal_lpc13uxx.h index fefa58d20..51d17ca59 100644 --- a/tinyusb/hal/hal_lpc13uxx.h +++ b/tinyusb/hal/hal_lpc13uxx.h @@ -36,12 +36,6 @@ */ /**************************************************************************/ -/** \file - * \brief TBD - * - * \note TBD - */ - /** \ingroup TBD * \defgroup TBD * \brief TBD |
