I'm trying to build FreeRTOS demo (FreeRTOSv202112.00\FreeRTOS\Demo\CORTEX_A9_Cyclone_V_SoC_DK project) for Cyclone V using bare-metal compiler provided with Quartus 19.1.
The build works until it reaches the alt_interrupt_armcc.s assembly file. At this points the assembler fails as if the file is in incompatible format:
../Altera_Code/HardwareLibrary/alt_interrupt_armcc.s: Assembler messages: ../Altera_Code/HardwareLibrary/alt_interrupt_armcc.s:1: Error: junk at end of line, first unrecognized character is `*'
In the original Eclipse .cproject file the build tool location is
This is a very old version of Altera SDK which is not even available for download, so I’m compiling with version 19.1 - its toolchain is in
So I assume I’m using a newer version of the same compiler (as that used to create the demo) so it’s really strange the assembler fails to parse the file.
It seems unlikely assembly format has changed between gcc version so what can cause such a problem?
Is anyone aware of bare-metal RTOS (not necessarily FreeRTOS) examples which are known for sure to compile with the latest versions of either ARM Compiler or ARM gcc?
I suggest that you get support from FreeRTOS forum support on their website since it is from their example design.
Additionally, can you check if you have installed everything properly (Installing the tools):