Public Member Functions | Static Public Attributes | List of all members
dai::bootloader::UsbBootloaderStructure Struct Reference

#include <Structure.hpp>

Inheritance diagram for dai::bootloader::UsbBootloaderStructure:
Inheritance graph
[legend]

Public Member Functions

 UsbBootloaderStructure ()
 
- Public Member Functions inherited from dai::bootloader::Structure
 Structure ()=default
 

Static Public Attributes

constexpr static long APPLICATION_OFFSET = CONFIG_OFFSET + CONFIG_SIZE
 
constexpr static long BOOTLOADER_OFFSET = HEADER_OFFSET + HEADER_SIZE
 
constexpr static long BOOTLOADER_SIZE = 1 * 1024 * 1024 - CONFIG_SIZE - HEADER_SIZE
 
constexpr static long CONFIG_OFFSET = BOOTLOADER_OFFSET + BOOTLOADER_SIZE
 
constexpr static long CONFIG_SIZE = 16 * 1024
 
constexpr static long HEADER_OFFSET = 0
 
constexpr static long HEADER_SIZE = 512
 

Additional Inherited Members

- Public Attributes inherited from dai::bootloader::Structure
std::map< Section, long > offset
 
std::map< Section, long > size
 
- Protected Member Functions inherited from dai::bootloader::Structure
 Structure (decltype(offset) a, decltype(size) b)
 

Detailed Description

Definition at line 54 of file Structure.hpp.

Constructor & Destructor Documentation

◆ UsbBootloaderStructure()

dai::bootloader::UsbBootloaderStructure::UsbBootloaderStructure ( )
inline

Definition at line 64 of file Structure.hpp.

Member Data Documentation

◆ APPLICATION_OFFSET

constexpr static long dai::bootloader::UsbBootloaderStructure::APPLICATION_OFFSET = CONFIG_OFFSET + CONFIG_SIZE
staticconstexpr

Definition at line 62 of file Structure.hpp.

◆ BOOTLOADER_OFFSET

constexpr static long dai::bootloader::UsbBootloaderStructure::BOOTLOADER_OFFSET = HEADER_OFFSET + HEADER_SIZE
staticconstexpr

Definition at line 59 of file Structure.hpp.

◆ BOOTLOADER_SIZE

constexpr static long dai::bootloader::UsbBootloaderStructure::BOOTLOADER_SIZE = 1 * 1024 * 1024 - CONFIG_SIZE - HEADER_SIZE
staticconstexpr

Definition at line 60 of file Structure.hpp.

◆ CONFIG_OFFSET

constexpr static long dai::bootloader::UsbBootloaderStructure::CONFIG_OFFSET = BOOTLOADER_OFFSET + BOOTLOADER_SIZE
staticconstexpr

Definition at line 61 of file Structure.hpp.

◆ CONFIG_SIZE

constexpr static long dai::bootloader::UsbBootloaderStructure::CONFIG_SIZE = 16 * 1024
staticconstexpr

Definition at line 58 of file Structure.hpp.

◆ HEADER_OFFSET

constexpr static long dai::bootloader::UsbBootloaderStructure::HEADER_OFFSET = 0
staticconstexpr

Definition at line 56 of file Structure.hpp.

◆ HEADER_SIZE

constexpr static long dai::bootloader::UsbBootloaderStructure::HEADER_SIZE = 512
staticconstexpr

Definition at line 57 of file Structure.hpp.


The documentation for this struct was generated from the following file:


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