Add host application directories as distributables in Atmel Studio.

pull/1469/head
Dean Camera 11 years ago
parent 82e606eb3b
commit de366fdbe1

@ -110,6 +110,8 @@
<build type="header-file" value="Config/LUFAConfig.h"/> <build type="header-file" value="Config/LUFAConfig.h"/>
<build type="distribute" subtype="user-file" value="BootloaderHID.txt"/> <build type="distribute" subtype="user-file" value="BootloaderHID.txt"/>
<build type="distribute" subtype="directory" value="HostLoaderApp"/>
<build type="distribute" subtype="directory" value="HostLoaderApp_Python"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<require idref="lufa.platform"/> <require idref="lufa.platform"/>

@ -40,6 +40,9 @@
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="distribute" subtype="user-file" value="GenericHID.txt"/>
<build type="distribute" subtype="directory" value="HostTestApp"/>
<build type="c-source" value="GenericHID.c"/> <build type="c-source" value="GenericHID.c"/>
<build type="c-source" value="Descriptors.c"/> <build type="c-source" value="Descriptors.c"/>
<build type="header-file" value="GenericHID.h"/> <build type="header-file" value="GenericHID.h"/>

@ -29,6 +29,7 @@
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="distribute" subtype="user-file" value="AndroidAccessoryHost.txt"/> <build type="distribute" subtype="user-file" value="AndroidAccessoryHost.txt"/>
<build type="distribute" subtype="directory" value="AndroidHostApp"/>
<build type="c-source" value="AndroidAccessoryHost.c"/> <build type="c-source" value="AndroidAccessoryHost.c"/>
<build type="header-file" value="AndroidAccessoryHost.h"/> <build type="header-file" value="AndroidAccessoryHost.h"/>

@ -124,7 +124,7 @@ check_filenames: $(MODULE_OUTPUT_XML)
echo "Checking $$f..."; \ echo "Checking $$f..."; \
asf_file_dir=`dirname $$f`; \ asf_file_dir=`dirname $$f`; \
xsltproc XDK/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \ xsltproc XDK/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \
if ( ! test -f "$$asf_file_dir/$$i" ); then \ if ( ( ! test -f "$$asf_file_dir/$$i" ) && ( ! test -d "$$asf_file_dir/$$i" ) ); then \
echo "Source file \"$$i\" referenced in $$f does not exist!"; \ echo "Source file \"$$i\" referenced in $$f does not exist!"; \
exit 1; \ exit 1; \
fi; \ fi; \

@ -30,6 +30,8 @@
<build type="distribute" subtype="user-file" value="LEDNotifier.txt"/> <build type="distribute" subtype="user-file" value="LEDNotifier.txt"/>
<build type="distribute" subtype="user-file" value="LUFA LED Notifier.inf"/> <build type="distribute" subtype="user-file" value="LUFA LED Notifier.inf"/>
<build type="distribute" subtype="directory" value="CPUUsageApp"/>
<build type="distribute" subtype="directory" value="LEDMixerApp"/>
<build type="c-source" value="LEDNotifier.c"/> <build type="c-source" value="LEDNotifier.c"/>
<build type="c-source" value="Descriptors.c"/> <build type="c-source" value="Descriptors.c"/>

@ -30,6 +30,8 @@
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="distribute" subtype="user-file" value="TemperatureDataLogger.txt"/> <build type="distribute" subtype="user-file" value="TemperatureDataLogger.txt"/>
<build type="distribute" subtype="directory" value="TempLogHostApp"/>
<build type="distribute" subtype="directory" value="TempLogHostApp_Python"/>
<build type="c-source" value="TempDataLogger.c"/> <build type="c-source" value="TempDataLogger.c"/>
<build type="c-source" value="Descriptors.c"/> <build type="c-source" value="Descriptors.c"/>
@ -64,5 +66,6 @@
<require idref="lufa.drivers.board.temperature"/> <require idref="lufa.drivers.board.temperature"/>
<require idref="lufa.drivers.board.dataflash"/> <require idref="lufa.drivers.board.dataflash"/>
<require idref="lufa.drivers.peripheral.adc"/> <require idref="lufa.drivers.peripheral.adc"/>
<require idref="lufa.drivers.peripheral.twi"/>
</module> </module>
</asf> </asf>

Loading…
Cancel
Save