Initial commit from NXP 2.6.7 sources

NXP is constantly breaking links, but it was found at:
https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcu-bootloader-for-nxp-microcontrollers:MCUBOOT
This commit is contained in:
2023-11-05 23:32:03 -08:00
commit 6648373d8e
197 changed files with 48373 additions and 0 deletions

View File

@ -0,0 +1,672 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXAggregateTarget section */
02936E57172CD33100D07977 /* All blhost tools */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 02936E58172CD33100D07977 /* Build configuration list for PBXAggregateTarget "All blhost tools" */;
buildPhases = (
);
dependencies = (
02936E5E172CD35E00D07977 /* PBXTargetDependency */,
);
name = "All blhost tools";
productName = "All validation tools";
};
/* End PBXAggregateTarget section */
/* Begin PBXBuildFile section */
020F8999175E4DB5009F0B96 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = 020F8984175E4DB5009F0B96 /* crc32.c */; };
02528C3F16FE32760026B4C2 /* blhost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02528C2816FE31980026B4C2 /* blhost.cpp */; };
02528C4316FE32880026B4C2 /* options.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02528C1916FE308F0026B4C2 /* options.cpp */; };
02558D3117C3AC2600D3721D /* jsoncpp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02558D3017C3AC2600D3721D /* jsoncpp.cpp */; };
02558D3517CF9C1E00D3721D /* utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02558D3417CF9C1E00D3721D /* utils.cpp */; };
02558D3C17D7B05100D3721D /* format_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02558D3B17D7B05100D3721D /* format_string.cpp */; };
0289203F170A1279007D3438 /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 0289203D170A1279007D3438 /* serial.c */; };
02936E54172CD27A00D07977 /* Logging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 02936E52172CD27A00D07977 /* Logging.cpp */; };
02C2957118996B4E00C08DCF /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 02C2956D18996B3500C08DCF /* IOKit.framework */; };
02C2957218996B5300C08DCF /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 02C2956F18996B3D00C08DCF /* CoreFoundation.framework */; };
04957C8E1AA8CDF10083BEDA /* Blob.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C711AA8CDF10083BEDA /* Blob.cpp */; };
04957C8F1AA8CDF10083BEDA /* Bootloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C721AA8CDF10083BEDA /* Bootloader.cpp */; };
04957C901AA8CDF10083BEDA /* BusPal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C731AA8CDF10083BEDA /* BusPal.cpp */; };
04957C911AA8CDF10083BEDA /* BusPalPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C741AA8CDF10083BEDA /* BusPalPeripheral.cpp */; };
04957C921AA8CDF10083BEDA /* Command.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C751AA8CDF10083BEDA /* Command.cpp */; };
04957C931AA8CDF10083BEDA /* DataSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C761AA8CDF10083BEDA /* DataSource.cpp */; };
04957C941AA8CDF10083BEDA /* DataSourceImager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C771AA8CDF10083BEDA /* DataSourceImager.cpp */; };
04957C951AA8CDF10083BEDA /* DataTarget.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C781AA8CDF10083BEDA /* DataTarget.cpp */; };
04957C961AA8CDF10083BEDA /* ELFSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C791AA8CDF10083BEDA /* ELFSourceFile.cpp */; };
04957C971AA8CDF10083BEDA /* ExcludesListMatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C7A1AA8CDF10083BEDA /* ExcludesListMatcher.cpp */; };
04957C981AA8CDF10083BEDA /* GHSSecInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C7B1AA8CDF10083BEDA /* GHSSecInfo.cpp */; };
04957C991AA8CDF10083BEDA /* GlobMatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C7C1AA8CDF10083BEDA /* GlobMatcher.cpp */; };
04957C9A1AA8CDF10083BEDA /* SBSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C7D1AA8CDF10083BEDA /* SBSourceFile.cpp */; };
04957C9B1AA8CDF10083BEDA /* SearchPath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C7E1AA8CDF10083BEDA /* SearchPath.cpp */; };
04957C9C1AA8CDF10083BEDA /* SerialPacketizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C7F1AA8CDF10083BEDA /* SerialPacketizer.cpp */; };
04957CA11AA8CDF10083BEDA /* SourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C841AA8CDF10083BEDA /* SourceFile.cpp */; };
04957CA21AA8CDF10083BEDA /* SRecordSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C851AA8CDF10083BEDA /* SRecordSourceFile.cpp */; };
04957CA31AA8CDF10083BEDA /* StELFFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C861AA8CDF10083BEDA /* StELFFile.cpp */; };
04957CA41AA8CDF10083BEDA /* StExecutableImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C871AA8CDF10083BEDA /* StExecutableImage.cpp */; };
04957CA51AA8CDF10083BEDA /* StSRecordFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C881AA8CDF10083BEDA /* StSRecordFile.cpp */; };
04957CA61AA8CDF10083BEDA /* UartPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C891AA8CDF10083BEDA /* UartPeripheral.cpp */; };
04957CA71AA8CDF10083BEDA /* Updater.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C8A1AA8CDF10083BEDA /* Updater.cpp */; };
04957CA81AA8CDF10083BEDA /* UsbHidPacketizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C8B1AA8CDF10083BEDA /* UsbHidPacketizer.cpp */; };
04957CA91AA8CDF10083BEDA /* UsbHidPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C8C1AA8CDF10083BEDA /* UsbHidPeripheral.cpp */; };
04957CAA1AA8CDF10083BEDA /* Value.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04957C8D1AA8CDF10083BEDA /* Value.cpp */; };
3B8BB8461BD17B73000EFB8B /* AESCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB83E1BD17B73000EFB8B /* AESCounter.cpp */; };
3B8BB8471BD17B73000EFB8B /* AESKey.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB83F1BD17B73000EFB8B /* AESKey.cpp */; };
3B8BB8481BD17B73000EFB8B /* HexValues.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB8401BD17B73000EFB8B /* HexValues.cpp */; };
3B8BB8491BD17B73000EFB8B /* IntelHexSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB8411BD17B73000EFB8B /* IntelHexSourceFile.cpp */; };
3B8BB84A1BD17B73000EFB8B /* Random.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB8421BD17B73000EFB8B /* Random.cpp */; };
3B8BB84B1BD17B73000EFB8B /* rijndael.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB8431BD17B73000EFB8B /* rijndael.cpp */; };
3B8BB84C1BD17B73000EFB8B /* RijndaelCTR.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB8441BD17B73000EFB8B /* RijndaelCTR.cpp */; };
3B8BB84D1BD17B73000EFB8B /* StIntelHexFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3B8BB8451BD17B73000EFB8B /* StIntelHexFile.cpp */; };
BF49F39A17F34E8B00A0B079 /* crc16.c in Sources */ = {isa = PBXBuildFile; fileRef = BF49F39917F34E8B00A0B079 /* crc16.c */; };
BFB431BF000005C8007086B9 /* hid-mac.c in Sources */ = {isa = PBXBuildFile; fileRef = BFB431BE000005C8007086B9 /* hid-mac.c */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
02936E5D172CD35E00D07977 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 02B3B3AC16DE7116009769BD /* Project object */;
proxyType = 1;
remoteGlobalIDString = 02528C3516FE31DC0026B4C2;
remoteInfo = blhost;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
02528C3416FE31DC0026B4C2 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
0208C5EB1713633900E031AD /* host_types.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = host_types.h; sourceTree = "<group>"; };
020F8982175E4DB5009F0B96 /* crc32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = crc32.h; sourceTree = "<group>"; };
020F8984175E4DB5009F0B96 /* crc32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = crc32.c; sourceTree = "<group>"; };
02528C1616FE308F0026B4C2 /* options.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = options.h; sourceTree = "<group>"; };
02528C1916FE308F0026B4C2 /* options.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = options.cpp; sourceTree = "<group>"; };
02528C2816FE31980026B4C2 /* blhost.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = blhost.cpp; sourceTree = "<group>"; };
02528C3116FE31980026B4C2 /* targetver.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = targetver.h; sourceTree = "<group>"; };
02528C3616FE31DC0026B4C2 /* blhost */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = blhost; sourceTree = BUILT_PRODUCTS_DIR; };
02558D2E17C3AC1900D3721D /* json.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = json.h; sourceTree = "<group>"; };
02558D3017C3AC2600D3721D /* jsoncpp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = jsoncpp.cpp; sourceTree = "<group>"; };
02558D3317CF9C1800D3721D /* utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = utils.h; sourceTree = "<group>"; };
02558D3417CF9C1E00D3721D /* utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = utils.cpp; sourceTree = "<group>"; };
02558D3A17D7B04200D3721D /* format_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = format_string.h; sourceTree = "<group>"; };
02558D3B17D7B05100D3721D /* format_string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = format_string.cpp; sourceTree = "<group>"; };
0289203D170A1279007D3438 /* serial.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = serial.c; sourceTree = "<group>"; };
02892055170A1957007D3438 /* bootloader_common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bootloader_common.h; sourceTree = "<group>"; };
02936E52172CD27A00D07977 /* Logging.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Logging.cpp; sourceTree = "<group>"; };
02936E56172CD28200D07977 /* Logging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Logging.h; sourceTree = "<group>"; };
02936F5A174FA84E00D07977 /* serial.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = serial.h; sourceTree = "<group>"; };
029F2B04179DC5A800277DA7 /* fsl_platform_status.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = fsl_platform_status.h; sourceTree = "<group>"; };
029F2B05179DC5A800277DA7 /* fsl_platform_types.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = fsl_platform_types.h; sourceTree = "<group>"; };
02C2956D18996B3500C08DCF /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
02C2956F18996B3D00C08DCF /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
04957C711AA8CDF10083BEDA /* Blob.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Blob.cpp; sourceTree = "<group>"; };
04957C721AA8CDF10083BEDA /* Bootloader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Bootloader.cpp; sourceTree = "<group>"; };
04957C731AA8CDF10083BEDA /* BusPal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BusPal.cpp; sourceTree = "<group>"; };
04957C741AA8CDF10083BEDA /* BusPalPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BusPalPeripheral.cpp; sourceTree = "<group>"; };
04957C751AA8CDF10083BEDA /* Command.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Command.cpp; sourceTree = "<group>"; };
04957C761AA8CDF10083BEDA /* DataSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DataSource.cpp; sourceTree = "<group>"; };
04957C771AA8CDF10083BEDA /* DataSourceImager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DataSourceImager.cpp; sourceTree = "<group>"; };
04957C781AA8CDF10083BEDA /* DataTarget.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DataTarget.cpp; sourceTree = "<group>"; };
04957C791AA8CDF10083BEDA /* ELFSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ELFSourceFile.cpp; sourceTree = "<group>"; };
04957C7A1AA8CDF10083BEDA /* ExcludesListMatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ExcludesListMatcher.cpp; sourceTree = "<group>"; };
04957C7B1AA8CDF10083BEDA /* GHSSecInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GHSSecInfo.cpp; sourceTree = "<group>"; };
04957C7C1AA8CDF10083BEDA /* GlobMatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GlobMatcher.cpp; sourceTree = "<group>"; };
04957C7D1AA8CDF10083BEDA /* SBSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SBSourceFile.cpp; sourceTree = "<group>"; };
04957C7E1AA8CDF10083BEDA /* SearchPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SearchPath.cpp; sourceTree = "<group>"; };
04957C7F1AA8CDF10083BEDA /* SerialPacketizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SerialPacketizer.cpp; sourceTree = "<group>"; };
04957C841AA8CDF10083BEDA /* SourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SourceFile.cpp; sourceTree = "<group>"; };
04957C851AA8CDF10083BEDA /* SRecordSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SRecordSourceFile.cpp; sourceTree = "<group>"; };
04957C861AA8CDF10083BEDA /* StELFFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StELFFile.cpp; sourceTree = "<group>"; };
04957C871AA8CDF10083BEDA /* StExecutableImage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StExecutableImage.cpp; sourceTree = "<group>"; };
04957C881AA8CDF10083BEDA /* StSRecordFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StSRecordFile.cpp; sourceTree = "<group>"; };
04957C891AA8CDF10083BEDA /* UartPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UartPeripheral.cpp; sourceTree = "<group>"; };
04957C8A1AA8CDF10083BEDA /* Updater.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Updater.cpp; sourceTree = "<group>"; };
04957C8B1AA8CDF10083BEDA /* UsbHidPacketizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UsbHidPacketizer.cpp; sourceTree = "<group>"; };
04957C8C1AA8CDF10083BEDA /* UsbHidPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UsbHidPeripheral.cpp; sourceTree = "<group>"; };
04957C8D1AA8CDF10083BEDA /* Value.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Value.cpp; sourceTree = "<group>"; };
04957CB41AA8F5B60083BEDA /* stdafx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stdafx.h; sourceTree = "<group>"; };
04957CB51AA8F6670083BEDA /* BlfwkErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BlfwkErrors.h; sourceTree = "<group>"; };
04957CB61AA8F6670083BEDA /* Blob.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Blob.h; sourceTree = "<group>"; };
04957CB71AA8F6670083BEDA /* Bootloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Bootloader.h; sourceTree = "<group>"; };
04957CB81AA8F6670083BEDA /* BusPal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BusPal.h; sourceTree = "<group>"; };
04957CB91AA8F6670083BEDA /* BusPalPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BusPalPeripheral.h; sourceTree = "<group>"; };
04957CBA1AA8F6670083BEDA /* Command.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Command.h; sourceTree = "<group>"; };
04957CBB1AA8F6670083BEDA /* DataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataSource.h; sourceTree = "<group>"; };
04957CBC1AA8F6670083BEDA /* DataSourceImager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataSourceImager.h; sourceTree = "<group>"; };
04957CBD1AA8F6670083BEDA /* DataTarget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataTarget.h; sourceTree = "<group>"; };
04957CBE1AA8F6670083BEDA /* ELF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ELF.h; sourceTree = "<group>"; };
04957CBF1AA8F6670083BEDA /* ELFSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ELFSourceFile.h; sourceTree = "<group>"; };
04957CC01AA8F6670083BEDA /* EndianUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EndianUtilities.h; sourceTree = "<group>"; };
04957CC11AA8F6670083BEDA /* ExcludesListMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExcludesListMatcher.h; sourceTree = "<group>"; };
04957CC21AA8F6670083BEDA /* GHSSecInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GHSSecInfo.h; sourceTree = "<group>"; };
04957CC31AA8F6670083BEDA /* GlobMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GlobMatcher.h; sourceTree = "<group>"; };
04957CC41AA8F6670083BEDA /* Packetizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Packetizer.h; sourceTree = "<group>"; };
04957CC51AA8F6670083BEDA /* Peripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Peripheral.h; sourceTree = "<group>"; };
04957CC61AA8F6670083BEDA /* SBSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBSourceFile.h; sourceTree = "<group>"; };
04957CC71AA8F6670083BEDA /* SearchPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SearchPath.h; sourceTree = "<group>"; };
04957CC81AA8F6670083BEDA /* SerialPacketizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SerialPacketizer.h; sourceTree = "<group>"; };
04957CC91AA8F6670083BEDA /* SimPacketizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimPacketizer.h; sourceTree = "<group>"; };
04957CCA1AA8F6670083BEDA /* SimPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimPeripheral.h; sourceTree = "<group>"; };
04957CCB1AA8F6670083BEDA /* Simulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Simulator.h; sourceTree = "<group>"; };
04957CCC1AA8F6670083BEDA /* SimulatorMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimulatorMemory.h; sourceTree = "<group>"; };
04957CCD1AA8F6670083BEDA /* SourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SourceFile.h; sourceTree = "<group>"; };
04957CCE1AA8F6670083BEDA /* StELFFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StELFFile.h; sourceTree = "<group>"; };
04957CCF1AA8F6670083BEDA /* StExecutableImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StExecutableImage.h; sourceTree = "<group>"; };
04957CD01AA8F6670083BEDA /* StringMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringMatcher.h; sourceTree = "<group>"; };
04957CD11AA8F6670083BEDA /* StSRecordFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StSRecordFile.h; sourceTree = "<group>"; };
04957CD21AA8F6670083BEDA /* UartPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UartPeripheral.h; sourceTree = "<group>"; };
04957CD31AA8F6670083BEDA /* Updater.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Updater.h; sourceTree = "<group>"; };
04957CD41AA8F6670083BEDA /* UsbHidPacketizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UsbHidPacketizer.h; sourceTree = "<group>"; };
04957CD51AA8F6670083BEDA /* UsbHidPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UsbHidPeripheral.h; sourceTree = "<group>"; };
04957CD61AA8F6670083BEDA /* Value.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Value.h; sourceTree = "<group>"; };
3B8BB83E1BD17B73000EFB8B /* AESCounter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AESCounter.cpp; sourceTree = "<group>"; };
3B8BB83F1BD17B73000EFB8B /* AESKey.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AESKey.cpp; sourceTree = "<group>"; };
3B8BB8401BD17B73000EFB8B /* HexValues.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HexValues.cpp; sourceTree = "<group>"; };
3B8BB8411BD17B73000EFB8B /* IntelHexSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IntelHexSourceFile.cpp; sourceTree = "<group>"; };
3B8BB8421BD17B73000EFB8B /* Random.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Random.cpp; sourceTree = "<group>"; };
3B8BB8431BD17B73000EFB8B /* rijndael.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = rijndael.cpp; sourceTree = "<group>"; };
3B8BB8441BD17B73000EFB8B /* RijndaelCTR.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RijndaelCTR.cpp; sourceTree = "<group>"; };
3B8BB8451BD17B73000EFB8B /* StIntelHexFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StIntelHexFile.cpp; sourceTree = "<group>"; };
3B8BB84E1BD17B9B000EFB8B /* AESCounter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AESCounter.h; sourceTree = "<group>"; };
3B8BB84F1BD17B9B000EFB8B /* AESKey.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AESKey.h; sourceTree = "<group>"; };
3B8BB8501BD17B9B000EFB8B /* bootloader_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bootloader_config.h; sourceTree = "<group>"; };
3B8BB8511BD17B9B000EFB8B /* HexValues.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HexValues.h; sourceTree = "<group>"; };
3B8BB8521BD17B9B000EFB8B /* int_size.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = int_size.h; sourceTree = "<group>"; };
3B8BB8531BD17B9B000EFB8B /* IntelHexSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IntelHexSourceFile.h; sourceTree = "<group>"; };
3B8BB8541BD17B9B000EFB8B /* OptionContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OptionContext.h; sourceTree = "<group>"; };
3B8BB8551BD17B9B000EFB8B /* Random.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Random.h; sourceTree = "<group>"; };
3B8BB8561BD17B9B000EFB8B /* rijndael.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rijndael.h; sourceTree = "<group>"; };
3B8BB8571BD17B9B000EFB8B /* RijndaelCTR.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RijndaelCTR.h; sourceTree = "<group>"; };
3B8BB8581BD17B9B000EFB8B /* smart_ptr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = smart_ptr.h; sourceTree = "<group>"; };
3B8BB8591BD17B9B000EFB8B /* SRecordSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SRecordSourceFile.h; sourceTree = "<group>"; };
3B8BB85A1BD17B9B000EFB8B /* StIntelHexFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StIntelHexFile.h; sourceTree = "<group>"; };
BF49F39817F34E7900A0B079 /* crc16.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = crc16.h; sourceTree = "<group>"; };
BF49F39917F34E8B00A0B079 /* crc16.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = crc16.c; sourceTree = "<group>"; };
BFB431BC00000484007086B9 /* hidapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hidapi.h; sourceTree = "<group>"; };
BFB431BE000005C8007086B9 /* hid-mac.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "hid-mac.c"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
02528C3316FE31DC0026B4C2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
02C2957218996B5300C08DCF /* CoreFoundation.framework in Frameworks */,
02C2957118996B4E00C08DCF /* IOKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
020F8981175E4DB5009F0B96 /* crc */ = {
isa = PBXGroup;
children = (
BF49F39817F34E7900A0B079 /* crc16.h */,
020F8982175E4DB5009F0B96 /* crc32.h */,
020F8983175E4DB5009F0B96 /* src */,
);
path = crc;
sourceTree = "<group>";
};
020F8983175E4DB5009F0B96 /* src */ = {
isa = PBXGroup;
children = (
BF49F39917F34E8B00A0B079 /* crc16.c */,
020F8984175E4DB5009F0B96 /* crc32.c */,
);
path = src;
sourceTree = "<group>";
};
02528C1416FE308F0026B4C2 /* blfwk */ = {
isa = PBXGroup;
children = (
3B8BB84E1BD17B9B000EFB8B /* AESCounter.h */,
3B8BB84F1BD17B9B000EFB8B /* AESKey.h */,
3B8BB8501BD17B9B000EFB8B /* bootloader_config.h */,
3B8BB8511BD17B9B000EFB8B /* HexValues.h */,
3B8BB8521BD17B9B000EFB8B /* int_size.h */,
3B8BB8531BD17B9B000EFB8B /* IntelHexSourceFile.h */,
3B8BB8541BD17B9B000EFB8B /* OptionContext.h */,
3B8BB8551BD17B9B000EFB8B /* Random.h */,
3B8BB8561BD17B9B000EFB8B /* rijndael.h */,
3B8BB8571BD17B9B000EFB8B /* RijndaelCTR.h */,
3B8BB8581BD17B9B000EFB8B /* smart_ptr.h */,
3B8BB8591BD17B9B000EFB8B /* SRecordSourceFile.h */,
3B8BB85A1BD17B9B000EFB8B /* StIntelHexFile.h */,
02528C1716FE308F0026B4C2 /* src */,
04957CB51AA8F6670083BEDA /* BlfwkErrors.h */,
04957CB61AA8F6670083BEDA /* Blob.h */,
04957CB71AA8F6670083BEDA /* Bootloader.h */,
04957CB81AA8F6670083BEDA /* BusPal.h */,
04957CB91AA8F6670083BEDA /* BusPalPeripheral.h */,
04957CBA1AA8F6670083BEDA /* Command.h */,
04957CBB1AA8F6670083BEDA /* DataSource.h */,
04957CBC1AA8F6670083BEDA /* DataSourceImager.h */,
04957CBD1AA8F6670083BEDA /* DataTarget.h */,
04957CBE1AA8F6670083BEDA /* ELF.h */,
04957CBF1AA8F6670083BEDA /* ELFSourceFile.h */,
04957CC01AA8F6670083BEDA /* EndianUtilities.h */,
04957CC11AA8F6670083BEDA /* ExcludesListMatcher.h */,
04957CC21AA8F6670083BEDA /* GHSSecInfo.h */,
04957CC31AA8F6670083BEDA /* GlobMatcher.h */,
04957CC41AA8F6670083BEDA /* Packetizer.h */,
04957CC51AA8F6670083BEDA /* Peripheral.h */,
04957CC61AA8F6670083BEDA /* SBSourceFile.h */,
04957CC71AA8F6670083BEDA /* SearchPath.h */,
04957CC81AA8F6670083BEDA /* SerialPacketizer.h */,
04957CC91AA8F6670083BEDA /* SimPacketizer.h */,
04957CCA1AA8F6670083BEDA /* SimPeripheral.h */,
04957CCB1AA8F6670083BEDA /* Simulator.h */,
04957CCC1AA8F6670083BEDA /* SimulatorMemory.h */,
04957CCD1AA8F6670083BEDA /* SourceFile.h */,
04957CCE1AA8F6670083BEDA /* StELFFile.h */,
04957CCF1AA8F6670083BEDA /* StExecutableImage.h */,
04957CD01AA8F6670083BEDA /* StringMatcher.h */,
04957CD11AA8F6670083BEDA /* StSRecordFile.h */,
04957CD21AA8F6670083BEDA /* UartPeripheral.h */,
04957CD31AA8F6670083BEDA /* Updater.h */,
04957CD41AA8F6670083BEDA /* UsbHidPacketizer.h */,
04957CD51AA8F6670083BEDA /* UsbHidPeripheral.h */,
04957CD61AA8F6670083BEDA /* Value.h */,
04957CB41AA8F5B60083BEDA /* stdafx.h */,
02558D3A17D7B04200D3721D /* format_string.h */,
BFB431BC00000484007086B9 /* hidapi.h */,
0208C5EB1713633900E031AD /* host_types.h */,
02558D2E17C3AC1900D3721D /* json.h */,
02936E56172CD28200D07977 /* Logging.h */,
02528C1616FE308F0026B4C2 /* options.h */,
02936F5A174FA84E00D07977 /* serial.h */,
02558D3317CF9C1800D3721D /* utils.h */,
);
path = blfwk;
sourceTree = "<group>";
};
02528C1716FE308F0026B4C2 /* src */ = {
isa = PBXGroup;
children = (
3B8BB83E1BD17B73000EFB8B /* AESCounter.cpp */,
3B8BB83F1BD17B73000EFB8B /* AESKey.cpp */,
3B8BB8401BD17B73000EFB8B /* HexValues.cpp */,
3B8BB8411BD17B73000EFB8B /* IntelHexSourceFile.cpp */,
3B8BB8421BD17B73000EFB8B /* Random.cpp */,
3B8BB8431BD17B73000EFB8B /* rijndael.cpp */,
3B8BB8441BD17B73000EFB8B /* RijndaelCTR.cpp */,
3B8BB8451BD17B73000EFB8B /* StIntelHexFile.cpp */,
04957C711AA8CDF10083BEDA /* Blob.cpp */,
04957C721AA8CDF10083BEDA /* Bootloader.cpp */,
04957C731AA8CDF10083BEDA /* BusPal.cpp */,
04957C741AA8CDF10083BEDA /* BusPalPeripheral.cpp */,
04957C751AA8CDF10083BEDA /* Command.cpp */,
04957C761AA8CDF10083BEDA /* DataSource.cpp */,
04957C771AA8CDF10083BEDA /* DataSourceImager.cpp */,
04957C781AA8CDF10083BEDA /* DataTarget.cpp */,
04957C791AA8CDF10083BEDA /* ELFSourceFile.cpp */,
04957C7A1AA8CDF10083BEDA /* ExcludesListMatcher.cpp */,
04957C7B1AA8CDF10083BEDA /* GHSSecInfo.cpp */,
04957C7C1AA8CDF10083BEDA /* GlobMatcher.cpp */,
04957C7D1AA8CDF10083BEDA /* SBSourceFile.cpp */,
04957C7E1AA8CDF10083BEDA /* SearchPath.cpp */,
04957C7F1AA8CDF10083BEDA /* SerialPacketizer.cpp */,
04957C841AA8CDF10083BEDA /* SourceFile.cpp */,
04957C851AA8CDF10083BEDA /* SRecordSourceFile.cpp */,
04957C861AA8CDF10083BEDA /* StELFFile.cpp */,
04957C871AA8CDF10083BEDA /* StExecutableImage.cpp */,
04957C881AA8CDF10083BEDA /* StSRecordFile.cpp */,
04957C891AA8CDF10083BEDA /* UartPeripheral.cpp */,
04957C8A1AA8CDF10083BEDA /* Updater.cpp */,
04957C8B1AA8CDF10083BEDA /* UsbHidPacketizer.cpp */,
04957C8C1AA8CDF10083BEDA /* UsbHidPeripheral.cpp */,
04957C8D1AA8CDF10083BEDA /* Value.cpp */,
02558D3B17D7B05100D3721D /* format_string.cpp */,
BFB431BE000005C8007086B9 /* hid-mac.c */,
02558D3017C3AC2600D3721D /* jsoncpp.cpp */,
02936E52172CD27A00D07977 /* Logging.cpp */,
02528C1916FE308F0026B4C2 /* options.cpp */,
0289203D170A1279007D3438 /* serial.c */,
02558D3417CF9C1E00D3721D /* utils.cpp */,
);
path = src;
sourceTree = "<group>";
};
02528C2516FE31980026B4C2 /* blhost */ = {
isa = PBXGroup;
children = (
02528C2716FE31980026B4C2 /* src */,
);
path = blhost;
sourceTree = "<group>";
};
02528C2716FE31980026B4C2 /* src */ = {
isa = PBXGroup;
children = (
02528C2816FE31980026B4C2 /* blhost.cpp */,
02528C3116FE31980026B4C2 /* targetver.h */,
);
path = src;
sourceTree = "<group>";
};
02B3B3AB16DE7116009769BD = {
isa = PBXGroup;
children = (
02C2956C18996B1E00C08DCF /* Frameworks */,
02528C2516FE31980026B4C2 /* blhost */,
02C6C97816FE4AC40023EB1B /* src */,
02B3B3B516DE7116009769BD /* Products */,
);
sourceTree = "<group>";
};
02B3B3B516DE7116009769BD /* Products */ = {
isa = PBXGroup;
children = (
02528C3616FE31DC0026B4C2 /* blhost */,
);
name = Products;
sourceTree = "<group>";
};
02C2956C18996B1E00C08DCF /* Frameworks */ = {
isa = PBXGroup;
children = (
02C2956F18996B3D00C08DCF /* CoreFoundation.framework */,
02C2956D18996B3500C08DCF /* IOKit.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
02C6C97816FE4AC40023EB1B /* src */ = {
isa = PBXGroup;
children = (
02528C1416FE308F0026B4C2 /* blfwk */,
020F8981175E4DB5009F0B96 /* crc */,
02C6C97C16FE4AF80023EB1B /* include */,
);
name = src;
path = ../src;
sourceTree = SOURCE_ROOT;
};
02C6C97C16FE4AF80023EB1B /* include */ = {
isa = PBXGroup;
children = (
029F2B04179DC5A800277DA7 /* fsl_platform_status.h */,
029F2B05179DC5A800277DA7 /* fsl_platform_types.h */,
02892055170A1957007D3438 /* bootloader_common.h */,
);
path = include;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
02528C3516FE31DC0026B4C2 /* blhost */ = {
isa = PBXNativeTarget;
buildConfigurationList = 02528C3C16FE31DC0026B4C2 /* Build configuration list for PBXNativeTarget "blhost" */;
buildPhases = (
02528C3216FE31DC0026B4C2 /* Sources */,
02528C3316FE31DC0026B4C2 /* Frameworks */,
02528C3416FE31DC0026B4C2 /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = blhost;
productName = blhost;
productReference = 02528C3616FE31DC0026B4C2 /* blhost */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
02B3B3AC16DE7116009769BD /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0500;
ORGANIZATIONNAME = "Chris Reed";
};
buildConfigurationList = 02B3B3AF16DE7116009769BD /* Build configuration list for PBXProject "blhost" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 02B3B3AB16DE7116009769BD;
productRefGroup = 02B3B3B516DE7116009769BD /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
02528C3516FE31DC0026B4C2 /* blhost */,
02936E57172CD33100D07977 /* All blhost tools */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
02528C3216FE31DC0026B4C2 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
02528C3F16FE32760026B4C2 /* blhost.cpp in Sources */,
04957CA71AA8CDF10083BEDA /* Updater.cpp in Sources */,
04957CA21AA8CDF10083BEDA /* SRecordSourceFile.cpp in Sources */,
02528C4316FE32880026B4C2 /* options.cpp in Sources */,
04957CA91AA8CDF10083BEDA /* UsbHidPeripheral.cpp in Sources */,
04957C9B1AA8CDF10083BEDA /* SearchPath.cpp in Sources */,
04957CA81AA8CDF10083BEDA /* UsbHidPacketizer.cpp in Sources */,
04957C911AA8CDF10083BEDA /* BusPalPeripheral.cpp in Sources */,
04957C901AA8CDF10083BEDA /* BusPal.cpp in Sources */,
04957C921AA8CDF10083BEDA /* Command.cpp in Sources */,
04957C981AA8CDF10083BEDA /* GHSSecInfo.cpp in Sources */,
3B8BB84D1BD17B73000EFB8B /* StIntelHexFile.cpp in Sources */,
3B8BB84C1BD17B73000EFB8B /* RijndaelCTR.cpp in Sources */,
3B8BB8481BD17B73000EFB8B /* HexValues.cpp in Sources */,
04957CA31AA8CDF10083BEDA /* StELFFile.cpp in Sources */,
04957CAA1AA8CDF10083BEDA /* Value.cpp in Sources */,
0289203F170A1279007D3438 /* serial.c in Sources */,
02936E54172CD27A00D07977 /* Logging.cpp in Sources */,
04957C9C1AA8CDF10083BEDA /* SerialPacketizer.cpp in Sources */,
04957C8E1AA8CDF10083BEDA /* Blob.cpp in Sources */,
3B8BB8471BD17B73000EFB8B /* AESKey.cpp in Sources */,
3B8BB8461BD17B73000EFB8B /* AESCounter.cpp in Sources */,
04957C941AA8CDF10083BEDA /* DataSourceImager.cpp in Sources */,
04957C9A1AA8CDF10083BEDA /* SBSourceFile.cpp in Sources */,
020F8999175E4DB5009F0B96 /* crc32.c in Sources */,
BFB431BF000005C8007086B9 /* hid-mac.c in Sources */,
02558D3117C3AC2600D3721D /* jsoncpp.cpp in Sources */,
04957C931AA8CDF10083BEDA /* DataSource.cpp in Sources */,
04957C951AA8CDF10083BEDA /* DataTarget.cpp in Sources */,
04957CA11AA8CDF10083BEDA /* SourceFile.cpp in Sources */,
04957CA51AA8CDF10083BEDA /* StSRecordFile.cpp in Sources */,
04957C971AA8CDF10083BEDA /* ExcludesListMatcher.cpp in Sources */,
3B8BB84B1BD17B73000EFB8B /* rijndael.cpp in Sources */,
04957C961AA8CDF10083BEDA /* ELFSourceFile.cpp in Sources */,
02558D3517CF9C1E00D3721D /* utils.cpp in Sources */,
04957CA61AA8CDF10083BEDA /* UartPeripheral.cpp in Sources */,
3B8BB84A1BD17B73000EFB8B /* Random.cpp in Sources */,
3B8BB8491BD17B73000EFB8B /* IntelHexSourceFile.cpp in Sources */,
02558D3C17D7B05100D3721D /* format_string.cpp in Sources */,
04957C8F1AA8CDF10083BEDA /* Bootloader.cpp in Sources */,
04957C991AA8CDF10083BEDA /* GlobMatcher.cpp in Sources */,
BF49F39A17F34E8B00A0B079 /* crc16.c in Sources */,
04957CA41AA8CDF10083BEDA /* StExecutableImage.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
02936E5E172CD35E00D07977 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 02528C3516FE31DC0026B4C2 /* blhost */;
targetProxy = 02936E5D172CD35E00D07977 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
02528C3D16FE31DC0026B4C2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
HEADER_SEARCH_PATHS = (
../src,
../src/include,
.,
../src/drivers/common,
../src/bm_usb,
);
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
02528C3E16FE31DC0026B4C2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
HEADER_SEARCH_PATHS = (
../src,
../src/include,
.,
../src/drivers/common,
../src/bm_usb,
);
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
02936E59172CD33100D07977 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "All blhost tools";
};
name = Debug;
};
02936E5A172CD33100D07977 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "All blhost tools";
};
name = Release;
};
02B3B3BB16DE7116009769BD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
MACOSX,
BOOTLOADER_HOST,
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
../src,
../src/include,
.,
);
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
02B3B3BC16DE7116009769BD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
NDEBUG,
BOOTLOADER_HOST,
MACOSX,
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
../src,
../src/include,
.,
);
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
02528C3C16FE31DC0026B4C2 /* Build configuration list for PBXNativeTarget "blhost" */ = {
isa = XCConfigurationList;
buildConfigurations = (
02528C3D16FE31DC0026B4C2 /* Debug */,
02528C3E16FE31DC0026B4C2 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
02936E58172CD33100D07977 /* Build configuration list for PBXAggregateTarget "All blhost tools" */ = {
isa = XCConfigurationList;
buildConfigurations = (
02936E59172CD33100D07977 /* Debug */,
02936E5A172CD33100D07977 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
02B3B3AF16DE7116009769BD /* Build configuration list for PBXProject "blhost" */ = {
isa = XCConfigurationList;
buildConfigurations = (
02B3B3BB16DE7116009769BD /* Debug */,
02B3B3BC16DE7116009769BD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 02B3B3AC16DE7116009769BD /* Project object */;
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:blhost.xcodeproj">
</FileRef>
</Workspace>

View File

@ -0,0 +1,260 @@
#-----------------------------------------------
# Make command:
# make build=<build> cpu=<cpu> all
# <build>: debug or release, release by default.
# <cpu>: cpu architecure, cortex-a9 by default.
#-----------------------------------------------
#-----------------------------------------------
# setup variables
# ----------------------------------------------
BOOT_ROOT := $(abspath ../../..)
OUTPUT_ROOT := $(abspath ./)
APP_NAME = blhost
#-----------------------------------------------
# Toolchain
# ----------------------------------------------
# GNU Cross Compiler (No linux lib is available)
#PREFIX := arm-none-eabi-
# Linaro Linux-Tageted GNU C Cross Compiler (libudev is not available)
PREFIX := arm-linux-gnueabi-
# Freescale i.MX GNU C Cross Compiler
#PREFIX := arm-poky-linux-gnueabi-
#SYSROOT := /opt/fsl-imx-xwayland/5.4-zeus/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi
ifneq ($(filter X86%, $(shell uname -m | tr a-z A-Z)),)
# Cross Compiling
CC := $(PREFIX)gcc
CPP := $(PREFIX)cpp
CXX := $(PREFIX)g++
AS := $(PREFIX)as
# DO NOT use ld.
LD := $(PREFIX)g++
else
# DO NOT use ld.
LD := g++
endif
#-----------------------------------------------
# Architecture
# cortex-a9 by default
#-----------------------------------------------
CPU ?= cortex-a9
#-----------------------------------------------
# Debug or Release
# Release by default
#-----------------------------------------------
build ?= release
include $(BOOT_ROOT)/mk/common.mk
#-----------------------------------------------
# Include path. Add the include paths like this:
# INCLUDES += ./include/
#-----------------------------------------------
INCLUDES += $(BOOT_ROOT)/tools/blhost/src \
$(BOOT_ROOT)/src \
$(BOOT_ROOT)/src/include \
$(BOOT_ROOT)/src/blfwk \
$(BOOT_ROOT)/src/sbloader \
$(BOOT_ROOT)/src/bootloader \
$(BOOT_ROOT)/src/crc \
$(BOOT_ROOT)/src/packet \
$(BOOT_ROOT)/src/property \
$(BOOT_ROOT)/src/drivers/common \
$(BOOT_ROOT)/src/bm_usb
CXXFLAGS := -D LINUX -D BOOTLOADER_HOST -D __ARM__ -std=c++11
CFLAGS := -D LINUX -D BOOTLOADER_HOST -D __ARM__ -D _GNU_SOURCE -std=c99
LIBS :=
SOURCES := $(BOOT_ROOT)/tools/blhost/src/blhost.cpp \
$(BOOT_ROOT)/src/blfwk/src/Blob.cpp \
$(BOOT_ROOT)/src/blfwk/src/Bootloader.cpp \
$(BOOT_ROOT)/src/blfwk/src/BusPal.cpp \
$(BOOT_ROOT)/src/blfwk/src/BusPalPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/Command.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataSource.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataSourceImager.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataTarget.cpp \
$(BOOT_ROOT)/src/blfwk/src/ELFSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/ExcludesListMatcher.cpp \
$(BOOT_ROOT)/src/blfwk/src/format_string.cpp \
$(BOOT_ROOT)/src/blfwk/src/GHSSecInfo.cpp \
$(BOOT_ROOT)/src/blfwk/src/GlobMatcher.cpp \
$(BOOT_ROOT)/src/blfwk/src/hid-linux.c \
$(BOOT_ROOT)/src/blfwk/src/jsoncpp.cpp \
$(BOOT_ROOT)/src/blfwk/src/Logging.cpp \
$(BOOT_ROOT)/src/blfwk/src/options.cpp \
$(BOOT_ROOT)/src/blfwk/src/SBSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/SearchPath.cpp \
$(BOOT_ROOT)/src/blfwk/src/serial.c \
$(BOOT_ROOT)/src/blfwk/src/SerialPacketizer.cpp \
$(BOOT_ROOT)/src/blfwk/src/SourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/SRecordSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/IntelHexSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StELFFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StExecutableImage.cpp \
$(BOOT_ROOT)/src/blfwk/src/StSRecordFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StIntelHexFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/Updater.cpp \
$(BOOT_ROOT)/src/blfwk/src/UartPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/UsbHidPacketizer.cpp \
$(BOOT_ROOT)/src/blfwk/src/UsbHidPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/i2c.c \
$(BOOT_ROOT)/src/blfwk/src/I2cPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/spi.c \
$(BOOT_ROOT)/src/blfwk/src/SpiPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/utils.cpp \
$(BOOT_ROOT)/src/blfwk/src/Value.cpp \
$(BOOT_ROOT)/src/crc/src/crc16.c \
$(BOOT_ROOT)/src/crc/src/crc32.c
# LPC USB Serial I/O is not supported by ARM Linux blhost.
#SOURCES += $(BOOT_ROOT)/src/blfwk/src/LpcUsbSio.cpp \
$(BOOT_ROOT)/src/blfwk/src/LpcUsbSioPeripheral.cpp
#CFLAGS += -D LPCUSBSIO
#CXXFLAGS += -D LPCUSBSIO
#LIBS += $(BOOT_ROOT)/src/middleware/lpcusbsio/bin/arm_linux/lpcusbsio.a
INCLUDES := $(foreach includes, $(INCLUDES), -I $(includes))
ifeq "$(build)" "debug"
DEBUG_OR_RELEASE := Debug
CFLAGS += -g
CXXFLAGS += -g
LDFLAGS += -g
else
DEBUG_OR_RELEASE := Release
endif
ifneq ($(filter X86%, $(shell uname -m | tr a-z A-Z)),)
# GNU Cross Compiler
# Linaro Linux-Tageted GNU C Cross Compiler
CFLGAS += -mcpu=$(CPU)
CXXFLGAS += -mcpu=$(CPU)
LDFLGAS += -mcpu=$(CPU)
# Freescale i.MX GNU C Cross Compiler
# CFLGAS += -mfloat-abi=hard -mcpu=$(CPU) --sysroot=$(SYSROOT)
# CXXFLGAS += -mfloat-abi=hard -mcpu=$(CPU) --sysroot=$(SYSROOT)
# LDFLGAS += -mfloat-abi=hard -mcpu=$(CPU) --sysroot=$(SYSROOT)
endif
TARGET_OUTPUT_ROOT := $(OUTPUT_ROOT)/$(DEBUG_OR_RELEASE)
MAKE_TARGET := $(TARGET_OUTPUT_ROOT)/$(APP_NAME)
OBJS_ROOT = $(TARGET_OUTPUT_ROOT)/obj
# Strip sources.
SOURCES := $(strip $(SOURCES))
# Convert sources list to absolute paths and root-relative paths.
SOURCES_ABS := $(foreach s,$(SOURCES),$(abspath $(s)))
SOURCES_REL := $(subst $(BOOT_ROOT)/,,$(SOURCES_ABS))
# Get a list of unique directories containing the source files.
SOURCE_DIRS_ABS := $(sort $(foreach f,$(SOURCES_ABS),$(dir $(f))))
SOURCE_DIRS_REL := $(subst $(BOOT_ROOT)/,,$(SOURCE_DIRS_ABS))
OBJECTS_DIRS := $(addprefix $(OBJS_ROOT)/,$(SOURCE_DIRS_REL))
# Filter source files list into separate source types.
C_SOURCES = $(filter %.c,$(SOURCES_REL))
CXX_SOURCES = $(filter %.cpp,$(SOURCES_REL))
ASM_s_SOURCES = $(filter %.s,$(SOURCES_REL))
ASM_S_SOURCES = $(filter %.S,$(SOURCES_REL))
# Convert sources to objects.
OBJECTS_C := $(addprefix $(OBJS_ROOT)/,$(C_SOURCES:.c=.o))
OBJECTS_CXX := $(addprefix $(OBJS_ROOT)/,$(CXX_SOURCES:.cpp=.o))
OBJECTS_ASM := $(addprefix $(OBJS_ROOT)/,$(ASM_s_SOURCES:.s=.o))
OBJECTS_ASM_S := $(addprefix $(OBJS_ROOT)/,$(ASM_S_SOURCES:.S=.o))
# Complete list of all object files.
OBJECTS_ALL := $(sort $(OBJECTS_C) $(OBJECTS_CXX) $(OBJECTS_ASM) $(OBJECTS_ASM_S))
#-------------------------------------------------------------------------------
# Default target
#-------------------------------------------------------------------------------
# Note that prerequisite order is important here. The subdirectories must be built first, or you
# may end up with files in the current directory not getting added to libraries. This would happen
# if subdirs modified the library file after local files were compiled but before they were added
# to the library.
.PHONY: all
all: $(MAKE_TARGET)
## Recipe to create the output object file directories.
$(OBJECTS_DIRS) :
$(at)mkdir -p $@
# Object files depend on the directories where they will be created.
#
# The dirs are made order-only prerequisites (by being listed after the '|') so they won't cause
# the objects to be rebuilt, as the modification date on a directory changes whenver its contents
# change. This would cause the objects to always be rebuilt if the dirs were normal prerequisites.
$(OBJECTS_ALL): | $(OBJECTS_DIRS)
#-------------------------------------------------------------------------------
# Pattern rules for compilation
#-------------------------------------------------------------------------------
# We cd into the source directory before calling the appropriate compiler. This must be done
# on a single command line since make calls individual recipe lines in separate shells, so
# '&&' is used to chain the commands.
#
# Generate make dependencies while compiling using the -MMD option, which excludes system headers.
# If system headers are included, there are path problems on cygwin. The -MP option creates empty
# targets for each header file so that a rebuild will be forced if the file goes missing, but
# no error will occur.
# Compile C sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.c
@$(call printmessage,c,Compiling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CC) $(CFLAGS) $(SYSTEM_INC) $(INCLUDES) $(DEFINES) -MMD -MF $(basename $@).d -MP -o $@ -c $<
# Compile C++ sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.cpp
@$(call printmessage,cxx,Compiling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CXX) $(CXXFLAGS) $(SYSTEM_INC) $(INCLUDES) $(DEFINES) -MMD -MF $(basename $@).d -MP -o $@ -c $<
# For .S assembly files, first run through the C preprocessor then assemble.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.S
@$(call printmessage,asm,Assembling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CPP) -D__LANGUAGE_ASM__ $(INCLUDES) $(DEFINES) -o $(basename $@).s $< \
&& $(AS) $(ASFLAGS) $(INCLUDES) -MD $(OBJS_ROOT)/$*.d -o $@ $(basename $@).s
# Assembler sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.s
@$(call printmessage,asm,Assembling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(AS) $(ASFLAGS) $(INCLUDES) -MD $(basename $@).d -o $@ $<
#------------------------------------------------------------------------
# Build the tagrget
#------------------------------------------------------------------------
# Wrap the link objects in start/end group so that ld re-checks each
# file for dependencies. Otherwise linking static libs can be a pain
# since order matters.
$(MAKE_TARGET): $(OBJECTS_ALL)
@$(call printmessage,link,Linking, $(APP_NAME))
$(at)$(LD) $(LDFLAGS) \
$(OBJECTS_ALL) $(LIBS) \
-lc -lstdc++ -lm -ludev \
-o $@
@echo "Output binary:" ; echo " $(APP_NAME)"
#-------------------------------------------------------------------------------
# Clean
#-------------------------------------------------------------------------------
.PHONY: clean cleanall
cleanall: clean
clean:
$(at)rm -rf $(OBJECTS_ALL) $(OBJECTS_DIRS) $(MAKE_TARGET) $(APP_NAME)
# Include dependency files.
-include $(OBJECTS_ALL:.o=.d)

31
tools/blhost/blhost.sln Normal file
View File

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blhost", "src\blhost.vcxproj", "{A498A89A-E965-4B36-B926-850AABF31939}"
ProjectSection(ProjectDependencies) = postProject
{DE64A8C3-695A-491F-B3E3-24D6A3057A40} = {DE64A8C3-695A-491F-B3E3-24D6A3057A40}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blfwk", "..\common\blfwk\blfwk.vcxproj", "{DE64A8C3-695A-491F-B3E3-24D6A3057A40}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A498A89A-E965-4B36-B926-850AABF31939}.Debug|Win32.ActiveCfg = Debug|Win32
{A498A89A-E965-4B36-B926-850AABF31939}.Debug|Win32.Build.0 = Debug|Win32
{A498A89A-E965-4B36-B926-850AABF31939}.Release|Win32.ActiveCfg = Release|Win32
{A498A89A-E965-4B36-B926-850AABF31939}.Release|Win32.Build.0 = Release|Win32
{DE64A8C3-695A-491F-B3E3-24D6A3057A40}.Debug|Win32.ActiveCfg = Debug|Win32
{DE64A8C3-695A-491F-B3E3-24D6A3057A40}.Debug|Win32.Build.0 = Debug|Win32
{DE64A8C3-695A-491F-B3E3-24D6A3057A40}.Release|Win32.ActiveCfg = Release|Win32
{DE64A8C3-695A-491F-B3E3-24D6A3057A40}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

233
tools/blhost/gcc/Makefile Normal file
View File

@ -0,0 +1,233 @@
#-----------------------------------------------
# Make command:
# make build=<build> machine=<machine> all
# <build>: debug or release, release by default.
# <machine>: X86_64 or I386, default based on
# the building enviroment(uname -m).
#-----------------------------------------------
#-----------------------------------------------
# setup variables
# ----------------------------------------------
BOOT_ROOT := $(abspath ../../..)
OUTPUT_ROOT := $(abspath ./)
APP_NAME = blhost
#-----------------------------------------------
# Target machine
#-----------------------------------------------
machine ?= $(shell uname -m | tr a-z A-Z)
#-----------------------------------------------
# Debug or Release
# Release by default
#-----------------------------------------------
build ?= release
include $(BOOT_ROOT)/mk/common.mk
#-----------------------------------------------
# Include path. Add the include paths like this:
# INCLUDES += ./include/
#-----------------------------------------------
INCLUDES += $(BOOT_ROOT)/tools/blhost/src \
$(BOOT_ROOT)/src \
$(BOOT_ROOT)/src/include \
$(BOOT_ROOT)/src/blfwk \
$(BOOT_ROOT)/src/sbloader \
$(BOOT_ROOT)/src/bootloader \
$(BOOT_ROOT)/src/crc \
$(BOOT_ROOT)/src/packet \
$(BOOT_ROOT)/src/property \
$(BOOT_ROOT)/src/drivers/common \
$(BOOT_ROOT)/src/bm_usb
CXXFLAGS := -D LINUX -D BOOTLOADER_HOST -D LPCUSBSIO -std=c++11
CFLAGS := -std=c99 -D LINUX -D BOOTLOADER_HOST -D LPCUSBSIO -D _GNU_SOURCE
LD := g++
LIBS :=
SOURCES := $(BOOT_ROOT)/tools/blhost/src/blhost.cpp \
$(BOOT_ROOT)/src/blfwk/src/Blob.cpp \
$(BOOT_ROOT)/src/blfwk/src/Bootloader.cpp \
$(BOOT_ROOT)/src/blfwk/src/BusPal.cpp \
$(BOOT_ROOT)/src/blfwk/src/BusPalPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/Command.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataSource.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataSourceImager.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataTarget.cpp \
$(BOOT_ROOT)/src/blfwk/src/ELFSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/ExcludesListMatcher.cpp \
$(BOOT_ROOT)/src/blfwk/src/format_string.cpp \
$(BOOT_ROOT)/src/blfwk/src/GHSSecInfo.cpp \
$(BOOT_ROOT)/src/blfwk/src/GlobMatcher.cpp \
$(BOOT_ROOT)/src/blfwk/src/jsoncpp.cpp \
$(BOOT_ROOT)/src/blfwk/src/Logging.cpp \
$(BOOT_ROOT)/src/blfwk/src/LpcUsbSio.cpp \
$(BOOT_ROOT)/src/blfwk/src/LpcUsbSioPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/options.cpp \
$(BOOT_ROOT)/src/blfwk/src/SBSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/SearchPath.cpp \
$(BOOT_ROOT)/src/blfwk/src/serial.c \
$(BOOT_ROOT)/src/blfwk/src/SerialPacketizer.cpp \
$(BOOT_ROOT)/src/blfwk/src/SourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/SRecordSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/IntelHexSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StELFFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StExecutableImage.cpp \
$(BOOT_ROOT)/src/blfwk/src/StSRecordFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StIntelHexFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/Updater.cpp \
$(BOOT_ROOT)/src/blfwk/src/UartPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/UsbHidPacketizer.cpp \
$(BOOT_ROOT)/src/blfwk/src/UsbHidPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/utils.cpp \
$(BOOT_ROOT)/src/blfwk/src/Value.cpp \
$(BOOT_ROOT)/src/crc/src/crc16.c \
$(BOOT_ROOT)/src/crc/src/crc32.c
ifeq "$(machine)" "X86_64"
LIBS += $(BOOT_ROOT)/src/middleware/libusbsio/bin/linux/amd64/libusbsio.a
else
LIBS += $(BOOT_ROOT)/src/middleware/libusbsio/bin/linux/i386/libusbsio.a
endif
INCLUDES := $(foreach includes, $(INCLUDES), -I $(includes))
BUILD_MACHINE := $(shell uname -m | tr a-z A-Z)
ifneq "$(machine)" "$(BUILD_MACHINE)"
ifeq "$(BUILD_MACHINE)" "X86_64"
CFLAGS += -m32
CXXFLAGS += -m32
LDFLAGS += -m32
else
CFLAGS += -m64
CXXFLAGS += -m64
LDFLAGS += -m64
endif
endif
ifeq "$(build)" "debug"
DEBUG_OR_RELEASE := Debug
CFLAGS += -g
CXXFLAGS += -g
LDFLAGS += -g
else
DEBUG_OR_RELEASE := Release
endif
TARGET_OUTPUT_ROOT := $(OUTPUT_ROOT)/$(DEBUG_OR_RELEASE)
MAKE_TARGET := $(TARGET_OUTPUT_ROOT)/$(APP_NAME)
OBJS_ROOT = $(TARGET_OUTPUT_ROOT)/obj
# Strip sources.
SOURCES := $(strip $(SOURCES))
# Convert sources list to absolute paths and root-relative paths.
SOURCES_ABS := $(foreach s,$(SOURCES),$(abspath $(s)))
SOURCES_REL := $(subst $(BOOT_ROOT)/,,$(SOURCES_ABS))
# Get a list of unique directories containing the source files.
SOURCE_DIRS_ABS := $(sort $(foreach f,$(SOURCES_ABS),$(dir $(f))))
SOURCE_DIRS_REL := $(subst $(BOOT_ROOT)/,,$(SOURCE_DIRS_ABS))
OBJECTS_DIRS := $(addprefix $(OBJS_ROOT)/,$(SOURCE_DIRS_REL))
# Filter source files list into separate source types.
C_SOURCES = $(filter %.c,$(SOURCES_REL))
CXX_SOURCES = $(filter %.cpp,$(SOURCES_REL))
ASM_s_SOURCES = $(filter %.s,$(SOURCES_REL))
ASM_S_SOURCES = $(filter %.S,$(SOURCES_REL))
# Convert sources to objects.
OBJECTS_C := $(addprefix $(OBJS_ROOT)/,$(C_SOURCES:.c=.o))
OBJECTS_CXX := $(addprefix $(OBJS_ROOT)/,$(CXX_SOURCES:.cpp=.o))
OBJECTS_ASM := $(addprefix $(OBJS_ROOT)/,$(ASM_s_SOURCES:.s=.o))
OBJECTS_ASM_S := $(addprefix $(OBJS_ROOT)/,$(ASM_S_SOURCES:.S=.o))
# Complete list of all object files.
OBJECTS_ALL := $(sort $(OBJECTS_C) $(OBJECTS_CXX) $(OBJECTS_ASM) $(OBJECTS_ASM_S))
#-------------------------------------------------------------------------------
# Default target
#-------------------------------------------------------------------------------
# Note that prerequisite order is important here. The subdirectories must be built first, or you
# may end up with files in the current directory not getting added to libraries. This would happen
# if subdirs modified the library file after local files were compiled but before they were added
# to the library.
.PHONY: all
all: $(MAKE_TARGET)
## Recipe to create the output object file directories.
$(OBJECTS_DIRS) :
$(at)mkdir -p $@
# Object files depend on the directories where they will be created.
#
# The dirs are made order-only prerequisites (by being listed after the '|') so they won't cause
# the objects to be rebuilt, as the modification date on a directory changes whenver its contents
# change. This would cause the objects to always be rebuilt if the dirs were normal prerequisites.
$(OBJECTS_ALL): | $(OBJECTS_DIRS)
#-------------------------------------------------------------------------------
# Pattern rules for compilation
#-------------------------------------------------------------------------------
# We cd into the source directory before calling the appropriate compiler. This must be done
# on a single command line since make calls individual recipe lines in separate shells, so
# '&&' is used to chain the commands.
#
# Generate make dependencies while compiling using the -MMD option, which excludes system headers.
# If system headers are included, there are path problems on cygwin. The -MP option creates empty
# targets for each header file so that a rebuild will be forced if the file goes missing, but
# no error will occur.
# Compile C sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.c
@$(call printmessage,c,Compiling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CC) $(CFLAGS) $(SYSTEM_INC) $(INCLUDES) $(DEFINES) -MMD -MF $(basename $@).d -MP -o $@ -c $<
# Compile C++ sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.cpp
@$(call printmessage,cxx,Compiling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CXX) $(CXXFLAGS) $(SYSTEM_INC) $(INCLUDES) $(DEFINES) -MMD -MF $(basename $@).d -MP -o $@ -c $<
# For .S assembly files, first run through the C preprocessor then assemble.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.S
@$(call printmessage,asm,Assembling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CPP) -D__LANGUAGE_ASM__ $(INCLUDES) $(DEFINES) -o $(basename $@).s $< \
&& $(AS) $(ASFLAGS) $(INCLUDES) -MD $(OBJS_ROOT)/$*.d -o $@ $(basename $@).s
# Assembler sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.s
@$(call printmessage,asm,Assembling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(AS) $(ASFLAGS) $(INCLUDES) -MD $(basename $@).d -o $@ $<
#------------------------------------------------------------------------
# Build the tagrget
#------------------------------------------------------------------------
# Wrap the link objects in start/end group so that ld re-checks each
# file for dependencies. Otherwise linking static libs can be a pain
# since order matters.
$(MAKE_TARGET): $(OBJECTS_ALL)
@$(call printmessage,link,Linking, $(APP_NAME))
$(at)$(LD) $(LDFLAGS) \
$(OBJECTS_ALL) $(LIBS) \
-lc -lstdc++ -lm -ludev \
-o $@
@echo "Output binary:" ; echo " $(APP_NAME)"
#-------------------------------------------------------------------------------
# Clean
#-------------------------------------------------------------------------------
.PHONY: clean cleanall
cleanall: clean
clean:
$(at)rm -rf $(OBJECTS_ALL) $(OBJECTS_DIRS) $(MAKE_TARGET) $(APP_NAME)
# Include dependency files.
-include $(OBJECTS_ALL:.o=.d)

View File

@ -0,0 +1,6 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/Blob.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/Blob.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:

Binary file not shown.

View File

@ -0,0 +1,92 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/Bootloader.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/Bootloader.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Bootloader.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Command.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Packetizer.h \
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_common.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/bootloader_config.h \
/home/ktims/temp/blhost_2.6.7/src/bootloader/bl_peripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Progress.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/SourceFile.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/OptionContext.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h \
/home/ktims/temp/blhost_2.6.7/src/memory/memory.h \
/home/ktims/temp/blhost_2.6.7/src/property/property.h \
/home/ktims/temp/blhost_2.6.7/src/packet/command_packet.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Peripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/LpcUsbSio.h \
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio.h \
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio_protocol.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPalPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/UartPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/LpcUsbSioPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/SerialPacketizer.h \
/home/ktims/temp/blhost_2.6.7/src/packet/serial_packet.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/UartPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/UsbHidPacketizer.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/UsbHidPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/hidapi.h \
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_hid_report_ids.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/UsbHidPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/json.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/utils.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/Bootloader.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Command.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Packetizer.h:
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_common.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/bootloader_config.h:
/home/ktims/temp/blhost_2.6.7/src/bootloader/bl_peripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Progress.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/SourceFile.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/OptionContext.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h:
/home/ktims/temp/blhost_2.6.7/src/memory/memory.h:
/home/ktims/temp/blhost_2.6.7/src/property/property.h:
/home/ktims/temp/blhost_2.6.7/src/packet/command_packet.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Peripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/LpcUsbSio.h:
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio.h:
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio_protocol.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPalPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/UartPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/LpcUsbSioPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/SerialPacketizer.h:
/home/ktims/temp/blhost_2.6.7/src/packet/serial_packet.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/UartPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/UsbHidPacketizer.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/UsbHidPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/hidapi.h:
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_hid_report_ids.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/UsbHidPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/json.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/utils.h:

View File

@ -0,0 +1,10 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/BusPal.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/BusPal.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/serial.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/serial.h:

Binary file not shown.

View File

@ -0,0 +1,28 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/BusPalPeripheral.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/BusPalPeripheral.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPalPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/UartPeripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Peripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/LpcUsbSio.h \
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio.h \
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio_protocol.h \
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_common.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/bootloader_config.h \
/home/ktims/temp/blhost_2.6.7/src/packet/command_packet.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPalPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/UartPeripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Peripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/LpcUsbSio.h:
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio.h:
/home/ktims/temp/blhost_2.6.7/src/middleware/libusbsio/inc/lpcusbsio_protocol.h:
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_common.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/bootloader_config.h:
/home/ktims/temp/blhost_2.6.7/src/packet/command_packet.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h:

View File

@ -0,0 +1,60 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/Command.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/Command.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Command.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Packetizer.h \
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_common.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/bootloader_config.h \
/home/ktims/temp/blhost_2.6.7/src/bootloader/bl_peripheral.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Progress.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/SourceFile.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/OptionContext.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h \
/home/ktims/temp/blhost_2.6.7/src/memory/memory.h \
/home/ktims/temp/blhost_2.6.7/src/property/property.h \
/home/ktims/temp/blhost_2.6.7/src/packet/command_packet.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/EndianUtilities.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/json.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/utils.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/Command.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/BusPal.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Packetizer.h:
/home/ktims/temp/blhost_2.6.7/src/include/bootloader_common.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/bootloader_config.h:
/home/ktims/temp/blhost_2.6.7/src/bootloader/bl_peripheral.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Progress.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/host_types.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/SourceFile.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/OptionContext.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/format_string.h:
/home/ktims/temp/blhost_2.6.7/src/memory/memory.h:
/home/ktims/temp/blhost_2.6.7/src/property/property.h:
/home/ktims/temp/blhost_2.6.7/src/packet/command_packet.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/EndianUtilities.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/json.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/utils.h:

Binary file not shown.

View File

@ -0,0 +1,22 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/DataSource.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/DataSource.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:

View File

@ -0,0 +1,22 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/DataSourceImager.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/DataSourceImager.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSourceImager.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSourceImager.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h:

View File

@ -0,0 +1,24 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/DataTarget.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/DataTarget.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/BlfwkErrors.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/BlfwkErrors.h:

View File

@ -0,0 +1,38 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/ELFSourceFile.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/ELFSourceFile.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELFSourceFile.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/SourceFile.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/OptionContext.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StELFFile.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELF.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELF.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/GHSSecInfo.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELFSourceFile.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/SourceFile.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataSource.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Value.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/int_size.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Blob.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StExecutableImage.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/DataTarget.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/OptionContext.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StELFFile.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELF.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELF.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/GHSSecInfo.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h:

View File

@ -0,0 +1,8 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/ExcludesListMatcher.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/ExcludesListMatcher.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/ExcludesListMatcher.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/GlobMatcher.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/ExcludesListMatcher.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/GlobMatcher.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StringMatcher.h:

View File

@ -0,0 +1,16 @@
/home/ktims/temp/blhost_2.6.7/tools/blhost/gcc/Release/obj/src/blfwk/src/GHSSecInfo.o: \
/home/ktims/temp/blhost_2.6.7/src/blfwk/src/GHSSecInfo.cpp \
/home/ktims/temp/blhost_2.6.7/src/blfwk/GHSSecInfo.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/StELFFile.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELF.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h \
/home/ktims/temp/blhost_2.6.7/src/blfwk/EndianUtilities.h
/home/ktims/temp/blhost_2.6.7/src/blfwk/GHSSecInfo.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/StELFFile.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/ELF.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/stdafx.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/smart_ptr.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/Logging.h:
/home/ktims/temp/blhost_2.6.7/src/blfwk/EndianUtilities.h:

View File

@ -0,0 +1,211 @@
#-----------------------------------------------
# Make command:
# make build=<build> all
# <build>: debug or release, release by default.
#-----------------------------------------------
#-----------------------------------------------
# setup variables
# ----------------------------------------------
BOOT_ROOT := $(abspath ../../..)
OUTPUT_ROOT := $(abspath ./)
APP_NAME = blhost
#-----------------------------------------------
# Debug or Release
# Release by default
#-----------------------------------------------
build ?= release
include $(BOOT_ROOT)/mk/common.mk
#-----------------------------------------------
# Include path. Add the include paths like this:
# INCLUDES += ./include/
#-----------------------------------------------
INCLUDES += $(BOOT_ROOT)/tools/blhost/src \
$(BOOT_ROOT)/src \
$(BOOT_ROOT)/src/include \
$(BOOT_ROOT)/src/blfwk \
$(BOOT_ROOT)/src/sbloader \
$(BOOT_ROOT)/src/bootloader \
$(BOOT_ROOT)/src/crc \
$(BOOT_ROOT)/src/packet \
$(BOOT_ROOT)/src/property \
$(BOOT_ROOT)/src/drivers/common \
$(BOOT_ROOT)/src/bm_usb
CXXFLAGS := -D MACOSX -D BOOTLOADER_HOST -D LPCUSBSIO -std=c++11
CFLAGS := -std=c99 -D MACOSX -D BOOTLOADER_HOST -D LPCUSBSIO -D _GNU_SOURCE
LD := g++
LIBS := -framework CoreFoundation -framework IOKit
SOURCES := $(BOOT_ROOT)/tools/blhost/src/blhost.cpp \
$(BOOT_ROOT)/src/blfwk/src/Blob.cpp \
$(BOOT_ROOT)/src/blfwk/src/Bootloader.cpp \
$(BOOT_ROOT)/src/blfwk/src/BusPal.cpp \
$(BOOT_ROOT)/src/blfwk/src/BusPalPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/Command.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataSource.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataSourceImager.cpp \
$(BOOT_ROOT)/src/blfwk/src/DataTarget.cpp \
$(BOOT_ROOT)/src/blfwk/src/ELFSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/ExcludesListMatcher.cpp \
$(BOOT_ROOT)/src/blfwk/src/format_string.cpp \
$(BOOT_ROOT)/src/blfwk/src/GHSSecInfo.cpp \
$(BOOT_ROOT)/src/blfwk/src/GlobMatcher.cpp \
$(BOOT_ROOT)/src/blfwk/src/jsoncpp.cpp \
$(BOOT_ROOT)/src/blfwk/src/LpcUsbSio.cpp \
$(BOOT_ROOT)/src/blfwk/src/LpcUsbSioPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/Logging.cpp \
$(BOOT_ROOT)/src/blfwk/src/options.cpp \
$(BOOT_ROOT)/src/blfwk/src/SBSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/SearchPath.cpp \
$(BOOT_ROOT)/src/blfwk/src/serial.c \
$(BOOT_ROOT)/src/blfwk/src/SerialPacketizer.cpp \
$(BOOT_ROOT)/src/blfwk/src/SourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/SRecordSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/IntelHexSourceFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StELFFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StExecutableImage.cpp \
$(BOOT_ROOT)/src/blfwk/src/StSRecordFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/StIntelHexFile.cpp \
$(BOOT_ROOT)/src/blfwk/src/Updater.cpp \
$(BOOT_ROOT)/src/blfwk/src/UartPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/UsbHidPacketizer.cpp \
$(BOOT_ROOT)/src/blfwk/src/UsbHidPeripheral.cpp \
$(BOOT_ROOT)/src/blfwk/src/utils.cpp \
$(BOOT_ROOT)/src/blfwk/src/Value.cpp \
$(BOOT_ROOT)/src/crc/src/crc16.c \
$(BOOT_ROOT)/src/crc/src/crc32.c \
LIBS += $(BOOT_ROOT)/src/middleware/libusbsio/bin/osx/libusbsio.a
INCLUDES := $(foreach includes, $(INCLUDES), -I $(includes))
ifeq "$(build)" "debug"
DEBUG_OR_RELEASE := Debug
CFLAGS += -g
CXXFLAGS += -g
LDFLAGS += -g
else
DEBUG_OR_RELEASE := Release
endif
TARGET_OUTPUT_ROOT := $(OUTPUT_ROOT)/$(DEBUG_OR_RELEASE)
MAKE_TARGET := $(TARGET_OUTPUT_ROOT)/$(APP_NAME)
OBJS_ROOT = $(TARGET_OUTPUT_ROOT)/obj
# Strip sources.
SOURCES := $(strip $(SOURCES))
# Convert sources list to absolute paths and root-relative paths.
SOURCES_ABS := $(foreach s,$(SOURCES),$(abspath $(s)))
SOURCES_REL := $(subst $(BOOT_ROOT)/,,$(SOURCES_ABS))
# Get a list of unique directories containing the source files.
SOURCE_DIRS_ABS := $(sort $(foreach f,$(SOURCES_ABS),$(dir $(f))))
SOURCE_DIRS_REL := $(subst $(BOOT_ROOT)/,,$(SOURCE_DIRS_ABS))
OBJECTS_DIRS := $(addprefix $(OBJS_ROOT)/,$(SOURCE_DIRS_REL))
# Filter source files list into separate source types.
C_SOURCES = $(filter %.c,$(SOURCES_REL))
CXX_SOURCES = $(filter %.cpp,$(SOURCES_REL))
ASM_s_SOURCES = $(filter %.s,$(SOURCES_REL))
ASM_S_SOURCES = $(filter %.S,$(SOURCES_REL))
# Convert sources to objects.
OBJECTS_C := $(addprefix $(OBJS_ROOT)/,$(C_SOURCES:.c=.o))
OBJECTS_CXX := $(addprefix $(OBJS_ROOT)/,$(CXX_SOURCES:.cpp=.o))
OBJECTS_ASM := $(addprefix $(OBJS_ROOT)/,$(ASM_s_SOURCES:.s=.o))
OBJECTS_ASM_S := $(addprefix $(OBJS_ROOT)/,$(ASM_S_SOURCES:.S=.o))
# Complete list of all object files.
OBJECTS_ALL := $(sort $(OBJECTS_C) $(OBJECTS_CXX) $(OBJECTS_ASM) $(OBJECTS_ASM_S))
#-------------------------------------------------------------------------------
# Default target
#-------------------------------------------------------------------------------
# Note that prerequisite order is important here. The subdirectories must be built first, or you
# may end up with files in the current directory not getting added to libraries. This would happen
# if subdirs modified the library file after local files were compiled but before they were added
# to the library.
.PHONY: all
all: $(MAKE_TARGET)
## Recipe to create the output object file directories.
$(OBJECTS_DIRS) :
$(at)mkdir -p $@
# Object files depend on the directories where they will be created.
#
# The dirs are made order-only prerequisites (by being listed after the '|') so they won't cause
# the objects to be rebuilt, as the modification date on a directory changes whenver its contents
# change. This would cause the objects to always be rebuilt if the dirs were normal prerequisites.
$(OBJECTS_ALL): | $(OBJECTS_DIRS)
#-------------------------------------------------------------------------------
# Pattern rules for compilation
#-------------------------------------------------------------------------------
# We cd into the source directory before calling the appropriate compiler. This must be done
# on a single command line since make calls individual recipe lines in separate shells, so
# '&&' is used to chain the commands.
#
# Generate make dependencies while compiling using the -MMD option, which excludes system headers.
# If system headers are included, there are path problems on cygwin. The -MP option creates empty
# targets for each header file so that a rebuild will be forced if the file goes missing, but
# no error will occur.
# Compile C sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.c
@$(call printmessage,c,Compiling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CC) $(CFLAGS) $(SYSTEM_INC) $(INCLUDES) $(DEFINES) -MMD -MF $(basename $@).d -MP -o $@ -c $<
# Compile C++ sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.cpp
@$(call printmessage,cxx,Compiling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CXX) $(CXXFLAGS) $(SYSTEM_INC) $(INCLUDES) $(DEFINES) -MMD -MF $(basename $@).d -MP -o $@ -c $<
# For .S assembly files, first run through the C preprocessor then assemble.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.S
@$(call printmessage,asm,Assembling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(CPP) -D__LANGUAGE_ASM__ $(INCLUDES) $(DEFINES) -o $(basename $@).s $< \
&& $(AS) $(ASFLAGS) $(INCLUDES) -MD $(OBJS_ROOT)/$*.d -o $@ $(basename $@).s
# Assembler sources.
$(OBJS_ROOT)/%.o: $(BOOT_ROOT)/%.s
@$(call printmessage,asm,Assembling, $(subst $(BOOT_ROOT)/,,$<))
$(at)$(AS) $(ASFLAGS) $(INCLUDES) -MD $(basename $@).d -o $@ $<
#------------------------------------------------------------------------
# Build the tagrget
#------------------------------------------------------------------------
# Wrap the link objects in start/end group so that ld re-checks each
# file for dependencies. Otherwise linking static libs can be a pain
# since order matters.
$(MAKE_TARGET): $(OBJECTS_ALL)
@$(call printmessage,link,Linking, $(APP_NAME))
$(at)$(LD) $(LDFLAGS) $(LIBS) \
$(OBJECTS_ALL) \
-lc -lstdc++ -lm \
-o $@
@echo "Output binary:" ; echo " $(APP_NAME)"
#-------------------------------------------------------------------------------
# Clean
#-------------------------------------------------------------------------------
.PHONY: clean cleanall
cleanall: clean
clean:
$(at)rm -rf $(OBJECTS_ALL) $(OBJECTS_DIRS) $(MAKE_TARGET) $(APP_NAME)
# Include dependency files.
-include $(OBJECTS_ALL:.o=.d)

1
tools/blhost/src/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
Debug

1098
tools/blhost/src/blhost.cpp Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{A498A89A-E965-4B36-B926-850AABF31939}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>blhost</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>BOOTLOADER_HOST;LPCUSBSIO;WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<CompileAs>CompileAsCpp</CompileAs>
<AdditionalIncludeDirectories>$(ProjectDir)..\..;$(ProjectDir)..\..\..\src;$(ProjectDir)..\..\..\src\include;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DisableSpecificWarnings>4200</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>../../common/blfwk/$(Configuration)</AdditionalLibraryDirectories>
<AdditionalDependencies>blfwk.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>BOOTLOADER_HOST;LPCUSBSIO;WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalIncludeDirectories>$(ProjectDir)..\..;$(ProjectDir)..\..\..\src;$(ProjectDir)..\..\..\src\include;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CompileAs>CompileAsCpp</CompileAs>
<DisableSpecificWarnings>4200</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>blfwk.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\..\common\blfwk\$(Configuration)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="blhost.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="blhost.cpp" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerCommandArguments>-u -b i2c,0x10,100 -- get-property 1</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerWorkingDirectory>$(OutDir)</LocalDebuggerWorkingDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerCommandArguments>-p COM1 -b can -- get-property 1</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,14 @@
/*
* Copyright (c) 2013-2014 Freescale Semiconductor, Inc.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#include <SDKDDKVer.h>

View File

@ -0,0 +1,204 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\blfwk\AESCounter.h" />
<ClInclude Include="..\..\..\src\blfwk\AESKey.h" />
<ClInclude Include="..\..\..\src\blfwk\BlfwkErrors.h" />
<ClInclude Include="..\..\..\src\blfwk\Blob.h" />
<ClInclude Include="..\..\..\src\blfwk\Bootloader.h" />
<ClInclude Include="..\..\..\src\blfwk\BusPal.h" />
<ClInclude Include="..\..\..\src\blfwk\BusPalPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\Command.h" />
<ClInclude Include="..\..\..\src\blfwk\DataSource.h" />
<ClInclude Include="..\..\..\src\blfwk\DataSourceImager.h" />
<ClInclude Include="..\..\..\src\blfwk\DataTarget.h" />
<ClInclude Include="..\..\..\src\blfwk\ELF.h" />
<ClInclude Include="..\..\..\src\blfwk\ELFSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\EndianUtilities.h" />
<ClInclude Include="..\..\..\src\blfwk\ExcludesListMatcher.h" />
<ClInclude Include="..\..\..\src\blfwk\format_string.h" />
<ClInclude Include="..\..\..\src\blfwk\GHSSecInfo.h" />
<ClInclude Include="..\..\..\src\blfwk\GlobMatcher.h" />
<ClInclude Include="..\..\..\src\blfwk\HexValues.h" />
<ClInclude Include="..\..\..\src\blfwk\hidapi.h" />
<ClInclude Include="..\..\..\src\blfwk\host_types.h" />
<ClInclude Include="..\..\..\src\blfwk\IntelHexSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\int_size.h" />
<ClInclude Include="..\..\..\src\blfwk\json.h" />
<ClInclude Include="..\..\..\src\blfwk\Logging.h" />
<ClInclude Include="..\..\..\src\blfwk\LpcUsbSio.h" />
<ClInclude Include="..\..\..\src\blfwk\LpcUsbSioPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\OptionContext.h" />
<ClInclude Include="..\..\..\src\blfwk\options.h" />
<ClInclude Include="..\..\..\src\blfwk\Packetizer.h" />
<ClInclude Include="..\..\..\src\blfwk\Peripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\Progress.h" />
<ClInclude Include="..\..\..\src\blfwk\Random.h" />
<ClInclude Include="..\..\..\src\blfwk\rijndael.h" />
<ClInclude Include="..\..\..\src\blfwk\RijndaelCTR.h" />
<ClInclude Include="..\..\..\src\blfwk\SBSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\SDPCommand.h" />
<ClInclude Include="..\..\..\src\blfwk\SDPUartPacketizer.h" />
<ClInclude Include="..\..\..\src\blfwk\SDPUsbHidPacketizer.h" />
<ClInclude Include="..\..\..\src\blfwk\SearchPath.h" />
<ClInclude Include="..\..\..\src\blfwk\serial.h" />
<ClInclude Include="..\..\..\src\blfwk\SerialPacketizer.h" />
<ClInclude Include="..\..\..\src\blfwk\smart_ptr.h" />
<ClInclude Include="..\..\..\src\blfwk\SourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\SRecordSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\stdafx.h" />
<ClInclude Include="..\..\..\src\blfwk\StELFFile.h" />
<ClInclude Include="..\..\..\src\blfwk\StExecutableImage.h" />
<ClInclude Include="..\..\..\src\blfwk\StIntelHexFile.h" />
<ClInclude Include="..\..\..\src\blfwk\StringMatcher.h" />
<ClInclude Include="..\..\..\src\blfwk\StSRecordFile.h" />
<ClInclude Include="..\..\..\src\blfwk\UartPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\Updater.h" />
<ClInclude Include="..\..\..\src\blfwk\UsbHidPacketizer.h" />
<ClInclude Include="..\..\..\src\blfwk\UsbHidPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\utils.h" />
<ClInclude Include="..\..\..\src\blfwk\Value.h" />
<ClInclude Include="..\..\..\src\crc\crc16.h" />
<ClInclude Include="..\..\..\src\crc\crc32.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\blfwk\src\AESCounter.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\AESKey.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Blob.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Bootloader.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\BusPal.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\BusPalPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Command.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\DataSource.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\DataSourceImager.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\DataTarget.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\ELFSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\ExcludesListMatcher.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\format_string.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\GHSSecInfo.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\GlobMatcher.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\HexValues.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\IntelHexSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\jsoncpp.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Logging.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\LpcUsbSio.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\LpcUsbSioPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\options.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Random.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\rijndael.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\RijndaelCTR.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SBSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SDPCommand.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SDPUsbHidPacketizer.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SearchPath.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\serial.c" />
<ClCompile Include="..\..\..\src\blfwk\src\SerialPacketizer.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SRecordSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StELFFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StExecutableImage.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StIntelHexFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StSRecordFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\UartPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Updater.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPacketizer.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\utils.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Value.cpp" />
<ClCompile Include="..\..\..\src\crc\src\crc16.c" />
<ClCompile Include="..\..\..\src\crc\src\crc32.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{DE64A8C3-695A-491F-B3E3-24D6A3057A40}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>blfw</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(ProjectDir)$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(ProjectDir)$(Configuration)\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>BOOTLOADER_HOST;LPCUSBSIO;WIN32;MSWIN;_CRT_SECURE_NO_WARNINGS;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../src;../../../src/include;../../../src/drivers/common;../../../src/bm_usb</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<CompileAs>CompileAsCpp</CompileAs>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>4200</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<AdditionalDependencies>setupapi.lib;libusbsio.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\..\src\middleware\libusbsio\bin\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>BOOTLOADER_HOST;LPCUSBSIO;WIN32;MSWIN;_CRT_SECURE_NO_WARNINGS;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../src;../../../src/include;../../../src/drivers/common;../../../src/bm_usb</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<CompileAs>CompileAsCpp</CompileAs>
<DisableSpecificWarnings>4200</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
<AdditionalDependencies>setupapi.lib;libusbsio.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>$(ProjectDir)..\..\..\src\middleware\libusbsio\bin\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Lib>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,335 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Target Header Files">
<UniqueIdentifier>{fb17e7f8-107f-4583-b9ff-f467d2a37db4}</UniqueIdentifier>
</Filter>
<Filter Include="Target Source Files">
<UniqueIdentifier>{01992201-ccdd-4a18-b77f-85d5c5353cd0}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\crc\crc16.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Packetizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Peripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SBSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SearchPath.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\serial.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SerialPacketizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\smart_ptr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SRecordSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StELFFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StExecutableImage.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StringMatcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StSRecordFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\UartPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Updater.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\UsbHidPacketizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\UsbHidPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\utils.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Value.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\BlfwkErrors.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Blob.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Bootloader.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\BusPal.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\BusPalPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Command.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\DataSource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\DataTarget.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\ELF.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\ELFSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\EndianUtilities.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\format_string.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\GHSSecInfo.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\hidapi.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\host_types.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\int_size.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\json.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Logging.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\OptionContext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\options.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\crc\crc32.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\AESKey.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\AESCounter.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\GlobMatcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\HexValues.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\DataSourceImager.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\ExcludesListMatcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\rijndael.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\RijndaelCTR.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Random.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\IntelHexSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StIntelHexFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SDPCommand.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Progress.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SDPUsbHidPacketizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SDPUartPacketizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\LpcUsbSioPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\LpcUsbSio.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\crc\src\crc16.c">
<Filter>Target Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\jsoncpp.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Logging.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SBSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SearchPath.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\serial.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SerialPacketizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SRecordSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StELFFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StExecutableImage.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StSRecordFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\UartPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Updater.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPacketizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\utils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Value.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Bootloader.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\BusPal.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\BusPalPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Command.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\DataSource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\DataTarget.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\ELFSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\format_string.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\GHSSecInfo.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\options.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\crc\src\crc32.c">
<Filter>Target Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\AESKey.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Blob.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\AESCounter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\GlobMatcher.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\HexValues.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\DataSourceImager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\ExcludesListMatcher.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\rijndael.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\RijndaelCTR.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Random.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\IntelHexSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StIntelHexFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SDPCommand.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SDPUsbHidPacketizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\LpcUsbSio.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\LpcUsbSioPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,783 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
0221DBD618EB3D6800B76EC2 /* BlfwkErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBB718EB3D6800B76EC2 /* BlfwkErrors.h */; };
0221DBD718EB3D6800B76EC2 /* Blob.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBB818EB3D6800B76EC2 /* Blob.h */; };
0221DBDA18EB3D6800B76EC2 /* DataSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBBB18EB3D6800B76EC2 /* DataSource.h */; };
0221DBDB18EB3D6800B76EC2 /* DataTarget.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBBC18EB3D6800B76EC2 /* DataTarget.h */; };
0221DBDC18EB3D6800B76EC2 /* ELF.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBBD18EB3D6800B76EC2 /* ELF.h */; };
0221DBDD18EB3D6800B76EC2 /* ELFSourceFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBBE18EB3D6800B76EC2 /* ELFSourceFile.h */; };
0221DBDE18EB3D6800B76EC2 /* EndianUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBBF18EB3D6800B76EC2 /* EndianUtilities.h */; };
0221DBDF18EB3D6800B76EC2 /* format_string.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBC018EB3D6800B76EC2 /* format_string.h */; };
0221DBE018EB3D6800B76EC2 /* GHSSecInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBC118EB3D6800B76EC2 /* GHSSecInfo.h */; };
0221DBE118EB3D6800B76EC2 /* hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBC218EB3D6800B76EC2 /* hidapi.h */; };
0221DBE718EB3D6800B76EC2 /* host_types.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBC818EB3D6800B76EC2 /* host_types.h */; };
0221DBE818EB3D6800B76EC2 /* int_size.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBC918EB3D6800B76EC2 /* int_size.h */; };
0221DBE918EB3D6800B76EC2 /* json.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBCA18EB3D6800B76EC2 /* json.h */; };
0221DBEA18EB3D6800B76EC2 /* Logging.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBCB18EB3D6800B76EC2 /* Logging.h */; };
0221DBEB18EB3D6800B76EC2 /* OptionContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBCC18EB3D6800B76EC2 /* OptionContext.h */; };
0221DBEC18EB3D6800B76EC2 /* options.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBCD18EB3D6800B76EC2 /* options.h */; };
0221DBED18EB3D6800B76EC2 /* SBSourceFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBCE18EB3D6800B76EC2 /* SBSourceFile.h */; };
0221DBEE18EB3D6800B76EC2 /* SearchPath.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBCF18EB3D6800B76EC2 /* SearchPath.h */; };
0221DBEF18EB3D6800B76EC2 /* serial.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBD018EB3D6800B76EC2 /* serial.h */; };
0221DBF318EB3D6800B76EC2 /* smart_ptr.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBD418EB3D6800B76EC2 /* smart_ptr.h */; };
0221DBF418EB3D6800B76EC2 /* SourceFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DBD518EB3D6800B76EC2 /* SourceFile.h */; };
0221DC1718EB3D7C00B76EC2 /* DataSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DBF718EB3D7C00B76EC2 /* DataSource.cpp */; };
0221DC1818EB3D7C00B76EC2 /* DataTarget.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DBF818EB3D7C00B76EC2 /* DataTarget.cpp */; };
0221DC1918EB3D7C00B76EC2 /* ELFSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DBF918EB3D7C00B76EC2 /* ELFSourceFile.cpp */; };
0221DC1A18EB3D7C00B76EC2 /* format_string.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DBFA18EB3D7C00B76EC2 /* format_string.cpp */; };
0221DC1B18EB3D7C00B76EC2 /* GHSSecInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DBFB18EB3D7C00B76EC2 /* GHSSecInfo.cpp */; };
0221DC1C18EB3D7C00B76EC2 /* hid-mac.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DBFC18EB3D7C00B76EC2 /* hid-mac.c */; };
0221DC2218EB3D7C00B76EC2 /* jsoncpp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0218EB3D7C00B76EC2 /* jsoncpp.cpp */; };
0221DC2318EB3D7C00B76EC2 /* Logging.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0318EB3D7C00B76EC2 /* Logging.cpp */; };
0221DC2418EB3D7C00B76EC2 /* options.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0418EB3D7C00B76EC2 /* options.cpp */; };
0221DC2518EB3D7C00B76EC2 /* SBSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0518EB3D7C00B76EC2 /* SBSourceFile.cpp */; };
0221DC2618EB3D7C00B76EC2 /* SearchPath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0618EB3D7C00B76EC2 /* SearchPath.cpp */; };
0221DC2718EB3D7C00B76EC2 /* serial.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0718EB3D7C00B76EC2 /* serial.c */; };
0221DC2B18EB3D7C00B76EC2 /* SourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0B18EB3D7C00B76EC2 /* SourceFile.cpp */; };
0221DC2C18EB3D7C00B76EC2 /* SRecordSourceFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0C18EB3D7C00B76EC2 /* SRecordSourceFile.cpp */; };
0221DC2D18EB3D7C00B76EC2 /* StELFFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0D18EB3D7C00B76EC2 /* StELFFile.cpp */; };
0221DC2E18EB3D7C00B76EC2 /* StExecutableImage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0E18EB3D7C00B76EC2 /* StExecutableImage.cpp */; };
0221DC2F18EB3D7C00B76EC2 /* StSRecordFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC0F18EB3D7C00B76EC2 /* StSRecordFile.cpp */; };
0221DC3118EB3D7C00B76EC2 /* Updater.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC1118EB3D7C00B76EC2 /* Updater.cpp */; };
0221DC3318EB3D7C00B76EC2 /* utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC1318EB3D7C00B76EC2 /* utils.cpp */; };
0221DC3418EB3D7C00B76EC2 /* Value.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC1418EB3D7C00B76EC2 /* Value.cpp */; };
0221DC4018EB3D8E00B76EC2 /* SRecordSourceFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3518EB3D8E00B76EC2 /* SRecordSourceFile.h */; };
0221DC4118EB3D8E00B76EC2 /* stdafx.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3618EB3D8E00B76EC2 /* stdafx.h */; };
0221DC4218EB3D8E00B76EC2 /* StELFFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3718EB3D8E00B76EC2 /* StELFFile.h */; };
0221DC4318EB3D8E00B76EC2 /* StExecutableImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3818EB3D8E00B76EC2 /* StExecutableImage.h */; };
0221DC4418EB3D8E00B76EC2 /* StringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3918EB3D8E00B76EC2 /* StringMatcher.h */; };
0221DC4518EB3D8E00B76EC2 /* StSRecordFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3A18EB3D8E00B76EC2 /* StSRecordFile.h */; };
0221DC4718EB3D8E00B76EC2 /* Updater.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3C18EB3D8E00B76EC2 /* Updater.h */; };
0221DC4918EB3D8E00B76EC2 /* utils.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3E18EB3D8E00B76EC2 /* utils.h */; };
0221DC4A18EB3D8E00B76EC2 /* Value.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC3F18EB3D8E00B76EC2 /* Value.h */; };
0221DC7018EB3DE100B76EC2 /* command.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC5218EB3DE100B76EC2 /* command.c */; };
0221DC7118EB3DE100B76EC2 /* command.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5318EB3DE100B76EC2 /* command.h */; };
0221DC7218EB3DE100B76EC2 /* context.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5418EB3DE100B76EC2 /* context.h */; };
0221DC7318EB3DE100B76EC2 /* peripheral.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5518EB3DE100B76EC2 /* peripheral.h */; };
0221DC7418EB3DE100B76EC2 /* bootloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5618EB3DE100B76EC2 /* bootloader.h */; };
0221DC7518EB3DE100B76EC2 /* bootloader_hid_report_ids.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5718EB3DE100B76EC2 /* bootloader_hid_report_ids.h */; };
0221DC7618EB3DE100B76EC2 /* crc16.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5818EB3DE100B76EC2 /* crc16.h */; };
0221DC7718EB3DE100B76EC2 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5918EB3DE100B76EC2 /* crc32.h */; };
0221DC7818EB3DE100B76EC2 /* crc16.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC5A18EB3DE100B76EC2 /* crc16.c */; };
0221DC7918EB3DE100B76EC2 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC5B18EB3DE100B76EC2 /* crc32.c */; };
0221DC7A18EB3DE100B76EC2 /* fsl_platform_common.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5C18EB3DE100B76EC2 /* fsl_platform_common.h */; };
0221DC7B18EB3DE100B76EC2 /* fsl_platform_status.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5D18EB3DE100B76EC2 /* fsl_platform_status.h */; };
0221DC7C18EB3DE100B76EC2 /* fsl_platform_types.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5E18EB3DE100B76EC2 /* fsl_platform_types.h */; };
0221DC7D18EB3DE100B76EC2 /* bootloader_common.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC5F18EB3DE100B76EC2 /* bootloader_common.h */; };
0221DC7E18EB3DE100B76EC2 /* memory.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC6018EB3DE100B76EC2 /* memory.h */; };
0221DC7F18EB3DE100B76EC2 /* memory.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC6118EB3DE100B76EC2 /* memory.c */; };
0221DC8018EB3DE100B76EC2 /* command_packet.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC6218EB3DE100B76EC2 /* command_packet.h */; };
0221DC8118EB3DE100B76EC2 /* serial_packet.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC6318EB3DE100B76EC2 /* serial_packet.h */; };
0221DC8218EB3DE100B76EC2 /* serial_packet.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC6418EB3DE100B76EC2 /* serial_packet.c */; };
0221DC8318EB3DE100B76EC2 /* property.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC6518EB3DE100B76EC2 /* property.h */; };
0221DC8418EB3DE100B76EC2 /* property.c in Sources */ = {isa = PBXBuildFile; fileRef = 0221DC6618EB3DE100B76EC2 /* property.c */; };
0221DC8A18EB3DE100B76EC2 /* sb_file_format.h in Headers */ = {isa = PBXBuildFile; fileRef = 0221DC6C18EB3DE100B76EC2 /* sb_file_format.h */; };
BFF233CD1B051DFD002112AD /* AESCounter.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233B51B051DFD002112AD /* AESCounter.h */; };
BFF233CE1B051DFD002112AD /* AESKey.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233B61B051DFD002112AD /* AESKey.h */; };
BFF233CF1B051DFD002112AD /* bootloader_config.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233B71B051DFD002112AD /* bootloader_config.h */; };
BFF233D01B051DFD002112AD /* Bootloader.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233B81B051DFD002112AD /* Bootloader.h */; };
BFF233D11B051DFD002112AD /* BusPal.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233B91B051DFD002112AD /* BusPal.h */; };
BFF233D21B051DFD002112AD /* BusPalPeripheral.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233BA1B051DFD002112AD /* BusPalPeripheral.h */; };
BFF233D31B051DFD002112AD /* Command.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233BB1B051DFD002112AD /* Command.h */; };
BFF233D41B051DFD002112AD /* DataSourceImager.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233BC1B051DFD002112AD /* DataSourceImager.h */; };
BFF233D51B051DFD002112AD /* ExcludesListMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233BD1B051DFD002112AD /* ExcludesListMatcher.h */; };
BFF233D61B051DFD002112AD /* GlobMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233BE1B051DFD002112AD /* GlobMatcher.h */; };
BFF233D71B051DFD002112AD /* HexValues.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233BF1B051DFD002112AD /* HexValues.h */; };
BFF233D81B051DFD002112AD /* Packetizer.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C01B051DFD002112AD /* Packetizer.h */; };
BFF233D91B051DFD002112AD /* Peripheral.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C11B051DFD002112AD /* Peripheral.h */; };
BFF233DA1B051DFD002112AD /* Random.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C21B051DFD002112AD /* Random.h */; };
BFF233DB1B051DFD002112AD /* rijndael.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C31B051DFD002112AD /* rijndael.h */; };
BFF233DC1B051DFD002112AD /* RijndaelCTR.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C41B051DFD002112AD /* RijndaelCTR.h */; };
BFF233DD1B051DFD002112AD /* SerialPacketizer.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C51B051DFD002112AD /* SerialPacketizer.h */; };
BFF233DE1B051DFD002112AD /* SimPacketizer.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C61B051DFD002112AD /* SimPacketizer.h */; };
BFF233DF1B051DFD002112AD /* SimPeripheral.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C71B051DFD002112AD /* SimPeripheral.h */; };
BFF233E01B051DFD002112AD /* Simulator.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C81B051DFD002112AD /* Simulator.h */; };
BFF233E11B051DFD002112AD /* SimulatorMemory.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233C91B051DFD002112AD /* SimulatorMemory.h */; };
BFF233E21B051DFD002112AD /* UartPeripheral.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233CA1B051DFD002112AD /* UartPeripheral.h */; };
BFF233E31B051DFD002112AD /* UsbHidPacketizer.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233CB1B051DFD002112AD /* UsbHidPacketizer.h */; };
BFF233E41B051DFD002112AD /* UsbHidPeripheral.h in Headers */ = {isa = PBXBuildFile; fileRef = BFF233CC1B051DFD002112AD /* UsbHidPeripheral.h */; };
BFF233FB1B051E4D002112AD /* AESCounter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233E51B051E4D002112AD /* AESCounter.cpp */; };
BFF233FC1B051E4D002112AD /* AESKey.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233E61B051E4D002112AD /* AESKey.cpp */; };
BFF233FD1B051E4D002112AD /* Blob.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233E71B051E4D002112AD /* Blob.cpp */; };
BFF233FE1B051E4D002112AD /* Bootloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233E81B051E4D002112AD /* Bootloader.cpp */; };
BFF233FF1B051E4D002112AD /* BusPal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233E91B051E4D002112AD /* BusPal.cpp */; };
BFF234001B051E4D002112AD /* BusPalPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233EA1B051E4D002112AD /* BusPalPeripheral.cpp */; };
BFF234011B051E4D002112AD /* Command.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233EB1B051E4D002112AD /* Command.cpp */; };
BFF234021B051E4D002112AD /* DataSourceImager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233EC1B051E4D002112AD /* DataSourceImager.cpp */; };
BFF234031B051E4D002112AD /* ExcludesListMatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233ED1B051E4D002112AD /* ExcludesListMatcher.cpp */; };
BFF234041B051E4D002112AD /* GlobMatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233EE1B051E4D002112AD /* GlobMatcher.cpp */; };
BFF234051B051E4D002112AD /* HexValues.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233EF1B051E4D002112AD /* HexValues.cpp */; };
BFF234061B051E4D002112AD /* Random.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F01B051E4D002112AD /* Random.cpp */; };
BFF234071B051E4D002112AD /* rijndael.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F11B051E4D002112AD /* rijndael.cpp */; };
BFF234081B051E4D002112AD /* RijndaelCTR.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F21B051E4D002112AD /* RijndaelCTR.cpp */; };
BFF234091B051E4D002112AD /* SerialPacketizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F31B051E4D002112AD /* SerialPacketizer.cpp */; };
BFF2340A1B051E4D002112AD /* SimPacketizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F41B051E4D002112AD /* SimPacketizer.cpp */; };
BFF2340B1B051E4D002112AD /* SimPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F51B051E4D002112AD /* SimPeripheral.cpp */; };
BFF2340C1B051E4D002112AD /* Simulator.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F61B051E4D002112AD /* Simulator.cpp */; };
BFF2340D1B051E4D002112AD /* SimulatorMemory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F71B051E4D002112AD /* SimulatorMemory.cpp */; };
BFF2340E1B051E4D002112AD /* UartPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F81B051E4D002112AD /* UartPeripheral.cpp */; };
BFF2340F1B051E4D002112AD /* UsbHidPacketizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233F91B051E4D002112AD /* UsbHidPacketizer.cpp */; };
BFF234101B051E4D002112AD /* UsbHidPeripheral.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BFF233FA1B051E4D002112AD /* UsbHidPeripheral.cpp */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
0221DBAD18EB3C0F00B76EC2 /* libblfwk.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libblfwk.a; sourceTree = BUILT_PRODUCTS_DIR; };
0221DBB718EB3D6800B76EC2 /* BlfwkErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BlfwkErrors.h; path = ../../../src/blfwk/BlfwkErrors.h; sourceTree = "<group>"; };
0221DBB818EB3D6800B76EC2 /* Blob.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Blob.h; path = ../../../src/blfwk/Blob.h; sourceTree = "<group>"; };
0221DBBB18EB3D6800B76EC2 /* DataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DataSource.h; path = ../../../src/blfwk/DataSource.h; sourceTree = "<group>"; };
0221DBBC18EB3D6800B76EC2 /* DataTarget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DataTarget.h; path = ../../../src/blfwk/DataTarget.h; sourceTree = "<group>"; };
0221DBBD18EB3D6800B76EC2 /* ELF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ELF.h; path = ../../../src/blfwk/ELF.h; sourceTree = "<group>"; };
0221DBBE18EB3D6800B76EC2 /* ELFSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ELFSourceFile.h; path = ../../../src/blfwk/ELFSourceFile.h; sourceTree = "<group>"; };
0221DBBF18EB3D6800B76EC2 /* EndianUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EndianUtilities.h; path = ../../../src/blfwk/EndianUtilities.h; sourceTree = "<group>"; };
0221DBC018EB3D6800B76EC2 /* format_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = format_string.h; path = ../../../src/blfwk/format_string.h; sourceTree = "<group>"; };
0221DBC118EB3D6800B76EC2 /* GHSSecInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GHSSecInfo.h; path = ../../../src/blfwk/GHSSecInfo.h; sourceTree = "<group>"; };
0221DBC218EB3D6800B76EC2 /* hidapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = hidapi.h; path = ../../../src/blfwk/hidapi.h; sourceTree = "<group>"; };
0221DBC818EB3D6800B76EC2 /* host_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = host_types.h; path = ../../../src/blfwk/host_types.h; sourceTree = "<group>"; };
0221DBC918EB3D6800B76EC2 /* int_size.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = int_size.h; path = ../../../src/blfwk/int_size.h; sourceTree = "<group>"; };
0221DBCA18EB3D6800B76EC2 /* json.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = json.h; path = ../../../src/blfwk/json.h; sourceTree = "<group>"; };
0221DBCB18EB3D6800B76EC2 /* Logging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Logging.h; path = ../../../src/blfwk/Logging.h; sourceTree = "<group>"; };
0221DBCC18EB3D6800B76EC2 /* OptionContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OptionContext.h; path = ../../../src/blfwk/OptionContext.h; sourceTree = "<group>"; };
0221DBCD18EB3D6800B76EC2 /* options.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = options.h; path = ../../../src/blfwk/options.h; sourceTree = "<group>"; };
0221DBCE18EB3D6800B76EC2 /* SBSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBSourceFile.h; path = ../../../src/blfwk/SBSourceFile.h; sourceTree = "<group>"; };
0221DBCF18EB3D6800B76EC2 /* SearchPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SearchPath.h; path = ../../../src/blfwk/SearchPath.h; sourceTree = "<group>"; };
0221DBD018EB3D6800B76EC2 /* serial.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = serial.h; path = ../../../src/blfwk/serial.h; sourceTree = "<group>"; };
0221DBD418EB3D6800B76EC2 /* smart_ptr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = smart_ptr.h; path = ../../../src/blfwk/smart_ptr.h; sourceTree = "<group>"; };
0221DBD518EB3D6800B76EC2 /* SourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SourceFile.h; path = ../../../src/blfwk/SourceFile.h; sourceTree = "<group>"; };
0221DBF718EB3D7C00B76EC2 /* DataSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DataSource.cpp; path = ../../../src/blfwk/src/DataSource.cpp; sourceTree = "<group>"; };
0221DBF818EB3D7C00B76EC2 /* DataTarget.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DataTarget.cpp; path = ../../../src/blfwk/src/DataTarget.cpp; sourceTree = "<group>"; };
0221DBF918EB3D7C00B76EC2 /* ELFSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ELFSourceFile.cpp; path = ../../../src/blfwk/src/ELFSourceFile.cpp; sourceTree = "<group>"; };
0221DBFA18EB3D7C00B76EC2 /* format_string.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = format_string.cpp; path = ../../../src/blfwk/src/format_string.cpp; sourceTree = "<group>"; };
0221DBFB18EB3D7C00B76EC2 /* GHSSecInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = GHSSecInfo.cpp; path = ../../../src/blfwk/src/GHSSecInfo.cpp; sourceTree = "<group>"; };
0221DBFC18EB3D7C00B76EC2 /* hid-mac.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = "hid-mac.c"; path = "../../../src/blfwk/src/hid-mac.c"; sourceTree = "<group>"; };
0221DC0218EB3D7C00B76EC2 /* jsoncpp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = jsoncpp.cpp; path = ../../../src/blfwk/src/jsoncpp.cpp; sourceTree = "<group>"; };
0221DC0318EB3D7C00B76EC2 /* Logging.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Logging.cpp; path = ../../../src/blfwk/src/Logging.cpp; sourceTree = "<group>"; };
0221DC0418EB3D7C00B76EC2 /* options.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = options.cpp; path = ../../../src/blfwk/src/options.cpp; sourceTree = "<group>"; };
0221DC0518EB3D7C00B76EC2 /* SBSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBSourceFile.cpp; path = ../../../src/blfwk/src/SBSourceFile.cpp; sourceTree = "<group>"; };
0221DC0618EB3D7C00B76EC2 /* SearchPath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SearchPath.cpp; path = ../../../src/blfwk/src/SearchPath.cpp; sourceTree = "<group>"; };
0221DC0718EB3D7C00B76EC2 /* serial.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = serial.c; path = ../../../src/blfwk/src/serial.c; sourceTree = "<group>"; };
0221DC0B18EB3D7C00B76EC2 /* SourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SourceFile.cpp; path = ../../../src/blfwk/src/SourceFile.cpp; sourceTree = "<group>"; };
0221DC0C18EB3D7C00B76EC2 /* SRecordSourceFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SRecordSourceFile.cpp; path = ../../../src/blfwk/src/SRecordSourceFile.cpp; sourceTree = "<group>"; };
0221DC0D18EB3D7C00B76EC2 /* StELFFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StELFFile.cpp; path = ../../../src/blfwk/src/StELFFile.cpp; sourceTree = "<group>"; };
0221DC0E18EB3D7C00B76EC2 /* StExecutableImage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StExecutableImage.cpp; path = ../../../src/blfwk/src/StExecutableImage.cpp; sourceTree = "<group>"; };
0221DC0F18EB3D7C00B76EC2 /* StSRecordFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StSRecordFile.cpp; path = ../../../src/blfwk/src/StSRecordFile.cpp; sourceTree = "<group>"; };
0221DC1118EB3D7C00B76EC2 /* Updater.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Updater.cpp; path = ../../../src/blfwk/src/Updater.cpp; sourceTree = "<group>"; };
0221DC1318EB3D7C00B76EC2 /* utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = utils.cpp; path = ../../../src/blfwk/src/utils.cpp; sourceTree = "<group>"; };
0221DC1418EB3D7C00B76EC2 /* Value.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Value.cpp; path = ../../../src/blfwk/src/Value.cpp; sourceTree = "<group>"; };
0221DC3518EB3D8E00B76EC2 /* SRecordSourceFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SRecordSourceFile.h; path = ../../../src/blfwk/SRecordSourceFile.h; sourceTree = "<group>"; };
0221DC3618EB3D8E00B76EC2 /* stdafx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = stdafx.h; path = ../../../src/blfwk/stdafx.h; sourceTree = "<group>"; };
0221DC3718EB3D8E00B76EC2 /* StELFFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StELFFile.h; path = ../../../src/blfwk/StELFFile.h; sourceTree = "<group>"; };
0221DC3818EB3D8E00B76EC2 /* StExecutableImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StExecutableImage.h; path = ../../../src/blfwk/StExecutableImage.h; sourceTree = "<group>"; };
0221DC3918EB3D8E00B76EC2 /* StringMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StringMatcher.h; path = ../../../src/blfwk/StringMatcher.h; sourceTree = "<group>"; };
0221DC3A18EB3D8E00B76EC2 /* StSRecordFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StSRecordFile.h; path = ../../../src/blfwk/StSRecordFile.h; sourceTree = "<group>"; };
0221DC3C18EB3D8E00B76EC2 /* Updater.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Updater.h; path = ../../../src/blfwk/Updater.h; sourceTree = "<group>"; };
0221DC3E18EB3D8E00B76EC2 /* utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = utils.h; path = ../../../src/blfwk/utils.h; sourceTree = "<group>"; };
0221DC3F18EB3D8E00B76EC2 /* Value.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Value.h; path = ../../../src/blfwk/Value.h; sourceTree = "<group>"; };
0221DC5218EB3DE100B76EC2 /* command.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = command.c; path = ../../../src/bootloader/src/command.c; sourceTree = "<group>"; };
0221DC5318EB3DE100B76EC2 /* command.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = command.h; path = ../../../src/bootloader/command.h; sourceTree = "<group>"; };
0221DC5418EB3DE100B76EC2 /* context.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = context.h; path = ../../../src/bootloader/context.h; sourceTree = "<group>"; };
0221DC5518EB3DE100B76EC2 /* peripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = peripheral.h; path = ../../../src/bootloader/peripheral.h; sourceTree = "<group>"; };
0221DC5618EB3DE100B76EC2 /* bootloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bootloader.h; path = ../../../src/bootloader/bootloader.h; sourceTree = "<group>"; };
0221DC5718EB3DE100B76EC2 /* bootloader_hid_report_ids.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bootloader_hid_report_ids.h; path = ../../../src/usb_device/bootloader_hid_report_ids.h; sourceTree = "<group>"; };
0221DC5818EB3DE100B76EC2 /* crc16.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = crc16.h; path = ../../../src/crc/crc16.h; sourceTree = "<group>"; };
0221DC5918EB3DE100B76EC2 /* crc32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = crc32.h; path = ../../../src/crc/crc32.h; sourceTree = "<group>"; };
0221DC5A18EB3DE100B76EC2 /* crc16.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = crc16.c; path = ../../../src/crc/src/crc16.c; sourceTree = "<group>"; };
0221DC5B18EB3DE100B76EC2 /* crc32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = crc32.c; path = ../../../src/crc/src/crc32.c; sourceTree = "<group>"; };
0221DC5C18EB3DE100B76EC2 /* fsl_platform_common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fsl_platform_common.h; path = ../../../src/include/fsl_platform_common.h; sourceTree = "<group>"; };
0221DC5D18EB3DE100B76EC2 /* fsl_platform_status.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fsl_platform_status.h; path = ../../../src/include/fsl_platform_status.h; sourceTree = "<group>"; };
0221DC5E18EB3DE100B76EC2 /* fsl_platform_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fsl_platform_types.h; path = ../../../src/include/fsl_platform_types.h; sourceTree = "<group>"; };
0221DC5F18EB3DE100B76EC2 /* bootloader_common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bootloader_common.h; path = ../../../src/include/bootloader_common.h; sourceTree = "<group>"; };
0221DC6018EB3DE100B76EC2 /* memory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = memory.h; path = ../../../src/memory/memory.h; sourceTree = "<group>"; };
0221DC6118EB3DE100B76EC2 /* memory.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = memory.c; path = ../../../src/memory/src/memory.c; sourceTree = "<group>"; };
0221DC6218EB3DE100B76EC2 /* command_packet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = command_packet.h; path = ../../../src/packet/command_packet.h; sourceTree = "<group>"; };
0221DC6318EB3DE100B76EC2 /* serial_packet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = serial_packet.h; path = ../../../src/packet/serial_packet.h; sourceTree = "<group>"; };
0221DC6418EB3DE100B76EC2 /* serial_packet.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = serial_packet.c; path = ../../../src/packet/src/serial_packet.c; sourceTree = "<group>"; };
0221DC6518EB3DE100B76EC2 /* property.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = property.h; path = ../../../src/property/property.h; sourceTree = "<group>"; };
0221DC6618EB3DE100B76EC2 /* property.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = property.c; path = ../../../src/property/src/property.c; sourceTree = "<group>"; };
0221DC6C18EB3DE100B76EC2 /* sb_file_format.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sb_file_format.h; path = ../../../src/sbloader/sb_file_format.h; sourceTree = "<group>"; };
BFF233B51B051DFD002112AD /* AESCounter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AESCounter.h; path = ../../../src/blfwk/AESCounter.h; sourceTree = "<group>"; };
BFF233B61B051DFD002112AD /* AESKey.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AESKey.h; path = ../../../src/blfwk/AESKey.h; sourceTree = "<group>"; };
BFF233B71B051DFD002112AD /* bootloader_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bootloader_config.h; path = ../../../src/blfwk/bootloader_config.h; sourceTree = "<group>"; };
BFF233B81B051DFD002112AD /* Bootloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Bootloader.h; path = ../../../src/blfwk/Bootloader.h; sourceTree = "<group>"; };
BFF233B91B051DFD002112AD /* BusPal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BusPal.h; path = ../../../src/blfwk/BusPal.h; sourceTree = "<group>"; };
BFF233BA1B051DFD002112AD /* BusPalPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BusPalPeripheral.h; path = ../../../src/blfwk/BusPalPeripheral.h; sourceTree = "<group>"; };
BFF233BB1B051DFD002112AD /* Command.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Command.h; path = ../../../src/blfwk/Command.h; sourceTree = "<group>"; };
BFF233BC1B051DFD002112AD /* DataSourceImager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DataSourceImager.h; path = ../../../src/blfwk/DataSourceImager.h; sourceTree = "<group>"; };
BFF233BD1B051DFD002112AD /* ExcludesListMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ExcludesListMatcher.h; path = ../../../src/blfwk/ExcludesListMatcher.h; sourceTree = "<group>"; };
BFF233BE1B051DFD002112AD /* GlobMatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GlobMatcher.h; path = ../../../src/blfwk/GlobMatcher.h; sourceTree = "<group>"; };
BFF233BF1B051DFD002112AD /* HexValues.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HexValues.h; path = ../../../src/blfwk/HexValues.h; sourceTree = "<group>"; };
BFF233C01B051DFD002112AD /* Packetizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Packetizer.h; path = ../../../src/blfwk/Packetizer.h; sourceTree = "<group>"; };
BFF233C11B051DFD002112AD /* Peripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Peripheral.h; path = ../../../src/blfwk/Peripheral.h; sourceTree = "<group>"; };
BFF233C21B051DFD002112AD /* Random.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Random.h; path = ../../../src/blfwk/Random.h; sourceTree = "<group>"; };
BFF233C31B051DFD002112AD /* rijndael.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = rijndael.h; path = ../../../src/blfwk/rijndael.h; sourceTree = "<group>"; };
BFF233C41B051DFD002112AD /* RijndaelCTR.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RijndaelCTR.h; path = ../../../src/blfwk/RijndaelCTR.h; sourceTree = "<group>"; };
BFF233C51B051DFD002112AD /* SerialPacketizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SerialPacketizer.h; path = ../../../src/blfwk/SerialPacketizer.h; sourceTree = "<group>"; };
BFF233C61B051DFD002112AD /* SimPacketizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SimPacketizer.h; path = ../../../src/blfwk/SimPacketizer.h; sourceTree = "<group>"; };
BFF233C71B051DFD002112AD /* SimPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SimPeripheral.h; path = ../../../src/blfwk/SimPeripheral.h; sourceTree = "<group>"; };
BFF233C81B051DFD002112AD /* Simulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Simulator.h; path = ../../../src/blfwk/Simulator.h; sourceTree = "<group>"; };
BFF233C91B051DFD002112AD /* SimulatorMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SimulatorMemory.h; path = ../../../src/blfwk/SimulatorMemory.h; sourceTree = "<group>"; };
BFF233CA1B051DFD002112AD /* UartPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UartPeripheral.h; path = ../../../src/blfwk/UartPeripheral.h; sourceTree = "<group>"; };
BFF233CB1B051DFD002112AD /* UsbHidPacketizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UsbHidPacketizer.h; path = ../../../src/blfwk/UsbHidPacketizer.h; sourceTree = "<group>"; };
BFF233CC1B051DFD002112AD /* UsbHidPeripheral.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UsbHidPeripheral.h; path = ../../../src/blfwk/UsbHidPeripheral.h; sourceTree = "<group>"; };
BFF233E51B051E4D002112AD /* AESCounter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AESCounter.cpp; path = ../../../src/blfwk/src/AESCounter.cpp; sourceTree = "<group>"; };
BFF233E61B051E4D002112AD /* AESKey.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AESKey.cpp; path = ../../../src/blfwk/src/AESKey.cpp; sourceTree = "<group>"; };
BFF233E71B051E4D002112AD /* Blob.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Blob.cpp; path = ../../../src/blfwk/src/Blob.cpp; sourceTree = "<group>"; };
BFF233E81B051E4D002112AD /* Bootloader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Bootloader.cpp; path = ../../../src/blfwk/src/Bootloader.cpp; sourceTree = "<group>"; };
BFF233E91B051E4D002112AD /* BusPal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BusPal.cpp; path = ../../../src/blfwk/src/BusPal.cpp; sourceTree = "<group>"; };
BFF233EA1B051E4D002112AD /* BusPalPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BusPalPeripheral.cpp; path = ../../../src/blfwk/src/BusPalPeripheral.cpp; sourceTree = "<group>"; };
BFF233EB1B051E4D002112AD /* Command.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Command.cpp; path = ../../../src/blfwk/src/Command.cpp; sourceTree = "<group>"; };
BFF233EC1B051E4D002112AD /* DataSourceImager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DataSourceImager.cpp; path = ../../../src/blfwk/src/DataSourceImager.cpp; sourceTree = "<group>"; };
BFF233ED1B051E4D002112AD /* ExcludesListMatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ExcludesListMatcher.cpp; path = ../../../src/blfwk/src/ExcludesListMatcher.cpp; sourceTree = "<group>"; };
BFF233EE1B051E4D002112AD /* GlobMatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = GlobMatcher.cpp; path = ../../../src/blfwk/src/GlobMatcher.cpp; sourceTree = "<group>"; };
BFF233EF1B051E4D002112AD /* HexValues.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HexValues.cpp; path = ../../../src/blfwk/src/HexValues.cpp; sourceTree = "<group>"; };
BFF233F01B051E4D002112AD /* Random.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Random.cpp; path = ../../../src/blfwk/src/Random.cpp; sourceTree = "<group>"; };
BFF233F11B051E4D002112AD /* rijndael.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = rijndael.cpp; path = ../../../src/blfwk/src/rijndael.cpp; sourceTree = "<group>"; };
BFF233F21B051E4D002112AD /* RijndaelCTR.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RijndaelCTR.cpp; path = ../../../src/blfwk/src/RijndaelCTR.cpp; sourceTree = "<group>"; };
BFF233F31B051E4D002112AD /* SerialPacketizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SerialPacketizer.cpp; path = ../../../src/blfwk/src/SerialPacketizer.cpp; sourceTree = "<group>"; };
BFF233F41B051E4D002112AD /* SimPacketizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SimPacketizer.cpp; path = ../../../src/blfwk/src/SimPacketizer.cpp; sourceTree = "<group>"; };
BFF233F51B051E4D002112AD /* SimPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SimPeripheral.cpp; path = ../../../src/blfwk/src/SimPeripheral.cpp; sourceTree = "<group>"; };
BFF233F61B051E4D002112AD /* Simulator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Simulator.cpp; path = ../../../src/blfwk/src/Simulator.cpp; sourceTree = "<group>"; };
BFF233F71B051E4D002112AD /* SimulatorMemory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SimulatorMemory.cpp; path = ../../../src/blfwk/src/SimulatorMemory.cpp; sourceTree = "<group>"; };
BFF233F81B051E4D002112AD /* UartPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UartPeripheral.cpp; path = ../../../src/blfwk/src/UartPeripheral.cpp; sourceTree = "<group>"; };
BFF233F91B051E4D002112AD /* UsbHidPacketizer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UsbHidPacketizer.cpp; path = ../../../src/blfwk/src/UsbHidPacketizer.cpp; sourceTree = "<group>"; };
BFF233FA1B051E4D002112AD /* UsbHidPeripheral.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UsbHidPeripheral.cpp; path = ../../../src/blfwk/src/UsbHidPeripheral.cpp; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
0221DBAA18EB3C0F00B76EC2 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
0221DBA418EB3C0F00B76EC2 = {
isa = PBXGroup;
children = (
0221DBB418EB3D4100B76EC2 /* src */,
0221DBAE18EB3C0F00B76EC2 /* Products */,
);
sourceTree = "<group>";
};
0221DBAE18EB3C0F00B76EC2 /* Products */ = {
isa = PBXGroup;
children = (
0221DBAD18EB3C0F00B76EC2 /* libblfwk.a */,
);
name = Products;
sourceTree = "<group>";
};
0221DBB418EB3D4100B76EC2 /* src */ = {
isa = PBXGroup;
children = (
0221DBB518EB3D4600B76EC2 /* blfwk */,
0221DC4B18EB3DA800B76EC2 /* bootloader */,
0221DC4C18EB3DB100B76EC2 /* crc */,
0221DC4D18EB3DB700B76EC2 /* include */,
0221DC4E18EB3DBE00B76EC2 /* memory */,
0221DC4F18EB3DC600B76EC2 /* packet */,
0221DC5018EB3DCB00B76EC2 /* property */,
0221DC5118EB3DD000B76EC2 /* sbloader */,
);
name = src;
sourceTree = "<group>";
};
0221DBB518EB3D4600B76EC2 /* blfwk */ = {
isa = PBXGroup;
children = (
BFF233B51B051DFD002112AD /* AESCounter.h */,
BFF233B61B051DFD002112AD /* AESKey.h */,
BFF233B71B051DFD002112AD /* bootloader_config.h */,
BFF233B81B051DFD002112AD /* Bootloader.h */,
BFF233B91B051DFD002112AD /* BusPal.h */,
BFF233BA1B051DFD002112AD /* BusPalPeripheral.h */,
BFF233BB1B051DFD002112AD /* Command.h */,
BFF233BC1B051DFD002112AD /* DataSourceImager.h */,
BFF233BD1B051DFD002112AD /* ExcludesListMatcher.h */,
BFF233BE1B051DFD002112AD /* GlobMatcher.h */,
BFF233BF1B051DFD002112AD /* HexValues.h */,
BFF233C01B051DFD002112AD /* Packetizer.h */,
BFF233C11B051DFD002112AD /* Peripheral.h */,
BFF233C21B051DFD002112AD /* Random.h */,
BFF233C31B051DFD002112AD /* rijndael.h */,
BFF233C41B051DFD002112AD /* RijndaelCTR.h */,
BFF233C51B051DFD002112AD /* SerialPacketizer.h */,
BFF233C61B051DFD002112AD /* SimPacketizer.h */,
BFF233C71B051DFD002112AD /* SimPeripheral.h */,
BFF233C81B051DFD002112AD /* Simulator.h */,
BFF233C91B051DFD002112AD /* SimulatorMemory.h */,
BFF233CA1B051DFD002112AD /* UartPeripheral.h */,
BFF233CB1B051DFD002112AD /* UsbHidPacketizer.h */,
BFF233CC1B051DFD002112AD /* UsbHidPeripheral.h */,
0221DBB618EB3D5300B76EC2 /* src */,
0221DBB718EB3D6800B76EC2 /* BlfwkErrors.h */,
0221DBB818EB3D6800B76EC2 /* Blob.h */,
0221DBBB18EB3D6800B76EC2 /* DataSource.h */,
0221DBBC18EB3D6800B76EC2 /* DataTarget.h */,
0221DBBD18EB3D6800B76EC2 /* ELF.h */,
0221DBBE18EB3D6800B76EC2 /* ELFSourceFile.h */,
0221DBBF18EB3D6800B76EC2 /* EndianUtilities.h */,
0221DBC018EB3D6800B76EC2 /* format_string.h */,
0221DBC118EB3D6800B76EC2 /* GHSSecInfo.h */,
0221DBC218EB3D6800B76EC2 /* hidapi.h */,
0221DBC818EB3D6800B76EC2 /* host_types.h */,
0221DBC918EB3D6800B76EC2 /* int_size.h */,
0221DBCA18EB3D6800B76EC2 /* json.h */,
0221DBCB18EB3D6800B76EC2 /* Logging.h */,
0221DBCC18EB3D6800B76EC2 /* OptionContext.h */,
0221DBCD18EB3D6800B76EC2 /* options.h */,
0221DBCE18EB3D6800B76EC2 /* SBSourceFile.h */,
0221DBCF18EB3D6800B76EC2 /* SearchPath.h */,
0221DBD018EB3D6800B76EC2 /* serial.h */,
0221DBD418EB3D6800B76EC2 /* smart_ptr.h */,
0221DBD518EB3D6800B76EC2 /* SourceFile.h */,
0221DC3518EB3D8E00B76EC2 /* SRecordSourceFile.h */,
0221DC3618EB3D8E00B76EC2 /* stdafx.h */,
0221DC3718EB3D8E00B76EC2 /* StELFFile.h */,
0221DC3818EB3D8E00B76EC2 /* StExecutableImage.h */,
0221DC3918EB3D8E00B76EC2 /* StringMatcher.h */,
0221DC3A18EB3D8E00B76EC2 /* StSRecordFile.h */,
0221DC3C18EB3D8E00B76EC2 /* Updater.h */,
0221DC3E18EB3D8E00B76EC2 /* utils.h */,
0221DC3F18EB3D8E00B76EC2 /* Value.h */,
);
name = blfwk;
sourceTree = "<group>";
};
0221DBB618EB3D5300B76EC2 /* src */ = {
isa = PBXGroup;
children = (
BFF233E51B051E4D002112AD /* AESCounter.cpp */,
BFF233E61B051E4D002112AD /* AESKey.cpp */,
BFF233E71B051E4D002112AD /* Blob.cpp */,
BFF233E81B051E4D002112AD /* Bootloader.cpp */,
BFF233E91B051E4D002112AD /* BusPal.cpp */,
BFF233EA1B051E4D002112AD /* BusPalPeripheral.cpp */,
BFF233EB1B051E4D002112AD /* Command.cpp */,
BFF233EC1B051E4D002112AD /* DataSourceImager.cpp */,
BFF233ED1B051E4D002112AD /* ExcludesListMatcher.cpp */,
BFF233EE1B051E4D002112AD /* GlobMatcher.cpp */,
BFF233EF1B051E4D002112AD /* HexValues.cpp */,
BFF233F01B051E4D002112AD /* Random.cpp */,
BFF233F11B051E4D002112AD /* rijndael.cpp */,
BFF233F21B051E4D002112AD /* RijndaelCTR.cpp */,
BFF233F31B051E4D002112AD /* SerialPacketizer.cpp */,
BFF233F41B051E4D002112AD /* SimPacketizer.cpp */,
BFF233F51B051E4D002112AD /* SimPeripheral.cpp */,
BFF233F61B051E4D002112AD /* Simulator.cpp */,
BFF233F71B051E4D002112AD /* SimulatorMemory.cpp */,
BFF233F81B051E4D002112AD /* UartPeripheral.cpp */,
BFF233F91B051E4D002112AD /* UsbHidPacketizer.cpp */,
BFF233FA1B051E4D002112AD /* UsbHidPeripheral.cpp */,
0221DBF718EB3D7C00B76EC2 /* DataSource.cpp */,
0221DBF818EB3D7C00B76EC2 /* DataTarget.cpp */,
0221DBF918EB3D7C00B76EC2 /* ELFSourceFile.cpp */,
0221DBFA18EB3D7C00B76EC2 /* format_string.cpp */,
0221DBFB18EB3D7C00B76EC2 /* GHSSecInfo.cpp */,
0221DBFC18EB3D7C00B76EC2 /* hid-mac.c */,
0221DC0218EB3D7C00B76EC2 /* jsoncpp.cpp */,
0221DC0318EB3D7C00B76EC2 /* Logging.cpp */,
0221DC0418EB3D7C00B76EC2 /* options.cpp */,
0221DC0518EB3D7C00B76EC2 /* SBSourceFile.cpp */,
0221DC0618EB3D7C00B76EC2 /* SearchPath.cpp */,
0221DC0718EB3D7C00B76EC2 /* serial.c */,
0221DC0B18EB3D7C00B76EC2 /* SourceFile.cpp */,
0221DC0C18EB3D7C00B76EC2 /* SRecordSourceFile.cpp */,
0221DC0D18EB3D7C00B76EC2 /* StELFFile.cpp */,
0221DC0E18EB3D7C00B76EC2 /* StExecutableImage.cpp */,
0221DC0F18EB3D7C00B76EC2 /* StSRecordFile.cpp */,
0221DC1118EB3D7C00B76EC2 /* Updater.cpp */,
0221DC1318EB3D7C00B76EC2 /* utils.cpp */,
0221DC1418EB3D7C00B76EC2 /* Value.cpp */,
);
name = src;
sourceTree = "<group>";
};
0221DC4B18EB3DA800B76EC2 /* bootloader */ = {
isa = PBXGroup;
children = (
0221DC5218EB3DE100B76EC2 /* command.c */,
0221DC5318EB3DE100B76EC2 /* command.h */,
0221DC5418EB3DE100B76EC2 /* context.h */,
0221DC5518EB3DE100B76EC2 /* peripheral.h */,
0221DC5618EB3DE100B76EC2 /* bootloader.h */,
0221DC5718EB3DE100B76EC2 /* bootloader_hid_report_ids.h */,
);
name = bootloader;
sourceTree = "<group>";
};
0221DC4C18EB3DB100B76EC2 /* crc */ = {
isa = PBXGroup;
children = (
0221DC5818EB3DE100B76EC2 /* crc16.h */,
0221DC5918EB3DE100B76EC2 /* crc32.h */,
0221DC5A18EB3DE100B76EC2 /* crc16.c */,
0221DC5B18EB3DE100B76EC2 /* crc32.c */,
);
name = crc;
sourceTree = "<group>";
};
0221DC4D18EB3DB700B76EC2 /* include */ = {
isa = PBXGroup;
children = (
0221DC5C18EB3DE100B76EC2 /* fsl_platform_common.h */,
0221DC5D18EB3DE100B76EC2 /* fsl_platform_status.h */,
0221DC5E18EB3DE100B76EC2 /* fsl_platform_types.h */,
0221DC5F18EB3DE100B76EC2 /* bootloader_common.h */,
);
name = include;
sourceTree = "<group>";
};
0221DC4E18EB3DBE00B76EC2 /* memory */ = {
isa = PBXGroup;
children = (
0221DC6018EB3DE100B76EC2 /* memory.h */,
0221DC6118EB3DE100B76EC2 /* memory.c */,
);
name = memory;
sourceTree = "<group>";
};
0221DC4F18EB3DC600B76EC2 /* packet */ = {
isa = PBXGroup;
children = (
0221DC6218EB3DE100B76EC2 /* command_packet.h */,
0221DC6318EB3DE100B76EC2 /* serial_packet.h */,
0221DC6418EB3DE100B76EC2 /* serial_packet.c */,
);
name = packet;
sourceTree = "<group>";
};
0221DC5018EB3DCB00B76EC2 /* property */ = {
isa = PBXGroup;
children = (
0221DC6518EB3DE100B76EC2 /* property.h */,
0221DC6618EB3DE100B76EC2 /* property.c */,
);
name = property;
sourceTree = "<group>";
};
0221DC5118EB3DD000B76EC2 /* sbloader */ = {
isa = PBXGroup;
children = (
0221DC6C18EB3DE100B76EC2 /* sb_file_format.h */,
);
name = sbloader;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
0221DBAB18EB3C0F00B76EC2 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
0221DC4418EB3D8E00B76EC2 /* StringMatcher.h in Headers */,
0221DC7D18EB3DE100B76EC2 /* bootloader_common.h in Headers */,
0221DC7418EB3DE100B76EC2 /* bootloader.h in Headers */,
0221DC4918EB3D8E00B76EC2 /* utils.h in Headers */,
0221DC4518EB3D8E00B76EC2 /* StSRecordFile.h in Headers */,
0221DC7118EB3DE100B76EC2 /* command.h in Headers */,
0221DC7318EB3DE100B76EC2 /* peripheral.h in Headers */,
0221DBD618EB3D6800B76EC2 /* BlfwkErrors.h in Headers */,
0221DBE818EB3D6800B76EC2 /* int_size.h in Headers */,
0221DBE118EB3D6800B76EC2 /* hidapi.h in Headers */,
0221DC7618EB3DE100B76EC2 /* crc16.h in Headers */,
0221DC7718EB3DE100B76EC2 /* crc32.h in Headers */,
0221DBDC18EB3D6800B76EC2 /* ELF.h in Headers */,
0221DBEC18EB3D6800B76EC2 /* options.h in Headers */,
0221DC7518EB3DE100B76EC2 /* bootloader_hid_report_ids.h in Headers */,
0221DBDA18EB3D6800B76EC2 /* DataSource.h in Headers */,
0221DC8118EB3DE100B76EC2 /* serial_packet.h in Headers */,
0221DC7C18EB3DE100B76EC2 /* fsl_platform_types.h in Headers */,
0221DBEB18EB3D6800B76EC2 /* OptionContext.h in Headers */,
0221DBD718EB3D6800B76EC2 /* Blob.h in Headers */,
0221DC4018EB3D8E00B76EC2 /* SRecordSourceFile.h in Headers */,
0221DC4318EB3D8E00B76EC2 /* StExecutableImage.h in Headers */,
0221DBDE18EB3D6800B76EC2 /* EndianUtilities.h in Headers */,
0221DC8318EB3DE100B76EC2 /* property.h in Headers */,
0221DBE918EB3D6800B76EC2 /* json.h in Headers */,
0221DC7E18EB3DE100B76EC2 /* memory.h in Headers */,
0221DBE718EB3D6800B76EC2 /* host_types.h in Headers */,
0221DC7A18EB3DE100B76EC2 /* fsl_platform_common.h in Headers */,
0221DC4218EB3D8E00B76EC2 /* StELFFile.h in Headers */,
0221DC7218EB3DE100B76EC2 /* context.h in Headers */,
0221DBE018EB3D6800B76EC2 /* GHSSecInfo.h in Headers */,
0221DBEF18EB3D6800B76EC2 /* serial.h in Headers */,
0221DBDB18EB3D6800B76EC2 /* DataTarget.h in Headers */,
0221DC8018EB3DE100B76EC2 /* command_packet.h in Headers */,
0221DBEE18EB3D6800B76EC2 /* SearchPath.h in Headers */,
0221DC8A18EB3DE100B76EC2 /* sb_file_format.h in Headers */,
0221DBED18EB3D6800B76EC2 /* SBSourceFile.h in Headers */,
0221DC4A18EB3D8E00B76EC2 /* Value.h in Headers */,
0221DBDF18EB3D6800B76EC2 /* format_string.h in Headers */,
0221DBEA18EB3D6800B76EC2 /* Logging.h in Headers */,
0221DC7B18EB3DE100B76EC2 /* fsl_platform_status.h in Headers */,
0221DBDD18EB3D6800B76EC2 /* ELFSourceFile.h in Headers */,
0221DBF418EB3D6800B76EC2 /* SourceFile.h in Headers */,
0221DC4118EB3D8E00B76EC2 /* stdafx.h in Headers */,
0221DC4718EB3D8E00B76EC2 /* Updater.h in Headers */,
0221DBF318EB3D6800B76EC2 /* smart_ptr.h in Headers */,
BFF233CD1B051DFD002112AD /* AESCounter.h in Headers */,
BFF233CE1B051DFD002112AD /* AESKey.h in Headers */,
BFF233CF1B051DFD002112AD /* bootloader_config.h in Headers */,
BFF233D01B051DFD002112AD /* Bootloader.h in Headers */,
BFF233D11B051DFD002112AD /* BusPal.h in Headers */,
BFF233D21B051DFD002112AD /* BusPalPeripheral.h in Headers */,
BFF233D31B051DFD002112AD /* Command.h in Headers */,
BFF233D41B051DFD002112AD /* DataSourceImager.h in Headers */,
BFF233D51B051DFD002112AD /* ExcludesListMatcher.h in Headers */,
BFF233D61B051DFD002112AD /* GlobMatcher.h in Headers */,
BFF233D71B051DFD002112AD /* HexValues.h in Headers */,
BFF233D81B051DFD002112AD /* Packetizer.h in Headers */,
BFF233D91B051DFD002112AD /* Peripheral.h in Headers */,
BFF233DA1B051DFD002112AD /* Random.h in Headers */,
BFF233DB1B051DFD002112AD /* rijndael.h in Headers */,
BFF233DC1B051DFD002112AD /* RijndaelCTR.h in Headers */,
BFF233DD1B051DFD002112AD /* SerialPacketizer.h in Headers */,
BFF233DE1B051DFD002112AD /* SimPacketizer.h in Headers */,
BFF233DF1B051DFD002112AD /* SimPeripheral.h in Headers */,
BFF233E01B051DFD002112AD /* Simulator.h in Headers */,
BFF233E11B051DFD002112AD /* SimulatorMemory.h in Headers */,
BFF233E21B051DFD002112AD /* UartPeripheral.h in Headers */,
BFF233E31B051DFD002112AD /* UsbHidPacketizer.h in Headers */,
BFF233E41B051DFD002112AD /* UsbHidPeripheral.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
0221DBAC18EB3C0F00B76EC2 /* blfwk */ = {
isa = PBXNativeTarget;
buildConfigurationList = 0221DBB118EB3C0F00B76EC2 /* Build configuration list for PBXNativeTarget "blfwk" */;
buildPhases = (
0221DBA918EB3C0F00B76EC2 /* Sources */,
0221DBAA18EB3C0F00B76EC2 /* Frameworks */,
0221DBAB18EB3C0F00B76EC2 /* Headers */,
);
buildRules = (
);
dependencies = (
);
name = blfwk;
productName = blfwk;
productReference = 0221DBAD18EB3C0F00B76EC2 /* libblfwk.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
0221DBA518EB3C0F00B76EC2 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0510;
ORGANIZATIONNAME = "Freescale Semiconductor, Inc.";
};
buildConfigurationList = 0221DBA818EB3C0F00B76EC2 /* Build configuration list for PBXProject "blfwk" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 0221DBA418EB3C0F00B76EC2;
productRefGroup = 0221DBAE18EB3C0F00B76EC2 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
0221DBAC18EB3C0F00B76EC2 /* blfwk */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
0221DBA918EB3C0F00B76EC2 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
0221DC1818EB3D7C00B76EC2 /* DataTarget.cpp in Sources */,
0221DC2C18EB3D7C00B76EC2 /* SRecordSourceFile.cpp in Sources */,
0221DC1718EB3D7C00B76EC2 /* DataSource.cpp in Sources */,
0221DC2F18EB3D7C00B76EC2 /* StSRecordFile.cpp in Sources */,
0221DC2E18EB3D7C00B76EC2 /* StExecutableImage.cpp in Sources */,
0221DC1B18EB3D7C00B76EC2 /* GHSSecInfo.cpp in Sources */,
0221DC1918EB3D7C00B76EC2 /* ELFSourceFile.cpp in Sources */,
0221DC3318EB3D7C00B76EC2 /* utils.cpp in Sources */,
0221DC2718EB3D7C00B76EC2 /* serial.c in Sources */,
0221DC8418EB3DE100B76EC2 /* property.c in Sources */,
0221DC1A18EB3D7C00B76EC2 /* format_string.cpp in Sources */,
0221DC1C18EB3D7C00B76EC2 /* hid-mac.c in Sources */,
0221DC2418EB3D7C00B76EC2 /* options.cpp in Sources */,
0221DC2618EB3D7C00B76EC2 /* SearchPath.cpp in Sources */,
0221DC2518EB3D7C00B76EC2 /* SBSourceFile.cpp in Sources */,
0221DC7F18EB3DE100B76EC2 /* memory.c in Sources */,
0221DC3118EB3D7C00B76EC2 /* Updater.cpp in Sources */,
0221DC3418EB3D7C00B76EC2 /* Value.cpp in Sources */,
0221DC7018EB3DE100B76EC2 /* command.c in Sources */,
0221DC2D18EB3D7C00B76EC2 /* StELFFile.cpp in Sources */,
0221DC2B18EB3D7C00B76EC2 /* SourceFile.cpp in Sources */,
0221DC8218EB3DE100B76EC2 /* serial_packet.c in Sources */,
0221DC7818EB3DE100B76EC2 /* crc16.c in Sources */,
0221DC2318EB3D7C00B76EC2 /* Logging.cpp in Sources */,
0221DC7918EB3DE100B76EC2 /* crc32.c in Sources */,
0221DC2218EB3D7C00B76EC2 /* jsoncpp.cpp in Sources */,
BFF233FB1B051E4D002112AD /* AESCounter.cpp in Sources */,
BFF233FC1B051E4D002112AD /* AESKey.cpp in Sources */,
BFF233FD1B051E4D002112AD /* Blob.cpp in Sources */,
BFF233FE1B051E4D002112AD /* Bootloader.cpp in Sources */,
BFF233FF1B051E4D002112AD /* BusPal.cpp in Sources */,
BFF234001B051E4D002112AD /* BusPalPeripheral.cpp in Sources */,
BFF234011B051E4D002112AD /* Command.cpp in Sources */,
BFF234021B051E4D002112AD /* DataSourceImager.cpp in Sources */,
BFF234031B051E4D002112AD /* ExcludesListMatcher.cpp in Sources */,
BFF234041B051E4D002112AD /* GlobMatcher.cpp in Sources */,
BFF234051B051E4D002112AD /* HexValues.cpp in Sources */,
BFF234061B051E4D002112AD /* Random.cpp in Sources */,
BFF234071B051E4D002112AD /* rijndael.cpp in Sources */,
BFF234081B051E4D002112AD /* RijndaelCTR.cpp in Sources */,
BFF234091B051E4D002112AD /* SerialPacketizer.cpp in Sources */,
BFF2340A1B051E4D002112AD /* SimPacketizer.cpp in Sources */,
BFF2340B1B051E4D002112AD /* SimPeripheral.cpp in Sources */,
BFF2340C1B051E4D002112AD /* Simulator.cpp in Sources */,
BFF2340D1B051E4D002112AD /* SimulatorMemory.cpp in Sources */,
BFF2340E1B051E4D002112AD /* UartPeripheral.cpp in Sources */,
BFF2340F1B051E4D002112AD /* UsbHidPacketizer.cpp in Sources */,
BFF234101B051E4D002112AD /* UsbHidPeripheral.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
0221DBAF18EB3C0F00B76EC2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
BOOTLOADER_HOST,
MACOSX,
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
USER_HEADER_SEARCH_PATHS = "../../../src ../../../src/include";
};
name = Debug;
};
0221DBB018EB3C0F00B76EC2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
BOOTLOADER_HOST,
MACOSX,
);
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
SDKROOT = macosx;
USER_HEADER_SEARCH_PATHS = "../../../src ../../../src/include";
};
name = Release;
};
0221DBB218EB3C0F00B76EC2 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
EXECUTABLE_PREFIX = lib;
MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
0221DBB318EB3C0F00B76EC2 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
EXECUTABLE_PREFIX = lib;
MACOSX_DEPLOYMENT_TARGET = 10.8;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
0221DBA818EB3C0F00B76EC2 /* Build configuration list for PBXProject "blfwk" */ = {
isa = XCConfigurationList;
buildConfigurations = (
0221DBAF18EB3C0F00B76EC2 /* Debug */,
0221DBB018EB3C0F00B76EC2 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
0221DBB118EB3C0F00B76EC2 /* Build configuration list for PBXNativeTarget "blfwk" */ = {
isa = XCConfigurationList;
buildConfigurations = (
0221DBB218EB3C0F00B76EC2 /* Debug */,
0221DBB318EB3C0F00B76EC2 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 0221DBA518EB3C0F00B76EC2 /* Project object */;
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:blfwk.xcodeproj">
</FileRef>
</Workspace>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>39613C90-D3FD-466B-B9D9-DC666880F859</string>
<key>IDESourceControlProjectName</key>
<string>blfwk</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>B0D5F4B3-E512-4A54-9F8A-89FE66DEC76C</key>
<string>ssh://sw-git.freescale.net/git/sw_git/repos/mcu-boot.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>apps/common/blfwk/blfwk.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>B0D5F4B3-E512-4A54-9F8A-89FE66DEC76C</key>
<string>../../../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>ssh://sw-git.freescale.net/git/sw_git/repos/mcu-boot.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>B0D5F4B3-E512-4A54-9F8A-89FE66DEC76C</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>B0D5F4B3-E512-4A54-9F8A-89FE66DEC76C</string>
<key>IDESourceControlWCCName</key>
<string>mcu-boot</string>
</dict>
</array>
</dict>
</plist>

View File

@ -0,0 +1,206 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\blfwk\AESCounter.h" />
<ClInclude Include="..\..\..\src\blfwk\AESKey.h" />
<ClInclude Include="..\..\..\src\blfwk\BlfwkErrors.h" />
<ClInclude Include="..\..\..\src\blfwk\Blob.h" />
<ClInclude Include="..\..\..\src\blfwk\Bootloader.h" />
<ClInclude Include="..\..\..\src\blfwk\BusPal.h" />
<ClInclude Include="..\..\..\src\blfwk\BusPalPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\Command.h" />
<ClInclude Include="..\..\..\src\blfwk\Crc.h" />
<ClInclude Include="..\..\..\src\blfwk\DataSource.h" />
<ClInclude Include="..\..\..\src\blfwk\DataSourceImager.h" />
<ClInclude Include="..\..\..\src\blfwk\DataTarget.h" />
<ClInclude Include="..\..\..\src\blfwk\ELF.h" />
<ClInclude Include="..\..\..\src\blfwk\ELFSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\EndianUtilities.h" />
<ClInclude Include="..\..\..\src\blfwk\ExcludesListMatcher.h" />
<ClInclude Include="..\..\..\src\blfwk\format_string.h" />
<ClInclude Include="..\..\..\src\blfwk\GHSSecInfo.h" />
<ClInclude Include="..\..\..\src\blfwk\GlobMatcher.h" />
<ClInclude Include="..\..\..\src\blfwk\HexValues.h" />
<ClInclude Include="..\..\..\src\blfwk\hidapi.h" />
<ClInclude Include="..\..\..\src\blfwk\host_types.h" />
<ClInclude Include="..\..\..\src\blfwk\IntelHexSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\int_size.h" />
<ClInclude Include="..\..\..\src\blfwk\json.h" />
<ClInclude Include="..\..\..\src\blfwk\Logging.h" />
<ClInclude Include="..\..\..\src\blfwk\OptionContext.h" />
<ClInclude Include="..\..\..\src\blfwk\options.h" />
<ClInclude Include="..\..\..\src\blfwk\Packetizer.h" />
<ClInclude Include="..\..\..\src\blfwk\Peripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\Random.h" />
<ClInclude Include="..\..\..\src\blfwk\rijndael.h" />
<ClInclude Include="..\..\..\src\blfwk\RijndaelCTR.h" />
<ClInclude Include="..\..\..\src\blfwk\SBSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\SearchPath.h" />
<ClInclude Include="..\..\..\src\blfwk\serial.h" />
<ClInclude Include="..\..\..\src\blfwk\SerialPacketizer.h" />
<ClInclude Include="..\..\..\src\blfwk\smart_ptr.h" />
<ClInclude Include="..\..\..\src\blfwk\SourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\SRecordSourceFile.h" />
<ClInclude Include="..\..\..\src\blfwk\stdafx.h" />
<ClInclude Include="..\..\..\src\blfwk\StELFFile.h" />
<ClInclude Include="..\..\..\src\blfwk\StExecutableImage.h" />
<ClInclude Include="..\..\..\src\blfwk\StIntelHexFile.h" />
<ClInclude Include="..\..\..\src\blfwk\StringMatcher.h" />
<ClInclude Include="..\..\..\src\blfwk\StSRecordFile.h" />
<ClInclude Include="..\..\..\src\blfwk\UartPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\Updater.h" />
<ClInclude Include="..\..\..\src\blfwk\UsbHidPacketizer.h" />
<ClInclude Include="..\..\..\src\blfwk\UsbHidPeripheral.h" />
<ClInclude Include="..\..\..\src\blfwk\utils.h" />
<ClInclude Include="..\..\..\src\blfwk\Value.h" />
<ClInclude Include="..\..\..\src\bootloader\bootloader.h" />
<ClInclude Include="..\..\..\src\bootloader\command.h" />
<ClInclude Include="..\..\..\src\crc\crc16.h" />
<ClInclude Include="..\..\..\src\crc\crc32.h" />
<ClInclude Include="..\..\..\src\include\bootloader_common.h" />
<ClInclude Include="..\..\..\src\packet\serial_packet.h" />
<ClInclude Include="..\..\..\src\property\property.h" />
<ClInclude Include="..\..\..\src\usb_device\bootloader_hid_report_ids.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\blfwk\src\AESCounter.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\AESKey.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Blob.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Bootloader.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\BusPal.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\BusPalPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Command.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Crc.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\DataSource.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\DataSourceImager.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\DataTarget.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\ELFSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\ExcludesListMatcher.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\format_string.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\GHSSecInfo.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\GlobMatcher.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\HexValues.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\hid-windows.c" />
<ClCompile Include="..\..\..\src\blfwk\src\IntelHexSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\jsoncpp.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Logging.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\options.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Random.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\rijndael.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\RijndaelCTR.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SBSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SearchPath.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\serial.c" />
<ClCompile Include="..\..\..\src\blfwk\src\SerialPacketizer.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\SRecordSourceFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StELFFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StExecutableImage.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StIntelHexFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\StSRecordFile.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\UartPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Updater.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPacketizer.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPeripheral.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\utils.cpp" />
<ClCompile Include="..\..\..\src\blfwk\src\Value.cpp" />
<ClCompile Include="..\..\..\src\crc\src\crc16.c" />
<ClCompile Include="..\..\..\src\crc\src\crc32.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{DE64A8C3-695A-491F-B3E3-24D6A3057A40}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>blfw</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(ProjectDir)$(ProjectName)-$(Configuration)\</OutDir>
<IntDir>$(ProjectDir)$(ProjectName)-$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(ProjectDir)$(ProjectName)-$(Configuration)\</OutDir>
<IntDir>$(ProjectDir)$(ProjectName)-$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>BOOTLOADER_HOST;WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../src;../../../src/include;../../../src/drivers/common;../../../src/bm_usb</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<CompileAs>CompileAsCpp</CompileAs>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<BrowseInformation>true</BrowseInformation>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<AdditionalDependencies>setupapi.lib</AdditionalDependencies>
</Lib>
<Bscmake>
<PreserveSbr>true</PreserveSbr>
</Bscmake>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>BOOTLOADER_HOST;WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../src;../../../src/include;../../../src/drivers/common;../../../src/bm_usb</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<CompileAs>CompileAsCpp</CompileAs>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
<AdditionalDependencies>setupapi.lib</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,332 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Target Header Files">
<UniqueIdentifier>{fb17e7f8-107f-4583-b9ff-f467d2a37db4}</UniqueIdentifier>
</Filter>
<Filter Include="Target Source Files">
<UniqueIdentifier>{01992201-ccdd-4a18-b77f-85d5c5353cd0}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\src\include\bootloader_common.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\usb_device\bootloader_hid_report_ids.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\bootloader\command.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\packet\serial_packet.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\crc\crc16.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\property\property.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\bootloader\bootloader.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Packetizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Peripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SBSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SearchPath.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\serial.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SerialPacketizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\smart_ptr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\SRecordSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StELFFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StExecutableImage.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StringMatcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StSRecordFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\UartPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Updater.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\UsbHidPacketizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\UsbHidPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\utils.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Value.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\BlfwkErrors.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Blob.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Bootloader.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\BusPal.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\BusPalPeripheral.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Command.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\DataSource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\DataTarget.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\ELF.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\ELFSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\EndianUtilities.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\format_string.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\GHSSecInfo.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\hidapi.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\host_types.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\int_size.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\json.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Logging.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\OptionContext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\options.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\crc\crc32.h">
<Filter>Target Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\AESKey.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\AESCounter.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\GlobMatcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\HexValues.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\DataSourceImager.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\ExcludesListMatcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\rijndael.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\RijndaelCTR.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Random.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\IntelHexSourceFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\StIntelHexFile.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\src\blfwk\Crc.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\src\crc\src\crc16.c">
<Filter>Target Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\hid-windows.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\jsoncpp.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Logging.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SBSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SearchPath.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\serial.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SerialPacketizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\SRecordSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StELFFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StExecutableImage.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StSRecordFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\UartPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Updater.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPacketizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\UsbHidPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\utils.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Value.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Bootloader.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\BusPal.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\BusPalPeripheral.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Command.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\DataSource.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\DataTarget.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\ELFSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\format_string.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\GHSSecInfo.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\options.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\crc\src\crc32.c">
<Filter>Target Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\AESKey.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Blob.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\AESCounter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\GlobMatcher.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\HexValues.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\DataSourceImager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\ExcludesListMatcher.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\rijndael.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\RijndaelCTR.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Random.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\IntelHexSourceFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\StIntelHexFile.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\blfwk\src\Crc.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

View File

@ -0,0 +1,270 @@
/*
* Copyright (c) 2013-2015 Freescale Semiconductor, Inc.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "blfwkdll.h"
#include "blfwk/Bootloader.h"
#include "blfwk/Updater.h"
#include "blfwk/SerialPacketizer.h"
#include "blfwk/Crc.h"
namespace blfwkdll
{
// See blfwkdll.h for documentation of this method.
Updater::Updater(PeripheralConfig *config)
{
blfwk::Peripheral::PeripheralConfigData *pinnedConfig = (blfwk::Peripheral::PeripheralConfigData *)config;
updater = NULL;
try
{
updater = new blfwk::Updater(*pinnedConfig);
}
catch (exception e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
Updater::~Updater()
{
// Clean up unmanaged code.
if (updater != NULL)
{
delete (blfwk::Updater *)updater;
updater = NULL;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::registerCallback(void (*progress)(int, int, int), bool *abort)
{
((blfwk::Updater *)updater)->registerCallback(progress, abort);
}
// See blfwkdll.h for documentation of this method.
uint32_t Updater::flashFirmware(std::string *filename, uint32_t baseAddress, uint32_t memoryId)
{
try
{
uint32_t status;
status = ((blfwk::Updater *)updater)->flashFirmware(filename->c_str(), baseAddress, memoryId);
return status;
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::eraseAllUnsecure()
{
try
{
((blfwk::Updater *)updater)->eraseAllUnsecure();
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::eraseRegion(uint32_t start, uint32_t length, uint32_t memoryId)
{
try
{
((blfwk::Updater *)updater)->eraseRegion(start, length, memoryId);
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::eraseAll(uint32_t memoryId)
{
try
{
((blfwk::Updater *)updater)->eraseAll(memoryId);
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::unlockWithKey(const std::string &backdoorKey)
{
try
{
((blfwk::Updater *)updater)->unlock(backdoorKey);
}
catch (const std::exception &e)
{
throw e;
}
}
/* clang-format off */
/* the for each statement is non-standard and not supported by clang format */
// See blfwkdll.h for documentation of this method.
bool Updater::isCommandSupported(const std::string &command)
{
try
{
for each(blfwk::cmd_t var in blfwk::kCommands)
{
if (command.compare(var.name) == 0)
{
return ((blfwk::Updater *)updater)->isCommandSupported(var);
}
}
return false;
}
catch (const std::exception &e)
{
throw e;
}
}
/* clang-format on */
// See blfwkdll.h for documentation of this method.
void Updater::getProperty(PROPERTY_TAG tag, uint32_t *responseWords)
{
try
{
blfwk::property_t propertytag = blfwk::kProperties.at(tag);
std::vector<uint32_t> value = ((blfwk::Updater *)updater)->getProperty(propertytag);
for (size_t i = 0; i < value.size(); i++)
{
responseWords[i] = value.at(i);
}
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
uint32_t Updater::getInternalFlashSize(void)
{
try
{
return ((blfwk::Updater *)updater)->getInternalFlashSize();
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
uint32_t Updater::getInternalRAMSize(void)
{
try
{
return ((blfwk::Updater *)updater)->getInternalRAMSize();
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::programOnce(uint32_t index, uint32_t byteCount, const std::string &data, bool isLsb)
{
try
{
((blfwk::Updater *)updater)->programOnce(index, byteCount, data, isLsb);
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::reset()
{
try
{
((blfwk::Updater *)updater)->reset();
// delete updater;
// updater = NULL;
}
catch (const std::exception &e)
{
// delete this;
throw e;
}
}
// See blfwkdll.h for documentation of this method.
uint32_t Updater::getSerialProtocolVersion()
{
try
{
return ((blfwk::Updater *)updater)->getPacketizer()->getVersion().version;
}
catch (const std::exception &e)
{
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::ping(int32_t retries, uint32_t delay, uint32_t comSpeed)
{
static uint32_t actualComSpeed = 0;
uint32_t xferComSpeed = (actualComSpeed == 0) ? comSpeed : actualComSpeed;
try
{
((blfwk::Updater *)updater)->ping(retries, delay, xferComSpeed, (int *)&actualComSpeed);
}
catch (const std::exception &e)
{
actualComSpeed = comSpeed;
throw e;
}
}
// See blfwkdll.h for documentation of this method.
void Updater::getSupportedMemories(MemoryList &list)
{
list.push_back(make_pair(kMemory_Internal.memoryId, kMemory_Internal.description));
list.push_back(make_pair(kMemory_ExecuteOnly.memoryId, kMemory_ExecuteOnly.description));
for (MemoryArray::const_iterator it = kMemories.begin(); it != kMemories.end(); it++)
{
list.push_back(make_pair(it->memoryId, it->description));
}
}
// See blfwkdll.h for documentation of this method.
bool Updater::IsMemorySpaceId(uint32_t memoryId)
{
if ((GROUPID(memoryId) != kGroup_Internal) || (memoryId == kMemoryInternal))
{
return true;
}
else
{
return false;
}
}
// See blfwkdll.h for documentation of this method.
uint32_t Crc::calculate_application_crc32(const uint8_t *start, uint32_t length)
{
return blfwk::Crc::calculate_application_crc32(start, length);
}
} // namespace blfwkdll;

View File

@ -0,0 +1,400 @@
/*
* Copyright (c) 2013-2015 Freescale Semiconductor, Inc.
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifdef BLFWKDLL_EXPORTS
#define BLFWKDLL_API __declspec(dllexport)
#else
#define BLFWKDLL_API __declspec(dllimport)
#endif
#pragma once
#include <string>
#include <vector>
//! @brief Tag value used to validate the bootloader configuration data.
#define kBootloaderConfigAreaTag (('k' << 0) | ('c' << 8) | ('f' << 16) | ('g' << 24))
//! @brief Peripheral type bit mask definitions.
#define kPeripheralMaskUart (1 << 0)
#define kPeripheralMaskI2c (1 << 1)
#define kPeripheralMaskSpi (1 << 2)
#define kPeripheralMaskCan (1 << 3)
#define kPeripheralMaskUsb (1 << 4)
#define kPeripheralMask \
(kPeripheralMaskUart | kPeripheralMaskI2c | kPeripheralMaskSpi | kPeripheralMaskCan | kPeripheralMaskUsb)
//! @brief Bit positions for boot flags in configuration data
#define kBootFlagDirectBoot (1 << 0)
//! @brief Bit positions for clock flags in configuration data.
#define kClockFlagHighSpeed (1 << 0)
// Copy from src/bootloader/src/flexcan_peripheral_interface.c
// config1 8 bit
#define FLEXCAN_SPEED_MASK 0x0F // bit[3:0]
#define FLEXCAN_SPEED_SPEC_MASK 0x08 // bit[3:3]
#define FLEXCAN_SPEED_INDEX_MASK 0x07 // bit[2:0]
#define FLEXCAN_CLKSEL_MASK 0x80 // bit[7:7]
#define FLEXCAN_PROPSEG_MASK 0x70 // bit[6:4]
#define FLEXCAN_PROPSEG_SHIFT 4
// config2 16 bit
#define FLEXCAN_PRESCALER_MASK 0xFF00 // bit[15:8]
#define FLEXCAN_PRESCALER_SHIFT 8
#define FLEXCAN_PSEG1_MASK 0x00E0 // bit[7:5]
#define FLEXCAN_PSEG1_SHIFT 5
#define FLEXCAN_PSEG2_MASK 0x001C // bit[4:2]
#define FLEXCAN_PSEG2_SHIFT 2
#define FLEXCAN_RJW_MASK 0x0003 // bit[1:0]
#define FLEXCAN_RJW_SHIFT 0
#define FLEXCAN_SPEED_125K 0x00 // bit[2:0]
#define FLEXCAN_SPEED_250K 0x01 // bit[2:0]
#define FLEXCAN_SPEED_500K 0x02 // bit[2:0]
#define FLEXCAN_SPEED_1M 0x04 // bit[2:0]
namespace blfwkdll
{
// Copy from src/property/property.c
//! @brief Format of bootloader configuration data on Flash.
struct BLFWKDLL_API BootloaderConfigureAreaData
{
uint32_t tag; //!< [00:03] Magic number to verify bootloader configuration is valid. Must be set to 'kcfg'.
uint32_t crcStartAddress; //!< [04:07] Start address for application image CRC check. If the bits are all set then
//! Bootloader by default will not perform any CRC check.
uint32_t crcByteCount; //!< [08:0b] Byte count for application image CRC check. If the bits are all set then
//! bootloader by default will not prform any CRC check.
uint32_t crcExpectedValue; //!< [0c:0f] Expected CRC value for application CRC check. If the bits are all set then
//! Bootloader by default will not perform any CRC check.
uint8_t enabledPeripherals; //!< [10:10] Bitfield of peripherals to enable.
//! bit 0 - LPUART, bit 1 - I2C, bit 2 - SPI, bit 3 - CAN, bit 4 - USB
//! Bootloader will enable the peripheral if corresponding bit is set to 1.
uint8_t i2cSlaveAddress; //!< [11:11] If not 0xFF, used as the 7-bit I2C slave address. If 0xFF, defaults to 0x10
//! for I2C slave address.
uint16_t peripheralDetectionTimeoutMs; //!< [12:13] Timeout in milliseconds for active peripheral detection. If
//! 0xFFFF, defaults to 5 seconds.
uint16_t usbVid; //!< [14:15] Sets the USB Vendor ID reported by the device during enumeration. If 0xFFFF, it
//! defaults to 0x15A2.
uint16_t usbPid; //!< [16:17] Sets the USB Product ID reported by the device during enumeration.
uint32_t usbStringsPointer; //!< [18:1b] Sets the USB Strings reported by the device during enumeration.
uint8_t clockFlags; //!< [1c:1c] The flags in the clockFlags configuration field are enabled if the corresponding
//! bit is cleared (0).
//! bit 0 - HighSpeed Enable high speed mode (i.e., 48 MHz).
uint8_t
clockDivider; //!< [1d:1d] Inverted value of the divider to use for core and bus clocks when in high speed mode.
uint8_t bootFlags; //!< [1e:1e] If bit 0 is cleared, then Bootloader will jump to either Quad SPI Flash or
//! internal flash image depending on FOPT BOOTSRC_SEL bits.
//! If the bit is set, then Bootloader will prepare for host communication over serial peripherals.
uint8_t pad0; //!< [1f:1f] Reserved, set to 0xFF
uint32_t mmcauConfigPointer; //!< [20:23] A pointer to the MMCAU configuration structure in memory.
uint32_t keyBlobPointer; //!< [24:27]Holds a pointer value to the key blob array used to configure OTFAD
uint8_t pad1; //!< [28:28] reserved
uint8_t canConfig1; //!< [29:29] ClkSel[1], PropSeg[3], SpeedIndex[4]
uint16_t canConfig2; //!< [2a:2b] Pdiv[8], Pseg1[3], Pseg2[3], rjw[2]
uint16_t canTxId; //!< [2c:2d] txId
uint16_t canRxId; //!< [2e:2f] rxId
uint32_t qspi_config_block_pointer; //!< [30:33] A pointer to the QSPI config block in internal flash array.
uint32_t reserved[3]; //!<[34:3f] reserved
};
/*!
* \brief Update class contains the functionality necessary to update the
* firmware on a device running Bootloader.
*
* The purpose of this class is to provide a common interface for
* updating any device running the Bootloader from several different file formats.
*/
class BLFWKDLL_API Updater
{
public:
//! @brief Bootloader Transports.
enum HOST_PERIPHERAL_TYPE_TAG
{
kHostPeripheralType_None,
kHostPeripheralType_UART,
kHostPeripheralType_BUSPAL_UART,
kHostPeripheralType_USB_HID,
kHostPeripheralType_SIM
};
//! @brief BusPal Transports.
enum BUS_PAL_TYPE
{
kBusPalFunction_None,
kBusPalFunction_SPI,
kBusPalFunction_I2C,
kBusPalFunction_CAN,
kBusPalFunction_GPIO_CONFIG,
kBusPalFunction_GPIO_SET,
kBusPalFunction_FPGA_CLOCK_SET
};
//! @brief SPI clock polarity configuration.
enum SPI_CLOCK_POLARITY
{
kSpiClockPolarity_ActiveHigh = 0, //!< Active-high SPI clock (idles low).
kSpiClockPolarity_ActiveLow = 1 //!< Active-low SPI clock (idles high).
};
//! @brief SPI clock phase configuration.
enum SPI_CLOCK_PHASE
{
kSpiClockPhase_FirstEdge =
0, //!< First edge on SPSCK occurs at the middle of the first cycle of a data transfer.
kSpiClockPhase_SecondEdge =
1 //!< First edge on SPSCK occurs at the start of the first cycle of a data transfer.
};
//! @brief SPI data shifter direction options.
enum SPI_SHIFT_DIRECTION
{
kSpiMsbFirst = 0, //!< Data transfers start with most significant bit.
kSpiLsbFirst = 1 //!< Data transfers start with least significant bit.
};
//! @brief BusPal configuration data.
struct BusPalConfig
{
BUS_PAL_TYPE function;
uint32_t spiSpeedKHz;
SPI_CLOCK_POLARITY spiPolarity;
SPI_CLOCK_PHASE spiPhase;
SPI_SHIFT_DIRECTION spiDirection;
uint8_t i2cAddress;
uint32_t i2cSpeedKHz;
uint32_t canSpeed;
uint32_t canTxid;
uint32_t canRxid;
uint8_t gpioPort;
uint8_t gpioPinNum;
uint8_t gpioLevel;
uint8_t gpioMux;
uint32_t fpgaClockMhz;
};
//! @brief Peripheral configuration data.
struct PeripheralConfig
{
HOST_PERIPHERAL_TYPE_TAG peripheralType;
std::string comPortName;
long comPortSpeed;
uint32_t packetTimeoutMs;
unsigned short usbHidVid;
unsigned short usbHidPid;
std::string usbHidSerialNumber;
bool ping;
BusPalConfig busPalConfig;
std::string usbPath;
};
//! @brief Bootloader command mask.
enum COMMAND_MASK
{
kCommandMask_FlashEraseAll = 0x00000001,
kCommandMask_ReadMemory = 0x00000004,
kCommandMask_WriteMemory = 0x00000008,
kCommandMask_FillMemory = 0x00000010,
kCommandMask_FlashSecurityDisable = 0x00000020,
kCommandMask_GetProperty = 0x00000040,
kCommandMask_ReceiveSBFile = 0x00000080,
kCommandMask_Execute = 0x00000100,
kCommandMask_Call = 0x00000200,
kCommandMask_Reset = 0x00000400,
kCommandMask_SetProperty = 0x00000800,
kCommandMask_FlashEraseAllUnsecure = 0x00001000,
kCommandMask_FlashProgramOnce = 0x00002000,
kCommandMask_FlashReadOnce = 0x00004000,
kCommandMask_FlashReadResource = 0x00008000,
kCommandMask_ConfigureQuadSpi = 0x00010000,
};
//! @brief Bootloader property.
enum PROPERTY_TAG
{
kPropertyTag_ListProperties = 0x00,
kPropertyTag_BootloaderVersion = 0x01,
kPropertyTag_AvailablePeripherals = 0x02,
kPropertyTag_FlashStartAddress = 0x03,
kPropertyTag_FlashSizeInBytes = 0x04,
kPropertyTag_FlashSectorSize = 0x05,
kPropertyTag_FlashBlockCount = 0x06,
kPropertyTag_AvailableCommands = 0x07,
kPropertyTag_CrcCheckStatus = 0x08,
kPropertyTag_Reserved9 = 0x09,
kPropertyTag_VerifyWrites = 0x0a,
kPropertyTag_MaxPacketSize = 0x0b,
kPropertyTag_ReservedRegions = 0x0c,
kPropertyTag_Reserved13 = 0x0d,
kPropertyTag_RAMStartAddress = 0x0e,
kPropertyTag_RAMSizeInBytes = 0x0f,
kPropertyTag_SystemDeviceId = 0x10,
kPropertyTag_FlashSecurityState = 0x11,
kPropertyTag_UniqueDeviceId = 0x12,
kPropertyTag_FacSupport = 0x13,
kPropertyTag_FlashAccessSegmentSize = 0x14,
kPropertyTag_FlashAccessSegmentCount = 0x15,
kPropertyTag_FlashReadMargin = 0x16,
kPropertyTag_QspiInitStatus = 0x17,
kPropertyTag_TargetVersion = 0x18,
kPropertyTag_ExternalMemoryAttributes = 0x19,
kPropertyTag_InvalidProperty = 0xFF,
};
typedef std::pair<uint32_t, std::string> MemoryId;
typedef std::vector<MemoryId> MemoryList;
private:
// Due to the reason that MFC project must include this headfile to use blfwkdll,
// while cannot include blfwk/Updater.h.
// So use a void pointer here
void *updater; //!< A pointer to blfwk::Updater.
public:
//! \brief Default constructor.
Updater(PeripheralConfig *config);
//! \brief Destructor.
~Updater();
//! \brief register callback function
//!
//! \param progress Progress callback function
//!
//! \param abort The variable to abort the data phase.
void registerCallback(void (*progress)(int, int, int), bool *abort);
//! \brief Program flash on the device.
//!
//! \exception Raised if the file could not be opened successfully.
//!
//! \param filename The file to program into the device.
//! \param base_address The address on the device where the file wiill be written.
//! (for hex,srec and sb file, the param can be any value.)
uint32_t flashFirmware(std::string *filename, uint32_t baseAddress, uint32_t memoryId);
//! \brief Erase all flash blocks and release MCU security
//!
//! \exception Raised if the FlashEraseAllUnsecure command does not return success.
//! Raised if the FlashEraseAllUnsecure command is not supported.
void eraseAllUnsecure();
//! \brief Execute the FlashEraseRegion bootloader command.
//!
//! \exception Thrown if an error occurred while sending the
//! FlashEraseRegion(start, length) bootloader command.
//!
//! \param start The beginning address of the memory region to be erased.
//! \param length The length in bytes of the memory region to be erased.
void eraseRegion(uint32_t start, uint32_t length, uint32_t memoryId);
//! \brief Execute the FlashEraseAll bootloader command.
//!
//! \exception Thrown if an error occurred while sending the
//! FlashEraseAll bootloader command.
void eraseAll(uint32_t memoryId);
//! \brief Release security using BackdoorKey
//!
//! \exception Raised if the FlashSecurityDisable command does not return success.
//! Raised if the FlashSecurityDisable command is not supported.
//! Raised if the parameter is illegal
//! \param backdoor_key The 16 hex digitals used to release the security
void unlockWithKey(const std::string &backdoorKey);
//! \brief Checks if Bootloader device supports a given command.
//!
//! \exception Thrown if an error occurred while sending the
//! GetProperty(kProperty_AvailableCommands) bootloader command.
//!
//! \param command The command to check.
//!
//! \return true if command is supported, false if not.
bool isCommandSupported(const std::string &command);
//! \brief get Device's property by using get-property command.
//!
//! \exception Thrown if an error occurred while sending the
//! GetProperty(property) bootloader command.
//!
//! \param property tag
//!
//! \param pointer of the response values.
void getProperty(PROPERTY_TAG tag, uint32_t *responseWords);
//! \brief get total internal flash size of current device.
//!
//! \exception Raised if the operation is failed.
//!
//! \return the size in bytes. Return 0 means no internal Flash available.
uint32_t getInternalFlashSize(void);
//! \brief get total internal RAM size of current device.
//!
//! \exception Raised if the operation is failed.
//!
//! \return the size in bytes. Return 0 means no internal RAM available.
uint32_t getInternalRAMSize(void);
//! \brief Execute the FlashProgramOnce bootloader command.
//!
//! \exception Thrown if an error occurred while sending the
//! FlashEraseAll bootloader command.
//!
//! \param index The index of a specific program once field.
//!
//! \param byteCount The length in bytes of a specific program once field.
//!
//! \param data The 8/16 hex digitals to write.
void programOnce(uint32_t index, uint32_t byteCount, const std::string &data, bool isLsb);
//! \brief Execute the reset command.
//!
//! \exception Raised if the reset command is failed.
void reset();
//! @brief Get the serial protocol version.
//!
//! \exception Raised if the operation is failed.
uint32_t getSerialProtocolVersion();
//! \brief Send a ping if applicable.
//!
//! \exception Raised if ping response is not received successfully.
void ping(int32_t retries, uint32_t delay, uint32_t comSpeed);
//! \brief return all memory IDs supported by Bootloader.
//!
//! \param list return the list.
static void getSupportedMemories(MemoryList &list);
//! \brief Check if a given memory ID is also a memory space.
//!
//! \param memoryId The given memory ID to check.
//!
//! \return true/false
static bool IsMemorySpaceId(uint32_t memoryId);
};
/*!
* \brief Crc class contains the functionality about crc ccalculation.
*/
class BLFWKDLL_API Crc
{
public:
//! \brief Default constructor.
Crc(){};
//! \brief Destructor.
virtual ~Crc(){};
//! \brief calculate crc32 for a given memory region
//!
//! \param start The start address of a memory region that contains the data
//! \
//! \param length Length in bytes to calculate
//! \
//! \return calculated result
static uint32_t calculate_application_crc32(const uint8_t *start, uint32_t length);
};
} // namespace blfwkdll

View File

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{426D14FE-6F2B-442D-893D-B5730DD6941F}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>blfwkdll</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
<ProjectName>blfwkdll</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<CLRSupport>false</CLRSupport>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>BOOTLOADER_HOST;WIN32;_DEBUG;_WINDOWS;_USRDLL;BLFWKDLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>../;..\..\..\src;..\..\..\src\include;../../../src/drivers/common;../../../src/bm_usb</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(ProjectDir)blfwk-$(Configuration)</AdditionalLibraryDirectories>
<AdditionalDependencies>blfwk.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;BLFWKDLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>BOOTLOADER_HOST;WIN32;NDEBUG;_WINDOWS;_USRDLL;BLFWKDLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>../;..\..\..\src;..\..\..\src\include;../../../src/drivers/common;../../../src/bm_usb</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(ProjectDir)blfwk-$(Configuration)</AdditionalLibraryDirectories>
<AdditionalDependencies>blfwk.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>Use</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;BLFWKDLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="blfwkdll.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="blfwkdll.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="blfwk.vcxproj">
<Project>{de64a8c3-695a-491f-b3e3-24d6a3057a40}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="blfwkdll.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="blfwkdll.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>