diff --git a/ChangeLog b/ChangeLog index ffb114cb61..9b92745764 100644 --- a/ChangeLog +++ b/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/arch/arm/src/kl/kl_lowgetc.c b/arch/arm/src/kl/kl_lowgetc.c index b46b184b1c..2917626025 100644 --- a/arch/arm/src/kl/kl_lowgetc.c +++ b/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/configs/freedom-kl25z/minnsh/Make.defs b/configs/freedom-kl25z/minnsh/Make.defs index 5f8183a580..c04c870e98 100644 --- a/configs/freedom-kl25z/minnsh/Make.defs +++ b/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/configs/freedom-kl25z/nsh/Make.defs b/configs/freedom-kl25z/nsh/Make.defs index b2e6b718e6..8706282c5f 100644 --- a/configs/freedom-kl25z/nsh/Make.defs +++ b/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