Skip to content

Commit

Permalink
flash: loader: fix missing import of RamRegion (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
flit authored Jul 20, 2023
1 parent dc9f2c0 commit 0189b2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyocd/flash/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
from typing import (TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union, cast)

from ..core import exceptions
from ..core.memory_map import RamRegion
from ..core.target import Target
from ..utility.progress import print_progress
from .builder import (FlashBuilder, MemoryBuilder, ProgrammingInfo, get_page_count, get_sector_count)

if TYPE_CHECKING:
from ..core.memory_map import MemoryMap, MemoryRegion, RamRegion
from ..core.memory_map import MemoryMap, MemoryRegion
from ..core.session import Session

LOG = logging.getLogger(__name__)
Expand Down

0 comments on commit 0189b2f

Please sign in to comment.