Commit 724b9e46 authored by Peter Wägemann's avatar Peter Wägemann
Browse files

Querying PFLASH seems to break subsequent execution of benchmark: comment out

parent e18eb7b4
......@@ -161,14 +161,14 @@ static void command_inf(char *arg) {
CDC_Device_SendString(&VirtualSerial_CDC_Interface, buf);
CDC_Device_SendString(&VirtualSerial_CDC_Interface, "\r");
// send PFLASH
{
char buf[128] = {0};
uint64_to_string(buf, (FLASH0->FCON & (uint32_t)FLASH_FCON_WSPFLASH_Msk) >> FLASH_FCON_WSPFLASH_Pos);
CDC_Device_SendString(&VirtualSerial_CDC_Interface, "o:wspflash ");
CDC_Device_SendString(&VirtualSerial_CDC_Interface, buf);
CDC_Device_SendString(&VirtualSerial_CDC_Interface, "\r");
}
// send PFLASH
//{
// char buf[128] = {0};
// uint64_to_string(buf, (FLASH0->FCON & (uint32_t)FLASH_FCON_WSPFLASH_Msk) >> FLASH_FCON_WSPFLASH_Pos);
// CDC_Device_SendString(&VirtualSerial_CDC_Interface, "o:wspflash ");
// CDC_Device_SendString(&VirtualSerial_CDC_Interface, buf);
// CDC_Device_SendString(&VirtualSerial_CDC_Interface, "\r");
//}
// send DWT status
switch(DWT->CTRL & 0xFF000000) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment