takashi kadono / Mbed OS Nucleo_446

Dependencies:   ssd1331

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers HeapBlockDevice_stub.cpp Source File

HeapBlockDevice_stub.cpp

00001 /*
00002  * Copyright (c) , Arm Limited and affiliates.
00003  * SPDX-License-Identifier: Apache-2.0
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #include "HeapBlockDevice.h"
00019 #include "mbed_critical.h"
00020 
00021 
00022 HeapBlockDevice::HeapBlockDevice(bd_size_t size, bd_size_t block)
00023 {
00024 }
00025 
00026 HeapBlockDevice::HeapBlockDevice(bd_size_t size, bd_size_t read, bd_size_t program, bd_size_t erase)
00027 {
00028 }
00029 
00030 HeapBlockDevice::~HeapBlockDevice()
00031 {
00032 }
00033 
00034 int HeapBlockDevice::init()
00035 {
00036     return 0;
00037 }
00038 
00039 int HeapBlockDevice::deinit()
00040 {
00041     return 0;
00042 }
00043 
00044 bd_size_t HeapBlockDevice::get_read_size() const
00045 {
00046     return 0;
00047 }
00048 
00049 bd_size_t HeapBlockDevice::get_program_size() const
00050 {
00051     return 0;
00052 }
00053 
00054 bd_size_t HeapBlockDevice::get_erase_size() const
00055 {
00056     return 0;
00057 }
00058 
00059 bd_size_t HeapBlockDevice::get_erase_size(bd_addr_t addr) const
00060 {
00061     return 0;
00062 }
00063 
00064 bd_size_t HeapBlockDevice::size() const
00065 {
00066     return 0;
00067 }
00068 
00069 int HeapBlockDevice::read(void *b, bd_addr_t addr, bd_size_t size)
00070 {
00071     return 0;
00072 }
00073 
00074 int HeapBlockDevice::program(const void *b, bd_addr_t addr, bd_size_t size)
00075 {
00076     return 0;
00077 }
00078 
00079 int HeapBlockDevice::erase(bd_addr_t addr, bd_size_t size)
00080 {
00081     return 0;
00082 }
00083