mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
Add freedom-kl25z/minnsh configuration: This is an experiment to see just how small we and get an NSH configuration. From Alan Carvalho de Assis.
This commit is contained in:
@@ -5678,4 +5678,9 @@
|
|||||||
* arch/arm/src/sama5/sam_touchscreen.h and .h: Framework for a
|
* arch/arm/src/sama5/sam_touchscreen.h and .h: Framework for a
|
||||||
touchscreen driver (also an empty "skeleton" file on the initial
|
touchscreen driver (also an empty "skeleton" file on the initial
|
||||||
commit) (2013-9-30).
|
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).
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
*
|
*
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
uint32_t kl_lowgetc(void)
|
int kl_lowgetc(void)
|
||||||
{
|
{
|
||||||
uint8_t ch = 0;
|
uint8_t ch = 0;
|
||||||
|
|
||||||
@@ -125,5 +125,5 @@ uint32_t kl_lowgetc(void)
|
|||||||
ch = getreg8(CONSOLE_BASE+KL_UART_D_OFFSET);
|
ch = getreg8(CONSOLE_BASE+KL_UART_D_OFFSET);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return (int) ch;
|
return (int)ch;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ ifeq ($(WINTOOL),y)
|
|||||||
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
|
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
|
||||||
MKDEP = $(TOPDIR)/tools/mknulldeps.sh
|
MKDEP = $(TOPDIR)/tools/mknulldeps.sh
|
||||||
else
|
else
|
||||||
# Linux/Cygwin-native host tools
|
# Linux/Cygwin-native host tools
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ ifeq ($(WINTOOL),y)
|
|||||||
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
|
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
|
||||||
MKDEP = $(TOPDIR)/tools/mknulldeps.sh
|
MKDEP = $(TOPDIR)/tools/mknulldeps.sh
|
||||||
else
|
else
|
||||||
# Linux/Cygwin-native host tools
|
# Linux/Cygwin-native host tools
|
||||||
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
MKDEP = $(TOPDIR)/tools/mkdeps$(HOSTEXEEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user