Changes between Version 57 and Version 58 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
02/19/25 13:42:08 (6 days ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyApps

    v57 v58  
    303012. In some cases the project may also have a "GCC Assembler". If so change the command to "aarch64-none-linux-gnu-as".
    3131
    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.//
     3213. Click "Apply".
    3333
    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.
     3414. 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.
    3735[[Image(ids_legacy_includes.png)]]
    3836
    39 16. 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.
     3715. 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.
    4038
    4139
    42 17. Under "Library search path". Edit existing library paths as appropriate. For example change "${workspace_loc:/lib825ev/Debug}" to "${workspace_loc:/lib825ev/Debug-ARM825}"
     4016. Under "Library search path". Edit existing library paths as appropriate. For example change "${workspace_loc:/lib825ev/Debug}" to "${workspace_loc:/lib825ev/Debug-ARM825}"
    4341
    44 18. Click the green plus icon and add the library path "/opt/arm64lib"
     4217. Click the green plus icon and add the library path "/opt/arm64lib"
    4543
    4644[[Image(825gen2_libs.png)]]
     
    4846[[Image(825ids_legacy_libs.png)]]
    4947
    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".
     4818. 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
     5019. 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.//
    5151
    525220. Click "Apply and Close".