olofk / fusesoc

Package manager and build abstraction tool for FPGA/ASIC development
BSD 2-Clause "Simplified" License
1.17k stars 242 forks source link

Invalid choice: 'migrate-capi1-to-capi2' #680

Open RHamalainen opened 6 months ago

RHamalainen commented 6 months ago

Hello,

I cloned repository

https://github.com/olofk/de0_nano_ipxact/tree/master

which contains a core-file with CAPI-version 1 and tried to migrate it to version 2 with following

fusesoc migrate-capi1-to-capi2 --inplace de0_nano_ipxact.core

which returned

usage: fusesoc [-h] [--version] [--cores-root CORES_ROOT] [--config CONFIG] [--monochrome]
               [--verbose] [--log-file LOG_FILE]
               {fetch,core,tool,list-cores,core-info,gen,list-paths,library,run,config}
               ...
fusesoc: error: argument {fetch,core,tool,list-cores,core-info,gen,list-paths,library,run,config}: invalid choice: 'migrate-capi1-to-capi2' (choose from 'fetch', 'core', 'tool', 'list-cores', 'core-info', 'gen', 'list-paths', 'library', 'run', 'config')

Did I made a mistake or what happened?

olofk commented 6 months ago

The conversion script was removed in FuseSoC 2.0. You would need to install version 1.12.0 for that script. With that said, I doubt you will easily get that project working. I haven't touched it in nine years and frankly didn't even remember it existed.