diff options
Diffstat (limited to 'LUFA/StudioIntegration/generate_caches.py')
-rw-r--r-- | LUFA/StudioIntegration/generate_caches.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/LUFA/StudioIntegration/generate_caches.py b/LUFA/StudioIntegration/generate_caches.py new file mode 100644 index 000000000..033ae28dd --- /dev/null +++ b/LUFA/StudioIntegration/generate_caches.py @@ -0,0 +1,20 @@ +"""
+ LUFA Library
+ Copyright (C) Dean Camera, 2013.
+
+ dean [at] fourwalledcubicle [dot] com
+ www.lufa-lib.org
+"""
+
+import sys
+import os
+sys.path.append("ProjectGenerator")
+
+try:
+ from asf_avrstudio5_interface import PythonFacade
+except ImportError:
+ print "The ASF project generator is missing."
+
+p = PythonFacade(os.path.abspath(__file__))
+p.check_extension_database_sanity(sys.argv[1])
+p.generate_extension_cache_files(sys.argv[1])
|