Namespaces | Functions | Variables
Resources.cpp File Reference
#include "Resources.hpp"
#include <array>
#include <cassert>
#include <condition_variable>
#include <fstream>
#include <iostream>
#include <thread>
#include "archive.h"
#include "archive_entry.h"
#include "spdlog/details/os.h"
#include "spdlog/fmt/chrono.h"
#include "spdlog/spdlog.h"
#include "utility/Logging.hpp"
#include "depthai-shared/device/BoardConfig.hpp"
#include "depthai-shared/utility/Checksum.hpp"
#include "depthai-shared/utility/Serialization.hpp"
#include "utility/Environment.hpp"
#include "utility/spdlog-fmt.hpp"
#include "bspatch/bspatch.h"
Include dependency graph for Resources.cpp:

Go to the source code of this file.

Namespaces

 dai
 

Functions

template<typename V , typename... T>
static constexpr auto dai::array_of (T &&... t) -> std::array< V, sizeof...(T)>
 
static std::vector< std::uint8_t > dai::createPrebootHeader (const std::vector< uint8_t > &payload, uint32_t magic1, uint32_t magic2)
 
template<typename CV , typename BOOL , typename MTX , typename PATH , typename LIST , typename MAP >
std::function< void()> dai::getLazyTarXzFunction (MTX &mtx, CV &cv, BOOL &ready, PATH cmrcPath, LIST &resourceList, MAP &resourceMap)
 

Variables

constexpr static auto dai::CMRC_DEPTHAI_BOOTLOADER_TAR_XZ = "depthai-bootloader-fwp-" DEPTHAI_BOOTLOADER_VERSION ".tar.xz"
 
constexpr static auto dai::CMRC_DEPTHAI_DEVICE_TAR_XZ = "depthai-device-fwp-" DEPTHAI_DEVICE_VERSION ".tar.xz"
 
constexpr static auto dai::DEPTHAI_CMD_OPENVINO_2020_4_PATCH_PATH = "depthai-device-openvino-2020.4-" DEPTHAI_DEVICE_VERSION ".patch"
 
constexpr static auto dai::DEPTHAI_CMD_OPENVINO_2021_1_PATCH_PATH = "depthai-device-openvino-2021.1-" DEPTHAI_DEVICE_VERSION ".patch"
 
constexpr static auto dai::DEPTHAI_CMD_OPENVINO_2021_2_PATCH_PATH = "depthai-device-openvino-2021.2-" DEPTHAI_DEVICE_VERSION ".patch"
 
constexpr static auto dai::DEPTHAI_CMD_OPENVINO_2021_3_PATCH_PATH = "depthai-device-openvino-2021.3-" DEPTHAI_DEVICE_VERSION ".patch"
 
constexpr static auto dai::DEPTHAI_CMD_OPENVINO_UNIVERSAL_PATH = "depthai-device-openvino-universal-" DEPTHAI_DEVICE_VERSION ".cmd"
 
constexpr static auto dai::DEVICE_BOOTLOADER_ETH_PATH = "depthai-bootloader-eth.cmd"
 
constexpr static auto dai::DEVICE_BOOTLOADER_USB_PATH = "depthai-bootloader-usb.cmd"
 
constexpr static auto dai::MAIN_FW_PATH = DEPTHAI_CMD_OPENVINO_UNIVERSAL_PATH
 
constexpr static auto dai::MAIN_FW_VERSION = OpenVINO::VERSION_UNIVERSAL
 
constexpr static std::array< const char *, 2 > dai::RESOURCE_LIST_BOOTLOADER
 
constexpr static auto dai::RESOURCE_LIST_DEVICE
 


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19