Open zapta opened 1 day ago
Hi @zapta! i'm of course with you in the way that we need to standardize the board names (i'll do the same in Icestudio)
The only thing i think could be better is that we could define a mode of naming that improve the readability. We could use something like BEM in css , dividing the name in groups with -- (two lines for) kind of information and __ (two underline) for subtype or information less important, for example:
colorlight-5a-75e-v71-usb-blaster
convert into: colorlight--5a__75e--v7--usb-blaster boardname--model--version--other-info
Other example:
sipeed-tang-nano-20k sipeed--tang-nano--20k
It's onlny a porposal but i think the readibility is better (i don't like long names all separeted with - but is my opinion).
Hi @cavearr, we can use the convention of '--' to separate between fields but I am not sure where to insert them.
Attached below is the names.txt file. You can download and edit it any way you like and post it back here. The new name doesn't have to be an exact match of the old name, and it can be anything you want.
But what do you think? if you think, could be a "maniac" of mine XD
If you like the idea i'll change the names in names.txt , but please thinking if you see useful.
De: "Zapta" @.> Para: "FPGAwars" @.> CC: "Carlos" @.>, "Mention" @.> Enviados: Lunes, 2 de Diciembre 2024 19:45:24 Asunto: Re: [FPGAwars/apio] [Feature request] Have uniform board names. (Issue #483)
Hi [ https://github.com/cavearr | @cavearr ] , we can use the convention of '--' to separate between fields but I am not sure where to insert them.
Attached below is the names.txt file. You can download and edit it any way you like and post it back here. The new name doesn't have to be an exact match of the old name, and it can be anything you want.
[ https://github.com/user-attachments/files/17982488/names.txt | names.txt ]
— Reply to this email directly, [ https://github.com/FPGAwars/apio/issues/483#issuecomment-2512412595 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ABUVYIJNQH4XSWX3ZADI4W32DSTEJAVCNFSM6AAAAABS36EE5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJSGQYTENJZGU | unsubscribe ] . You are receiving this because you were mentioned. Message ID: @.***>
Hi @cavearr, I think that the board id colorlight-i9-v72-ft2232h
is clear enough without the concept of 'fields' but maybe you can improve other things in some board ids.
Please remember that this is the board id and that the boards.json has another field for a more human readable board description https://github.com/FPGAwars/apio/blob/e5d834bd102b91dc38e91bebb560e04fe3e0ec8d/apio/resources/boards.json#L9
@zapta Yes, yes don't worry, ok then continue with your proposal, don't complex the naming.
Thanks!
@cavearr, sounds good. Once we have the mechanism for new/legacy names, we can change later.
@Obijuan , @cavearr, what do you think?
Currently there are a few issues related to board names
ECP5-Mini-12
vsiceblink40-hx1k
.iCESugar-Pro_(FT2232H)
board=
value in theirapio.ini
file.The proposal here is to
apio.ini
.board=
value inapio.ini
EDIT: I just noticed a period in
colorlight-i5-v7.0-usb-blaster
so it can be ommited resulting incolorlight-i5-v70-usb-blaster
Generating new names from old name:
Old board names (left) vs new board names (right):