-3

I have been trying to migrate The Tivaware SDK from ARM Compiler5 to 6, for some reason when I try to build the Blinky example, it gives me this error:

assembling startup_rvmdk.S...
linking...
.\rvmdk\blinky.axf: error: L6002U: Could not open file .\rvmdk\startup_rvmdk.o: No such file or directory
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning, 0 error and 1 fatal error messages.
".\rvmdk\blinky.axf" - 1 Error(s), 0 Warning(s).
Target not created.

I tried using the "Migrate Pack" Option, but it doesn't seem to solve anything.

1 Answers1

1

The object file startup_rvmdk.o is built from the assembly source startup_rvmdk.s. it is likely that your build log has earlier errors showing that this source failed to build?

The problem is that the ARMASM assembly syntax differs from the gasm syntax used by the clang/LLVM toolchain used by ARM Compiler V6.

The file is the MCU and C runtime startup code for your target. Either use/modify whatever startup code is provided for your target or migrate the old startup to clang assembly. There is a migration guide for that: https://developer.arm.com/documentation/100068/0612/migrating-from-armasm-to-the-armclang-integrated-assembler

Clifford
  • 88,407
  • 13
  • 85
  • 165