mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-09-21 08:28:38 +02:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a7bc4df47 | ||
|
|
20a2474508 |
@@ -89,7 +89,10 @@ typedef struct
|
|||||||
uint8_t TqSync;
|
uint8_t TqSync;
|
||||||
uint16_t BRP;
|
uint16_t BRP;
|
||||||
uint8_t auto_baud;
|
uint8_t auto_baud;
|
||||||
uint8_t innerFrameDelay25us;
|
uint8_t innerFrameDelay25us : 4;
|
||||||
|
uint8_t rsvd : 1;
|
||||||
|
uint8_t disableRetransmission : 1;
|
||||||
|
uint8_t canClk : 2;
|
||||||
} CAN_SETTINGS;
|
} CAN_SETTINGS;
|
||||||
#define CAN_SETTINGS_SIZE 12
|
#define CAN_SETTINGS_SIZE 12
|
||||||
static_assert(sizeof(CAN_SETTINGS) == CAN_SETTINGS_SIZE, "CAN_SETTINGS is the wrong size!");
|
static_assert(sizeof(CAN_SETTINGS) == CAN_SETTINGS_SIZE, "CAN_SETTINGS is the wrong size!");
|
||||||
|
|||||||
@@ -27,6 +27,21 @@ public:
|
|||||||
return supportedNetworks;
|
return supportedNetworks;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const std::vector<ChipInfo>& getChipInfo() const override {
|
||||||
|
static std::vector<ChipInfo> chips = {
|
||||||
|
{ChipID::RADJupiter_MCHIP, true, "MCHIP", "jupiter_mchip_ief", 1, FirmwareType::IEF}
|
||||||
|
};
|
||||||
|
return chips;
|
||||||
|
}
|
||||||
|
|
||||||
|
BootloaderPipeline getBootloader() override {
|
||||||
|
return BootloaderPipeline()
|
||||||
|
.add<EnterBootloaderPhase>()
|
||||||
|
.add<FlashPhase>(ChipID::RADJupiter_MCHIP, BootloaderCommunication::RED)
|
||||||
|
.add<EnterApplicationPhase>(ChipID::RADJupiter_MCHIP)
|
||||||
|
.add<ReconnectPhase>();
|
||||||
|
}
|
||||||
|
|
||||||
bool getEthPhyRegControlSupported() const override { return true; }
|
bool getEthPhyRegControlSupported() const override { return true; }
|
||||||
|
|
||||||
ProductID getProductID() const override {
|
ProductID getProductID() const override {
|
||||||
|
|||||||
Reference in New Issue
Block a user