
.
Revision 29:d28cf713107b, committed 2019-02-13
- Comitter:
- mbed_official
- Date:
- Wed Feb 13 18:36:35 2019 +0000
- Parent:
- 28:bc8560ba955d
- Child:
- 30:6d3eb85016f2
- Commit message:
- Update license date in example source
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-filesystem
Changed in this revision
.travis.yml | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/.travis.yml Thu Jan 17 13:15:29 2019 +0000 +++ b/.travis.yml Wed Feb 13 18:36:35 2019 +0000 @@ -55,10 +55,10 @@ # Check that example compiles with littlefs + spif - mbed compile -t GCC_ARM -m K82F -j0 - # Check that example compiles with fatfs + sd - - sed -i 's/SPIFBlockDevice bd/SDBlockDevice bd/g' main.cpp - - sed -i 's/MBED_CONF_SPIF_DRIVER/MBED_CONF_SD/g' main.cpp - - sed -i 's/LittleFileSystem fs/FATFileSystem fs/g' main.cpp + # Check that example compiles with fatfs + HeapBlockDevice + - sed -i 's/BlockDevice.h/HeapBlockDevice.h/g' main.cpp + - sed -i 's/BlockDevice::get_default_instance()/new HeapBlockDevice(2048, 1, 1, 512)/g' main.cpp + - sed -i 's/LittleFileSystem/FATFileSystem/g' main.cpp - mbed compile -t GCC_ARM -m K64F -j0
--- a/main.cpp Thu Jan 17 13:15:29 2019 +0000 +++ b/main.cpp Wed Feb 13 18:36:35 2019 +0000 @@ -1,5 +1,5 @@ /* mbed Microcontroller Library - * Copyright (c) 2006-2013 ARM Limited + * Copyright (c) 2006-2019 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.