Skip to content

Commit 62264ce

Browse files
authored
Merge pull request #12 from arduino-libraries/marqdevx/flashKeyValue-fixSerial
Marqdevx/flash key value fix serial
2 parents a9e8956 + 1431ec0 commit 62264ce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/compile-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- fqbn: arduino:mbed_portenta:envie_m7
3939
sketch-paths: |
4040
- examples/BLE Connectivity on Portenta H7/PortentaBLE
41-
- examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore
41+
- examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValue
4242
- examples/Dual Core Processing/BlinkRedLed
4343
- examples/Dual Core Processing/BlinkRedLed_M7
4444
- examples/Portenta H7 as a USB Host/LEDKeyboardController

examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValue/FlashKeyValue.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ void setup()
3535

3636
// Initialize the flash IAP block device and print the memory layout
3737
blockDevice.init();
38-
Serial.printf("FlashIAP block device size: %llu\r\n", blockDevice.size());
39-
Serial.printf("FlashIAP block device read size: %llu\r\n", blockDevice.get_read_size());
40-
Serial.printf("FlashIAP block device program size: %llu\r\n", blockDevice.get_program_size());
41-
Serial.printf("FlashIAP block device erase size: %llu\r\n", blockDevice.get_erase_size());
38+
Serial.println("FlashIAP block device size: " + blockDevice.size());
39+
Serial.println("FlashIAP block device read size: " + blockDevice.get_read_size());
40+
Serial.println("FlashIAP block device program size: " + blockDevice.get_program_size());
41+
Serial.println("FlashIAP block device erase size: " + blockDevice.get_erase_size());
4242
// Deinitialize the device
4343
blockDevice.deinit();
4444

0 commit comments

Comments
 (0)