Skip to content

Commit

Permalink
add macos support
Browse files Browse the repository at this point in the history
  • Loading branch information
Huibean authored and tridge committed Dec 9, 2024
1 parent 0802c9f commit 5a62380
Show file tree
Hide file tree
Showing 912 changed files with 57,481 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.log
.DS_Store
3 changes: 3 additions & 0 deletions esc_unlocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import tempfile

is_windows = platform.system() == "Windows"
is_macos = platform.system() == "Darwin"

pending_tones = []

Expand Down Expand Up @@ -89,6 +90,8 @@ def get_openocd():
'''get path to openocd'''
if is_windows:
openocd = "tools/windows/openocd/bin/openocd.exe"
elif is_macos:
openocd = "tools/macos/openocd/bin/openocd"
else:
# assume Linux
openocd = "tools/linux/openocd/bin/openocd"
Expand Down
Binary file added tools/macos/openocd/bin/openocd
Binary file not shown.
18 changes: 18 additions & 0 deletions tools/macos/openocd/share/info/dir
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.

File: dir, Node: Top This is the top of the INFO tree

This (the Directory node) gives a menu of major topics.
Typing "q" exits, "H" lists all Info commands, "d" returns here,
"h" gives a primer for first-timers,
"mEmacs<Return>" visits the Emacs manual, etc.

In Emacs, you can click mouse button 2 on a menu item or cross reference
to select it.

* Menu:

Development
* OpenOCD: (openocd). OpenOCD User's Guide
129 changes: 129 additions & 0 deletions tools/macos/openocd/share/info/openocd.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
This is openocd.info, produced by makeinfo version 7.1 from
openocd.texi.

This User's Guide documents release 0.11.0+dev, dated 29 July 2024, of
the Open On-Chip Debugger (OpenOCD).

• Copyright © 2008 The OpenOCD Project
• Copyright © 2007-2008 Spencer Oliver <spen@spen-soft.co.uk>
• Copyright © 2008-2010 Oyvind Harboe <oyvind.harboe@zylin.com>
• Copyright © 2008 Duane Ellis <openocd@duaneellis.com>
• Copyright © 2009-2010 David Brownell

Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software
Foundation; with no Invariant Sections, no Front-Cover Texts, and
no Back-Cover Texts. A copy of the license is included in the
section entitled "GNU Free Documentation License".
INFO-DIR-SECTION Development
START-INFO-DIR-ENTRY
* OpenOCD: (openocd). OpenOCD User's Guide
END-INFO-DIR-ENTRY


Indirect:
openocd.info-1: 992
openocd.info-2: 342737

Tag Table:
(Indirect)
Node: Top992
Node: About3455
Node: Developers7815
Node: Debug Adapter Hardware11171
Node: About Jim-Tcl23597
Node: Running25758
Node: OpenOCD Project Setup31266
Ref: OpenOCD Project Setup-Footnote-151388
Ref: OpenOCD Project Setup-Footnote-251728
Ref: OpenOCD Project Setup-Footnote-351996
Node: Config File Guidelines52324
Ref: theinitboardprocedure63635
Ref: definecputargetsworkinginsmp70585
Ref: theinittargetsprocedure75095
Ref: theinittargeteventsprocedure76938
Ref: translatingconfigurationfiles78811
Ref: Config File Guidelines-Footnote-180062
Node: Server Configuration80137
Ref: configurationstage80459
Ref: enteringtherunstage81938
Ref: tcpipports85439
Ref: gdb_port85938
Ref: gdbconfiguration88208
Ref: gdbbreakpointoverride88523
Ref: gdbflashprogram88896
Ref: eventpolling90419
Node: Debug Adapter Configuration92865
Ref: adapter_usb_location95192
Ref: hla_interface123582
Ref: st_link_dap_interface125135
Ref: swimtransport150643
Ref: jtagspeed151422
Node: Reset Configuration154404
Ref: srstandtrstissues157352
Ref: reset_config161564
Node: TAP Declaration169660
Ref: enablinganddisablingtaps181820
Ref: autoprobing184497
Ref: dapdeclaration187176
Ref: dap_create187706
Ref: DAP subcommand apreg190576
Ref: TAP Declaration-Footnote-1193845
Node: CPU Configuration194045
Ref: targettypes196971
Ref: targetconfiguration201689
Ref: rtostype207601
Ref: gdbportoverride208936
Ref: targetcurstate214033
Ref: targetevents216065
Node: Flash Commands223285
Ref: norconfiguration224826
Ref: flashprogrammingcommands228119
Ref: flashprotect236027
Ref: program236869
Ref: flashdriverlist237153
Ref: at91samd256815
Ref: at91sam3260496
Ref: atsame5263896
Ref: nandconfiguration326354
Ref: nanddriverlist336884
Node: Flash Programming342737
Node: PLD/FPGA Commands344378
Node: General Commands346558
Ref: debuglevel349568
Ref: targetstatehandling350877
Ref: resetcommand356742
Ref: memoryaccess359187
Ref: imageaccess361079
Node: Architecture and Core Commands368858
Ref: armhardwaretracing369328
Ref: traceportdrivers377358
Ref: armcrosstrigger379107
Ref: arm9vectorcatch388710
Ref: xscalevectorcatch396673
Ref: add-reg-type-struct437853
Ref: softwaredebugmessagesandtracing444854
Node: JTAG Commands448377
Node: Boundary Scan Commands455935
Node: Utility Commands461713
Node: GDB and OpenOCD463566
Ref: programmingusinggdb468720
Ref: gdbmeminspect470382
Ref: gdbrtossupport472343
Ref: usingopenocdsmpwithgdb474913
Node: Tcl Scripting API475603
Node: FAQ479126
Ref: faqrtck479236
Ref: faqtaporder491151
Node: Tcl Crash Course492937
Node: License504967
Node: OpenOCD Concept Index527382
Node: Command and Driver Index551444

End Tag Table


Local Variables:
coding: utf-8
End:
Loading

0 comments on commit 5a62380

Please sign in to comment.