Project template

Project template#

Different ways to get the template:

  • Use the following command on your terminal. The template will be unpacked to c-template-main folder.

    Before executing, go the folder where your C projects are located. For example if you opened a project already (e.g., code/prj1), then use cd .. to go to the parent folder (e.g., code).

    Invoke-WebRequest -Uri https://aydos.de/ctemplate -OutFile c-template.tar.xz
    tar xf c-template.tar.xz
    rm c-template.tar.xz
    
    curl -L aydos.de/ctemplate | tar xj
    

    This command does not work in PowerShell. In Windows, VS Code opens PowerShell as default. You have to choose the profile Command Prompt using menu on the terminal tab.

  • Download: https://aydos.de/ctemplate and unpack it.

  • Copy paste the file contents: fpga-lab/c-template