echo Setting up the environment for debugging gdb via Serial.\n

set complaints 1
set endian big

dir .
set prompt (netos-gdb) 

set remotetimeout 0x200

# This remote debugging allows all commands being
# sent between the host & the board to be shown 
# on the screen or saved in a file if specified.
# set debug remote 1
# set remotelogfile gdb_logfile

# baud rate
set remotebaud 0x1C200

# This limits the size of data transmission (max 512)
set download-write-size 0x200
set remotewritesize 0x200

# This connects to a target via serial port
target remote /dev/com1


