application: test flash_sdcard library

This commit is contained in:
King Kévin 2017-07-02 12:35:31 +02:00
parent 170f59b4de
commit f714b648b7
1 changed files with 3 additions and 1 deletions

View File

@ -193,7 +193,7 @@ void main(void)
board_setup(); // setup board
usart_setup(); // setup USART (for printing)
usb_cdcacm_setup(); // setup USB CDC ACM (for printing)
printf("welcome to the CuVoodoo STM32F1 example application\n"); // print welcome message
printf("\nwelcome to the CuVoodoo STM32F1 forumlader-logger\n"); // print welcome message
#if !(DEBUG)
// show watchdog information
@ -226,6 +226,8 @@ void main(void)
} else {
printf("failed\n");
}
printf("card size: %U bytes\n", flash_sdcard_size());
printf("erase size: %u bytes\n", flash_sdcard_erase_size());
// print time
time_rtc= rtc_get_counter_val(); // get time from internal RTC