mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-11-04 12:59:07 +01:00
Add bootloader extension
This commit is contained in:
committed by
Kyle Schwarz
parent
4db27aa187
commit
6ac041cadc
@@ -0,0 +1,37 @@
|
||||
#ifndef __BOOTLOADER_BOOTLOADERVERSION_H_
|
||||
#define __BOOTLOADER_BOOTLOADERVERSION_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace icsneo {
|
||||
|
||||
namespace Bootloader {
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct BootloaderVersionResponse {
|
||||
uint8_t blMajor;
|
||||
uint8_t blMinor;
|
||||
uint16_t reserved1;
|
||||
uint8_t hwMajor;
|
||||
uint8_t hwMinor;
|
||||
uint8_t hwPlatform;
|
||||
uint16_t reserved2;
|
||||
uint8_t manDay;
|
||||
uint8_t manMonth;
|
||||
uint16_t manYear;
|
||||
uint8_t serialNum[8];
|
||||
uint8_t hwId;
|
||||
uint8_t reserved3;
|
||||
uint8_t zynqId;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
} // namespace Bootloader
|
||||
|
||||
} // namespace icsneo
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // __BOOTLOADER_BOOTLOADERVERSION_H_
|
||||
Reference in New Issue
Block a user