projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Graphical support with empty template for STM32VLDiscovery board added to the wizard.
[bertos.git]
/
boards
/
ek-lm3s1968
/
templates
/
empty
/
main.c
diff --git
a/boards/ek-lm3s1968/templates/empty/main.c
b/boards/ek-lm3s1968/templates/empty/main.c
index 69ec1f21df60f196a80306ea0eacfc111e43ed59..e4895270e651c312cc1797b8c946eab91886c8a5 100644
(file)
--- a/
boards/ek-lm3s1968/templates/empty/main.c
+++ b/
boards/ek-lm3s1968/templates/empty/main.c
@@
-68,8
+68,8
@@
static void init(void)
kdbg_init();
/* Initialize system timer */
timer_init();
kdbg_init();
/* Initialize system timer */
timer_init();
- /* Initialize UART
0
*/
- ser_init(&out, SER_UART
0
);
+ /* Initialize UART
1
*/
+ ser_init(&out, SER_UART
1
);
/* Configure UART0 to work at 115.200 bps */
ser_setbaudrate(&out, 115200);
/* Initialize LED driver */
/* Configure UART0 to work at 115.200 bps */
ser_setbaudrate(&out, 115200);
/* Initialize LED driver */
@@
-83,7
+83,7
@@
static void init(void)
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
/* Initialize the keypad driver */
kbd_init();
/* Initialize the internal flash memory */
-
flash_init(&flash
);
+
flash_init(&flash, 0
);
}
int main(void)
}
int main(void)