Skip to content

Commit

Permalink
Introduced new structuring and a somewhat-legit packaging of sorts
Browse files Browse the repository at this point in the history
  • Loading branch information
bnahill committed Jun 22, 2013
1 parent fd58376 commit 87b81fc
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include scripts/gdb.py
Empty file added cmdebug/__init__.py
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion SVD/gdb_svd.py → cmdebug/svd_gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import math
import sys
sys.path.append('.')
from pysvd import SVDFile
from svd import SVDFile

#from svd_test import *

Expand Down
24 changes: 24 additions & 0 deletions scripts/gdb.py
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()
33 changes: 33 additions & 0 deletions setup.py
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',
],
)

0 comments on commit 87b81fc

Please sign in to comment.