2020-11-19 15:48:34 +00:00
|
|
|
""" 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/>.
|
|
|
|
"""
|
|
|
|
|
2021-07-12 02:13:01 +00:00
|
|
|
from os import path
|
|
|
|
import sys
|
|
|
|
|
|
|
|
directory, file = path.split(__file__)
|
|
|
|
directory = path.expanduser(directory)
|
|
|
|
directory = path.abspath(directory)
|
|
|
|
|
|
|
|
sys.path.append(directory)
|
2020-11-19 15:48:34 +00:00
|
|
|
|
|
|
|
from cmdebug.svd_gdb import LoadSVD
|
|
|
|
|
|
|
|
LoadSVD()
|