File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
content/hardware/04.pro/boards/portenta-h7/tutorials/flash-optimized-key-value-store Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,15 @@ void setup()
161161 srand (micros ());
162162
163163 // Initialize the flash IAP block device and print the memory layout
164- blockDevice.init();
165- Serial.printf("FlashIAP block device size: %llu\r\n", blockDevice.size());
166- Serial.printf("FlashIAP block device read size: %llu\r\n", blockDevice.get_read_size());
167- Serial.printf("FlashIAP block device program size: %llu\r\n", blockDevice.get_program_size());
168- Serial.printf("FlashIAP block device erase size: %llu\r\n", blockDevice.get_erase_size());
164+ blockDevice.init();
165+ Serial.print("FlashIAP block device size: ");
166+ Serial.println(blockDevice.size());
167+ Serial.print("FlashIAP block device read size: ");
168+ Serial.println(blockDevice.get_read_size());
169+ Serial.print("FlashIAP block device program size: ");
170+ Serial.println(blockDevice.get_program_size());
171+ Serial.print("FlashIAP block device erase size: ");
172+ Serial.println(blockDevice.get_erase_size());
169173 // Deinitialize the device
170174 blockDevice.deinit();
171175
You can’t perform that action at this time.
0 commit comments