mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Header file clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4948 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -3015,4 +3015,5 @@
|
||||
to make a little room in the file name space.
|
||||
* arch/arm/src/stm32/stm32_exti_alarm.c: Add initial logic to attached the
|
||||
RTC alarm EXTI interrupt. This is work be performed mostly by Diego Sanchez.
|
||||
* include/: More stylistic file clean-up.
|
||||
|
||||
|
||||
@@ -381,8 +381,35 @@ Code Red IDE
|
||||
CONFIG_DEBUG=y
|
||||
CONFIG_DEBUG_SYMBOLS=y
|
||||
|
||||
Troubleshooting. This page provides some troubleshooting information that
|
||||
you can use to verify that the LPCLink is working correctly:
|
||||
NOTE 4: Every time that you control-C out of the command line GDB, you
|
||||
leave a copy of the Code Red debugger (crt_emu_lpc18_43_nxp) running. I
|
||||
have found that if you have these old copies of the debugger running,
|
||||
hen strange things can happen when start yet another copy of the
|
||||
debugger (I suspect that GDB may be talking with the wrong debugger).
|
||||
|
||||
If you exit GDB with quit (not control-C), it seems to clean-up okay.
|
||||
But I have taken to keeping a Process Explorer window open all of the
|
||||
time to keep track of how many of these bad processes have been created.
|
||||
|
||||
NOTE 5: There is also a certain function that is causing some problems.
|
||||
The very first thing that the start-up logic does is call a function
|
||||
called lpc43_softreset() which resets most of the peripherals. But it
|
||||
also causes some crashes... I think because the resets are causing some
|
||||
interrupts.
|
||||
|
||||
I put a big delay in the soft reset logic between resetting and clearing
|
||||
pending interrupts and that seems to help some but I am not confident
|
||||
that that is a fix. I think that the real fix might be to just eliminated
|
||||
this lpc43_softreset() function if we determine that it is not needed.
|
||||
|
||||
If you step over lpc43_softreset() after loading the coding (using the 'n'
|
||||
command), then everything seems work okay.
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
||||
This page provides some troubleshooting information that you can use to
|
||||
verify that the LPCLink is working correctly:
|
||||
|
||||
http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics
|
||||
|
||||
@@ -394,6 +421,11 @@ Code Red IDE
|
||||
found in the configs/lpc4330-xplorer/scripts directory can do that with
|
||||
a single command line command.
|
||||
|
||||
USB DFU Booting
|
||||
---------------
|
||||
|
||||
To be provided.
|
||||
|
||||
NuttX buildroot Toolchain
|
||||
=========================
|
||||
|
||||
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
* include/arpa/inet.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __ARPA_INET_H
|
||||
#define __ARPA_INET_H
|
||||
#ifndef __INCLUDE_ARPA_INET_H
|
||||
#define __INCLUDE_ARPA_INET_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -133,4 +133,4 @@ EXTERN const char *inet_ntop(int af, FAR const void *src, FAR char *dst, socklen
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __ARPA_INET_H */
|
||||
#endif /* __INCLUDE_ARPA_INET_H */
|
||||
|
||||
+7
-6
@@ -2,7 +2,7 @@
|
||||
* include/crc.h
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -54,23 +54,24 @@ extern "C" {
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: crc32part
|
||||
*
|
||||
* Description:
|
||||
* Continue CRC calculation on a part of the buffer.
|
||||
*
|
||||
************************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN uint32_t crc32part(FAR const uint8_t *src, size_t len, uint32_t crc32val);
|
||||
EXTERN uint32_t crc32part(FAR const uint8_t *src, size_t len,
|
||||
uint32_t crc32val);
|
||||
|
||||
/************************************************************************************
|
||||
/****************************************************************************
|
||||
* Name: crc32
|
||||
*
|
||||
* Description:
|
||||
* Return a 32-bit CRC of the contents of the 'src' buffer, length 'len'
|
||||
*
|
||||
************************************************************************************/
|
||||
****************************************************************************/
|
||||
|
||||
EXTERN uint32_t crc32(FAR const uint8_t *src, size_t len);
|
||||
|
||||
|
||||
+34
-37
@@ -2,7 +2,7 @@
|
||||
* include/ctype.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -36,10 +36,9 @@
|
||||
#ifndef __INCLUDE_CTYPE_H
|
||||
#define __INCLUDE_CTYPE_H
|
||||
|
||||
/* There is no consistent ctype implementation, just a
|
||||
* smattering of functions. Individually, they are okay, but
|
||||
* a more standard, data lookup approach would make more sense
|
||||
* if used extensively.
|
||||
/* There is no consistent ctype implementation, just a smattering of
|
||||
* functions. Individually, they are okay, but a more standard, data lookup
|
||||
* approach would make more sense if used extensively.
|
||||
*/
|
||||
|
||||
/****************************************************************************
|
||||
@@ -51,13 +50,12 @@
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isspace
|
||||
* Name: isspace
|
||||
*
|
||||
* Description:
|
||||
* Checks for white-space characters. In the "C" and "POSIX"
|
||||
* locales, these are: space, form-feed ('\f'), newline ('\n'),
|
||||
* carriage return ('\r'), horizontal tab ('\t'), and vertical
|
||||
* tab ('\v').
|
||||
* Checks for white-space characters. In the "C" and "POSIX" locales,
|
||||
* these are: space, form-feed ('\f'), newline ('\n'), carriage return
|
||||
* ('\r'), horizontal tab ('\t'), and vertical tab ('\v').
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -66,113 +64,112 @@
|
||||
(c) == '\r' || (c) == '\f' || c== '\v')
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isascii
|
||||
* Name: isascii
|
||||
*
|
||||
* Description:
|
||||
* Checks whether c is a 7-bit unsigned char value that
|
||||
* fits into the ASCII character set.
|
||||
* Checks whether c is a 7-bit unsigned char value that fits into the
|
||||
* ASCII character set.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isascii(c) ((c) >= 0 && (c) <= 0x7f);
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isprint
|
||||
* Name: isprint
|
||||
*
|
||||
* Description:
|
||||
* Checks for a printable character (including space)
|
||||
* Checks for a printable character (including space)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isprint(c) ((c) >= 0x20 && (c) < 0x7f)
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isgraph
|
||||
* Name: isgraph
|
||||
*
|
||||
* Description:
|
||||
* Checks for a printable character (excluding space)
|
||||
* Checks for a printable character (excluding space)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isgraph(c) ((c) > 0x20 && (c) < 0x7f)
|
||||
|
||||
/****************************************************************************
|
||||
* Function: iscntrl
|
||||
* Name: iscntrl
|
||||
*
|
||||
* Description:
|
||||
* Checks for control character.
|
||||
* Checks for control character.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define iscontrol(c) (!isprint(c))
|
||||
|
||||
/****************************************************************************
|
||||
* Function: islower
|
||||
* Name: islower
|
||||
*
|
||||
* Description:
|
||||
* Checks for an lowercase letter.
|
||||
* Checks for an lowercase letter.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define islower(c) ((c) >= 'a' && (c) <= 'z')
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isupper
|
||||
* Name: isupper
|
||||
*
|
||||
* Description:
|
||||
* Checks for an uppercase letter.
|
||||
* Checks for an uppercase letter.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isupper(c) ((c) >= 'A' && (c) <= 'Z')
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isalpha
|
||||
* Name: isalpha
|
||||
*
|
||||
* Description:
|
||||
* Checks for an alphabetic character
|
||||
* Checks for an alphabetic character
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isalpha(c) (islower(c) || isupper(c))
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isdigit
|
||||
* Name: isdigit
|
||||
*
|
||||
* Description:
|
||||
* ANSI standard isdigit implementation.
|
||||
* ANSI standard isdigit implementation.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isdigit(c) ((c) >= '0' && (c) <= '9')
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isalnum
|
||||
* Name: isalnum
|
||||
*
|
||||
* Description:
|
||||
* Checks for an alphanumeric character
|
||||
* Checks for an alphanumeric character
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define isalnum(c) (isalpha(c) || isdigit(c))
|
||||
|
||||
/****************************************************************************
|
||||
* Function: ispunct
|
||||
* Name: ispunct
|
||||
*
|
||||
* Description:
|
||||
* Checks for a printable character which is not a space
|
||||
* or an alphanumeric character
|
||||
* Checks for a printable character which is not a space or an
|
||||
* alphanumeric character
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#define ispunct(c) (isgraph(c) && !isalnum(c))
|
||||
|
||||
/****************************************************************************
|
||||
* Function: isxdigit
|
||||
* Name: isxdigit
|
||||
*
|
||||
* Description:
|
||||
* isxdigit() checks for a hexadecimal digits, i.e. one of
|
||||
* {0-9,a-f,A-F}
|
||||
* isxdigit() checks for a hexadecimal digits, i.e. one of {0-9,a-f,A-F}
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -182,7 +179,7 @@
|
||||
((c) >= 'A' && (c) <= 'F'))
|
||||
|
||||
/****************************************************************************
|
||||
* Function: toupper
|
||||
* Name: toupper
|
||||
*
|
||||
* Description:
|
||||
* toupper() converts the letter c to upper case, if possible.
|
||||
@@ -193,7 +190,7 @@
|
||||
(((c) >= 'a' && (c) <= 'z') ? ((c) - 'a' + 'A') : (c))
|
||||
|
||||
/****************************************************************************
|
||||
* Function: tolower
|
||||
* Name: tolower
|
||||
*
|
||||
* Description:
|
||||
* tolower() converts the letter c to lower case, if possible.
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cassert
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cctype
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cerrno
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/climits
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cmath
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/csignal
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cstdbool
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cstdio
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/cstring
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// include/cxx/ctime
|
||||
//
|
||||
// Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
|
||||
+7
-7
@@ -2,7 +2,7 @@
|
||||
* include/debug.h
|
||||
*
|
||||
* Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -579,10 +579,10 @@ extern "C" {
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/* These low-level debug APIs are provided by the NuttX library. If
|
||||
* the cross-compiler's pre-processor supports a variable number of
|
||||
* macro arguments, then the macros above will map all debug statements
|
||||
* on or the other of the following.
|
||||
/* These low-level debug APIs are provided by the NuttX library. If the
|
||||
* cross-compiler's pre-processor supports a variable number of macro
|
||||
* arguments, then the macros below will map all debug statements to one
|
||||
* or the other of the following.
|
||||
*/
|
||||
|
||||
EXTERN int lib_rawprintf(FAR const char *format, ...);
|
||||
@@ -602,8 +602,8 @@ EXTERN void lib_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
|
||||
EXTERN void dbg_enable(bool enable);
|
||||
#endif
|
||||
|
||||
/* If the cross-compiler's pre-processor does not support variable
|
||||
* length arguments, then these additional APIs will be built.
|
||||
/* If the cross-compiler's pre-processor does not support variable length
|
||||
* arguments, then these additional APIs will be built.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_CPP_HAVE_VARARGS
|
||||
|
||||
+4
-5
@@ -2,7 +2,7 @@
|
||||
* include/dirent.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -69,10 +69,9 @@
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* The POSIX specification requires that the caller of readdir_r
|
||||
* provide storage "large enough for a dirent with the d_name
|
||||
* member and an array of char containing at least {NAME_MAX}
|
||||
* plus one elements.
|
||||
/* The POSIX specification requires that the caller of readdir_r provide
|
||||
* storage "large enough for a dirent with the d_name member and an array
|
||||
* of char containing at least {NAME_MAX} plus one elements.
|
||||
*/
|
||||
|
||||
struct dirent
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/errno.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/fixedmath.h
|
||||
*
|
||||
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/inttypes.h
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/libgen.h
|
||||
*
|
||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/limits.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+2
-3
@@ -1,8 +1,8 @@
|
||||
/********************************************************************************
|
||||
* ionclude/mqueue.h
|
||||
* include/mqueue.h
|
||||
*
|
||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -107,4 +107,3 @@ EXTERN int mq_getattr(mqd_t mqdes, struct mq_attr *mq_stat);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_MQUEUE_H */
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/net/ethernet.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NET_ETHERNET_H
|
||||
#define __NET_ETHERNET_H
|
||||
#ifndef __INCLUDE_NET_ETHERNET_H
|
||||
#define __INCLUDE_NET_ETHERNET_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -68,4 +68,4 @@ struct ether_header
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __NET_ETHERNET_H */
|
||||
#endif /* __INCLUDE_NET_ETHERNET_H */
|
||||
|
||||
+3
-3
@@ -33,8 +33,8 @@
|
||||
*
|
||||
*******************************************************************************************/
|
||||
|
||||
#ifndef __NET_IF_H
|
||||
#define __NET_IF_H
|
||||
#ifndef __INCLUDE_NET_IF_H
|
||||
#define __INCLUDE_NET_IF_H
|
||||
|
||||
/*******************************************************************************************
|
||||
* Included Files
|
||||
@@ -130,4 +130,4 @@ struct ifreq
|
||||
* Public Function Prototypes
|
||||
*******************************************************************************************/
|
||||
|
||||
#endif /* __NET_IF_H */
|
||||
#endif /* __INCLUDE_NET_IF_H */
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/****************************************************************************
|
||||
* netinet/ether.h
|
||||
* include/netinet/ether.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NETINET_ETHER_H
|
||||
#define __NETINET_ETHER_H
|
||||
#ifndef __INCLUDE_NETINET_ETHER_H
|
||||
#define __INCLUDE_NETINET_ETHER_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -74,4 +74,4 @@ EXTERN int ether_line(const char *line, struct ether_addr *addr, char *hostname)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __NETINET_ETHER_H */
|
||||
#endif /* __INCLUDE_NETINET_ETHER_H */
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/****************************************************************************
|
||||
* netinet/in.h
|
||||
* include/netinet/in.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NETINET_IP_H
|
||||
#define __NETINET_IP_H
|
||||
#ifndef __INCLUDE_NETINET_IP_H
|
||||
#define __INCLUDE_NETINET_IP_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -152,4 +152,4 @@ struct sockaddr_in6
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __NETINET_IP_H */
|
||||
#endif /* __INCLUDE_NETINET_IP_H */
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/****************************************************************************
|
||||
* netinet/ip.h
|
||||
* include/netinet/ip.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NETINET_IP_H
|
||||
#define __NETINET_IP_H
|
||||
#ifndef __INCLUDE_NETINET_IP_H
|
||||
#define __INCLUDE_NETINET_IP_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -51,4 +51,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __NETINET_IP_H */
|
||||
#endif /* __INCLUDE_NETINET_IP_H */
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/****************************************************************************
|
||||
* netinet/ip6.h
|
||||
* include/netinet/ip6.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NETINET_IP6_H
|
||||
#define __NETINET_IP6_H
|
||||
#ifndef __INCLUDE_NETINET_I6P_H
|
||||
#define __INCLUDE_NETINET_I6P_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -51,4 +51,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __NETINET_IP6_H */
|
||||
#endif /* __INCLUDE_NETINET_I6P_H */
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Derived from include/nuttx/can.h
|
||||
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* Derived from include/nuttx/can.h
|
||||
*
|
||||
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __NUTTX_DAC_H
|
||||
#define __NUTTX_DAC_H
|
||||
#ifndef __INCLUDE_NUTTX_ANALOG_DAC_H
|
||||
#define __INCLUDE_NUTTX_ANALOG_DAC_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@@ -209,4 +209,4 @@ FAR struct dac_dev_s *up_ad5410initialize(FAR struct spi_dev_s *spi, unsigned in
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __NUTTX_DAC_H */
|
||||
#endif /* __INCLUDE_NUTTX_ANALOG_DAC_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/binfmt.h
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/compiler.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __COMPILER_H
|
||||
#define __COMPILER_H
|
||||
#ifndef __INCLUDE_NUTTX_COMPILER_H
|
||||
#define __INCLUDE_NUTTX_COMPILER_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -445,4 +445,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __COMPILER_H */
|
||||
#endif /* __INCLUDE_NUTTX_COMPILER_H */
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/fb.h
|
||||
*
|
||||
* Copyright (C) 2008-2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/i2c.h
|
||||
*
|
||||
* Copyright(C) 2009-2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/init.h
|
||||
*
|
||||
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NUTTX_INIT_H
|
||||
#define __NUTTX_INIT_H
|
||||
#ifndef __INCLUDE_NUTTX_INIT_H
|
||||
#define __INCLUDE_NUTTX_INIT_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -79,4 +79,4 @@ EXTERN void os_start(void); /* OS entry point called by boot logic */
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __NUTTX_INIT_H */
|
||||
#endif /* __INCLUDE_NUTTX_INIT_H */
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/irq.h
|
||||
*
|
||||
* Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/kmalloc.h
|
||||
*
|
||||
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/lcd/lcd.h
|
||||
*
|
||||
* Copyright (C) 2010-2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Application interface to the Nokia 6100 LCD display
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Application interface to the RiT P14201 OLED driver
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* SSD1305 LCD controller.
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/mm.h
|
||||
*
|
||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NUTTX_MM_H
|
||||
#define __NUTTX_MM_H
|
||||
#ifndef __INCLUDE_NUTTX_MM_H
|
||||
#define __INCLUDE_NUTTX_MM_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -81,4 +81,4 @@ EXTERN void mm_givesemaphore(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __NUTTX_MM_H */
|
||||
#endif /* __INCLUDE_NUTTX_MM_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/mmcsd.h
|
||||
*
|
||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __NUTTX_MMCSD_H
|
||||
#define __NUTTX_MMCSD_H
|
||||
#ifndef __INCLUDE_NUTTX_MMCSD_H
|
||||
#define __INCLUDE_NUTTX_MMCSD_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -103,4 +103,5 @@ EXTERN int mmcsd_spislotinitialize(int minor, int slotno, FAR struct spi_dev_s *
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
#endif /* __NUTTX_MMCSD_H */
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_MMCSD_H */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/mqueue.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* include/nuttx/net/enc28j60.h
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* nuttx/net/net.h
|
||||
* include/nuttx/net/net.h
|
||||
*
|
||||
* Copyright (C) 2007, 2009-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __UIP_ARP_H__
|
||||
#define __UIP_ARP_H__
|
||||
#ifndef __INCLUDE_NUTTX_NET_UIP_UIP_ARP_H
|
||||
#define __INCLUDE_NUTTX_NET_UIP_UIP_ARP_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -259,4 +259,4 @@ EXTERN struct arp_entry *uip_arp_find(in_addr_t ipaddr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __UIP_ARP_H__ */
|
||||
#endif /* __INCLUDE_NUTTX_NET_UIP_UIP_ARP_H */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Defines values for the IP header options
|
||||
*
|
||||
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* be changed, but rather the per-project defconfig file.
|
||||
*
|
||||
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* This logic was leveraged from uIP which also has a BSD-style license:
|
||||
*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user