mirror of
https://github.com/apache/nuttx.git
synced 2026-09-19 20:39:39 +08:00
Basic NuttX port functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@570 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -95,7 +95,7 @@ _z16f_lowuartinit:
|
||||
sll r3, #4 /* r3 = baud * 16 */
|
||||
udiv r0, r3 /* BRG = (freq + baud * 8)/(baud * 16) */
|
||||
|
||||
#ifdef CONFIG_UART0_SERIAL_CONSOLE
|
||||
#ifdef CONFIG_UART1_SERIAL_CONSOLE
|
||||
ld.w Z16F_UART1_BR, r0 /* Z16F_UART1_BR = BRG */
|
||||
|
||||
/* Set the GPIO Alternate Function Register Lo (AFL) register */
|
||||
|
||||
Reference in New Issue
Block a user