This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

arm-elf-gcc compiling for cortex-M4

How to use GNU ARM binutils for cortex-M4? When I try to compile with -mcpu=cortex-M4 -march=armV7e-m I get 'bad value in switches'.

Parents
  • Hi Jvanmont,

    it would depend on the GCC Compiler version what compile switches are valid. If your compiler supports the switches, you should specify them by lower case letters. That is, -mcpu=cortex-m4 -march=armv7e-m.

    Best regards,
    Yasuhiko Koumoto.

Reply
  • Hi Jvanmont,

    it would depend on the GCC Compiler version what compile switches are valid. If your compiler supports the switches, you should specify them by lower case letters. That is, -mcpu=cortex-m4 -march=armv7e-m.

    Best regards,
    Yasuhiko Koumoto.

Children