Changes between Version 57 and Version 58 of Docs/825gen2/Dev/UpdatingLegacyApps
- Timestamp:
- 02/19/25 13:42:08 (6 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/UpdatingLegacyApps
v57 v58 30 30 12. In some cases the project may also have a "GCC Assembler". If so change the command to "aarch64-none-linux-gnu-as". 31 31 32 13. Click the "Build Artifact" tab. Change the output prefix to "/srv/nfs/arm825/mnt/nand/apps/<projectname>/". This is where the completed app will be placed. Using this path will make it easy to test from an SSH connection into the 825. //After the build configuration is built performing ". test825 <ipaddress of VM>" from an SSH connection to the 825 will automatically mount and change directory to /mnt/nfs/arm825/mnt/nand/apps path on the 825 which will be the parent directory of the project. From SSH then type "cd <projectname>" to enter the directory for the project. Type "./<projectname>_dbg" to launch the app.//32 13. Click "Apply". 33 33 34 14. Click "Apply". 35 36 15. Go back to "Tool Settings" and under "GCC C++ Compiler" select "Include paths". Click the green plus icon to add a path. Add the path "/opt/arm64include". If there is a "GCC C Compiler" section also add this path to the includes there. 34 14. Go back to "Tool Settings" and under "GCC C++ Compiler" select "Include paths". Click the green plus icon to add a path. Add the path "/opt/arm64include". If there is a "GCC C Compiler" section also add this path to the includes there. 37 35 [[Image(ids_legacy_includes.png)]] 38 36 39 1 6. Under the "GCC C++ Linker" select "Libraries". If libraries "pthread" and "rt" are not already listed add them. Add "${UI_LIBS}". The "${UI_LIBS}" is a code to use the environment variable "UI_LIBS" in the list. This environment variable is preconfigured in the development VM to specify multiple user interface libraries. Also add lines "${CAIRO_LIBS}" and "${GLIB_LIBS}". These additional libraries allow for improved graphics features and remote control of the app.37 15. Under the "GCC C++ Linker" select "Libraries". If libraries "pthread" and "rt" are not already listed add them. Add "${UI_LIBS}". The "${UI_LIBS}" is a code to use the environment variable "UI_LIBS" in the list. This environment variable is preconfigured in the development VM to specify multiple user interface libraries. Also add lines "${CAIRO_LIBS}" and "${GLIB_LIBS}". These additional libraries allow for improved graphics features and remote control of the app. 40 38 41 39 42 1 7. Under "Library search path". Edit existing library paths as appropriate. For example change "${workspace_loc:/lib825ev/Debug}" to "${workspace_loc:/lib825ev/Debug-ARM825}"40 16. Under "Library search path". Edit existing library paths as appropriate. For example change "${workspace_loc:/lib825ev/Debug}" to "${workspace_loc:/lib825ev/Debug-ARM825}" 43 41 44 1 8. Click the green plus icon and add the library path "/opt/arm64lib"42 17. Click the green plus icon and add the library path "/opt/arm64lib" 45 43 46 44 [[Image(825gen2_libs.png)]] … … 48 46 [[Image(825ids_legacy_libs.png)]] 49 47 50 19. Under "GCC C++ Compiler" select "Preprocessor". Click the green plus icon to add the symbol "ARM64=1" This is used for conditional compilation. If there is also a "GCC C Compiler" section select "Preprocessor under that and also add the symbol "ARM64=1". 48 18. Under "GCC C++ Compiler" select "Preprocessor". Click the green plus icon to add the symbol "ARM64=1" This is used for conditional compilation. If there is also a "GCC C Compiler" section select "Preprocessor under that and also add the symbol "ARM64=1". 49 50 19. Click the "Build Artifact" tab. Change the output prefix to "/srv/nfs/arm825/mnt/nand/apps/<projectname>/". This is where the completed app will be placed. Using this path will make it easy to test from an SSH connection into the 825. //After the build configuration is built performing ". test825 <ipaddress of VM>" from an SSH connection to the 825 will automatically mount and change directory to /mnt/nfs/arm825/mnt/nand/apps path on the 825 which will be the parent directory of the project. From SSH then type "cd <projectname>" to enter the directory for the project. Type "./<projectname>_dbg" to launch the app.// 51 51 52 52 20. Click "Apply and Close".