application: test flash_sdcard library
This commit is contained in:
parent
170f59b4de
commit
f714b648b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue