summaryrefslogtreecommitdiff
path: root/nuttx/configs/us7032evb1
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/us7032evb1')
-rw-r--r--nuttx/configs/us7032evb1/include/board.h6
-rw-r--r--nuttx/configs/us7032evb1/ostest/defconfig28
-rw-r--r--nuttx/configs/us7032evb1/src/up_leds.c12
3 files changed, 29 insertions, 17 deletions
diff --git a/nuttx/configs/us7032evb1/include/board.h b/nuttx/configs/us7032evb1/include/board.h
index a12b61a88..c481b14b6 100644
--- a/nuttx/configs/us7032evb1/include/board.h
+++ b/nuttx/configs/us7032evb1/include/board.h
@@ -51,8 +51,14 @@
/* Clocking *****************************************************************/
+#define SH1_CLOCK 10000000 /* 10 MHz */
+
/* LED definitions **********************************************************/
+/* The SH1_LPEVB has no user controllable LEDs. These are provided only
+ * in the event that CONFIG_ARCH_LEDs is enabled.
+ */
+
#define LED_STARTED 0
#define LED_HEAPALLOCATE 1
#define LED_IRQSENABLED 2
diff --git a/nuttx/configs/us7032evb1/ostest/defconfig b/nuttx/configs/us7032evb1/ostest/defconfig
index afec58e44..6510a5029 100644
--- a/nuttx/configs/us7032evb1/ostest/defconfig
+++ b/nuttx/configs/us7032evb1/ostest/defconfig
@@ -92,20 +92,20 @@ CONFIG_ARCH_STACKDUMP=y
# CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0
# CONFIG_UARTn_2STOP - Two stop bits
#
-CONFIG_UART0_SERIAL_CONSOLE=y
-CONFIG_UART1_SERIAL_CONSOLE=n
-CONFIG_UART0_TXBUFSIZE=256
-CONFIG_UART1_TXBUFSIZE=256
-CONFIG_UART0_RXBUFSIZE=256
-CONFIG_UART1_RXBUFSIZE=256
-CONFIG_UART0_BAUD=38400
-CONFIG_UART1_BAUD=38400
-CONFIG_UART0_BITS=8
-CONFIG_UART1_BITS=8
-CONFIG_UART0_PARITY=0
-CONFIG_UART1_PARITY=0
-CONFIG_UART0_2STOP=0
-CONFIG_UART1_2STOP=0
+CONFIG_SCI0_SERIAL_CONSOLE=y
+CONFIG_SCI1_SERIAL_CONSOLE=n
+CONFIG_SCI0_TXBUFSIZE=256
+CONFIG_SCI1_TXBUFSIZE=256
+CONFIG_SCI0_RXBUFSIZE=256
+CONFIG_SCI1_RXBUFSIZE=256
+CONFIG_SCI0_BAUD=9600
+CONFIG_SCI1_BAUD=9600
+CONFIG_SCI0_BITS=8
+CONFIG_SCI1_BITS=8
+CONFIG_SCI0_PARITY=0
+CONFIG_SCI1_PARITY=0
+CONFIG_SCI0_2STOP=0
+CONFIG_SCI1_2STOP=0
#
# General build options
diff --git a/nuttx/configs/us7032evb1/src/up_leds.c b/nuttx/configs/us7032evb1/src/up_leds.c
index fb2eda376..2e711471a 100644
--- a/nuttx/configs/us7032evb1/src/up_leds.c
+++ b/nuttx/configs/us7032evb1/src/up_leds.c
@@ -67,7 +67,9 @@
#ifdef CONFIG_ARCH_LEDS
void up_ledinit(void)
{
-#warning "To be provided"
+ /* The SH1_LPEVB has no user controllable LEDs. This is provided only
+ * in the event that CONFIG_ARCH_LEDs is enabled.
+ */
}
/****************************************************************************
@@ -76,7 +78,9 @@ void up_ledinit(void)
void up_ledon(int led)
{
-#warning "To be provided"
+ /* The SH1_LPEVB has no user controllable LEDs. This is provided only
+ * in the event that CONFIG_ARCH_LEDs is enabled.
+ */
}
/****************************************************************************
@@ -85,6 +89,8 @@ void up_ledon(int led)
void up_ledoff(int led)
{
-#warning "To be provided"
+ /* The SH1_LPEVB has no user controllable LEDs. This is provided only
+ * in the event that CONFIG_ARCH_LEDs is enabled.
+ */
}
#endif /* CONFIG_ARCH_LEDS */