forked from bnahill/PyCortexMDebug
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced new structuring and a somewhat-legit packaging of sorts
- Loading branch information
Showing
6 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
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 @@ | ||
include scripts/gdb.py |
Empty file.
File renamed without changes.
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
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,24 @@ | ||
""" Simple script to load from GDB to import all components | ||
=============================================================================== | ||
This file is part of PyCortexMDebug | ||
PyCortexMDebug is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
PyCortexMDebug is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with PyCortexMDebug. If not, see <http://www.gnu.org/licenses/>. | ||
""" | ||
|
||
|
||
from cmdebug.svd_gdb import LoadSVD | ||
|
||
LoadSVD() |
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,33 @@ | ||
#!/usr/bin/env python | ||
|
||
from setuptools import setup | ||
|
||
setup( | ||
name='cmdebug', | ||
version='0.1', | ||
packages = ['cmdebug'], | ||
description='Debug utilities for ARM Cortex-M microprocessors', | ||
author='Ben Nahill', | ||
author_email='[email protected]', | ||
url='https://github.com/bnahill/PyCortexMDebug', | ||
long_description="""\ | ||
PyCortexMDebug provides basic facilities for interacting with | ||
Cortex-M microprocessors, primarily using GDB. This project aims | ||
to offer small-project developers the powerful capabilities | ||
generally reserved for costly commercial tools. | ||
""", | ||
classifiers=[ | ||
"License :: OSI Approved :: " \ | ||
"GNU General Public License v3 (GPLv3) ", | ||
"Programming Language :: Python", | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development", | ||
], | ||
keywords='arm gdb cortex cortex-m svd trace microcontroller', | ||
license='GPL', | ||
install_requires=[ | ||
'setuptools', | ||
'lxml', | ||
], | ||
) |