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.
15 years ago
Dean Camera
42ac34b484
Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.
15 years ago
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.
15 years ago
Dean Camera
f4710f6f86
Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform.
...
Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
15 years ago
Dean Camera
40631e9fe5
Fix pointer aliasing warning in the Mass Storage demos.
15 years ago
Dean Camera
3904c1a606
Add remaining AVRStudio project files to the library projects.
15 years ago
Dean Camera
ae9dab1398
Add missing clean_doxygen phony targets to the project makefiles.
15 years ago
Dean Camera
2b0d93c129
Correct misspellings in the Bluetooth demo code.
15 years ago
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().
15 years ago
Dean Camera
8b053d6ba5
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
...
Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
15 years ago
Dean Camera
27fb44268f
Update TemperatureDataLogger and Webserver projects to the latest FATFS library version.
15 years ago
Dean Camera
6d53cdba83
More documentation fixes.
15 years ago
Dean Camera
fc92f9969c
Minor documentation cleanups.
15 years ago
Dean Camera
776485a6c5
Remove obsolete entry from the Doxygen configuration files.
15 years ago
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.
15 years ago
Dean Camera
e331b531c6
Change over instances of "make" in the makefiles to "$(MAKE)" to allow for the make tool to be overridden.
15 years ago
Dean Camera
27eb17cb93
Change over unix line-endings to dos line endings.
15 years ago
Dean Camera
e977774d4e
Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.
15 years ago
Dean Camera
59c4871f80
USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
15 years ago
Dean Camera
fc8e4837a9
Add const keyword to the demo function parameters where possible.
15 years ago
Dean Camera
49b09a2042
Standardized the naming scheme given to configuration descriptor sub-elements in the Device mode demos, bootloaders and projects.
...
Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
15 years ago
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.
15 years ago
Dean Camera
92418433a5
Fix incorrect LED mask name in the Webserver project.
...
Fix missing text from the Host Mode States enum documentation.
15 years ago
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.
15 years ago
Dean Camera
04d40897cf
Commit for the 100219 release.
15 years ago
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.
15 years ago
Dean Camera
012628f635
Turn OFF double banking in the Webserver demo - leaving it on seems to destroy the system throughput.
15 years ago
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.
15 years ago
Dean Camera
c77b30e9e6
Clean up XPLAINBridge code.
15 years ago
Dean Camera
015956baba
Oops - missing brackets in the declaration of a string in TELNETServerApp.c.
15 years ago
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.
15 years ago
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.
15 years ago
Dean Camera
41ef05a6e5
Fix DHCPClient init code in the Webserver project writing to the incorrect application state location (thanks to Mike Alexander).
15 years ago
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.
15 years ago
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.
15 years ago
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.
15 years ago
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.
15 years ago
Dean Camera
7d3ed40070
Fix TELNET server locking up if an invalid command was issued.
15 years ago
Dean Camera
b9cf4815e5
Disable uIP connection polling for now - this seems to corrupt the buffers.
15 years ago
Dean Camera
16ea5aa7a2
Add a TELNET server to the webserver project, which currently can list active TCP connections.
15 years ago
Dean Camera
77e86e7d82
Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.
15 years ago
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_".
15 years ago
Dean Camera
53eca61d02
Minor fixups to the documentation and preprocessor tokens.
15 years ago
Dean Camera
f979fd36be
Remove now unused conf directory from the uIP stack in the Webserver project.
15 years ago
Dean Camera
84e1241f80
Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
15 years ago
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.
15 years ago
Dean Camera
b736a5ef2b
Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions.
15 years ago
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.
15 years ago
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.
15 years ago
Dean Camera
97f7cd947b
Better HTTP GET parsing in the Webserver demo, add application polling.
15 years ago
Dean Camera
e8b8ed2bad
Add TCP retransmission support to the HTTP webserver in the Webserver project, so that lost segments are retransmitted as needed.
15 years ago
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.
15 years ago
Dean Camera
1b59f561ed
Second fix to Webserver project's makefile for the FATFs path case to fix *nix builds.
15 years ago
Dean Camera
e4674aecb7
Delete FATFs .lst files from the Webserver project, accidentally committed.
15 years ago
Dean Camera
1babe52682
Oops - fix path case in the Webserver project makefile, to fix *nix builds.
15 years ago
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.
15 years ago
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.
15 years ago
Dean Camera
cec699ac59
Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines.
15 years ago
Dean Camera
a960e4b3b2
Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
15 years ago
Dean Camera
4bd44139b1
Move TWI.c driver into the straight LUFA/Drivers/Peripheral/ directory.
...
Fix TemperatureDataLogger and Webserver project builds.
15 years ago
Dean Camera
db420853ce
Add Webserver project Doxygen configuration file and overview document.
...
Fix Doxygen configuration files' input file exclusion filters.
15 years ago
Dean Camera
15c408ab86
Moved initial completed version of the Webserver project out of the Projects/Incomplete directory.
15 years ago