add RPI SD card manager
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
parent
31b3de784b
commit
7bc866a105
15
bsp_linux_board/RPiSdCardManager.cpp
Normal file
15
bsp_linux_board/RPiSdCardManager.cpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#include "RPiSdCardManager.h"
|
||||||
|
|
||||||
|
RPiSdCardManager::RPiSdCardManager() {}
|
||||||
|
|
||||||
|
RPiSdCardManager::RPiSdCardManager(std::string prefix) {}
|
||||||
|
|
||||||
|
const std::string& RPiSdCardManager::getCurrentMountPrefix() const {}
|
||||||
|
|
||||||
|
bool RPiSdCardManager::isSdCardMounted(sd::SdCard sdCard) {}
|
||||||
|
|
||||||
|
sd::SdCard RPiSdCardManager::getPreferredSdCard() const {}
|
||||||
|
|
||||||
|
void RPiSdCardManager::setActiveSdCard(sd::SdCard sdCard) {}
|
||||||
|
|
||||||
|
sd::SdCard RPiSdCardManager::getActiveSdCard() const {}
|
17
bsp_linux_board/RPiSdCardManager.h
Normal file
17
bsp_linux_board/RPiSdCardManager.h
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#ifndef BSP_LINUX_BOARD_RPISDCARDMANAGER_H_
|
||||||
|
#define BSP_LINUX_BOARD_RPISDCARDMANAGER_H_
|
||||||
|
#include <mission/memory/SdCardMountedIF.h>
|
||||||
|
|
||||||
|
class RPiSdCardManager: public SdCardMountedIF {
|
||||||
|
public:
|
||||||
|
RPiSdCardManager(std::string prefix);
|
||||||
|
const std::string& getCurrentMountPrefix() const override;
|
||||||
|
bool isSdCardMounted(sd::SdCard sdCard) override;
|
||||||
|
sd::SdCard getPreferredSdCard() const override;
|
||||||
|
void setActiveSdCard(sd::SdCard sdCard) override;
|
||||||
|
sd::SdCard getActiveSdCard() const override;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* BSP_LINUX_BOARD_RPISDCARDMANAGER_H_ */
|
Loading…
Reference in New Issue
Block a user