diff options
-rw-r--r-- | nuttx/ChangeLog | 7 | ||||
-rw-r--r-- | nuttx/arch/arm/src/kl/kl_lowgetc.c | 4 | ||||
-rw-r--r-- | nuttx/configs/freedom-kl25z/minnsh/Make.defs | 2 | ||||
-rw-r--r-- | nuttx/configs/freedom-kl25z/nsh/Make.defs | 2 |
4 files changed, 10 insertions, 5 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index ffb114cb6..9b9274576 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -5678,4 +5678,9 @@ * arch/arm/src/sama5/sam_touchscreen.h and .h: Framework for a touchscreen driver (also an empty "skeleton" file on the initial commit) (2013-9-30). - + * arch/arm/src/kl/kl_lowgetc.c and .h: First cut at low-level + getc() function for operation with no file system (and, hence, + no serial driver) (from Alan Carvalho de Assis, 2013-9-30). + * configs/freedom-kl25z/minnsh: A new configuration that is + an experiement to see how small we can get the NuttX footprint. + From Carvalho de Assis. (2013-9-30). diff --git a/nuttx/arch/arm/src/kl/kl_lowgetc.c b/nuttx/arch/arm/src/kl/kl_lowgetc.c index b46b184b1..291762602 100644 --- a/nuttx/arch/arm/src/kl/kl_lowgetc.c +++ b/nuttx/arch/arm/src/kl/kl_lowgetc.c @@ -109,7 +109,7 @@ * **************************************************************************/ -uint32_t kl_lowgetc(void) +int kl_lowgetc(void) { uint8_t ch = 0; @@ -125,5 +125,5 @@ uint32_t kl_lowgetc(void) ch = getreg8(CONSOLE_BASE+KL_UART_D_OFFSET); #endif - return (int) ch; + return (int)ch; } diff --git a/nuttx/configs/freedom-kl25z/minnsh/Make.defs b/nuttx/configs/freedom-kl25z/minnsh/Make.defs index 5f8183a58..c04c870e9 100644 --- a/nuttx/configs/freedom-kl25z/minnsh/Make.defs +++ b/nuttx/configs/freedom-kl25z/minnsh/Make.defs @@ -116,7 +116,7 @@ ifeq ($(WINTOOL),y) DIRUNLINK = $(TOPDIR)/tools/unlink.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh else - # Linux/Cygwin-native host tools + # Linux/Cygwin-native host tools MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT) endif diff --git a/nuttx/configs/freedom-kl25z/nsh/Make.defs b/nuttx/configs/freedom-kl25z/nsh/Make.defs index b2e6b718e..8706282c5 100644 --- a/nuttx/configs/freedom-kl25z/nsh/Make.defs +++ b/nuttx/configs/freedom-kl25z/nsh/Make.defs @@ -116,7 +116,7 @@ ifeq ($(WINTOOL),y) DIRUNLINK = $(TOPDIR)/tools/unlink.sh MKDEP = $(TOPDIR)/tools/mknulldeps.sh else - # Linux/Cygwin-native host tools + # Linux/Cygwin-native host tools MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT) endif |