From 15f84bb8f5b910de40f081ee5e8ed847c592ea17 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 4 Feb 2010 02:27:09 +0000 Subject: New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects. --- Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c | 2 +- Projects/AVRISP-MKII/makefile | 2 +- Projects/Benito/makefile | 2 +- Projects/Incomplete/StandaloneProgrammer/makefile | 2 +- Projects/LEDNotifier/makefile | 2 +- Projects/Magstripe/makefile | 4 ++-- Projects/MissileLauncher/makefile | 2 +- Projects/TemperatureDataLogger/makefile | 2 +- Projects/USBtoSerial/makefile | 2 +- Projects/Webserver/Lib/DHCPClientApp.c | 8 ++++---- Projects/Webserver/Lib/HTTPServerApp.c | 2 +- Projects/Webserver/Lib/HTTPServerApp.h | 2 +- Projects/Webserver/Lib/TELNETServerApp.h | 2 +- Projects/Webserver/Lib/uIPManagement.c | 12 ++++++------ Projects/Webserver/Lib/uIPManagement.h | 2 +- Projects/Webserver/makefile | 2 +- Projects/XPLAINBridge/makefile | 2 +- 17 files changed, 26 insertions(+), 26 deletions(-) (limited to 'Projects') diff --git a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c index c7e64a5eb..f327a47e8 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c +++ b/Projects/AVRISP-MKII/Lib/XPROG/TINYNVM.c @@ -66,7 +66,7 @@ static void TINYNVM_SendReadNVMRegister(const uint8_t Address) */ static void TINYNVM_SendWriteNVMRegister(const uint8_t Address) { - /* The TPI command for writing to the I/O space uses wierd addressing, where the I/O address's upper + /* The TPI command for writing to the I/O space uses weird addressing, where the I/O address's upper * two bits of the 6-bit address are shifted left once */ XPROGTarget_SendByte(TPI_CMD_SOUT | ((Address & 0x30) << 1) | (Address & 0x0F)); } diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile index 5c0fe0f64..2698de881 100644 --- a/Projects/AVRISP-MKII/makefile +++ b/Projects/AVRISP-MKII/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY diff --git a/Projects/Benito/makefile b/Projects/Benito/makefile index 2f0040304..8b9d126a9 100644 --- a/Projects/Benito/makefile +++ b/Projects/Benito/makefile @@ -63,7 +63,7 @@ MCU = atmega32u2 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USER diff --git a/Projects/Incomplete/StandaloneProgrammer/makefile b/Projects/Incomplete/StandaloneProgrammer/makefile index 074a279ac..9305373d8 100644 --- a/Projects/Incomplete/StandaloneProgrammer/makefile +++ b/Projects/Incomplete/StandaloneProgrammer/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY diff --git a/Projects/LEDNotifier/makefile b/Projects/LEDNotifier/makefile index 22a62b5e3..20cd598a6 100644 --- a/Projects/LEDNotifier/makefile +++ b/Projects/LEDNotifier/makefile @@ -63,7 +63,7 @@ MCU = at90usb646 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USER diff --git a/Projects/Magstripe/makefile b/Projects/Magstripe/makefile index 2571ad3a2..e2d87d800 100644 --- a/Projects/Magstripe/makefile +++ b/Projects/Magstripe/makefile @@ -63,10 +63,10 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. -BOARD = USER +BOARD = NONE # Processor frequency. diff --git a/Projects/MissileLauncher/makefile b/Projects/MissileLauncher/makefile index 5f8c3bc6f..66ab8cb2f 100644 --- a/Projects/MissileLauncher/makefile +++ b/Projects/MissileLauncher/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY diff --git a/Projects/TemperatureDataLogger/makefile b/Projects/TemperatureDataLogger/makefile index a3da35ff3..622bb1c84 100644 --- a/Projects/TemperatureDataLogger/makefile +++ b/Projects/TemperatureDataLogger/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY diff --git a/Projects/USBtoSerial/makefile b/Projects/USBtoSerial/makefile index 3bdc15bb1..1a1adc075 100644 --- a/Projects/USBtoSerial/makefile +++ b/Projects/USBtoSerial/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY diff --git a/Projects/Webserver/Lib/DHCPClientApp.c b/Projects/Webserver/Lib/DHCPClientApp.c index 79170fabe..64cd70709 100644 --- a/Projects/Webserver/Lib/DHCPClientApp.c +++ b/Projects/Webserver/Lib/DHCPClientApp.c @@ -50,7 +50,7 @@ void DHCPClientApp_Init(void) uip_ipaddr(&DHCPServerIPAddress, 255, 255, 255, 255); AppState->DHCPClient.Connection = uip_udp_new(&DHCPServerIPAddress, HTONS(DHCPC_SERVER_PORT)); - /* If the connection was sucessfully created, bind it to the local DHCP client port */ + /* If the connection was successfully created, bind it to the local DHCP client port */ if(AppState->DHCPClient.Connection != NULL) { uip_udp_bind(AppState->DHCPClient.Connection, HTONS(DHCPC_CLIENT_PORT)); @@ -240,7 +240,7 @@ uint8_t DHCPClientApp_SetOption(uint8_t* DHCPOptionList, uint8_t Option, uint8_t */ bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Destination) { - /* Look through the incomming DHCP packet's options list for the requested option */ + /* Look through the incoming DHCP packet's options list for the requested option */ while (*DHCPOptionList != DHCP_OPTION_END) { /* Check if the current DHCP option in the packet is the one requested */ @@ -249,7 +249,7 @@ bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Dest /* Copy request option's data to the destination buffer */ memcpy(Destination, &DHCPOptionList[2], DHCPOptionList[1]); - /* Indicate that the requested option data was sucessfully retrieved */ + /* Indicate that the requested option data was successfully retrieved */ return true; } @@ -257,7 +257,7 @@ bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Dest DHCPOptionList += (DHCPOptionList[1] + 2); } - /* Requested option not found in the incomming packet's DHCP options list */ + /* Requested option not found in the incoming packet's DHCP options list */ return false; } #endif diff --git a/Projects/Webserver/Lib/HTTPServerApp.c b/Projects/Webserver/Lib/HTTPServerApp.c index 081207c6b..c2263cb98 100644 --- a/Projects/Webserver/Lib/HTTPServerApp.c +++ b/Projects/Webserver/Lib/HTTPServerApp.c @@ -150,7 +150,7 @@ void HTTPServerApp_Callback(void) } } -/** HTTP Server State handler for the Request Process state. This state manages the processing of incomming HTTP +/** HTTP Server State handler for the Request Process state. This state manages the processing of incoming HTTP * GET requests to the server from the receiving HTTP client. */ static void HTTPServerApp_OpenRequestedFile(void) diff --git a/Projects/Webserver/Lib/HTTPServerApp.h b/Projects/Webserver/Lib/HTTPServerApp.h index 13399b0f9..33a647bfe 100644 --- a/Projects/Webserver/Lib/HTTPServerApp.h +++ b/Projects/Webserver/Lib/HTTPServerApp.h @@ -64,7 +64,7 @@ } MIME_Type_t; /* Macros: */ - /** TCP listen port for incomming HTTP traffic */ + /** TCP listen port for incoming HTTP traffic */ #define HTTP_SERVER_PORT 80 /* Function Prototypes: */ diff --git a/Projects/Webserver/Lib/TELNETServerApp.h b/Projects/Webserver/Lib/TELNETServerApp.h index 7b1eb46ee..ff34d1482 100644 --- a/Projects/Webserver/Lib/TELNETServerApp.h +++ b/Projects/Webserver/Lib/TELNETServerApp.h @@ -44,7 +44,7 @@ #include /* Macros: */ - /** TCP listen port for incomming TELNET traffic */ + /** TCP listen port for incoming TELNET traffic */ #define TELNET_SERVER_PORT 23 /* Enums: */ diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index 90629b893..c7773c455 100644 --- a/Projects/Webserver/Lib/uIPManagement.c +++ b/Projects/Webserver/Lib/uIPManagement.c @@ -30,7 +30,7 @@ /** \file * - * uIP Managament functions. This file contains the functions and globals needed to maintain the uIP + * uIP Management functions. This file contains the functions and globals needed to maintain the uIP * stack once an RNDIS device has been attached to the system. */ @@ -87,7 +87,7 @@ void uIPManagement_ManageNetwork(void) { if ((USB_CurrentMode == USB_MODE_HOST) && (USB_HostState == HOST_STATE_Configured)) { - uIPManagement_ProcessIncommingPacket(); + uIPManagement_ProcessIncomingPacket(); uIPManagement_ManageConnections(); } } @@ -123,8 +123,8 @@ void uIPManagement_UDPCallback(void) } } -/** Processes incomming packets to the server from the connected RNDIS device, creating responses as needed. */ -static void uIPManagement_ProcessIncommingPacket(void) +/** Processes Incoming packets to the server from the connected RNDIS device, creating responses as needed. */ +static void uIPManagement_ProcessIncomingPacket(void) { /* If no packet received, exit processing routine */ if (!(RNDIS_Host_IsPacketReceived(&Ethernet_RNDIS_Interface))) @@ -132,7 +132,7 @@ static void uIPManagement_ProcessIncommingPacket(void) LEDs_SetAllLEDs(LEDMASK_USB_BUSY); - /* Read the incomming packet straight into the UIP packet buffer */ + /* Read the Incoming packet straight into the UIP packet buffer */ RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface, uip_buf, &uip_len); /* If the packet contains an Ethernet frame, process it */ @@ -144,7 +144,7 @@ static void uIPManagement_ProcessIncommingPacket(void) /* Filter packet by MAC destination */ uip_arp_ipin(); - /* Process incomming packet */ + /* Process Incoming packet */ uip_input(); /* If a response was generated, send it */ diff --git a/Projects/Webserver/Lib/uIPManagement.h b/Projects/Webserver/Lib/uIPManagement.h index 1e7ffd0be..825c5cdef 100644 --- a/Projects/Webserver/Lib/uIPManagement.h +++ b/Projects/Webserver/Lib/uIPManagement.h @@ -69,7 +69,7 @@ void uIPManagement_UDPCallback(void); #if defined(INCLUDE_FROM_UIPMANAGEMENT_C) - static void uIPManagement_ProcessIncommingPacket(void); + static void uIPManagement_ProcessIncomingPacket(void); static void uIPManagement_ManageConnections(void); #endif diff --git a/Projects/Webserver/makefile b/Projects/Webserver/makefile index daec03d0b..98ee03ca4 100644 --- a/Projects/Webserver/makefile +++ b/Projects/Webserver/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = USBKEY diff --git a/Projects/XPLAINBridge/makefile b/Projects/XPLAINBridge/makefile index 831d53bbd..ba87e8a1f 100644 --- a/Projects/XPLAINBridge/makefile +++ b/Projects/XPLAINBridge/makefile @@ -63,7 +63,7 @@ MCU = at90usb1287 -# Target board (see library "Board Types" documentation, USER or blank for projects not requiring +# Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. BOARD = XPLAIN -- cgit v1.2.3