mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-31 18:26:14 +02:00
make installation directory configurable
This commit is contained in:
+2
-1
@@ -78,7 +78,8 @@ void Xilinx::program(unsigned int offset)
|
||||
|
||||
void Xilinx::program_spi(unsigned int offset)
|
||||
{
|
||||
std::string bitname = "/usr/local/share/openFPGALoader/spiOverJtag_";
|
||||
// DATA_DIR is defined at compile time.
|
||||
std::string bitname = DATA_DIR "/openFPGALoader/spiOverJtag_";
|
||||
bitname += fpga_list[idCode()].family + ".bit";
|
||||
|
||||
/* first: load spi over jtag */
|
||||
|
||||
Reference in New Issue
Block a user