mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-07 06:02:20 -04:00
added cpld info shell commands (#1703)
* added cpld info shell commands * fixed reset
This commit is contained in:
parent
3d2da9c0db
commit
3998dc124a
9 changed files with 541 additions and 17 deletions
|
@ -68,6 +68,13 @@ class XC2C64A {
|
|||
bool verify_eeprom(const verify_blocks_t& blocks);
|
||||
void init_from_eeprom();
|
||||
|
||||
void prepare_read_eeprom();
|
||||
void prepare_read_sram();
|
||||
std::array<bool, block_length> read_block_eeprom(block_id_t id);
|
||||
std::array<bool, block_length> read_block_sram(verify_block_t block);
|
||||
void finalize_read_eeprom();
|
||||
void finalize_read_sram(block_id_t id);
|
||||
|
||||
private:
|
||||
static constexpr size_t idcode_length = 32;
|
||||
using idcode_t = uint32_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue