diff options
| author | vg <vgm+dev@devys.org> | 2020-07-07 16:24:01 +0200 |
|---|---|---|
| committer | vg <vgm+dev@devys.org> | 2020-07-07 16:24:01 +0200 |
| commit | 66dcf910bd4744d8ced56cb9586aa937a1a2d4c5 (patch) | |
| tree | df4dca1ae4af1e5df0be0d1f4f2cd0d54751f8e8 /test/ardmake/hardware/cores/arduino | |
| download | hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.gz hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.bz2 hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.zip | |
Diffstat (limited to 'test/ardmake/hardware/cores/arduino')
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/HardwareSerial.cpp | 303 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/HardwareSerial.d | 28 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/HardwareSerial.h | 76 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/Makefile | 250 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/Print.cpp | 220 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/Print.d | 22 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/Print.h | 66 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/README.Makefile | 11 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/Stream.h | 35 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/Tone.cpp | 601 | ||||
| -rw-r--r-- | test/ardmake/hardware/cores/arduino/WCharacter.h | 168 | ||||
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */dnl Autoconfigure input file for popclient
dnl Carl Harris, ceharris@mal.com
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
dnl $Log: configure.in,v $
dnl Revision 1.2 1996/06/26 19:08:56 esr
dnl This is what I sent Harris.
dnl
dnl Revision 1.1 1996/06/24 20:43:13 esr
dnl Initial revision
dnl
dnl Revision 1.6 1995/09/07 22:37:33 ceharris
dnl Preparation for 3.0b4 release.
dnl
dnl Revision 1.5 1995/08/14 18:36:37 ceharris
dnl Patches to support POP3's LAST command.
dnl Final revisions for beta3 release.
dnl
dnl Revision 1.4 1995/08/10 00:32:26 ceharris
dnl Preparation for 3.0b3 beta release:
dnl - added code for --kill/--keep, --limit, --protocol, --flush
dnl options; --pop2 and --pop3 options now obsoleted by --protocol.
dnl - added support for APOP authentication, including --with-APOP
dnl argument for configure.
dnl - provisional and broken support for RPOP
dnl - added buffering to SockGets and SockRead functions.
dnl - fixed problem of command-line options not being correctly
dnl carried into the merged options record.
dnl
dnl Revision 1.3 1995/08/09 01:32:49 ceharris
dnl Version 3.0 beta 2 release.
dnl Added
dnl - .poprc functionality
dnl - GNU long options
dnl - multiple servers on the command line.
dnl Fixed
dnl - Passwords showing up in ps output.
dnl
dnl Revision 1.2 1995/08/08 01:01:17 ceharris
dnl Added GNU-style long options processing.
dnl Fixed password in 'ps' output problem.
dnl Fixed various RCS tag blunders.
dnl Integrated .poprc parser, lexer, etc into Makefile processing.
dnl
dnl
AC_INIT(popclient.h) dnl A distinctive file to look for in srcdir.
AC_CONFIG_HEADER(config.h)
# We want these before the checks, so the checks can modify their values.
test -z "$CFLAGS" && CFLAGS=-g AC_SUBST(CFLAGS)
test -z "$LDFLAGS" && LDFLAGS=-g AC_SUBST(LDFLAGS)
AC_CANONICAL_HOST
AC_MSG_CHECKING(system mailbox directory)
if test -d /var/mail
then
AC_DEFINE(USERFOLDER, "/var/mail/%s")
userfolder='/var/mail/$u'
elif test -d /usr/mail
then
AC_DEFINE(USERFOLDER, "/usr/mail/%s")
userfolder='/usr/mail/$u'
elif test -d /usr/spool/mail
then
AC_DEFINE(USERFOLDER, "/usr/spool/mail/%s")
userfolder='/usr/spool/mail/$u'
elif test -d /var/spool/mail
then
AC_DEFINE(USERFOLDER, "/var/spool/mail/%s")
userfolder='/var/mail/$u'
else
userfolder="can't find one, will fall back on system MDA."
fi
AC_MSG_RESULT($userfolder)
AC_MSG_CHECKING(delivery agent for $host)
case $host in
*-*-*bsd*)
AC_DEFINE(DEF_MDA,"/usr/libexec/mail.local %s")
mdacmd="/usr/libexec/mail.local \$u"
;;
*-*-aix*)
AC_DEFINE(DEF_MDA,"/usr/bin/bellmail %s")
mdacmd="/usr/bin/bellmail \$u"
;;
*-*-hpux*)
AC_DEFINE(DEF_MDA,"/bin/rmail -d %s")
mdacmd="/bin/rmail -d \$u"
;;
*)
if test -x "/usr/bin/deliver %s"
then
AC_DEFINE(DEF_MDA,"/usr/bin/deliver %s")
mdacmd="/usr/bin/deliver \$u"
else
# default case assumes /bin/mail is an MDA -- may LOSE mail on
# systems where it is not an MDA.
AC_DEFINE(DEF_MDA,"/bin/mail -d %s")
mdacmd="/bin/mail -d \$u"
fi
;;
esac
AC_MSG_RESULT($mdacmd)
AC_MSG_CHECKING(whether we want APOP support)
AC_ARG_WITH(APOP,
[ --with-APOP should we include APOP support?],
[EXTRASRC="$EXTRASRC \$(srcdir)/md5c.c \$(srcdir)/md5ify.c"
EXTRAOBJ="$EXTRAOBJ md5c.o md5ify.o"
AC_DEFINE(HAVE_APOP_SUPPORT)
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_CPP dnl Later checks need this.
AC_PROG_CC_C_O
AC_AIX
AC_ISC_POSIX
AC_MINIX
AC_HEADER_STDC
AC_TYPE_SIZE_T
AC_TYPE_PID_T
AC_TYPE_SIGNAL
AC_CHECK_HEADERS(unistd.h termios.h termio.h sgtty.h memory.h)
AC_C_CONST dnl getopt needs this.
AC_PROG_LEX
AC_PROG_YACC
AC_SUBST(LIBOBJS)
AC_CHECK_LIB(socket,socket)
AC_CHECK_LIB(nsl,inet_addr)
AC_CHECK_FUNC(bzero, AC_DEFINE(HAVE_BZERO),
AC_CHECK_FUNC(memset, [AC_DEFINE(HAVE_MEMSET)
AC_DEFINE(HAVE_MEMCPY)],
[EXTRASRC="$EXTRASRC \$(srcdir)/bzero.c"
EXTRAOBJ="$EXTRALIB bzero.o"]))
AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP),
[EXTRASRC="$EXTRASRC \$(srcdir)/strdup.c"
EXTRAOBJ="$EXTRAOBJ strdup.o"])
AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP),
[EXTRASRC="$EXTRASRC \$(srcdir)/strcasecmp.c"
EXTRAOBJ="$EXTRAOBJ strcasecmp.o"])
AC_CHECK_FUNC(getopt_long, AC_DEFINE(HAVE_GETOPTLONG),
[EXTRASRC="$EXTRASRC \$(srcdir)/getopt.c \$(srcdir)/getopt1.c"
EXTRAOBJ="$EXTRAOBJ getopt.o getopt1.o"])
AC_FUNC_ALLOCA
if test -n "$ALLOCA"
then
EXTRASRC="$EXTRASRC \$(srcdir)/alloca.c"
EXTRAOBJ="$EXTRAOBJ alloca.o"
fi
dnl All AC_CHECK_FUNCs must precede the following AC_SUBSTs
AC_SUBST(EXTRASRC)
AC_SUBST(EXTRAOBJ)
AC_CHECK_FUNCS(dup2 strerror tcsetattr stty setsid flock)
dnl AC_FUNC_SETVBUF_REVERSED
dnl Check for usuable void pointer type
AC_MSG_CHECKING(use of void pointer type)
AC_TRY_COMPILE([],
[char *p;
void *xmalloc();
p = (char *) xmalloc(1);
],
[AC_DEFINE(HAVE_VOIDPOINTER) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
dnl Check for usable function prototypes
AC_MSG_CHECKING(use of function prototypes);
AC_TRY_COMPILE([],
[int x;
int myProtoFn (int arg);
x = 0;
x = myProtoFn(x);
],
[AC_DEFINE(HAVE_PROTOTYPES) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
dnl Check out the wait reality.
AC_CHECK_HEADERS(sys/wait.h) AC_CHECK_FUNCS(waitpid wait3)
AC_MSG_CHECKING(for union wait);
AC_TRY_LINK([#include <sys/types.h>
#include <sys/wait.h>],
[union wait status; int pid; pid = wait (&status);
#ifdef WEXITSTATUS
/* Some POSIXoid systems have both the new-style macros and the old
union wait type, and they do not work together. If union wait
conflicts with WEXITSTATUS et al, we don't want to use it at all. */
if (WEXITSTATUS (status) != 0) pid = -1;
#endif
#ifdef HAVE_WAITPID
/* Make sure union wait works with waitpid. */
pid = waitpid (-1, &status, 0);
#endif
],
[AC_DEFINE(HAVE_UNION_WAIT) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
AC_MSG_CHECKING(sys_siglist declaration in signal.h or unistd.h)
AC_TRY_LINK([#include <signal.h>
/* NetBSD declares sys_siglist in <unistd.h>. */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif], [char *msg = *(sys_siglist + 1);],
[AC_DEFINE(SYS_SIGLIST_DECLARED) AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
# The presence of the following is not meant to imply
# that popclient necessarily works on those systems.
dnl AC_DYNIX_SEQ
dnl AC_XENIX_DIR
dnl AC_IRIX_SUN
AC_OUTPUT(Makefile, [
# Makefile uses this timestamp file to know when to remake Makefile,
# build.sh, and glob/Makefile.
touch stamp-config])
dnl Local Variables:
dnl comment-start: "dnl "
dnl comment-end: ""
dnl comment-start-skip: "\\bdnl\\b\\s *"
dnl compile-command: "make configure config.h.in"
dnl End:
|
