CompuLab SBC-X270 Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 226
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 3-3
SCIOPTA - Real-Time Kernel
3 Getting Started
5. Launch Eclipse. The Workspace Launcher window opens.
6. Select your created project folder (e.g. c:\myproject\sciopta) as your workspace (by using the Browse button).
7. Click the OK button. The workbench windows opens.
8. Close the “Welcome” window.
9. Deselect “Build Automatically” in the Project menu.
10. Open the New Project window (menu: File -> New -> C Project). We will create Makefile project.
11. Click the Finish button. You will see the krn_hello project folder in the Project Explorer window.
12. The next steps we will executed outside Eclipse.
13. Copy the script copy_files.bat from the example directory of your selected target board:
<install_folder>\sciopta\<version>\exp\krn\<arch>\hello\<board>\
to your project folder.
14. Open a command window (windows cmd.exe) and go to your project folder.
15. Type copy_files to execute the copy_files.bat batch file. All needed project files will be copied from the de-
livery to your project folder.
16. Close the command window and return to Eclipse.
17. Swap back to the Eclipse workbench. Make sure that the kernel hello project (krn_hello) is highlighted.
18. Type the F5 key (or menu: File > Refresh) to refresh the project.
19. Expand the project by clicking on the [+] button and make sure that the krn_hello project is highlighted.
20. Now you can see all files in the Eclipse Navigator window.
21. Get the board number (<board_number>) for the makefile. This number (BOARD_SEL) can be found in
chapter
14 “Board Support Packages” on page 14-1 where it is given for each board.
22. Click on the krn_hello project in the Project Explorer window to make sure that the kernel hello project
(krn_hello) is highlighted.
23. Open the Properties window (menu: File -> Properties or Alt+Enter button).
24. Click on “C/C++ Build.
25. Deselect “Use default build command” in the Builder Settings Tab. Now you can enter a customized Build
command.
26. Enter the following Build command: gnu-make BOARD_SEL=<board_number> V=1
Enter the retrieved board number (<board_number>) as option of the make call.
For example: gnu-make BOARD_SEL=5 V=1 will build the project for board number 5.
27. Click the OK button.
28. Activate the Console window at the bottom of the Eclipse workbench to see the project building output.
29. Be sure that the project (krn_hello) is high-lighted and build the project (menu: Project > Build Project or
Build button).
30. The executable (sciopta.elf) will be created in the debug folder of the project.
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 225 226

Comentarios a estos manuales

Sin comentarios