Commit Graph

53 Commits

Author SHA1 Message Date
Dean Camera 4dece08bef Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of. 2010-08-31 12:33:21 +00:00
Dean Camera 4f114e5766 Fixed MassStorage based demos and projects resetting the SCSI sense values before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger).
Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant SCSI_Codes.h file as these values are part of the MassStorage Class Driver.
2010-08-18 10:33:21 +00:00
Dean Camera 612df774d9 Oops - fix mixed "initialize" and "initialise" - opt for American spelling due to its wide use in technical standards. 2010-07-30 10:58:16 +00:00
Dean Camera 0f45b9c8e0 More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary. 2010-07-30 09:48:35 +00:00
Dean Camera 2034141a7e Spell check more of the third party libraries used by LUFA. 2010-07-30 08:29:53 +00:00
Dean Camera 28401f7bb7 Spell check all source files once again to find any typos. 2010-07-29 16:20:45 +00:00
Dean Camera 6bda628718 Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.
Add missing const qualifiers to the demos.
2010-07-21 16:19:32 +00:00
Dean Camera 6b5e684c77 Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.
Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
2010-07-19 14:00:44 +00:00
Dean Camera 9299735c75 Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase. 2010-07-15 17:13:33 +00:00
Dean Camera 40631e9fe5 Fix pointer aliasing warning in the Mass Storage demos. 2010-07-15 10:34:29 +00:00
Dean Camera c326fe9605 Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts.
Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
2010-07-09 07:24:34 +00:00
Dean Camera 27fb44268f Update TemperatureDataLogger and Webserver projects to the latest FATFS library version. 2010-06-14 11:58:23 +00:00
Dean Camera 6d53cdba83 More documentation fixes. 2010-06-03 15:55:28 +00:00
Dean Camera fc92f9969c Minor documentation cleanups. 2010-06-03 15:32:45 +00:00
Dean Camera 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style. 2010-05-08 03:12:14 +00:00
Dean Camera 27eb17cb93 Change over unix line-endings to dos line endings. 2010-05-07 06:40:47 +00:00
Dean Camera fc8e4837a9 Add const keyword to the demo function parameters where possible. 2010-04-18 12:10:30 +00:00
Dean Camera aca7863350 Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.
Change over static strings in the Webserver project to use PROGMEM where possible.
2010-03-10 12:48:20 +00:00
Dean Camera 92418433a5 Fix incorrect LED mask name in the Webserver project.
Fix missing text from the Host Mode States enum documentation.
2010-03-09 13:22:51 +00:00
Dean Camera ce260ae786 Webserver project now uses the board LEDs to indicate the current IP configuration state.
Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode.
2010-03-09 05:15:08 +00:00
Dean Camera 04d40897cf Commit for the 100219 release. 2010-02-19 00:07:22 +00:00
Dean Camera 42b850f2b9 Use a temporary variable to hold the current URI length in the Webserver, rather than calling strlen() multiple times on an unchanged buffer. Clean up uip-split.c. 2010-02-18 05:33:35 +00:00
Dean Camera 3b6987bca3 Add uIP-split code to the Webserver project, so that each packet is split in half to avoid the delayed-ACK problem when communicating with other devices. Condense HTTP server code, so that the HTTP headers are all sent from the one state. Make default filename append to any directory URI, rather than just the root directory. 2010-02-18 02:19:43 +00:00
Dean Camera 015956baba Oops - missing brackets in the declaration of a string in TELNETServerApp.c. 2010-02-15 13:50:04 +00:00
Dean Camera c6f21fde62 Speed up Webserver demo data rate by not sending a full ethernet frame each time, preventing the receiver from using a delayed ACK scheme which slows down the connection. TELNET server cleanup. 2010-02-12 07:54:28 +00:00
Dean Camera 8154331da6 Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files. 2010-02-12 07:27:26 +00:00
Dean Camera 41ef05a6e5 Fix DHCPClient init code in the Webserver project writing to the incorrect application state location (thanks to Mike Alexander). 2010-02-12 05:05:03 +00:00
Dean Camera 35a0fe9384 Fixed USB_GetHIDReportSize() returning the number of bits in the specified report instead of bytes.
Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code.

Make Webserver project report the LUFA version as part of the HTTP header.
2010-02-09 12:30:51 +00:00
Dean Camera 1fdc0e664e Make Webserver allow HTTP requests for files with up to 50 characters in the path instead of 30, to be in synch with the project documentation.
Change Webserver project's ENABLE_DHCP compile time option to ENABLE_DHCP_CLIENT to more accurately indicate its function.
2010-02-07 10:46:02 +00:00
Dean Camera 15f84bb8f5 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.
2010-02-04 02:27:09 +00:00
Dean Camera f4f44f9fc1 Re-add Webserver uIP application polling, apply patch to uIP by Andrew Ruder to fix corrupt TCP streams when multiple applications are used and the applications are polled for more data. 2010-02-03 14:09:56 +00:00
Dean Camera 7d3ed40070 Fix TELNET server locking up if an invalid command was issued. 2010-02-03 13:08:37 +00:00
Dean Camera b9cf4815e5 Disable uIP connection polling for now - this seems to corrupt the buffers. 2010-02-03 11:31:59 +00:00
Dean Camera 16ea5aa7a2 Add a TELNET server to the webserver project, which currently can list active TCP connections. 2010-02-03 10:39:33 +00:00
Dean Camera 08e8d6393e Exclude FATFs from the Webserver project documentation. Rename the functions in the HTTPServerApp.c/.h files so that they use the correct "HTTPServerApp_" prefix, and not "Webserver_". 2010-02-03 00:48:06 +00:00
Dean Camera 53eca61d02 Minor fixups to the documentation and preprocessor tokens. 2010-02-02 13:29:07 +00:00
Dean Camera f979fd36be Remove now unused conf directory from the uIP stack in the Webserver project. 2010-02-02 12:56:29 +00:00
Dean Camera 84e1241f80 Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels. 2010-02-02 12:51:05 +00:00
Dean Camera 1008260985 Make packet processing code in the Webserver project a bit neater using a switch statement instead of an if-else-if chain. 2010-02-02 05:56:47 +00:00
Dean Camera b736a5ef2b Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions. 2010-02-02 03:22:45 +00:00
Dean Camera b6a4584a19 Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
2010-02-01 01:27:00 +00:00
Dean Camera bb1a036f09 Clean up HTTP webserver code in the Webserver project, so that it follows the uIP application structure guidelines and uses cleaner state machine based code. 2010-01-31 14:18:03 +00:00
Dean Camera 97f7cd947b Better HTTP GET parsing in the Webserver demo, add application polling. 2010-01-31 04:23:55 +00:00
Dean Camera e8b8ed2bad Add TCP retransmission support to the HTTP webserver in the Webserver project, so that lost segments are retransmitted as needed. 2010-01-29 09:21:38 +00:00
Dean Camera fa3135d485 Add MIME type handling to the Webserver project, so that files of different types (e.g. images) can be served out to HTTP clients. 2010-01-29 02:43:07 +00:00
Dean Camera e4674aecb7 Delete FATFs .lst files from the Webserver project, accidentally committed. 2010-01-28 13:24:04 +00:00
Dean Camera 1babe52682 Oops - fix path case in the Webserver project makefile, to fix *nix builds. 2010-01-28 13:23:05 +00:00
Dean Camera 5f776f4785 Fix up project documentation files' overview tables, so that multiple items occupy multiple lines in the same cell, rather than multiple cells. 2010-01-28 13:17:36 +00:00
Dean Camera d11ed10c53 Add FatFS library to the Webserver project, extend the HTTP server so that it now serves files from the Dataflash. Add Mass Storage device mode class driver so that files can be loaded to the board Dataflash when inserted into a PC. 2010-01-28 12:47:35 +00:00
Dean Camera cec699ac59 Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines. 2010-01-27 13:45:08 +00:00