Changes between Version 158 and Version 159 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
11/19/25 13:34:28 (2 days ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v158 v159  
    108108}}}
    109109
    110 4. Also (probably rare) if the app communicates with another system by serial port, network, or file import/export that interprets the data content as binary integers, floats, etc... it may be necessary to make changes to account for different [https://en.wikipedia.org/wiki/Endianness endianness]. The 825 Gen2 is ARM-64 little-endian, The Legacy 825 is Coldfire big-endian.
     1104. Some apps may have //stime// function call that is no longer supported. This code should be updated to use //clock_settime//. For example:
     111   {{{#!c++
     112// stime(&rawtime);
     113struct timespec ts;
     114ts.tv_sec = rawtime;
     115ts.tv_nsec = 0;
     116clock_settime(CLOCK_REALTIME, &ts);
     117}}}
     118
     1195. Also (probably rare) if the app communicates with another system by serial port, network, or file import/export that interprets the data content as binary integers, floats, etc... it may be necessary to make changes to account for different [https://en.wikipedia.org/wiki/Endianness endianness]. The 825 Gen2 is ARM-64 little-endian, The Legacy 825 is Coldfire big-endian.
    111120
    112121== Compiling ==