mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									f4f44f9fc1
								
							
						
					
					
						commit
						15f84bb8f5
					
				| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -63,7 +63,7 @@ | ||||
| MCU = atmega32u4 | ||||
| 
 | ||||
| 
 | ||||
| # 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  =  | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -41,7 +41,7 @@ | ||||
|  * | ||||
|  *  \section SSec_Description Project Description:  | ||||
|  * | ||||
|  *  MIDI host demonstration application. This demo will enumerate an attached USB-MIDI device, and print incomming MIDI note | ||||
|  *  MIDI host demonstration application. This demo will enumerate an attached USB-MIDI device, and print incoming MIDI note | ||||
|  *  on and off messages on any channel to the serial port. Pressing the board joystick will send note on and off messages to | ||||
|  *  the attached MIDI device, with the board HWB controlling the note channel. | ||||
|  * | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -36,7 +36,7 @@ | ||||
|   | ||||
| #include "RNDISEthernetHost.h" | ||||
| 
 | ||||
| /** Buffer to hold incomming and outgoing Ethernet packets. */ | ||||
| /** Buffer to hold incoming and outgoing Ethernet packets. */ | ||||
| uint8_t PacketBuffer[1024]; | ||||
| 
 | ||||
| /** LUFA RNDIS Class driver interface configuration and state information. This structure is
 | ||||
| @ -146,7 +146,7 @@ int main(void) | ||||
| 				USB_HostState = HOST_STATE_Configured; | ||||
| 				break; | ||||
| 			case HOST_STATE_Configured: | ||||
| 				PrintIncommingPackets(); | ||||
| 				PrintIncomingPackets(); | ||||
| 			 | ||||
| 				break; | ||||
| 		} | ||||
| @ -156,8 +156,8 @@ int main(void) | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| /** Prints incomming packets from the attached RNDIS device to the serial port. */ | ||||
| void PrintIncommingPackets(void) | ||||
| /** Prints incoming packets from the attached RNDIS device to the serial port. */ | ||||
| void PrintIncomingPackets(void) | ||||
| { | ||||
| 	if (RNDIS_Host_IsPacketReceived(&Ethernet_RNDIS_Interface)) | ||||
| 	{ | ||||
|  | ||||
| @ -68,7 +68,7 @@ | ||||
| 
 | ||||
| 	/* Function Prototypes: */ | ||||
| 		void SetupHardware(void); | ||||
| 		void PrintIncommingPackets(void); | ||||
| 		void PrintIncomingPackets(void); | ||||
| 	 | ||||
| 		void EVENT_USB_Host_HostError(const uint8_t ErrorCode); | ||||
| 		void EVENT_USB_Host_DeviceAttached(void); | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -41,7 +41,7 @@ | ||||
|  * | ||||
|  *  \section SSec_Description Project Description:  | ||||
|  * | ||||
|  *  MIDI host demonstration application. This demo will enumerate an attached USB-MIDI device, and print incomming MIDI note | ||||
|  *  MIDI host demonstration application. This demo will enumerate an attached USB-MIDI device, and print incoming MIDI note | ||||
|  *  on and off messages on any channel to the serial port. Pressing the board joystick will send note on and off messages to | ||||
|  *  the attached MIDI device, with the board HWB controlling the note channel. | ||||
|  * | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -121,7 +121,7 @@ void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8 | ||||
| 	LEDs_SetAllLEDs(LEDMASK_USB_ERROR); | ||||
| } | ||||
| 
 | ||||
| void PrintIncommingPackets(void) | ||||
| void PrintIncomingPackets(void) | ||||
| { | ||||
| 	uint8_t ErrorCode; | ||||
| 
 | ||||
| @ -263,7 +263,7 @@ void RNDIS_Host_Task(void) | ||||
| 			USB_HostState = HOST_STATE_Configured; | ||||
| 			break; | ||||
| 		case HOST_STATE_Configured: | ||||
| 			PrintIncommingPackets(); | ||||
| 			PrintIncomingPackets(); | ||||
| 		 | ||||
| 			break; | ||||
| 	} | ||||
|  | ||||
| @ -84,7 +84,7 @@ | ||||
| 
 | ||||
| 	/* Function Prototypes: */ | ||||
| 		void SetupHardware(void); | ||||
| 		void PrintIncommingPackets(void); | ||||
| 		void PrintIncomingPackets(void); | ||||
| 		void RNDIS_Host_Task(void); | ||||
| 	 | ||||
| 		void EVENT_USB_Host_HostError(const uint8_t ErrorCode); | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -89,6 +89,18 @@ | ||||
| 
 | ||||
| 			/** Selects the EVK527 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ | ||||
| 			#define BOARD_EVK527        9 | ||||
| 			 | ||||
| 			/** Disables board drivers when operation will not be adversely affected (e.g. LEDs) - use of board drivers
 | ||||
| 			 *  such as the Joystick driver, where the removal would adversely affect the code's operation is still disallowed. */ | ||||
| 			#define BOARD_NONE          10 | ||||
| 			 | ||||
| 			#if !defined(__DOXYGEN__) | ||||
| 				#define BOARD_          BOARD_NONE | ||||
| 				 | ||||
| 				#if !defined(BOARD) | ||||
| 					#define BOARD       BOARD_NONE | ||||
| 				#endif | ||||
| 			#endif | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
|  | ||||
| @ -69,8 +69,8 @@ | ||||
| 	/* Includes: */ | ||||
| 	#include "../../Common/Common.h" | ||||
| 	 | ||||
| 	#if !defined(BOARD) | ||||
| 		#error BOARD must be set in makefile to a value specified in BoardTypes.h. | ||||
| 	#if (BOARD == BOARD_NONE) | ||||
| 		#error The Board Buttons driver cannot be used if the makefile BOARD option is not set. | ||||
| 	#elif (BOARD == BOARD_USBKEY) | ||||
| 		#include "USBKEY/Buttons.h" | ||||
| 	#elif (BOARD == BOARD_STK525) | ||||
|  | ||||
| @ -150,8 +150,8 @@ | ||||
| 			} | ||||
| 
 | ||||
| 		/* Includes: */ | ||||
| 			#if !defined(BOARD) | ||||
| 				#error BOARD must be set in makefile to a value specified in BoardTypes.h. | ||||
| 			#if (BOARD == BOARD_NONE) | ||||
| 				#error The Board Buttons driver cannot be used if the makefile BOARD option is not set. | ||||
| 			#elif (BOARD == BOARD_USBKEY) | ||||
| 				#include "USBKEY/Dataflash.h" | ||||
| 			#elif (BOARD == BOARD_STK525) | ||||
|  | ||||
| @ -68,8 +68,8 @@ | ||||
| 	/* Includes: */ | ||||
| 	#include "../../Common/Common.h" | ||||
| 	 | ||||
| 	#if !defined(BOARD) | ||||
| 		#error BOARD must be set in makefile to a value specified in BoardTypes.h. | ||||
| 	#if (BOARD == BOARD_NONE) | ||||
| 		#error The Board Joystick driver cannot be used if the makefile BOARD option is not set. | ||||
| 	#elif (BOARD == BOARD_USBKEY) | ||||
| 		#include "USBKEY/Joystick.h" | ||||
| 	#elif (BOARD == BOARD_STK525) | ||||
|  | ||||
| @ -76,8 +76,14 @@ | ||||
| 	/* Includes: */ | ||||
| 	#include "../../Common/Common.h" | ||||
| 
 | ||||
| 	#if !defined(BOARD) | ||||
| 		#error BOARD must be set in makefile to a value specified in BoardTypes.h. | ||||
| 	#if (BOARD == BOARD_NONE) | ||||
| 		static inline void LEDs_Init(void) {}; | ||||
| 		static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) {}; | ||||
| 		static inline void LEDs_TurnOffLEDs(const uint8_t LEDMask) {}; | ||||
| 		static inline void LEDs_SetAllLEDs(const uint8_t LEDMask) {}; | ||||
| 		static inline void LEDs_ChangeLEDs(const uint8_t LEDMask, const uint8_t ActiveMask) {}; | ||||
| 		static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) {}; | ||||
| 		static inline uint8_t LEDs_GetLEDs(void) { return 0; } | ||||
| 	#elif (BOARD == BOARD_USBKEY) | ||||
| 		#include "USBKEY/LEDs.h" | ||||
| 	#elif (BOARD == BOARD_STK525) | ||||
|  | ||||
| @ -63,8 +63,8 @@ | ||||
| 		#include "../../Common/Common.h" | ||||
| 		#include "../Peripheral/ADC.h" | ||||
| 	 | ||||
| 		#if !defined(BOARD) | ||||
| 			#error BOARD must be set in makefile to a value specified in BoardTypes.h.	 | ||||
| 		#if (BOARD == BOARD_NONE) | ||||
| 			#error The Board Temperature Sensor driver cannot be used if the makefile BOARD option is not set. | ||||
| 		#elif ((BOARD != BOARD_USBKEY) && (BOARD != BOARD_STK525) && \ | ||||
| 		       (BOARD != BOARD_STK526) && (BOARD != BOARD_USER) &&   \ | ||||
| 			   (BOARD != BOARD_EVK527)) | ||||
|  | ||||
| @ -21,6 +21,8 @@ | ||||
|   *  - Added ADC MUX masks for the standard ADC input channels on all AVR models with an ADC, altered demos to use these masks | ||||
|   *    as on some models, the channel number is not identical to its single-ended ADC MUX mask | ||||
|   *  - New Webserver project, a RNDIS host USB webserver using the open source uIP TCP/IP network stack and FatFS library | ||||
|   *  - 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) | ||||
|   * | ||||
|   *  <b>Changed:</b> | ||||
|   *  - Slowed down software USART carried PDI programming in the AVRISP project to prevent transmission errors | ||||
|  | ||||
| @ -46,7 +46,6 @@ | ||||
|  *  - Openkubus, an open source hardware-based authentication dongle: http://code.google.com/p/openkubus/ | ||||
|  *  - Orbee, a USB connected RGB Orb for notifications: http://www.franksworkshop.com.au/Electronics/Orbee/Orbee.htm | ||||
|  *  - Programmable XBOX controller: http://richard-burke.dyndns.org/wordpress/pan-galactic-gargantuan-gargle-brain-aka-xbox-360-usb-controller/ | ||||
|  *  - Purdue Interactive Kiosk: https://engineering.purdue.edu/477grp4/ | ||||
|  *  - Reprap with LUFA, a LUFA powered 3D printer: http://code.google.com/p/at90usb1287-code-for-arduino-and-eclipse/ | ||||
|  *  - SEGA Megadrive/Genesis Development Cartridge: http://www.makestuff.eu/wordpress/?page_id=398 | ||||
|  *  - Stripe Snoop, a Magnetic Card reader: http://www.ossguy.com/ss_usb/ | ||||
| @ -63,6 +62,7 @@ | ||||
|  *  - BAP, A tiny LUFA based AVR Programmer: http://www.busware.de/tiki-index.php?page=BAP | ||||
|  *  - Digital Survey Instruments Magnetometer and Pointer: http://www.digitalsurveyinstruments.com/ | ||||
|  *  - Lightweight CC110x USB dongle for 868MHz Protocols: http://busware.de/tiki-index.php?page=CUL | ||||
|  *  - MIDIFighter, a USB-MIDI controller: http://www.midifighter.com/ | ||||
|  *  - Mobo 4.3, a USB controlled all band (160-10m) HF SDR transceiver: http://sites.google.com/site/lofturj/mobo4_3 | ||||
|  *  - SEGA Megadrive/Super Nintendo Cartridge Reader: http://www.snega2usb.com | ||||
|  *  - XMEGA Development Board, using LUFA as an On-Board Programmer: http://xmega.mattair.net/ | ||||
|  | ||||
| @ -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)); | ||||
| } | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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) | ||||
|  | ||||
| @ -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: */ | ||||
|  | ||||
| @ -44,7 +44,7 @@ | ||||
| 		#include <uip.h> | ||||
| 	 | ||||
| 	/* Macros: */ | ||||
| 		/** TCP listen port for incomming TELNET traffic */ | ||||
| 		/** TCP listen port for incoming TELNET traffic */ | ||||
| 		#define TELNET_SERVER_PORT  23 | ||||
| 		 | ||||
| 	/* Enums: */ | ||||
|  | ||||
| @ -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 */ | ||||
|  | ||||
| @ -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 | ||||
| 		 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera