Rakefile: fix BOM fields to export

This commit is contained in:
King Kévin 2021-12-18 20:35:49 +01:00
parent 318fa15471
commit e2bacf8f40
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ end
desc "generate BOM file from schematic"
rule ".bom.csv" => ".sch" do |t|
attributes = ["device", "value", "description", "footprint", "manufacturer", "mpn", "datasheet", "lcsc-sku", "digikey-sku", "aliexpress-sku"]
attributes = ["device", "value", "description", "footprint", "manufacturer", "mpn", "datasheet", "lcsc", "digikey"]
bom_data = bom2(t.prerequisites[0],attributes)
CSV.open(t.name, "wb") do |csv|
all_attributes = ["refdes","qty"]+attributes