Ika Shouyu Poppoyaki - LPC82x supported
Fork of ika_shouyu_poppoyaki by
Diff: target_handling.cpp
- Revision:
- 39:f68f9fa1e88e
- Parent:
- 35:0b434ef4af49
diff -r cb95bfe0546a -r f68f9fa1e88e target_handling.cpp --- a/target_handling.cpp Fri Sep 27 14:48:17 2013 +0000 +++ b/target_handling.cpp Sun Sep 29 03:54:06 2013 +0000 @@ -3,10 +3,13 @@ #include "target_table.h" #include "command_interface.h" #include "serial_utilities.h" +#include "_user_settings.h" + DigitalOut reset_pin( p26 ); DigitalOut isp_pin( p25 ); + target_param *open_target( int baud_date ) { target_param *tpp; @@ -35,12 +38,16 @@ get_string( str_buf0 ); get_string( str_buf1 ); +#ifndef SUPPRESS_COMMAND_RESULT_MESSAGE printf( " result of \"K\" = %s %s\r\n", str_buf0, str_buf1 ); +#endif try_and_check( "J\r\n", "0" ); get_string( str_buf0 ); +#ifndef SUPPRESS_COMMAND_RESULT_MESSAGE printf( " result of \"J\" = %s\r\n", str_buf0 ); +#endif tpp = find_target_param( str_buf0 );