projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4fc5650
)
Fix static analysis warnings.
author
Dean Camera
<dean@fourwalledcubicle.com>
Sun, 9 Dec 2018 02:24:51 +0000
(13:24 +1100)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sun, 9 Dec 2018 02:30:16 +0000
(13:30 +1100)
BuildTests/StaticAnalysisTest/makefile
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c
patch
|
blob
|
blame
|
history
LUFA/DoxygenPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
diff --git
a/BuildTests/StaticAnalysisTest/makefile
b/BuildTests/StaticAnalysisTest/makefile
index
9e65e8a
..
1990190
100644
(file)
--- a/
BuildTests/StaticAnalysisTest/makefile
+++ b/
BuildTests/StaticAnalysisTest/makefile
@@
-13,7
+13,8
@@
LUFA_PATH := ../../LUFA/
CPPCHECK_EXCLUDES := FATFs/ \
PetiteFATFs/ \
CPPCHECK_EXCLUDES := FATFs/ \
PetiteFATFs/ \
- uip/
+ uip/ \
+ HID/HostLoaderApp/
CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
$(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
$(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
diff --git
a/Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c
b/Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c
index
44849fb
..
6fcab3b
100644
(file)
--- a/
Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c
+++ b/
Demos/Device/LowLevel/RNDISEthernet/Lib/DHCP.c
@@
-54,8
+54,8
@@
int16_t DHCP_ProcessDHCPPacket(void* IPHeaderInStart,
DHCP_Header_t* DHCPHeaderIN = (DHCP_Header_t*)DHCPHeaderInStart;
DHCP_Header_t* DHCPHeaderOUT = (DHCP_Header_t*)DHCPHeaderOutStart;
DHCP_Header_t* DHCPHeaderIN = (DHCP_Header_t*)DHCPHeaderInStart;
DHCP_Header_t* DHCPHeaderOUT = (DHCP_Header_t*)DHCPHeaderOutStart;
- uint8_t* DHCPOptionsINStart = (
uint8_t*)(
DHCPHeaderInStart + sizeof(DHCP_Header_t));
- uint8_t* DHCPOptionsOUTStart = (
uint8_t*)(
DHCPHeaderOutStart + sizeof(DHCP_Header_t));
+ uint8_t* DHCPOptionsINStart = (
(uint8_t*)
DHCPHeaderInStart + sizeof(DHCP_Header_t));
+ uint8_t* DHCPOptionsOUTStart = (
(uint8_t*)
DHCPHeaderOutStart + sizeof(DHCP_Header_t));
DecodeDHCPHeader(DHCPHeaderInStart);
DecodeDHCPHeader(DHCPHeaderInStart);
diff --git
a/LUFA/DoxygenPages/ChangeLog.txt
b/LUFA/DoxygenPages/ChangeLog.txt
index
228e236
..
0880224
100644
(file)
--- a/
LUFA/DoxygenPages/ChangeLog.txt
+++ b/
LUFA/DoxygenPages/ChangeLog.txt
@@
-15,8
+15,12
@@
* - Added Microsoft OS Compatibility descriptors to the RNDIS demos for driverless install on Windows 7 and newer
*
* <b>Changed:</b>
* - Added Microsoft OS Compatibility descriptors to the RNDIS demos for driverless install on Windows 7 and newer
*
* <b>Changed:</b>
+ * - Core:
* - Moved the functional descriptor types DTYPE_CSInterface and DTYPE_CSEndpoint to their respective CDC and Audio class
* drivers, as they are class-defined rather than general descriptor types.
* - Moved the functional descriptor types DTYPE_CSInterface and DTYPE_CSEndpoint to their respective CDC and Audio class
* drivers, as they are class-defined rather than general descriptor types.
+ * - Reduced compiled size of the Endpoint_Discard_Stream() and Endpoint_Null_Stream() functions.
+ * - Library Applications:
+ * - Updated Printer class bootloader to not store 32-bit HEX parser flash offsets on small flash devices.
*
* <b>Fixed:</b>
* - Core:
*
* <b>Fixed:</b>
* - Core:
@@
-31,6
+35,7
@@
* - Fixed bootloaders not disabling global interrupts during erase and write operations (thanks to Zoltan)
* - Fixed bootloaders accepting flash writes to the bootloader region (thanks to NicoHood)
* - Fixed bootloaders incorrectly checking the BOOTRST fuse on start (thanks to Braden Kell)
* - Fixed bootloaders not disabling global interrupts during erase and write operations (thanks to Zoltan)
* - Fixed bootloaders accepting flash writes to the bootloader region (thanks to NicoHood)
* - Fixed bootloaders incorrectly checking the BOOTRST fuse on start (thanks to Braden Kell)
+ * - Fixed void pointer arithmetic in the low level RNDIS demo protocol decoders
*
* \section Sec_ChangeLog170418 Version 170418
* <b>New:</b>
*
* \section Sec_ChangeLog170418 Version 170418
* <b>New:</b>
@@
-46,19
+51,22
@@
* in a user application (thanks to Matlo)
* - Fixed missing \c va_end() calls in the HID bootloader CLI app which could cause portability issues
* - Fixed void pointer arithmetic in the \c Serial_SendData() functions for AVR8 and XMEGA architectures
* in a user application (thanks to Matlo)
* - Fixed missing \c va_end() calls in the HID bootloader CLI app which could cause portability issues
* - Fixed void pointer arithmetic in the \c Serial_SendData() functions for AVR8 and XMEGA architectures
- * - Fixed void pointer arithmetic in the low level and class driver RNDIS demo protocol decoders
- * - Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet filter was requested
- * - Fixed missing entries in several project's Atmel Studio integration files, such as driver INF files
* - Fixed invalid endpoint indexes causing memory corruption in device Clear/Set Feature standard requests (thanks to Peter Popovec)
* - Fixed incorrect serialization in USB_SetHIDReportItemInfo() function (thanks to e-chip)
* - Fixed invalid endpoint indexes causing memory corruption in device Clear/Set Feature standard requests (thanks to Peter Popovec)
* - Fixed incorrect serialization in USB_SetHIDReportItemInfo() function (thanks to e-chip)
+ * - Library Applications:
+ * - Fixed low level RNDIS demo incorrectly setting the RNDIS state when a null packet filter was requested
+ * - Fixed void pointer arithmetic in the low level and class driver RNDIS demo protocol decoders
+ * - Fixed missing entries in several project's Atmel Studio integration files, such as driver INF files
*
* <b>Changed:</b>
*
* <b>Changed:</b>
- * - Added signed alternative libUSB driver for the AVRISP-MKII clone project, to support Atmel Studio 7 (thanks to Atmel)
- * - Removed no longer required LIBUSB_DRIVER_COMPAT and RESET_TOGGLES_LIBUSB_COMPAT configuration options from the AVRISP-MKII
- * clone project, as the new libUSB driver works for AVRDUDE and Atmel Studio 7 under Windows
+ * - Core:
* - Replaced the LUFA build system with its (compatible) successor, DMBS (Dean's Makefile Build System)
* - Removed obsolete library TAR export and associated documentation
* - Fixed incorrect HID_DESCRIPTOR_KEYBOARD() macro definition (thanks to Eric Tang)
* - Replaced the LUFA build system with its (compatible) successor, DMBS (Dean's Makefile Build System)
* - Removed obsolete library TAR export and associated documentation
* - Fixed incorrect HID_DESCRIPTOR_KEYBOARD() macro definition (thanks to Eric Tang)
+ * - Library Applications:
+ * - Added signed alternative libUSB driver for the AVRISP-MKII clone project, to support Atmel Studio 7 (thanks to Atmel)
+ * - Removed no longer required LIBUSB_DRIVER_COMPAT and RESET_TOGGLES_LIBUSB_COMPAT configuration options from the AVRISP-MKII
+ * clone project, as the new libUSB driver works for AVRDUDE and Atmel Studio 7 under Windows
*
* \section Sec_ChangeLog151115 Version 151115
* <b>New:</b>
*
* \section Sec_ChangeLog151115 Version 151115
* <b>New:</b>