Code to load a LPC1114 over tx/rx. I have only tested with a 1114 chip but it should work with other LPC uControllers
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Revision 49:380e7be429ef, committed 2015-06-05
- Comitter:
- okano
- Date:
- Fri Jun 05 13:37:38 2015 +0000
- Parent:
- 48:99cfe3a929ea
- Child:
- 50:57ad8e04f063
- Commit message:
- fixed: compilation error when it build with mbed-lib rev.100.
Changed in this revision
dir_handling/dir_handling.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/dir_handling/dir_handling.cpp Thu Jan 29 10:48:57 2015 +0000 +++ b/dir_handling/dir_handling.cpp Fri Jun 05 13:37:38 2015 +0000 @@ -35,7 +35,9 @@ //printf( "file_name : %s\r\n", file_name.c_str() ); file_name.push_back( '.' ); - std::transform( file_name.begin(), file_name.end(), file_name.begin(), toupper ); + std::transform( file_name.begin(), file_name.end(), file_name.begin(), (int (*)(int))std::toupper ); + // "toupper" function cast had been done for latest mbed-lib (checked with rev.100). + // see --> http://stackoverflow.com/questions/7131858/stdtransform-and-toupper-no-matching-function DirectoryList dir( path_name ); std::vector<std::string> list;
--- a/mbed.bld Thu Jan 29 10:48:57 2015 +0000 +++ b/mbed.bld Fri Jun 05 13:37:38 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/cbbeb26dbd92 \ No newline at end of file