Skip to content

Commit

Permalink
Merge pull request #12 from arduino-libraries/marqdevx/flashKeyValue-…
Browse files Browse the repository at this point in the history
…fixSerial

Marqdevx/flash key value fix serial
  • Loading branch information
marqdevx authored May 26, 2021
2 parents a9e8956 + 1431ec0 commit 62264ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- fqbn: arduino:mbed_portenta:envie_m7
sketch-paths: |
- examples/BLE Connectivity on Portenta H7/PortentaBLE
- examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValueStore
- examples/Creating a Flash-Optimised Key-Value Store/FlashKeyValue
- examples/Dual Core Processing/BlinkRedLed
- examples/Dual Core Processing/BlinkRedLed_M7
- examples/Portenta H7 as a USB Host/LEDKeyboardController
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ void setup()

// Initialize the flash IAP block device and print the memory layout
blockDevice.init();
Serial.printf("FlashIAP block device size: %llu\r\n", blockDevice.size());
Serial.printf("FlashIAP block device read size: %llu\r\n", blockDevice.get_read_size());
Serial.printf("FlashIAP block device program size: %llu\r\n", blockDevice.get_program_size());
Serial.printf("FlashIAP block device erase size: %llu\r\n", blockDevice.get_erase_size());
Serial.println("FlashIAP block device size: " + blockDevice.size());
Serial.println("FlashIAP block device read size: " + blockDevice.get_read_size());
Serial.println("FlashIAP block device program size: " + blockDevice.get_program_size());
Serial.println("FlashIAP block device erase size: " + blockDevice.get_erase_size());
// Deinitialize the device
blockDevice.deinit();

Expand Down

0 comments on commit 62264ce

Please sign in to comment.