<s> """<STR_LIT>""" <EOL> from cortex_m import CortexM <EOL> from . memory_map import ( FlashRegion , RamRegion , MemoryMap ) <EOL> class LPC800 ( CortexM ) : <EOL> memoryMap = MemoryMap ( <EOL> FlashRegion ( start = <NUM_LIT:0> , length = <NUM_LIT> , blocksize = <NUM_LIT> , isBootMemory = True ) , <EOL> RamRegion ( start = <NUM_LIT> , length = <NUM_LIT> ) <EOL> ) <EOL> def __init__ ( self , link ) : <EOL> super ( LPC800 , self ) . __init__ ( link , self . memoryMap ) <EOL> def resetStopOnReset ( self , software_reset = None , map_to_user = True ) : <EOL> CortexM . resetStopOnReset ( self , software_reset ) <EOL> if map_to_user : <EOL> self . writeMemory ( <NUM_LIT> , <NUM_LIT> , <NUM_LIT:32> ) <EOL> sp = self . readMemory ( <NUM_LIT> ) <EOL> pc = self . readMemory ( <NUM_LIT> ) <EOL> self . writeCoreRegisterRaw ( '<STR_LIT>' , sp ) <EOL> self . writeCoreRegisterRaw ( '<STR_LIT>' , pc ) </s>
