FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
772 stars 131 forks source link

First installment of deprecating the config command. Moved the 'exe' setting to apio.ini #368

Closed zapta closed 2 months ago

zapta commented 2 months ago

With this change, the optional 'exe' attribute now resides in the apio.ini file and is expected to be edited manually by the user. Next will move in the same way the 'verbose' attributes. Also added a few validations of the apio.ini file, for example, that there are no unknown and ignored attributes.

Examples

Default is exe_mode = default

[env]
board = upduino31
top-module = main
[env]
board = upduino31
top-module = main
exe_mode = default
[env]
board = upduino31
top-module = main
exe_mode = native