Why can’t I compile the Minimal Preloader from the SoC EDS version 14.1 with ARMCC? - Why can’t I compile the Minimal Preloader from the SoC EDS version 14.1 with ARMCC? Description Due to problems in the SoC EDS 14.1 version of the minimal preloader, errors may be seen when compiling using the ARMCC tool chain. Resolution To workaround these problems follow the steps below: Problem 1: "pinmux_config_cyclone5.c", line 241: Warning: #1-D: last line of file ends without a newline" Workaround: Open pinmux_config_cyclone5.c in a text editor, and add a new line / carriage return at the end of the file Problem: "<path>/sequencer.c, line 76: Error: #79: expected a type specifier asm(".global __alt_stack_pointer");" Workaround: Open sequencer.c in a text editor Add the following include to the #ifdef HPS_HW section #include "sdram_phy.h" Remove the following section: #if ARRIAV // Temporary workaround to place the initial stack pointer at a safe offset from end #define STRINGIFY(s) STRINGIFY_STR(s) #define STRINGIFY_STR(s) #s asm(".global __alt_stack_pointer"); asm("__alt_stack_pointer = " STRINGIFY(STACK_POINTER)); #endif if CYCLONEV // Temporary workaround to place the initial stack pointer at a safe offset from end #define STRINGIFY(s) STRINGIFY_STR(s) #define STRINGIFY_STR(s) #s asm(".global __alt_stack_pointer"); asm("__alt_stack_pointer = " STRINGIFY(STACK_POINTER)); #endif Open sequencer.h in a text editor, and remove all extern inline declarations, and put them just under the #includes in sequencer.c Save and close sequencer.c and sequencer.h These problems are scheduled to be fixed in a future release of SoC EDS. Custom Fields values: ['novalue'] Troubleshooting novalue False ['novalue'] ['FPGA Dev Tools Quartus II Software'] novalue 14.1 ['Arria® V ST FPGA', 'Arria® V SX FPGA', 'Cyclone® V SE FPGA', 'Cyclone® V ST FPGA', 'Cyclone® V SX FPGA'] ['novalue'] ['novalue'] ['novalue'] - 2021-08-25

external_document