mbed support for LPC4088 Display Module
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos mbed-src
Fork of DMSupport by
Diff: Bios/BiosLoader.cpp
- Revision:
- 24:9a677afc86f1
- Parent:
- 22:1a58a518435c
- Child:
- 26:a65fbb4bde5c
--- a/Bios/BiosLoader.cpp Fri Jan 16 11:15:57 2015 +0100 +++ b/Bios/BiosLoader.cpp Sat Jan 17 14:12:37 2015 +0100 @@ -25,7 +25,7 @@ #ifdef __cplusplus extern "C" { #endif - void bios_debug_aid(bios_header_t* header); + void bios_debug_aid(bios_header_t* header, const char** pMsg); #ifdef __cplusplus } #endif @@ -213,7 +213,9 @@ #if defined(DM_BOARD_BIOS_DEVELOPMENT) // This requires that the project contains the source code for the BIOS - bios_debug_aid(&_bios); + const char* msg; + bios_debug_aid(&_bios, &msg); + DMBoard::instance().logger()->printf("BIOS info: %s\n", msg); #endif // Prepare the BIOS instance data before calling the first function