Example of using the SDFileSystem library on a K64F to write data to files and also read data into dynamically created arrays.

Dependencies:   mbed

Committer:
eencae
Date:
Mon Feb 03 12:06:21 2020 +0000
Revision:
1:caceb9d9d17a
Updated Mbed library. Removed serial. Confirmed working Jan 2020.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
eencae 1:caceb9d9d17a 1 /* SD/MMC File System Library
eencae 1:caceb9d9d17a 2 * Copyright (c) 2016 Neil Thiessen
eencae 1:caceb9d9d17a 3 *
eencae 1:caceb9d9d17a 4 * Licensed under the Apache License, Version 2.0 (the "License");
eencae 1:caceb9d9d17a 5 * you may not use this file except in compliance with the License.
eencae 1:caceb9d9d17a 6 * You may obtain a copy of the License at
eencae 1:caceb9d9d17a 7 *
eencae 1:caceb9d9d17a 8 * http://www.apache.org/licenses/LICENSE-2.0
eencae 1:caceb9d9d17a 9 *
eencae 1:caceb9d9d17a 10 * Unless required by applicable law or agreed to in writing, software
eencae 1:caceb9d9d17a 11 * distributed under the License is distributed on an "AS IS" BASIS,
eencae 1:caceb9d9d17a 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
eencae 1:caceb9d9d17a 13 * See the License for the specific language governing permissions and
eencae 1:caceb9d9d17a 14 * limitations under the License.
eencae 1:caceb9d9d17a 15 */
eencae 1:caceb9d9d17a 16
eencae 1:caceb9d9d17a 17 #ifndef SD_CRC_H
eencae 1:caceb9d9d17a 18 #define SD_CRC_H
eencae 1:caceb9d9d17a 19
eencae 1:caceb9d9d17a 20 #include "mbed.h"
eencae 1:caceb9d9d17a 21
eencae 1:caceb9d9d17a 22 namespace SDCRC
eencae 1:caceb9d9d17a 23 {
eencae 1:caceb9d9d17a 24
eencae 1:caceb9d9d17a 25 char crc7(const char* data, int length);
eencae 1:caceb9d9d17a 26 unsigned short crc16(const char* data, int length);
eencae 1:caceb9d9d17a 27
eencae 1:caceb9d9d17a 28 }
eencae 1:caceb9d9d17a 29
eencae 1:caceb9d9d17a 30 #endif