diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-27 22:24:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-27 22:24:49 +0000 |
commit | f6094628f833b3729b3a067ab6a0b789316f50d7 (patch) | |
tree | a7db67c725fa1138d539a4db2545455b567f17e9 /nuttx/configs | |
parent | 5d5fc5f3d4f24c903e4638099ebb1abc0a1c55f4 (diff) | |
download | px4-nuttx-f6094628f833b3729b3a067ab6a0b789316f50d7.tar.gz px4-nuttx-f6094628f833b3729b3a067ab6a0b789316f50d7.tar.bz2 px4-nuttx-f6094628f833b3729b3a067ab6a0b789316f50d7.zip |
Some NuTiny-SDK-NUC120 size reduction; All serial driver vtables should be static const
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5683 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/nutiny-nuc120/nsh/defconfig | 6 | ||||
-rw-r--r-- | nuttx/configs/xtrs/src/xtr_serial.c | 2 | ||||
-rw-r--r-- | nuttx/configs/z80sim/src/z80_serial.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/nutiny-nuc120/nsh/defconfig b/nuttx/configs/nutiny-nuc120/nsh/defconfig index 72d120bfc..d884480f2 100644 --- a/nuttx/configs/nutiny-nuc120/nsh/defconfig +++ b/nuttx/configs/nutiny-nuc120/nsh/defconfig @@ -327,8 +327,8 @@ CONFIG_UART1_SERIAL_CONSOLE=y # # UART1 Configuration # -CONFIG_UART1_RXBUFSIZE=256 -CONFIG_UART1_TXBUFSIZE=256 +CONFIG_UART1_RXBUFSIZE=64 +CONFIG_UART1_TXBUFSIZE=64 CONFIG_UART1_BAUD=115200 CONFIG_UART1_BITS=8 CONFIG_UART1_PARITY=0 @@ -562,7 +562,7 @@ CONFIG_NSH_DISABLE_UMOUNT=y CONFIG_NSH_DISABLE_WGET=y # CONFIG_NSH_DISABLE_XD is not set CONFIG_NSH_CODECS_BUFSIZE=128 -CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_FILEIOSIZE=64 CONFIG_NSH_LINELEN=80 CONFIG_NSH_NESTDEPTH=3 CONFIG_NSH_DISABLESCRIPT=y diff --git a/nuttx/configs/xtrs/src/xtr_serial.c b/nuttx/configs/xtrs/src/xtr_serial.c index eb6846179..c56aa8403 100644 --- a/nuttx/configs/xtrs/src/xtr_serial.c +++ b/nuttx/configs/xtrs/src/xtr_serial.c @@ -122,7 +122,7 @@ static bool up_txempty(FAR struct uart_dev_s *dev); * Private Variables ****************************************************************************/ -struct uart_ops_s g_uart_ops = +static const struct uart_ops_s g_uart_ops = { up_setup, /* setup */ up_shutdown, /* shutdown */ diff --git a/nuttx/configs/z80sim/src/z80_serial.c b/nuttx/configs/z80sim/src/z80_serial.c index 27d685093..e06ac96e7 100644 --- a/nuttx/configs/z80sim/src/z80_serial.c +++ b/nuttx/configs/z80sim/src/z80_serial.c @@ -87,7 +87,7 @@ static bool up_txempty(FAR struct uart_dev_s *dev); * Private Variables ****************************************************************************/ -struct uart_ops_s g_uart_ops = +static const struct uart_ops_s g_uart_ops = { up_setup, /* setup */ up_shutdown, /* shutdown */ |