blindeye2 wrote on Thursday, May 23, 2013:
Developing under Keil. Have been developing and executing for CM3 based NXP processor for several months. Trying to port same code to CM0 based processor but get several compiler errors from port.c and assemble errors from my startup file. I assume I should be using a different port.c but am unclear which one to choose from or whether there is one delivered with the standard FreeRTOS download. I am using the port.c in the RVDS\ARM_CM3 directory and the FreeRTOS version is 7.3.0. Below are the errors I am getting.
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(197): error: A1874E: Specified register list cannot be loaded or stored in target instruction set
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(199): error: A1859E: Flag preserving form of this instruction not available
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(200): error: A1477E: This register combination results in UNPREDICTABLE behaviour
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(201): error: A1618E: Specified instruction is not supported by the current instruction set
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(292): error: A1874E: Specified register list cannot be loaded or stored in target instruction set
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(296): error: A1859E: Flag preserving form of this instruction not available
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(297): error: A1477E: This register combination results in UNPREDICTABLE behaviour
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(299): error: A1859E: Flag preserving form of this instruction not available
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(300): error: A1477E: This register combination results in UNPREDICTABLE behaviour
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(301): error: A1874E: Specified register list cannot be loaded or stored in target instruction set
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(305): error: A1874E: Specified register list cannot be loaded or stored in target instruction set
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(474): error: A1477E: This register combination results in UNPREDICTABLE behaviour
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(475): error: A1859E: Flag preserving form of this instruction not available
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(476): error: A1477E: This register combination results in UNPREDICTABLE behaviour
…\…\…\…\validation_framework\FreeRTOSV7.3.0\FreeRTOSV7.3.0\FreeRTOS\Source\portable\RVDS\ARM_CM3\port.c(485): error: A1477E: This register combination results in UNPREDICTABLE behaviour