-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add source code of the RBL_DFU app on Mac OS X
- Loading branch information
guohui
committed
Nov 25, 2014
1 parent
d15a2b5
commit c6f58e8
Showing
31 changed files
with
4,056 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
MacOSX/DFU_Mac/RBL_DFU.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
MacOSX/DFU_Mac/RBL_DFU.xcodeproj/project.xcworkspace/xcshareddata/RBL_DFU.xccheckout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>F82BD996-878C-4A12-AF93-E4A9E38B681C</string> | ||
<key>IDESourceControlProjectName</key> | ||
<string>RBL_DFU</string> | ||
<key>IDESourceControlProjectOriginsDictionary</key> | ||
<dict> | ||
<key>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</key> | ||
<string>https://bitbucket.org/redbear/rbl_sdk.git</string> | ||
</dict> | ||
<key>IDESourceControlProjectPath</key> | ||
<string>iOS/Examples/DFU_Mac/RBL_DFU.xcodeproj</string> | ||
<key>IDESourceControlProjectRelativeInstallPathDictionary</key> | ||
<dict> | ||
<key>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</key> | ||
<string>../../../../..</string> | ||
</dict> | ||
<key>IDESourceControlProjectURL</key> | ||
<string>https://bitbucket.org/redbear/rbl_sdk.git</string> | ||
<key>IDESourceControlProjectVersion</key> | ||
<integer>111</integer> | ||
<key>IDESourceControlProjectWCCIdentifier</key> | ||
<string>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</string> | ||
<key>IDESourceControlProjectWCConfigurations</key> | ||
<array> | ||
<dict> | ||
<key>IDESourceControlRepositoryExtensionIdentifierKey</key> | ||
<string>public.vcs.git</string> | ||
<key>IDESourceControlWCCIdentifierKey</key> | ||
<string>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</string> | ||
<key>IDESourceControlWCCName</key> | ||
<string>rbl_sdk</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
41 changes: 41 additions & 0 deletions
41
MacOSX/DFU_Mac/RBL_DFU.xcodeproj/project.xcworkspace/xcshareddata/SimpleControls.xccheckout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>4CA390DF-0F7B-4A13-A166-53E79EEC5E23</string> | ||
<key>IDESourceControlProjectName</key> | ||
<string>SimpleControls</string> | ||
<key>IDESourceControlProjectOriginsDictionary</key> | ||
<dict> | ||
<key>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</key> | ||
<string>https://bitbucket.org/redbear/rbl_sdk.git</string> | ||
</dict> | ||
<key>IDESourceControlProjectPath</key> | ||
<string>iOS/Examples/SimpleControls_Mac/SimpleControls.xcodeproj/project.xcworkspace</string> | ||
<key>IDESourceControlProjectRelativeInstallPathDictionary</key> | ||
<dict> | ||
<key>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</key> | ||
<string>../../../../..</string> | ||
</dict> | ||
<key>IDESourceControlProjectURL</key> | ||
<string>https://bitbucket.org/redbear/rbl_sdk.git</string> | ||
<key>IDESourceControlProjectVersion</key> | ||
<integer>111</integer> | ||
<key>IDESourceControlProjectWCCIdentifier</key> | ||
<string>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</string> | ||
<key>IDESourceControlProjectWCConfigurations</key> | ||
<array> | ||
<dict> | ||
<key>IDESourceControlRepositoryExtensionIdentifierKey</key> | ||
<string>public.vcs.git</string> | ||
<key>IDESourceControlWCCIdentifierKey</key> | ||
<string>9B835C21074C5F6D029A10E5AC5E6BD03C9CE89E</string> | ||
<key>IDESourceControlWCCName</key> | ||
<string>rbl_sdk</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+85.4 KB
...odeproj/project.xcworkspace/xcuserdata/redbear.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
...xcodeproj/project.xcworkspace/xcuserdata/redbear.xcuserdatad/WorkspaceSettings.xcsettings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?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>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key> | ||
<true/> | ||
<key>SnapshotAutomaticallyBeforeSignificantChanges</key> | ||
<true/> | ||
</dict> | ||
</plist> |
205 changes: 205 additions & 0 deletions
205
...Mac/RBL_DFU.xcodeproj/xcuserdata/redbear.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Bucket | ||
type = "1" | ||
version = "2.0"> | ||
<Breakpoints> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/AppDelegate.m" | ||
timestampString = "438571354.576022" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "11" | ||
endingLineNumber = "11" | ||
landmarkName = "@implementation AppDelegate" | ||
landmarkType = "3"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/AppDelegate.h" | ||
timestampString = "438571354.576022" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "21" | ||
endingLineNumber = "21" | ||
landmarkName = "@interface AppDelegate" | ||
landmarkType = "2"> | ||
<Locations> | ||
<Location | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
symbolName = "-[AppDelegate window]" | ||
moduleName = "SimpleControls" | ||
urlString = "file:///Users/redbear/Documents/rbl_sdk/iOS/Examples/DFU_Mac/SimpleControls/AppDelegate.h" | ||
timestampString = "429421977.42688" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "24" | ||
endingLineNumber = "24" | ||
offsetFromSymbolStart = "12"> | ||
</Location> | ||
<Location | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
symbolName = "-[AppDelegate setWindow:]" | ||
moduleName = "SimpleControls" | ||
urlString = "file:///Users/redbear/Documents/rbl_sdk/iOS/Examples/DFU_Mac/SimpleControls/AppDelegate.h" | ||
timestampString = "429421977.428908" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "24" | ||
endingLineNumber = "24" | ||
offsetFromSymbolStart = "16"> | ||
</Location> | ||
</Locations> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/Virtual Comport/VirtualComport.m" | ||
timestampString = "429953494.513718" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "196" | ||
endingLineNumber = "196" | ||
landmarkName = "-PollComport" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/DFU/DFUController.m" | ||
timestampString = "436931502.823993" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "157" | ||
endingLineNumber = "157" | ||
landmarkName = "-setFirmwareBuffer:" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/DFU/DFUController.m" | ||
timestampString = "436931502.823993" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "160" | ||
endingLineNumber = "160" | ||
landmarkName = "-setFirmwareBuffer:" | ||
landmarkType = "5"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "Yes" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/Virtual Comport/pseudo_term.h" | ||
timestampString = "429594836.001703" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "38" | ||
endingLineNumber = "38"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/AppDelegate.h" | ||
timestampString = "438571354.576022" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "12" | ||
endingLineNumber = "12"> | ||
<Locations> | ||
<Location | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
symbolName = "-[AppDelegate window]" | ||
moduleName = "SimpleControls" | ||
urlString = "file:///Users/redbear/Documents/rbl_sdk/iOS/Examples/DFU_Mac/SimpleControls/AppDelegate.h" | ||
timestampString = "429952962.940456" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "25" | ||
endingLineNumber = "25" | ||
offsetFromSymbolStart = "12"> | ||
</Location> | ||
<Location | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
symbolName = "-[AppDelegate setWindow:]" | ||
moduleName = "SimpleControls" | ||
urlString = "file:///Users/redbear/Documents/rbl_sdk/iOS/Examples/DFU_Mac/SimpleControls/AppDelegate.h" | ||
timestampString = "429952962.940708" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "25" | ||
endingLineNumber = "25" | ||
offsetFromSymbolStart = "16"> | ||
</Location> | ||
</Locations> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/Virtual Comport/com_pterm.c" | ||
timestampString = "430028310.247018" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "184" | ||
endingLineNumber = "184" | ||
landmarkName = "receive_thread()" | ||
landmarkType = "7"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
<BreakpointProxy | ||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
<BreakpointContent | ||
shouldBeEnabled = "No" | ||
ignoreCount = "0" | ||
continueAfterRunningActions = "No" | ||
filePath = "SimpleControls/Virtual Comport/com_iface.h" | ||
timestampString = "429952962.446517" | ||
startingColumnNumber = "9223372036854775807" | ||
endingColumnNumber = "9223372036854775807" | ||
startingLineNumber = "79" | ||
endingLineNumber = "79"> | ||
</BreakpointContent> | ||
</BreakpointProxy> | ||
</Breakpoints> | ||
</Bucket> |
86 changes: 86 additions & 0 deletions
86
...FU_Mac/RBL_DFU.xcodeproj/xcuserdata/redbear.xcuserdatad/xcschemes/SimpleControls.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0510" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "29F4019B163B510F007BEE39" | ||
BuildableName = "RBL_DFU.app" | ||
BlueprintName = "RBL_DFU" | ||
ReferencedContainer = "container:RBL_DFU.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "29F4019B163B510F007BEE39" | ||
BuildableName = "RBL_DFU.app" | ||
BlueprintName = "RBL_DFU" | ||
ReferencedContainer = "container:RBL_DFU.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "29F4019B163B510F007BEE39" | ||
BuildableName = "RBL_DFU.app" | ||
BlueprintName = "RBL_DFU" | ||
ReferencedContainer = "container:RBL_DFU.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "29F4019B163B510F007BEE39" | ||
BuildableName = "RBL_DFU.app" | ||
BlueprintName = "RBL_DFU" | ||
ReferencedContainer = "container:RBL_DFU.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
Oops, something went wrong.