Severson-Group / AMDC-Firmware

Embedded system code (C and Verilog) which runs the AMDC Hardware
http://docs.amdc.dev/firmware
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

No warnings when Vivado hardware target does not match C code target #249

Closed npetersen2 closed 2 years ago

npetersen2 commented 2 years ago

If I build the Vivado project targetting REV D, but keep the SDK usr/user_config.h hardware target REV E, there are no obvious warnings. This will lead to issues where users get unexpected behavior...

Fix this by throwing a build error if Vivado does not match the user config for the C code.