Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
2034141a
Commit
2034141a
authored
Jul 30, 2010
by
Dean Camera
Browse files
Spell check more of the third party libraries used by LUFA.
parent
fd9b34aa
Changes
10
Hide whitespace changes
Inline
Side-by-side
Bootloaders/DFU/BootloaderDFU.txt
View file @
2034141a
...
...
@@ -13,7 +13,7 @@
* - Series 7 USB AVRs
* - Series 6 USB AVRs
* - Series 4 USB AVRs
* - Series 2 USB AVRs
(Excluding the 8KB FLASH variants)
* - Series 2 USB AVRs
*
* \section SSec_Info USB Information:
*
...
...
Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/pff.h
View file @
2034141a
...
...
@@ -3,7 +3,7 @@
/----------------------------------------------------------------------------/
/ Petit FatFs module is an open source software to implement FAT file system to
/ small embedded systems. This is a free software and is opened for education,
/ research and commercial developments under license policy of following t
r
ems.
/ research and commercial developments under license policy of following te
r
ms.
/
/ Copyright (C) 2010, ChaN, all right reserved.
/
...
...
Projects/TempDataLogger/Lib/FATFs/ff.c
View file @
2034141a
...
...
@@ -114,7 +114,7 @@
#endif
/* Reentrancy related */
/* Re
-
entrancy related */
#if _FS_REENTRANT
#if _USE_LFN == 1
#error Static LFN work area must not be used in re-entrant configuration.
...
...
@@ -304,7 +304,7 @@ void unlock_fs (
/*-----------------------------------------------------------------------*/
/* File shar
e
ing control functions */
/* File sharing control functions */
/*-----------------------------------------------------------------------*/
#if _FS_SHARE
...
...
Projects/TempDataLogger/Lib/FATFs/ff.h
View file @
2034141a
...
...
@@ -3,7 +3,7 @@
/----------------------------------------------------------------------------/
/ FatFs module is a generic FAT file system module for small embedded systems.
/ This is a free software that opened for education, research and commercial
/ developments under license policy of following t
r
ems.
/ developments under license policy of following te
r
ms.
/
/ Copyright (C) 2010, ChaN, all right reserved.
/
...
...
@@ -266,7 +266,7 @@ typedef char TCHAR;
/* Definitions corresponds to file shar
e
ing feature */
/* Definitions corresponds to file sharing feature */
#if _FS_SHARE
#if _FS_READONLY
...
...
@@ -388,14 +388,14 @@ typedef struct {
typedef
enum
{
FR_OK
=
0
,
/* (0) Succeeded */
FR_DISK_ERR
,
/* (1) A hard error occured in the low level disk I/O layer */
FR_DISK_ERR
,
/* (1) A hard error occur
r
ed in the low level disk I/O layer */
FR_INT_ERR
,
/* (2) Assertion failed */
FR_NOT_READY
,
/* (3) The physical drive cannot work */
FR_NO_FILE
,
/* (4) Could not find the file */
FR_NO_PATH
,
/* (5) Could not find the path */
FR_INVALID_NAME
,
/* (6) The path name format is invalid */
FR_DENIED
,
/* (7) Acces denied due to prohibited access or directory full */
FR_EXIST
,
/* (8) Acces denied due to prohibited access */
FR_DENIED
,
/* (7) Acces
s
denied due to prohibited access or directory full */
FR_EXIST
,
/* (8) Acces
s
denied due to prohibited access */
FR_INVALID_OBJECT
,
/* (9) The file/directory object is invalid */
FR_WRITE_PROTECTED
,
/* (10) The physical drive is write protected */
FR_INVALID_DRIVE
,
/* (11) The logical drive number is invalid */
...
...
@@ -403,7 +403,7 @@ typedef enum {
FR_NO_FILESYSTEM
,
/* (13) There is no valid FAT volume on the physical drive */
FR_MKFS_ABORTED
,
/* (14) The f_mkfs() aborted due to any parameter error */
FR_TIMEOUT
,
/* (15) Could not get a grant to access the volume within defined period */
FR_LOCKED
,
/* (16) The operation is rejected according to the file shar
e
ing policy */
FR_LOCKED
,
/* (16) The operation is rejected according to the file sharing policy */
FR_NOT_ENOUGH_CORE
,
/* (17) LFN working buffer could not be allocated */
FR_TOO_MANY_OPEN_FILES
/* (18) Number of open files > _FS_SHARE */
}
FRESULT
;
...
...
@@ -428,7 +428,7 @@ FRESULT f_truncate (FIL*); /* Truncate file */
FRESULT
f_sync
(
FIL
*
);
/* Flush cached data of a writing file */
FRESULT
f_unlink
(
const
TCHAR
*
);
/* Delete an existing file or directory */
FRESULT
f_mkdir
(
const
TCHAR
*
);
/* Create a new directory */
FRESULT
f_chmod
(
const
TCHAR
*
,
BYTE
,
BYTE
);
/* Change attribu
r
te of the file/dir */
FRESULT
f_chmod
(
const
TCHAR
*
,
BYTE
,
BYTE
);
/* Change attribute of the file/dir */
FRESULT
f_utime
(
const
TCHAR
*
,
const
FILINFO
*
);
/* Change timestamp of the file/dir */
FRESULT
f_rename
(
const
TCHAR
*
,
const
TCHAR
*
);
/* Rename/Move a file or directory */
#endif
...
...
Projects/TempDataLogger/Lib/FATFs/ffconf.h
View file @
2034141a
...
...
@@ -163,10 +163,10 @@
/* Include a header file here to define O/S system calls */
/* #include <windows.h>, <ucos_ii.h.h>, <semphr.h> or others. */
/* The _FS_REENTRANT option switches the reentrancy of the FatFs module.
/* The _FS_REENTRANT option switches the re
-
entrancy of the FatFs module.
/
/ 0: Disable reentrancy. _SYNC_t and _FS_TIMEOUT have no effect.
/ 1: Enable reentrancy. Also user provided synchronization handlers,
/ 0: Disable re
-
entrancy. _SYNC_t and _FS_TIMEOUT have no effect.
/ 1: Enable re
-
entrancy. Also user provided synchronization handlers,
/ ff_req_grant, ff_rel_grant, ff_del_syncobj and ff_cre_syncobj
/ function must be added to the project. */
...
...
Projects/TempDataLogger/TemperatureDataLogger.txt
View file @
2034141a
...
...
@@ -59,8 +59,8 @@
* sampled data. This project will not function correctly if the RTC chip is omitted unless the DUMMY_RTC compile time token
* is specified - see \ref SSec_Options.
*
* Due to the host's need for exclusive access to the filesystem, the device will not log samples while connected to a host.
* For the logger to store data, the Dataflash must first be formatted by the host so that it contains a valid FAT filesystem.
* Due to the host's need for exclusive access to the file
system, the device will not log samples while connected to a host.
* For the logger to store data, the Dataflash must first be formatted by the host so that it contains a valid FAT file
system.
*
* This project uses the FatFS library from ELM Chan (http://elm-chan.org/fsw/ff/00index_e.html) and the .NET HID device library
* LibHIDNet (http://sourceforge.net/projects/libhidnet/).
...
...
Projects/Webserver/Lib/FATFs/ff.c
View file @
2034141a
...
...
@@ -114,7 +114,7 @@
#endif
/* Reentrancy related */
/* Re
-
entrancy related */
#if _FS_REENTRANT
#if _USE_LFN == 1
#error Static LFN work area must not be used in re-entrant configuration.
...
...
Projects/Webserver/Lib/FATFs/ff.h
View file @
2034141a
...
...
@@ -3,7 +3,7 @@
/----------------------------------------------------------------------------/
/ FatFs module is a generic FAT file system module for small embedded systems.
/ This is a free software that opened for education, research and commercial
/ developments under license policy of following t
r
ems.
/ developments under license policy of following te
r
ms.
/
/ Copyright (C) 2010, ChaN, all right reserved.
/
...
...
@@ -266,7 +266,7 @@ typedef char TCHAR;
/* Definitions corresponds to file shar
e
ing feature */
/* Definitions corresponds to file sharing feature */
#if _FS_SHARE
#if _FS_READONLY
...
...
@@ -334,7 +334,7 @@ typedef struct {
DWORD
dsect
;
/* Current data sector */
#if !_FS_READONLY
DWORD
dir_sect
;
/* Sector containing the directory entry */
BYTE
*
dir_ptr
;
/* Ponter to the directory entry in the window */
BYTE
*
dir_ptr
;
/* Po
i
nter to the directory entry in the window */
#endif
#if _USE_FASTSEEK
DWORD
*
cltbl
;
/* Pointer to the cluster link map table */
...
...
@@ -388,14 +388,14 @@ typedef struct {
typedef
enum
{
FR_OK
=
0
,
/* (0) Succeeded */
FR_DISK_ERR
,
/* (1) A hard error occured in the low level disk I/O layer */
FR_DISK_ERR
,
/* (1) A hard error occur
r
ed in the low level disk I/O layer */
FR_INT_ERR
,
/* (2) Assertion failed */
FR_NOT_READY
,
/* (3) The physical drive cannot work */
FR_NO_FILE
,
/* (4) Could not find the file */
FR_NO_PATH
,
/* (5) Could not find the path */
FR_INVALID_NAME
,
/* (6) The path name format is invalid */
FR_DENIED
,
/* (7) Acces denied due to prohibited access or directory full */
FR_EXIST
,
/* (8) Acces denied due to prohibited access */
FR_DENIED
,
/* (7) Acces
s
denied due to prohibited access or directory full */
FR_EXIST
,
/* (8) Acces
s
denied due to prohibited access */
FR_INVALID_OBJECT
,
/* (9) The file/directory object is invalid */
FR_WRITE_PROTECTED
,
/* (10) The physical drive is write protected */
FR_INVALID_DRIVE
,
/* (11) The logical drive number is invalid */
...
...
@@ -403,7 +403,7 @@ typedef enum {
FR_NO_FILESYSTEM
,
/* (13) There is no valid FAT volume on the physical drive */
FR_MKFS_ABORTED
,
/* (14) The f_mkfs() aborted due to any parameter error */
FR_TIMEOUT
,
/* (15) Could not get a grant to access the volume within defined period */
FR_LOCKED
,
/* (16) The operation is rejected according to the file shar
e
ing policy */
FR_LOCKED
,
/* (16) The operation is rejected according to the file sharing policy */
FR_NOT_ENOUGH_CORE
,
/* (17) LFN working buffer could not be allocated */
FR_TOO_MANY_OPEN_FILES
/* (18) Number of open files > _FS_SHARE */
}
FRESULT
;
...
...
@@ -428,7 +428,7 @@ FRESULT f_truncate (FIL*); /* Truncate file */
FRESULT
f_sync
(
FIL
*
);
/* Flush cached data of a writing file */
FRESULT
f_unlink
(
const
TCHAR
*
);
/* Delete an existing file or directory */
FRESULT
f_mkdir
(
const
TCHAR
*
);
/* Create a new directory */
FRESULT
f_chmod
(
const
TCHAR
*
,
BYTE
,
BYTE
);
/* Change attribu
r
te of the file/dir */
FRESULT
f_chmod
(
const
TCHAR
*
,
BYTE
,
BYTE
);
/* Change attribute of the file/dir */
FRESULT
f_utime
(
const
TCHAR
*
,
const
FILINFO
*
);
/* Change timestamp of the file/dir */
FRESULT
f_rename
(
const
TCHAR
*
,
const
TCHAR
*
);
/* Rename/Move a file or directory */
#endif
...
...
Projects/Webserver/Lib/FATFs/ffconf.h
View file @
2034141a
...
...
@@ -133,9 +133,9 @@
/ to the disk_ioctl function. */
#define _MULTI_PARTITION 0
/* 0:Single parition or 1:Multiple partition */
#define _MULTI_PARTITION 0
/* 0:Single par
t
ition or 1:Multiple partition */
/* When _MULTI_PARTITION is set to 0, each volume is bound to the same physical
/ drive number and can mount only first prima
l
y partition. When it is set to 1,
/ drive number and can mount only first prima
r
y partition. When it is set to 1,
/ each volume is tied to the partitions listed in Drives[]. */
...
...
@@ -161,12 +161,12 @@
#define _FS_TIMEOUT 1000
/* Timeout period in unit of time ticks */
#define _SYNC_t HANDLE
/* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */
/* Include a header file here to define O/S system calls */
/* #include <windows.h>, <ucos_ii.h.h>, <semphr.h> or o
h
ters. */
/* #include <windows.h>, <ucos_ii.h.h>, <semphr.h> or ot
h
ers. */
/* The _FS_REENTRANT option switches the reentrancy of the FatFs module.
/* The _FS_REENTRANT option switches the re
-
entrancy of the FatFs module.
/
/ 0: Disable reentrancy. _SYNC_t and _FS_TIMEOUT have no effect.
/ 1: Enable reentrancy. Also user provided synchronization handlers,
/ 0: Disable re
-
entrancy. _SYNC_t and _FS_TIMEOUT have no effect.
/ 1: Enable re
-
entrancy. Also user provided synchronization handlers,
/ ff_req_grant, ff_rel_grant, ff_del_syncobj and ff_cre_syncobj
/ function must be added to the project. */
...
...
Projects/Webserver/Lib/uip/uip.c
View file @
2034141a
...
...
@@ -158,7 +158,7 @@ struct uip_conn uip_conns[UIP_CONNS];
connections. */
u16_t
uip_listenports
[
UIP_LISTENPORTS
];
/* The uip_listenports list all currently
listning ports. */
list
e
ning ports. */
#if UIP_UDP
struct
uip_udp_conn
*
uip_udp_conn
;
struct
uip_udp_conn
uip_udp_conns
[
UIP_UDP_CONNS
];
...
...
@@ -696,7 +696,7 @@ uip_process(u8_t flag)
}
goto
drop
;
/* Check if we were invoked because of the perodic timer fir
e
ing. */
/* Check if we were invoked because of the per
i
odic timer firing. */
}
else
if
(
flag
==
UIP_TIMER
)
{
#if UIP_REASSEMBLY
if
(
uip_reasstmr
!=
0
)
{
...
...
@@ -980,7 +980,7 @@ uip_process(u8_t flag)
/* If we are configured to use ping IP address assignment, we use
the destination IP address of this ping packet and assign it to
ourself. */
y
ourself. */
#if UIP_PINGADDRCONF
if
(
uip_ipaddr_cmp
(
&
uip_hostaddr
,
&
uip_all_zeroes_addr
))
{
uip_hostaddr
=
BUF
->
destipaddr
;
...
...
@@ -1030,7 +1030,7 @@ uip_process(u8_t flag)
}
/* We should now send a neighbor advertisement back to where the
neighbor solici
c
ation came from. */
neighbor solici
t
ation came from. */
ICMPBUF
->
type
=
ICMP6_NEIGHBOR_ADVERTISEMENT
;
ICMPBUF
->
flags
=
ICMP6_FLAG_S
;
/* Solicited flag. */
...
...
@@ -1411,7 +1411,7 @@ uip_process(u8_t flag)
uip_flags
=
0
;
/* We do a very naive form of TCP reset processing; we just accept
any RST and kill our connection. We should in fact check if the
sequence number of this reset is wi
h
tin our advertised window
sequence number of this reset is wit
h
in our advertised window
before we accept the reset. */
if
(
BUF
->
flags
&
TCP_RST
)
{
uip_connr
->
tcpstateflags
=
UIP_CLOSED
;
...
...
@@ -1642,7 +1642,7 @@ uip_process(u8_t flag)
the initial MSS so that the application will send an entire MSS
of data. This data will not be acknowledged by the receiver,
and the application will retransmit it. This is called the
"persistent timer" and uses the retransmission mechanim.
"persistent timer" and uses the retransmission mechani
s
m.
*/
tmp16
=
((
u16_t
)
BUF
->
wnd
[
0
]
<<
8
)
+
(
u16_t
)
BUF
->
wnd
[
1
];
if
(
tmp16
>
uip_connr
->
initialmss
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment