Changes between Version 188 and Version 189 of Docs/825gen2/Dev/UpdatingLegacyApps
- Timestamp:
- 02/19/26 14:37:43 (5 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/UpdatingLegacyApps
v188 v189 43 43 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". 44 44 45 19. Make sure the //app// is at the same level as the //src// folder. Click the "Build Artifact" tab. Change the output prefix to "../app/". This is where the completed app will be placed. Click "Apply". Click the "Build Steps" tab. At the "Pre-build steps" "Command:" prompt type "sudo mntappdir <appname>". When the project is build this script will create and mount a /srv/nfs/arm825/mnt/nand/apps/<appname> so that is shows the points to the same location as the //app// folder in the workspace. 46 47 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 //app// directory for the project. Type "./<projectname>_dbg" to launch the app.// 45 19. Make sure the //app// is at the same level as the //src// folder. Click the "Build Artifact" tab. Change the output prefix to "../app/". This is where the completed app will be placed. Click "Apply". Click the "Build Steps" tab. At the "Pre-build steps" "Command:" prompt type "sudo mntappdir <appname>". When the project is build this script will create and mount a /srv/nfs/arm825/mnt/nand/apps/<appname> so that it points to the same location as the //app// folder in the workspace. 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 //app// directory for the project. Type "./<projectname>_dbg" to launch the app.// 48 46 49 47 20. Click "Apply and Close".
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)