mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-27 23:20:33 -05:00
CPLD: Use correct bitstream for updating hardware.
Determine hardware version and use one of two CPLD bitstream files.
This commit is contained in:
parent
73d62367d1
commit
797e63a590
10 changed files with 15722 additions and 4037 deletions
|
|
@ -28,8 +28,15 @@
|
|||
namespace portapack {
|
||||
namespace cpld {
|
||||
|
||||
namespace rev_20150901 {
|
||||
extern const std::array<uint16_t, 3328> block_0;
|
||||
extern const std::array<uint16_t, 512> block_1;
|
||||
} /* namespace rev_20150901 */
|
||||
|
||||
namespace rev_20170522 {
|
||||
extern const std::array<uint16_t, 3328> block_0;
|
||||
extern const std::array<uint16_t, 512> block_1;
|
||||
} /* namespace rev_20170522 */
|
||||
|
||||
} /* namespace cpld */
|
||||
} /* namespace portapack */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue