CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
PluginStorage.cpp File Reference
#include "plugin_manager/PluginStorage.h"
#include "cdc_core/Raii.h"
#include "cdc_core/feature_flags.h"
#include "cdc_log.h"
#include "esp_vfs.h"
#include "esp_vfs_fat.h"
#include "esp_partition.h"
#include "wear_levelling.h"
#include "ff.h"
#include "usb_badge/usb_msc_bounds.h"
#include <algorithm>
#include <cerrno>
#include <cstring>
#include <cstdio>
#include <dirent.h>
#include <sys/stat.h>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Functions

static int cdc::plugin_manager::vfat_drive ()
static void cdc::plugin_manager::ensure_volume_label ()
static bool cdc::plugin_manager::ends_with (const char *s, size_t s_len, const char *suffix, size_t suf_len)

Variables

static const char * cdc::plugin_manager::TAG = "PLG_STO"
static const char * cdc::plugin_manager::PARTITION_LABEL = "vfat"
static const char * cdc::plugin_manager::MOUNT_POINT = "/vfat"
static const char * cdc::plugin_manager::SYSTEM_DIR = "/vfat/system"
static wl_handle_t cdc::plugin_manager::s_wl_handle = WL_INVALID_HANDLE
static bool cdc::plugin_manager::s_mounted = false
static bool cdc::plugin_manager::s_host_active = false
static bool cdc::plugin_manager::s_remount_pending = false
static const char * cdc::plugin_manager::VOLUME_LABEL = "CDCBADGE"