Step 5: Generate the Application project
The application project references the BSP project and contains application files, including the main function. The project can be generated using the following commands:
- For Nios II:
nios2-app-generate-makefile.exe --bsp-dir ./ <BSP_sub_folder> --app-dir ./<Application_folder> --elf-name <Application_name>.elf --set APP_CFLAGS_USER_FLAGS \"-Wa,-relax-all\" --inc-rdir ./ <Application_folder> --src-rdir ./ <Application_folder>
- For Nios V:
niosv-app --app-dir=<Application_folder> --srcs=<Application_folder> --bsp-dir=<BSP_sub_folder>
Note: GeMRTOS provides the hellogemrtos.c file, which can be used as a starting program. This file is located in the ./ip/GeMRTOS_Multiprocessor folder.Top of Form
Bottom of Form