12.2. RTEMS 5 to RTEMS 6¶
This section provides helpful information when migrating from RTEMS 5 to RTEMS 6.
12.2.1. Update to GCC 10¶
The tool suite for RTEMS 6 uses GCC 10. GCC 10 enables
default. Code bases which never used this option before may observe now
multiple definition linker errors. For example, if global variables are
declared and defined in header files (usually a missing
extern in the header
12.2.2. Replacements for Removed APIs¶
rtems_iterate_over_all_threads()directive was removed. Use
rtems_get_current_processor()directive was removed. Use
rtems_get_processor_count()directive was removed. Use
booleantype was removed. Use
single_precisiontype was removed. Use
double_precisiontype was removed. Use
proc_ptrtype was removed. Use a proper function pointer type.
rtems_contexttype was removed. If you need this type in your applications, please ask on the Developers Mailing List.
rtems_context_fptype was removed. If you need this type in your applications, please ask on the Developers Mailing List.
rtems_extensiontype was removed. Use
rtems_io_lookup_name()directive was removed. Use
region_information_blocktype was removed. Use
rtems_thread_cpu_usage_ttype was removed. Use
rtems_rate_monotonic_period_time_ttype was removed. Use
_Copyright_Noticeconstant was removed from the API. Use
_RTEMS_versionconstant was removed from the API. Use
RTEMS_MAXIMUM_NAME_LENGTHdefine was removed. Use
sizeof( rtems_name )instead.
<rtems/system.h>header file was removed. Include