the files...
Ed Sutter
ed.sutter at alcatel-lucent.com
Wed Jun 24 13:13:41 UTC 2015
see previous message
-------------- next part --------------
diff --git a/main/common/docmd.c b/main/common/docmd.c
index 49a2190..ff8bf26 100644
--- a/main/common/docmd.c
+++ b/main/common/docmd.c
@@ -37,8 +37,8 @@
#include "term.h"
#include <ctype.h>
-const char *__ctype_ptr;
-const char *__ctype_ptr__;
+//const char *__ctype_ptr;
+//const char *__ctype_ptr__;
/* appCmdlist:
* This is a pointer to a list of commands that can be added to the
diff --git a/main/make/common.make b/main/make/common.make
index b12780d..c5e6441 100644
--- a/main/make/common.make
+++ b/main/make/common.make
@@ -123,7 +123,7 @@ FATFSSRC = ff.c ffcmd.c cc932.c
ZLIBSRC = adler32.c gzio.c infblock.c infcodes.c inffast.c inflate.c \
inftrees.c infutil.c trees.c uncompr.c zcrc32.c zutil.c
-GLIBSRC = abs.c asctime.c atoi.c crc16.c crc32.c div.c \
+GLIBSRC = abs.c asctime.c atoi.c crc16.c crc32.c ctypetbl.c div.c \
getopt.c inrange.c ldiv.c memccpy.c memchr.c \
memcmp.c memcpy.c memset.c pollconsole.c prascii.c printmem.c \
smemcpy.c smemset.c strcat.c strchr.c strcasecmp.c \
diff --git a/ports/beagleboneblack/Makefile b/ports/beagleboneblack/Makefile
index 8836ae9..4a726b2 100644
--- a/ports/beagleboneblack/Makefile
+++ b/ports/beagleboneblack/Makefile
@@ -9,10 +9,10 @@ TGTDIR = beagleboneblack
CPUTYPE = arm
FILETYPE = elf
-# Using tools installed by "sudo apt-get install gcc-arm-none-eabi"...
-ABIDIR = /usr/lib/gcc/arm-none-eabi/4.8.2
+# Using RTEMS Source Builder tools:
+ABIDIR = $(HOME)/development/rtems/4.11/lib/gcc/arm-rtems4.11/4.9.2
LIBABIDIR = -L $(ABIDIR)
-TOOL_PREFIX = /usr/bin/arm-none-eabi
+TOOL_PREFIX = arm-rtems4.11
COMMON_AFLAGS = -c -D PLATFORM_$(PLATFORM)=1 -D ASSEMBLY_ONLY
CUSTOM_CFLAGS = -mcpu=cortex-a8 -O2 -isystem $(ABIDIR)/include -Wno-char-subscripts
diff --git a/ports/beagleboneblack/bashrc b/ports/beagleboneblack/bashrc
index 98b038f..1202ffb 100644
--- a/ports/beagleboneblack/bashrc
+++ b/ports/beagleboneblack/bashrc
@@ -2,9 +2,10 @@ PS1=BEAGLEBONEBLACK:
export TITLE="Beaglebone Black"
export UMONTOP=../../main
export tools=$UMONTOP/host
-export target=$UMONTOP/target
+export target=$UMONTOP
export cpu=$target/cpu
export zlib=$target/zlib
+export glib=$target/glib
export com=$target/common
export misc=$target/misc
export make=$target/make
diff --git a/ports/beagleboneblack/config.h b/ports/beagleboneblack/config.h
index 8ccf968..17645ee 100644
--- a/ports/beagleboneblack/config.h
+++ b/ports/beagleboneblack/config.h
@@ -20,7 +20,6 @@
*/
#include "am335x.h"
-
/*
* The target_putchar() function also drops the character at the
* LCD...
@@ -45,10 +44,6 @@
#define CPU_LE
-// override the app ram base to set it to 2Mbyte. This reserves space
-// for umon and the LCD controller buffer
-#define APPRAMBASE_OVERRIDE 0x80400000
-
// Establish a user defined function to be called when uMon
// prints out the startup banner...
// If this is defined, then the output similar to the following will
@@ -159,6 +154,8 @@
#define INCLUDE_MEMTRACE 0
#define INCLUDE_MEMCMDS 0
+#define INCLUDE_DM 1
+#define INCLUDE_PM 1
#define INCLUDE_EDIT 0
#define INCLUDE_DISASSEMBLER 0
#define INCLUDE_UNZIP 0
-------------- next part --------------
/* ctype.h
*
* General notice:
* This code is part of a boot-monitor package developed as a generic base
* platform for embedded system designs. As such, it is likely to be
* distributed to various projects beyond the control of the original
* author. Please notify the author of any enhancements made or bugs found
* so that all may benefit from the changes. In addition, notification back
* to the author will allow the new user to pick up changes that may have
* been made by other users after this version of the code was distributed.
*
* Note1: the majority of this code was edited with 4-space tabs.
* Note2: as more and more contributions are accepted, the term "author"
* is becoming a mis-representation of credit.
*
* Original author: Ed Sutter
* Email: esutter at lucent.com
* Phone: 908-582-2351
*/
#ifndef _CTYPE_H_
#define _CTYPE_H_
extern int isalnum(int);
extern int isalpha(int);
extern int iscntrl(int);
extern int isdigit(int);
extern int isgraph(int);
extern int islower(int);
extern int isprint(int);
extern int ispunct(int);
extern int isspace(int);
extern int isupper(int);
extern int isxdigit(int);
extern int tolower(int);
extern int toupper(int);
#define _UPPER 0x1 /* Upper case */
#define _LOWER 0x2 /* Lower case */
#define _NUMBER 0x4 /* Number */
#define _WHITE_SPACE 0x8 /* Whitespace */
#define _PUNCT 0x10 /* Punctuation */
#define _CONTROL 0x20 /* Control char */
#define _HEX_NUMBER 0x40 /* Hex digit */
#define _B 0x80 /* Blank */
#define _U 0x1 /* Upper case */
#define _L 0x2 /* Lower case */
#define _N 0x4 /* Numeral (digit) */
#define _S 0x8 /* Whitespace */
#define _P 0x10 /* Punctuation */
#define _C 0x20 /* Control character */
#define _X 0x40 /* Hex */
#define _B 0x80 /* blank */
extern unsigned char ctypetbl[];
#define isalpha(c) (ctypetbl[(int)c] & (_U | _L))
#define isupper(c) (ctypetbl[(int)c] & (_U))
#define islower(c) (ctypetbl[(int)c] & (_L))
#define isdigit(c) (ctypetbl[(int)c] & (_N))
#define isxdigit(c) (ctypetbl[(int)c] & (_X))
#define isspace(c) (ctypetbl[(int)c] & (_S | _C))
#define ispunct(c) (ctypetbl[(int)c] & (_P))
#define isalnum(c) (ctypetbl[(int)c] & (_U | _L | _N))
#define isprint(c) (ctypetbl[(int)c] & (_P | _U | _L | _S | _N))
#define isgraph(c) (ctypetbl[(int)c] & (_P | _U | _L | _N))
#define iscntrl(c) (ctypetbl[(int)c] & (_C | _C_B))
#define toupper(c) ((('a' <= (c))&&((c) <= 'z')) ? ((c) - 'a' + 'A') : (c))
#define tolower(c) ((('A' <= (c))&&((c) <= 'Z')) ? ((c) - 'A' + 'a') : (c))
#endif /* __INCctypeh */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctypetbl.c
Type: text/x-csrc
Size: 1449 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/umon-devel/attachments/20150624/51a58383/attachment-0002.bin>
More information about the umon-devel
mailing list