ac6.rtebuild 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. options:
  2. optimize : [ O1, O2, Oz, Ofast, Os ]
  3. import:
  4. - bootloader.rtebuild
  5. targets:
  6. arm:
  7. csettings : [ --target=arm-arm-none-eabi, "-mcpu=${mcpu}${features}", "-mfloat-abi=${float}", "-%{optimize}", -gdwarf-3, -fno-rtti, -fshort-enums, -fshort-wchar, -ffunction-sections ]
  8. cwarnings : [ -Weverything, -Wno-covered-switch-default, -Wno-reserved-id-macro, -Wno-unused-macros, -Wno-extra ]
  9. mapinfo : [ "-Wl,--info=summarysizes", "-Wl,--map", "-Wl,--load_addr_map_info", "-Wl,--xref", "-Wl,--callgraph", "-Wl,--symbols", "-Wl,--info=sizes", "-Wl,--info=totals", "-Wl,--info=unused", "-Wl,--info=veneers", "-Wl,--list=${builddir}/${targetName}.map" ]
  10. armcm:
  11. toolchain : ARMCC6
  12. features : ""
  13. cflags : [ "${csettings}", "${cwarnings}", -c, -xc, -std=c99 ]
  14. asmflags : [ "${csettings}", "${cwarnings}", -c ]
  15. linkflags : [ "${csettings}", "${cwarnings}", "${mapinfo}", "-Wl,--strict", "-Wl,--no_remove", "-Wl,--entry=Reset_Handler", "-Wl,--diag_suppress=L6314W" ]
  16. linkscript : "config/core_m/rtebuild.sct"
  17. armcm23ns:
  18. mcpu : cortex-m23
  19. float : soft
  20. cflags : [ -mcmse ]
  21. armcm33ns:
  22. mcpu : cortex-m33
  23. float : hard
  24. cflags : [ -mcmse ]
  25. armcm35pns:
  26. mcpu : cortex-m35p
  27. float : hard
  28. cflags : [ -mcmse ]
  29. armcm55ns:
  30. mcpu : cortex-m55
  31. float : hard
  32. cflags : [ -mcmse ]