diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2013-11-28 11:56:15 +0100 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2013-11-28 11:56:15 +0100 |
commit | 6f64e80f219273967d6ac7096f3ca3d7db5a0e79 (patch) | |
tree | 945d2caf5fad6cf9410c21b2034288b614e9b656 /usbdrv/usbdrvasm.S | |
parent | 6c6552a8bf9e3357a7ee96eb0870c36794dc871c (diff) | |
download | v-usb-6f64e80f219273967d6ac7096f3ca3d7db5a0e79.tar.gz v-usb-6f64e80f219273967d6ac7096f3ca3d7db5a0e79.tar.bz2 v-usb-6f64e80f219273967d6ac7096f3ca3d7db5a0e79.zip |
Added long-pending 18 MHz module without CRC.
This module was contributed by Lukas Schrittwieser as a complement to the 18 MHz module including a CRC check.
It is useful for boot loaders on boards which run on 18 MHz because they use the CRC module in the main code.
Diffstat (limited to 'usbdrv/usbdrvasm.S')
-rw-r--r-- | usbdrv/usbdrvasm.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usbdrv/usbdrvasm.S b/usbdrv/usbdrvasm.S index 6fa575d..3bda63c 100644 --- a/usbdrv/usbdrvasm.S +++ b/usbdrv/usbdrvasm.S @@ -366,7 +366,7 @@ usbMFTimeout: # if USB_CFG_CLOCK_KHZ == 18000 # include "usbdrvasm18-crc.inc" # else -# error "USB_CFG_CLOCK_KHZ is not one of the supported crc-rates!" +# error "USB_CFG_CLOCK_KHZ is not one of the supported rates for USB_CFG_CHECK_CRC!" # endif #else /* USB_CFG_CHECK_CRC */ # if USB_CFG_CLOCK_KHZ == 12000 @@ -379,9 +379,11 @@ usbMFTimeout: # include "usbdrvasm16.inc" # elif USB_CFG_CLOCK_KHZ == 16500 # include "usbdrvasm165.inc" +# elif USB_CFG_CLOCK_KHZ == 18000 +# include "usbdrvasm18.inc" # elif USB_CFG_CLOCK_KHZ == 20000 # include "usbdrvasm20.inc" # else -# error "USB_CFG_CLOCK_KHZ is not one of the supported non-crc-rates!" +# error "USB_CFG_CLOCK_KHZ is not one of the supported rates!" # endif #endif /* USB_CFG_CHECK_CRC */ |