CPLD: Use correct bitstream for updating hardware.

Determine hardware version and use one of two CPLD bitstream files.
This commit is contained in:
Jared Boone
2017-05-31 22:28:07 -07:00
parent 73d62367d1
commit 797e63a590
10 changed files with 15722 additions and 4037 deletions

View File

@@ -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 */