Skip to content

Include Sub Architecture / instruction set in Unit Path

Original Reporter info from Mantis: Simon Ameis @SAmeis
  • Reporter name: Simon Ameis

Description:

Especially for embedded CPU targets, a subarchitecture specifies the instruction set, the microcontroller unit can operate on.

Currently it is not possible to compile and install the RTL for multiple subarchitectures of the same CPU architecture at the same time.

For example, you may need to build your code for different ARM processors which either use ARMV6 or ARMV7.

The unit path could be changed from <fpc_version>/units/<arch>-<ostarget> to <fpc_version>/units/<arch>-<ostarget>-<subarch>

Additional information:

This would require a change in the installer, and in the default configuration files. Maybe it's also required to create a new compile time definition for the subarchitecture

Mantis conversion info:

  • Mantis ID: 30294
  • Version: 3.1.1
  • Monitored by: » Vincent (Vincent Snijders), » @ccrause (Christo Crause)
Edited by Sven/Sarah Barth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information