armclang.rtebuild 1.4 KB

123456789101112131415161718192021222324252627282930
  1. options:
  2. optimize : [ O1, O2, Oz, Ofast, Os ]
  3. import:
  4. - bootloader.rtebuild
  5. targets:
  6. arm:
  7. csettings : [ -fno-rtti, -funsigned-char, -fshort-enums, -fshort-wchar, -mlittle-endian, -gdwarf-3, "-%{optimize}", -ffunction-sections ]
  8. cwarnings : [ -Weverything, -Wno-undef, -Wno-packed, -Wno-reserved-id-macro, -Wno-unused-macros, -Wno-documentation-unknown-command, -Wno-documentation, -Wno-license-management, -Wno-parentheses-equality ]
  9. armcm:
  10. features : ""
  11. cflags : [ -xc, -std=gnu99, --target=arm-arm-none-eabi, "-mcpu=${cpu}${features}", "-mfpu=${fpu}", "-mfloat-abi=${float}", -c, "${csettings}", "${cwarnings}" ]
  12. asmflags : [ "--cpu ${cpu}", --li, -g ]
  13. info : [ --info summarysizes, --map, --load_addr_map_info, --xref, --callgraph, --symbols, --info sizes, --info totals, --info unused, --info veneers, "--list ${builddir}/${targetName}.map" ]
  14. linkflags : [ "--cpu ${cpu}", --strict, --no_remove, --entry Reset_Handler, --diag_suppress=L6314, --diag_suppress=L6092w, "${info}" ]
  15. linkscript : "./config/core_m/rtebuild.sct"
  16. armcm23ns:
  17. cpu : cortex-m23
  18. fpu : none
  19. float : soft
  20. cflags : [ -mcmse ]
  21. armcm33ns:
  22. cpu : cortex-m33
  23. fpu : fpv5-sp-d16
  24. float : hard
  25. cflags : [ -mcmse ]
  26. armcm35pns:
  27. cpu : cortex-m35p
  28. fpu : fpv5-sp-d16
  29. float : hard
  30. cflags : [ -mcmse ]