X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2f036ae2bfddb37840c6041595eb994efad8954d..6fa8da4e561ee920f66ece42ce7e937a5399626d:/BuildTests/SingleUSBModeTest/Dummy.S?ds=sidebyside diff --git a/BuildTests/SingleUSBModeTest/Dummy.S b/BuildTests/SingleUSBModeTest/Dummy.S index 9739e921f..026f9c456 100644 --- a/BuildTests/SingleUSBModeTest/Dummy.S +++ b/BuildTests/SingleUSBModeTest/Dummy.S @@ -1,38 +1,40 @@ -/* - LUFA Library - Copyright (C) Dean Camera, 2012. - - dean [at] fourwalledcubicle [dot] com - www.lufa-lib.org -*/ - -/* - Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) - - Permission to use, copy, modify, distribute, and sell this - software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in - all copies and that both that the copyright notice and this - permission notice and warranty disclaimer appear in supporting - documentation, and that the name of the author not be used in - advertising or publicity pertaining to distribution of the - software without specific, written prior permission. - - The author disclaim all warranties with regard to this - software, including all implied warranties of merchantability - and fitness. In no event shall the author be liable for any - special, indirect or consequential damages or any damages - whatsoever resulting from loss of use, data or profits, whether - in an action of contract, negligence or other tortious action, - arising out of or in connection with the use or performance of - this software. -*/ - -# Mandatory entry point for successful compilation and link -.global main -main: - - -# Mandatory callback needed for base compile of the USB driver -.global CALLBACK_USB_GetDescriptor -CALLBACK_USB_GetDescriptor: +; +; LUFA Library +; Copyright (C) Dean Camera, 2012. +; +; dean [at] fourwalledcubicle [dot] com +; www.lufa-lib.org +; + +; Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) +; +; Permission to use, copy, modify, distribute, and sell this +; software and its documentation for any purpose is hereby granted +; without fee, provided that the above copyright notice appear in +; all copies and that both that the copyright notice and this +; permission notice and warranty disclaimer appear in supporting +; documentation, and that the name of the author not be used in +; advertising or publicity pertaining to distribution of the +; software without specific, written prior permission. +; +; The author disclaim all warranties with regard to this +; software, including all implied warranties of merchantability +; and fitness. In no event shall the author be liable for any +; special, indirect or consequential damages or any damages +; whatsoever resulting from loss of use, data or profits, whether +; in an action of contract, negligence or other tortious action, +; arising out of or in connection with the use or performance of +; this software. + +.section .text + + +# Mandatory entry point for successful compilation and link +.global main +main: + # Force code generation of the base USB stack + call USB_Init + +# Mandatory callback needed for base compile of the USB driver +.global CALLBACK_USB_GetDescriptor +CALLBACK_USB_GetDescriptor: