armclang.txt 675 B

123456789101112131415161718192021
  1. # This file assumes that path to the arm compiler toolchain is added
  2. # to the environment(PATH) variable, so that Meson can find
  3. # the armclang, armlink and armar while building.
  4. [binaries]
  5. c = 'armclang'
  6. cpp = 'armclang'
  7. ar = 'armar'
  8. strip = 'armar'
  9. [properties]
  10. # The '--target', '-mcpu' options with the appropriate values should be mentioned
  11. # to cross compile c/c++ code with armclang.
  12. c_args = ['--target=arm-arm-none-eabi', '-mcpu=cortex-m0plus']
  13. cpp_args = ['--target=arm-arm-none-eabi', '-mcpu=cortex-m0plus']
  14. [host_machine]
  15. system = 'bare metal' # Update with your system name - bare metal/OS.
  16. cpu_family = 'arm'
  17. cpu = 'Cortex-M0+'
  18. endian = 'little'