Changes between Version 41 and Version 42 of Docs/825gen2/Dev/UpdatingLegacyApps
- Timestamp:
- 05/17/24 11:55:22 (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/UpdatingLegacyApps
v41 v42 27 27 [[Image(825_id_storage_legacy.png)]] 28 28 29 21. A few source code changes may be needed for proper operation on the 825gen2. If the app has USB import/export features it may use a fixed path "/mnt/fl1" for the USB drive. The USB drive path will not be the same on the 825gen2. Search the project for the string "/mnt/fl1" to find any code that should be changed. The library lib825ev has a function called [wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/File Utils/FindFlashDrive FindFlashDrive] for the 825gen2 to get the path string. The path may be similar to "/run/media/sda1" but it is best to use the !FindFlashDrive function instead of a hard coded path.29 21. A few source code changes may be needed for proper operation on the 825gen2. If the app has USB import/export features it may use a fixed path "/mnt/fl1" for the USB drive. The USB drive path will not be the same on the 825gen2. Search the project for the string "/mnt/fl1" to find any code that should be changed. The library lib825ev has a function called [wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/FindFlashDrive FindFlashDrive] for the 825gen2 to get the path string. The path may be similar to "/run/media/sda1" but it is best to use the !FindFlashDrive function instead of a hard coded path. 30 30 31 31 Creating a simulator build configuration is also useful. Refer to [wiki:Simulating825gen2 Simulating 825gen2 Apps] for information about setting up a simulator build configuration.