aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-03-21 11:10:02 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-03-21 11:10:02 +0000
commitf595043584d864d2618da62f422cf57ed5eda6f4 (patch)
treeed1db5d5b56343dd26549f3804f08ee6e1975eb9 /LUFA/Drivers/USB/Core/UC3/USBController_UC3.h
parentaba7932a5c7c5f4a65f1c8558c94ed313ff3ca96 (diff)
downloadlufa-f595043584d864d2618da62f422cf57ed5eda6f4.tar.gz
lufa-f595043584d864d2618da62f422cf57ed5eda6f4.tar.bz2
lufa-f595043584d864d2618da62f422cf57ed5eda6f4.zip
Add in new architecture attribute defines to selectively remove the EEPROM and FLASH memory space functions on architectures which do not have seperate memory address spaces.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/USBController_UC3.h')
-rw-r--r--LUFA/Drivers/USB/Core/UC3/USBController_UC3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h
index 8b29628ed..da32b3ed4 100644
--- a/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h
+++ b/LUFA/Drivers/USB/Core/UC3/USBController_UC3.h
@@ -80,6 +80,10 @@
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
#endif
+ #if !defined(F_USB)
+ #error F_USB is not defined. You must define F_USB to the frequency of the clock input to the USB module.
+ #endif
+
/* Public Interface - May be used in end-application: */
/* Macros: */
/** \name USB Controller Option Masks */