Open zapta opened 2 weeks ago
I will answer all your pending questions when I finish releasing Icestudio 0.12. Once it is done, we will start a new cycle and we can rethink apio/icestudio Give me some weeks to finish the release
Sounds good. Ping me when you will be ready.
For Apio, I believe that Platformio provides a simple and proven model. Down the road, it would be great to have also a Visual Studio Code plugin that takes care of the installation and software update, similar to Platformio.
TL'DR, allow the user to have custom boards.json and fpgas.json in the project, replacing the current flags such as
--size
and--pack
.This is somewhat related to issue 357 which deals with eliminating the command line flags such as
--board
,--size
, and--pack
and making apio.ini the required and the source of truth.The idea here follow's PIO's way of customizing board definitions, linking scripts and so on. Instead of having a large number of overriding flags in pio.ini, the user can simply add their custom boards or ld file in the project and pio picks it instead of the stock ones.
https://github.com/FPGAwars/apio/blob/develop/apio/resources/boards.json https://github.com/FPGAwars/apio/blob/develop/apio/resources/fpgas.json
More specific to apio:
board
will stay in apio.ini as it's now but will got away from the command line.--pack
and--size
will go away and will not move to apio.ini.Rationale,
Cons,
Juan, any thoughts? I can work on it as part of the transition.