diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-02-05 20:57:49 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-02-05 20:57:49 +0000 |
commit | 300a05d6c6b578713c4b73509d0961d39d695bcd (patch) | |
tree | bb565816f7b927058ad8fdac928c577ca1da8da0 /LUFA | |
parent | 7ce76f2d815f115737af9d6379fd896970c36431 (diff) | |
download | lufa-300a05d6c6b578713c4b73509d0961d39d695bcd.tar.gz lufa-300a05d6c6b578713c4b73509d0961d39d695bcd.tar.bz2 lufa-300a05d6c6b578713c4b73509d0961d39d695bcd.zip |
Remove CPPCheck suppressions for unused functions, disable checking for them in the StaticAnalysisTest build test as it can't cope with GCC aliasing and mixed library/application code.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/AudioClassDevice.c | 1 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/CDCClassDevice.c | 1 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/CDCClassHost.c | 1 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/Events.c | 1 | ||||
-rw-r--r-- | LUFA/StudioIntegration/lufa_drivers_board.xml | 6 |
5 files changed, 3 insertions, 7 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c index 6c0606e64..49a71b06f 100644 --- a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c +++ b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c @@ -188,7 +188,6 @@ bool Audio_Device_ConfigureEndpoints(USB_ClassInfo_Audio_Device_t* const AudioIn return true; } -// cppcheck-suppress unusedFunction void Audio_Device_Event_Stub(void) { diff --git a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c index 2ee84d94d..f9b9a12a1 100644 --- a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c +++ b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c @@ -332,7 +332,6 @@ static int CDC_Device_getchar_Blocking(FILE* Stream) } #endif -// cppcheck-suppress unusedFunction void CDC_Device_Event_Stub(void) { diff --git a/LUFA/Drivers/USB/Class/Host/CDCClassHost.c b/LUFA/Drivers/USB/Class/Host/CDCClassHost.c index ea8cb84b0..2bf9943f4 100644 --- a/LUFA/Drivers/USB/Class/Host/CDCClassHost.c +++ b/LUFA/Drivers/USB/Class/Host/CDCClassHost.c @@ -468,7 +468,6 @@ static int CDC_Host_getchar_Blocking(FILE* Stream) } #endif -// cppcheck-suppress unusedFunction void CDC_Host_Event_Stub(void) { diff --git a/LUFA/Drivers/USB/Core/Events.c b/LUFA/Drivers/USB/Core/Events.c index 6f15bc898..535233a26 100644 --- a/LUFA/Drivers/USB/Core/Events.c +++ b/LUFA/Drivers/USB/Core/Events.c @@ -32,7 +32,6 @@ #define __INCLUDE_FROM_USB_DRIVER #include "Events.h" -// cppcheck-suppress unusedFunction void USB_Event_Stub(void) { diff --git a/LUFA/StudioIntegration/lufa_drivers_board.xml b/LUFA/StudioIntegration/lufa_drivers_board.xml index 8c5cef5b2..3677d2003 100644 --- a/LUFA/StudioIntegration/lufa_drivers_board.xml +++ b/LUFA/StudioIntegration/lufa_drivers_board.xml @@ -11,21 +11,21 @@ <lufa>
<asf>
<board id="lufa.boards.dummy.avr8" vendor="LUFA" caption="AVR8 Architecture">
- <device-support value="lufa_avr8"/>
+ <device-support value="mega"/>
<require idref="lufa.drivers.board"/>
<require idref="lufa.drivers.board.info"/>
</board>
<board id="lufa.boards.dummy.xmega" vendor="LUFA" caption="XMEGA Architecture">
- <device-support value="lufa_xmega"/>
+ <device-support value="xmega"/>
<require idref="lufa.drivers.board"/>
<require idref="lufa.drivers.board.info"/>
</board>
<board id="lufa.boards.dummy.uc3" vendor="LUFA" caption="UC3 Architecture">
- <device-support value="lufa_uc3"/>
+ <device-support value="uc3"/>
<require idref="lufa.drivers.board"/>
<require idref="lufa.drivers.board.info"/>
|