Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Bootloader_K64F by
Revision 20:fdb5c9abc4f2, committed 2016-07-19
- Comitter:
- Dot
- Date:
- Tue Jul 19 00:57:39 2016 +0000
- Parent:
- 19:8f3f6138bfb9
- Commit message:
- Initial Working Release
Changed in this revision
bootloader.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/bootloader.cpp Mon Jul 18 15:24:42 2016 +0000 +++ b/bootloader.cpp Tue Jul 19 00:57:39 2016 +0000 @@ -119,9 +119,8 @@ __attribute__((section(".ARM.__at_0x7080"))) static void setupserial(void) { //Setup USBRX/USBTX pins (PTB1/PTB2) - //SIM->SCGC5 |= 1 << SIM_SCGC5_PORTB_SHIFT; ?Why was this done? //Disable UART0 - UART0->C2 &= ~(UARTLP_C2_RE_MASK | UARTLP_C2_TE_MASK); +// UART0->C2 &= ~(UARTLP_C2_RE_MASK | UARTLP_C2_TE_MASK); //Enable Port B Clock SIM->SCGC5 |= 1 <<SIM_SCGC5_PORTB_SHIFT; //Select MCGFLLCLK clock